repo stringlengths 5 92 | file_url stringlengths 80 287 | file_path stringlengths 5 197 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:37:27 2026-01-04 17:58:21 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/spec/ide/idea_spec.rb | spec/ide/idea_spec.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | true |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr.rb | lib/buildr.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/version.rb | lib/buildr/version.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/clojure.rb | lib/buildr/clojure.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/groovy.rb | lib/buildr/groovy.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/shell.rb | lib/buildr/shell.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/rspec_check.rb | lib/buildr/rspec_check.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/run.rb | lib/buildr/run.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/kotlin.rb | lib/buildr/kotlin.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/scala.rb | lib/buildr/scala.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/gems.rb | lib/buildr/packaging/gems.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/tar.rb | lib/buildr/packaging/tar.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/package.rb | lib/buildr/packaging/package.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/zip.rb | lib/buildr/packaging/zip.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/artifact_search.rb | lib/buildr/packaging/artifact_search.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/artifact_namespace.rb | lib/buildr/packaging/artifact_namespace.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | true |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/artifact.rb | lib/buildr/packaging/artifact.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | true |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/ziptask.rb | lib/buildr/packaging/ziptask.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/test_jar.rb | lib/buildr/packaging/test_jar.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/version_requirement.rb | lib/buildr/packaging/version_requirement.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/packaging/archive.rb | lib/buildr/packaging/archive.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/clojure/shell.rb | lib/buildr/clojure/shell.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/kotlin/compiler.rb | lib/buildr/kotlin/compiler.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/groovy/compiler.rb | lib/buildr/groovy/compiler.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/groovy/doc.rb | lib/buildr/groovy/doc.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/groovy/bdd.rb | lib/buildr/groovy/bdd.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/groovy/shell.rb | lib/buildr/groovy/shell.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/packaging.rb | lib/buildr/java/packaging.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/rjb.rb | lib/buildr/java/rjb.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/deprecated.rb | lib/buildr/java/deprecated.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/external.rb | lib/buildr/java/external.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/compiler.rb | lib/buildr/java/compiler.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/ecj.rb | lib/buildr/java/ecj.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/doc.rb | lib/buildr/java/doc.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/jruby.rb | lib/buildr/java/jruby.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/bdd.rb | lib/buildr/java/bdd.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/ant.rb | lib/buildr/java/ant.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/test_result.rb | lib/buildr/java/test_result.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/custom_pom.rb | lib/buildr/java/custom_pom.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/pom.rb | lib/buildr/java/pom.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/commands.rb | lib/buildr/java/commands.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/emma.rb | lib/buildr/java/emma.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/cobertura.rb | lib/buildr/java/cobertura.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/tests.rb | lib/buildr/java/tests.rb |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not us... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/java/version_requirement.rb | lib/buildr/java/version_requirement.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/test.rb | lib/buildr/core/test.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/common.rb | lib/buildr/core/common.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/project.rb | lib/buildr/core/project.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | true |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/application.rb | lib/buildr/core/application.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/jrebel.rb | lib/buildr/core/jrebel.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/generate.rb | lib/buildr/core/generate.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/environment.rb | lib/buildr/core/environment.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/build.rb | lib/buildr/core/build.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/doc.rb | lib/buildr/core/doc.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/cc.rb | lib/buildr/core/cc.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/filter.rb | lib/buildr/core/filter.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/console.rb | lib/buildr/core/console.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/help.rb | lib/buildr/core/help.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/progressbar.rb | lib/buildr/core/progressbar.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/shell.rb | lib/buildr/core/shell.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/osx.rb | lib/buildr/core/osx.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/linux.rb | lib/buildr/core/linux.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/assets.rb | lib/buildr/core/assets.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/run.rb | lib/buildr/core/run.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/compile.rb | lib/buildr/core/compile.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/transports.rb | lib/buildr/core/transports.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/checks.rb | lib/buildr/core/checks.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/core/util.rb | lib/buildr/core/util.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/scala/compiler.rb | lib/buildr/scala/compiler.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/scala/doc.rb | lib/buildr/scala/doc.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/scala/bdd.rb | lib/buildr/scala/bdd.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/scala/shell.rb | lib/buildr/scala/shell.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/scala/tests.rb | lib/buildr/scala/tests.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/ide/eclipse.rb | lib/buildr/ide/eclipse.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | false |
apache/buildr | https://github.com/apache/buildr/blob/8c35881a5e761ae45942312085b5d5adee7e730e/lib/buildr/ide/idea.rb | lib/buildr/ide/idea.rb | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | ruby | Apache-2.0 | 8c35881a5e761ae45942312085b5d5adee7e730e | 2026-01-04T17:41:47.999483Z | true |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/examples.rb | examples.rb | require 'lib/log_buddy'
LogBuddy.init
a = "foo"
@a = "my var"
@@bar = "class var!"
def bark
"woof!"
end
module Foo;
def self.module_method
"hi!!"
end
end
# LogBuddy calls and their output:
d "hi" # hi
d { a } # a = "foo"
d { @a } # @a = "my var"
d { ... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/init.rb | init.rb | require File.join(File.dirname(__FILE__), *%w[lib log_buddy])
LogBuddy.init unless ENV["SAFE_LOG_BUDDY"] | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/spec/log_buddy/log_buddy_init_spec.rb | spec/log_buddy/log_buddy_init_spec.rb | require File.expand_path(File.join(File.dirname(__FILE__), *%w[spec_helper]))
describe LogBuddy do
describe "init" do
after { reset_safe_log_buddy_mode }
it "doesnt mixin to object if SAFE_LOG_BUDDY is true" do
LogBuddy.expects(:init).never
ENV["SAFE_LOG_BUDDY"] = "true"
load_init
end... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/spec/log_buddy/log_spec.rb | spec/log_buddy/log_spec.rb | require File.expand_path(File.join(File.dirname(__FILE__), *%w[spec_helper]))
module SomeModule
def self.say_something(name)
"#{message} #{name}"
end
def self.message
"hello"
end
def self.raise_runtime_error
raise RuntimeError
end
end
describe LogBuddy::Mixin, " behavior" do
describ... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/spec/log_buddy/spec_helper.rb | spec/log_buddy/spec_helper.rb | require "logger"
require "rspec"
require "mocha"
require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "lib", "log_buddy"))
def silence_warnings
old_verbose, $VERBOSE = $VERBOSE, nil
yield
ensure
$VERBOSE = old_verbose
end
RSpec.configure do |config|
config.filter_run :focused => true
confi... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/spec/log_buddy/log_buddy_spec.rb | spec/log_buddy/log_buddy_spec.rb | require File.expand_path(File.join(File.dirname(__FILE__), *%w[spec_helper]))
describe LogBuddy do
it "has logger" do
LogBuddy.should respond_to(:logger)
end
it "has stdout config option" do
LogBuddy.should respond_to(:log_to_stdout?)
end
it "can override the default logger" do
file_logger = L... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/lib/log_buddy.rb | lib/log_buddy.rb | require File.join(File.dirname(__FILE__), *%w[log_buddy utils])
require File.join(File.dirname(__FILE__), *%w[log_buddy mixin])
require File.join(File.dirname(__FILE__), *%w[log_buddy version])
=begin rdoc
LogBuddy is a developer tool for easy logging while testing, debugging, and inspecting.
The <tt>d</tt> log metho... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/lib/log_buddy/mixin.rb | lib/log_buddy/mixin.rb | module LogBuddy
# The main Mixin that gets added on the #init call
module Mixin
# This is where the magic happens. This method can take a plain old string, and it will log
# it like any call to Logger#debug. To get the name of the thing you are logging and its value,
# use the block form:
# d ... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/lib/log_buddy/version.rb | lib/log_buddy/version.rb | module LogBuddy
module Version #:nodoc:
MAJOR = 0
MINOR = 7
TINY = 0
STRING = [MAJOR, MINOR, TINY].join('.')
end
end
| ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
relevance/log_buddy | https://github.com/relevance/log_buddy/blob/851dc7a5b4246cbce18bbd999b46f9da22eda61c/lib/log_buddy/utils.rb | lib/log_buddy/utils.rb | module LogBuddy
module Utils
def debug(obj)
return if @disabled
str = obj_to_string(obj)
stdout_puts(str) if log_to_stdout?
logger.debug(str)
end
def arg_and_blk_debug(arg, blk)
result = eval(arg, blk.binding)
result_str = obj_to_string(result, :quote_strings => true)... | ruby | MIT | 851dc7a5b4246cbce18bbd999b46f9da22eda61c | 2026-01-04T17:42:28.361597Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/rack_spec.rb | spec/rack_spec.rb | # frozen_string_literal: true
require "rack/builder"
require "rack/test"
RSpec.describe Rack::CrawlerDetect do
include Rack::Test::Methods
def app
Rack::Builder.app do
use Rack::CrawlerDetect
run -> (_env) { [200, { "Content-Type" => "text/plain" }, ["OK"]] }
end
end
before do
allow(... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/crawler_detect_spec.rb | spec/crawler_detect_spec.rb | # frozen_string_literal: true
RSpec.describe CrawlerDetect do
describe ".new" do
subject { described_class.new("something") }
it { is_expected.to be_an_instance_of(CrawlerDetect::Detector) }
end
describe ".is_crawler?" do
subject { described_class.is_crawler?(user_agent) }
let(:user_agent) { "... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/spec_helper.rb | spec/spec_helper.rb | # frozen_string_literal: true
require "bundler/setup"
require "active_support/core_ext/array/grouping"
require "active_support/core_ext/object/blank"
RSPEC_ROOT = File.dirname __FILE__
BAD_UA = File.readlines("#{RSPEC_ROOT}/fixtures/crawlers.txt").freeze
GOOD_UA = File.readlines("#{RSPEC_ROOT}/fixtures/devices.txt... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/support/devices.rb | spec/support/devices.rb | # frozen_string_literal: true
RSpec.shared_examples "devices detector_devices" do |chunk|
context "white list № #{chunk}" do
subject { described_class.new(user_agent).is_crawler? }
let(:devices_uas) { GOOD_UA_CHUNKS[chunk] }
GOOD_UA_CHUNKS[chunk].each do |ua|
describe ua.to_s do
let(:user... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/crawler_detect/detector_spec.rb | spec/crawler_detect/detector_spec.rb | # frozen_string_literal: true
RSpec.describe CrawlerDetect::Detector do
subject { described_class.new(user_agent).is_crawler? }
context "white list specs files" do
it "test all devices" do
specs_count = Dir.glob("#{RSPEC_ROOT}/crawler_detect/detector_devices/*.rb").count
expect(GOOD_UA_CHUNKS.coun... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/crawler_detect/detector_devices/white_list_4_spec.rb | spec/crawler_detect/detector_devices/white_list_4_spec.rb | # frozen_string_literal: true
RSpec.describe CrawlerDetect::Detector do
it_behaves_like "devices detector_devices", 3
end
| ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/crawler_detect/detector_devices/white_list_3_spec.rb | spec/crawler_detect/detector_devices/white_list_3_spec.rb | # frozen_string_literal: true
RSpec.describe CrawlerDetect::Detector do
it_behaves_like "devices detector_devices", 2
end
| ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/crawler_detect/detector_devices/white_list_1_spec.rb | spec/crawler_detect/detector_devices/white_list_1_spec.rb | # frozen_string_literal: true
RSpec.describe CrawlerDetect::Detector do
it_behaves_like "devices detector_devices", 0
end
| ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/spec/crawler_detect/detector_devices/white_list_2_spec.rb | spec/crawler_detect/detector_devices/white_list_2_spec.rb | # frozen_string_literal: true
RSpec.describe CrawlerDetect::Detector do
it_behaves_like "devices detector_devices", 1
end
| ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/lib/crawler_detect.rb | lib/crawler_detect.rb | # frozen_string_literal: true
require "json"
require "qonfig"
require_relative "crawler_detect/config"
require_relative "crawler_detect/detector"
require_relative "crawler_detect/library/loader"
require_relative "crawler_detect/library/crawlers"
require_relative "crawler_detect/library/exclusions"
require_relative "c... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/lib/rack/crawler_detect.rb | lib/rack/crawler_detect.rb | # frozen_string_literal: true
module Rack
# Rack-based interface to detect crawlers
#
# @since 0.1.0
class CrawlerDetect
def initialize(app, _options = {})
Rack::Request::Helpers.module_eval do
def is_crawler?
env["rack.crawler_detect"][:is_crawler]
end
def crawler_... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/lib/crawler_detect/library.rb | lib/crawler_detect/library.rb | # frozen_string_literal: true
module CrawlerDetect
# @since 0.1.0
module Library
DATA_CLASSES = [Library::Headers, Library::Exclusions, Library::Crawlers].freeze
@regexp_cache = {}
class << self
# @param param [String] Name of raw data
# @return [Regexp]
def get_regexp(param)
... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/lib/crawler_detect/version.rb | lib/crawler_detect/version.rb | # frozen_string_literal: true
# @since 0.1.0
module CrawlerDetect
VERSION = "1.2.9"
end
| ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/lib/crawler_detect/config.rb | lib/crawler_detect/config.rb | # frozen_string_literal: true
module CrawlerDetect
# Configuration of CrawlerDetect
#
# @see settings
# @since 1.0.0
class Config < ::Qonfig::DataSet
CUR_PATH = File.dirname(File.expand_path(__FILE__)).freeze
RAW_PATH = File.join(CUR_PATH, "library/raw").freeze
RAW_CRAWLERS_PATH = File.join(RA... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
loadkpi/crawler_detect | https://github.com/loadkpi/crawler_detect/blob/e3c3c29a292c4e1831e7760c5cf84c842157b48f/lib/crawler_detect/detector.rb | lib/crawler_detect/detector.rb | # frozen_string_literal: true
module CrawlerDetect
# since 0.1.0
class Detector
# @param user_agent [String] User-agent string to detect
# @return [CrawlerDetect::Detector] instance of detector class
def initialize(user_agent)
@user_agent = user_agent.to_s.dup
end
# @return [true, false]... | ruby | MIT | e3c3c29a292c4e1831e7760c5cf84c842157b48f | 2026-01-04T17:42:12.798086Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.