edge_rider 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +22 -0
- data/README.md +2 -0
- data/Rakefile +6 -1
- data/edge_rider.gemspec +3 -2
- data/lib/edge_rider/version.rb +1 -1
- data/spec/rails-2.3/Gemfile +1 -0
- metadata +7 -9
- data/spec/rails-2.3/app_root/config/database.yml +0 -6
- data/spec/rails-3.0/app_root/config/database.yml +0 -6
- data/spec/rails-3.2/app_root/config/database.yml +0 -6
    
        data/LICENSE
    ADDED
    
    | @@ -0,0 +1,22 @@ | |
| 1 | 
            +
            Copyright (c) 2013 Henning Koch
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            MIT License
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining
         | 
| 6 | 
            +
            a copy of this software and associated documentation files (the
         | 
| 7 | 
            +
            "Software"), to deal in the Software without restriction, including
         | 
| 8 | 
            +
            without limitation the rights to use, copy, modify, merge, publish,
         | 
| 9 | 
            +
            distribute, sublicense, and/or sell copies of the Software, and to
         | 
| 10 | 
            +
            permit persons to whom the Software is furnished to do so, subject to
         | 
| 11 | 
            +
            the following conditions:
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            The above copyright notice and this permission notice shall be
         | 
| 14 | 
            +
            included in all copies or substantial portions of the Software.
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         | 
| 17 | 
            +
            EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         | 
| 18 | 
            +
            MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
         | 
| 19 | 
            +
            NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         | 
| 20 | 
            +
            LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         | 
| 21 | 
            +
            OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
         | 
| 22 | 
            +
            WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         | 
    
        data/README.md
    CHANGED
    
    
    
        data/Rakefile
    CHANGED
    
    | @@ -7,11 +7,16 @@ task :default => 'all:spec' | |
| 7 7 | 
             
            namespace :travis_ci do
         | 
| 8 8 |  | 
| 9 9 | 
             
              desc 'Things to do before Travis CI begins'
         | 
| 10 | 
            -
              task :prepare do
         | 
| 10 | 
            +
              task :prepare => :slimgems do
         | 
| 11 11 | 
             
                Rake::Task['travis_ci:create_database'].invoke &&
         | 
| 12 12 | 
             
                Rake::Task['travis_ci:create_database_yml'].invoke
         | 
| 13 13 | 
             
              end
         | 
| 14 14 |  | 
| 15 | 
            +
              desc 'Install slimgems'
         | 
| 16 | 
            +
              task :slimgems do
         | 
| 17 | 
            +
                system('gem install slimgems')
         | 
| 18 | 
            +
              end
         | 
| 19 | 
            +
             | 
| 15 20 | 
             
              desc 'Creates a test database'
         | 
| 16 21 | 
             
              task :create_database do
         | 
| 17 22 | 
             
                system("mysql -e 'create database edge_rider_test;'")
         | 
    
        data/edge_rider.gemspec
    CHANGED
    
    | @@ -9,9 +9,10 @@ Gem::Specification.new do |s| | |
| 9 9 | 
             
              s.homepage = 'https://github.com/makandra/edge_rider'
         | 
| 10 10 | 
             
              s.summary = 'Power tools for ActiveRecord relations (scopes)'
         | 
| 11 11 | 
             
              s.description = s.summary
         | 
| 12 | 
            +
              s.license = 'MIT'
         | 
| 12 13 |  | 
| 13 | 
            -
              s.files         = `git ls-files`.split("\n")
         | 
| 14 | 
            -
              s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
         | 
| 14 | 
            +
              s.files         = `git ls-files`.split("\n").reject { |path| File.lstat(path).symlink? }
         | 
| 15 | 
            +
              s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n").reject { |path| File.lstat(path).symlink? }
         | 
| 15 16 | 
             
              s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
         | 
| 16 17 | 
             
              s.require_paths = ["lib"]
         | 
| 17 18 |  | 
    
        data/lib/edge_rider/version.rb
    CHANGED
    
    
    
        data/spec/rails-2.3/Gemfile
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: edge_rider
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              hash:  | 
| 4 | 
            +
              hash: 19
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 0
         | 
| 8 8 | 
             
              - 2
         | 
| 9 | 
            -
              -  | 
| 10 | 
            -
              version: 0.2. | 
| 9 | 
            +
              - 2
         | 
| 10 | 
            +
              version: 0.2.2
         | 
| 11 11 | 
             
            platform: ruby
         | 
| 12 12 | 
             
            authors: 
         | 
| 13 13 | 
             
            - Henning Koch
         | 
| @@ -15,7 +15,7 @@ autorequire: | |
| 15 15 | 
             
            bindir: bin
         | 
| 16 16 | 
             
            cert_chain: []
         | 
| 17 17 |  | 
| 18 | 
            -
            date: 2013- | 
| 18 | 
            +
            date: 2013-07-26 00:00:00 +02:00
         | 
| 19 19 | 
             
            default_executable: 
         | 
| 20 20 | 
             
            dependencies: 
         | 
| 21 21 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| @@ -44,6 +44,7 @@ files: | |
| 44 44 | 
             
            - .gitignore
         | 
| 45 45 | 
             
            - .rvmrc
         | 
| 46 46 | 
             
            - .travis.yml
         | 
| 47 | 
            +
            - LICENSE
         | 
| 47 48 | 
             
            - README.md
         | 
| 48 49 | 
             
            - Rakefile
         | 
| 49 50 | 
             
            - edge_rider.gemspec
         | 
| @@ -60,7 +61,6 @@ files: | |
| 60 61 | 
             
            - spec/rails-2.3/Gemfile
         | 
| 61 62 | 
             
            - spec/rails-2.3/Rakefile
         | 
| 62 63 | 
             
            - spec/rails-2.3/app_root/config/boot.rb
         | 
| 63 | 
            -
            - spec/rails-2.3/app_root/config/database.yml
         | 
| 64 64 | 
             
            - spec/rails-2.3/app_root/config/environment.rb
         | 
| 65 65 | 
             
            - spec/rails-2.3/app_root/config/environments/test.rb
         | 
| 66 66 | 
             
            - spec/rails-2.3/app_root/config/initializers/fix_missing_source_file.rb
         | 
| @@ -76,7 +76,6 @@ files: | |
| 76 76 | 
             
            - spec/rails-3.0/app_root/.gitignore
         | 
| 77 77 | 
             
            - spec/rails-3.0/app_root/config/application.rb
         | 
| 78 78 | 
             
            - spec/rails-3.0/app_root/config/boot.rb
         | 
| 79 | 
            -
            - spec/rails-3.0/app_root/config/database.yml
         | 
| 80 79 | 
             
            - spec/rails-3.0/app_root/config/environment.rb
         | 
| 81 80 | 
             
            - spec/rails-3.0/app_root/config/environments/test.rb
         | 
| 82 81 | 
             
            - spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb
         | 
| @@ -96,7 +95,6 @@ files: | |
| 96 95 | 
             
            - spec/rails-3.2/app_root/.gitignore
         | 
| 97 96 | 
             
            - spec/rails-3.2/app_root/config/application.rb
         | 
| 98 97 | 
             
            - spec/rails-3.2/app_root/config/boot.rb
         | 
| 99 | 
            -
            - spec/rails-3.2/app_root/config/database.yml
         | 
| 100 98 | 
             
            - spec/rails-3.2/app_root/config/environment.rb
         | 
| 101 99 | 
             
            - spec/rails-3.2/app_root/config/environments/test.rb
         | 
| 102 100 | 
             
            - spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb
         | 
| @@ -127,8 +125,8 @@ files: | |
| 127 125 | 
             
            - spec/shared/spec/edge_rider/util_spec.rb
         | 
| 128 126 | 
             
            has_rdoc: true
         | 
| 129 127 | 
             
            homepage: https://github.com/makandra/edge_rider
         | 
| 130 | 
            -
            licenses:  | 
| 131 | 
            -
             | 
| 128 | 
            +
            licenses: 
         | 
| 129 | 
            +
            - MIT
         | 
| 132 130 | 
             
            post_install_message: 
         | 
| 133 131 | 
             
            rdoc_options: []
         | 
| 134 132 |  |