shoulda-matchers 1.1.0 → 1.2.0
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/.travis.yml +5 -0
- data/Appraisals +6 -0
- data/Gemfile.lock +15 -15
- data/NEWS.md +20 -1
- data/README.md +6 -1
- data/features/step_definitions/rails_steps.rb +3 -3
- data/gemfiles/3.0.gemfile.lock +23 -27
- data/gemfiles/3.1.gemfile.lock +26 -30
- data/gemfiles/3.2.gemfile +16 -0
- data/gemfiles/3.2.gemfile.lock +157 -0
- data/lib/shoulda/matchers/action_controller/assign_to_matcher.rb +46 -29
- data/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb +6 -2
- data/lib/shoulda/matchers/action_controller/respond_with_content_type_matcher.rb +12 -7
- data/lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb +28 -15
- data/lib/shoulda/matchers/action_mailer/have_sent_email_matcher.rb +1 -1
- data/lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb +13 -9
- data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +9 -8
- data/lib/shoulda/matchers/active_model/ensure_exclusion_of_matcher.rb +8 -6
- data/lib/shoulda/matchers/active_model/ensure_inclusion_of_matcher.rb +63 -8
- data/lib/shoulda/matchers/active_model/ensure_length_of_matcher.rb +67 -34
- data/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb +3 -3
- data/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +9 -5
- data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +6 -3
- data/lib/shoulda/matchers/active_model/validate_uniqueness_of_matcher.rb +27 -23
- data/lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb +38 -25
- data/lib/shoulda/matchers/active_record/association_matcher.rb +49 -33
- data/lib/shoulda/matchers/active_record/have_db_column_matcher.rb +42 -35
- data/lib/shoulda/matchers/active_record/have_db_index_matcher.rb +15 -13
- data/lib/shoulda/matchers/active_record/query_the_database_matcher.rb +24 -23
- data/lib/shoulda/matchers/active_record/serialize_matcher.rb +13 -12
- data/lib/shoulda/matchers/version.rb +1 -1
- data/shoulda-matchers.gemspec +1 -1
- data/spec/shoulda/action_controller/assign_to_matcher_spec.rb +5 -3
- data/spec/shoulda/action_mailer/have_sent_email_spec.rb +40 -0
- data/spec/shoulda/active_model/allow_mass_assignment_of_matcher_spec.rb +12 -10
- data/spec/shoulda/active_model/ensure_inclusion_of_matcher_spec.rb +52 -0
- data/spec/shoulda/active_model/helpers_spec.rb +35 -6
- data/spec/shoulda/active_model/validate_presence_of_matcher_spec.rb +0 -1
- data/spec/shoulda/active_model/validate_uniqueness_of_matcher_spec.rb +8 -1
- data/spec/shoulda/active_record/serialize_matcher_spec.rb +1 -1
- data/spec/support/active_model_versions.rb +9 -0
- data/spec/support/model_builder.rb +15 -7
- metadata +123 -128
    
        data/.travis.yml
    CHANGED
    
    
    
        data/Appraisals
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            PATH
         | 
| 2 2 | 
             
              remote: .
         | 
| 3 3 | 
             
              specs:
         | 
| 4 | 
            -
                shoulda-matchers (1. | 
| 4 | 
            +
                shoulda-matchers (1.2.0)
         | 
| 5 5 | 
             
                  activesupport (>= 3.0.0)
         | 
| 6 6 |  | 
| 7 7 | 
             
            GEM
         | 
| @@ -74,7 +74,7 @@ GEM | |
| 74 74 | 
             
                mime-types (1.18)
         | 
| 75 75 | 
             
                mocha (0.10.5)
         | 
| 76 76 | 
             
                  metaclass (~> 0.0.1)
         | 
| 77 | 
            -
                multi_json (1.2 | 
| 77 | 
            +
                multi_json (1.3.2)
         | 
| 78 78 | 
             
                polyglot (0.3.3)
         | 
| 79 79 | 
             
                rack (1.4.1)
         | 
| 80 80 | 
             
                rack-cache (1.2)
         | 
| @@ -102,19 +102,19 @@ GEM | |
| 102 102 | 
             
                rdiscount (1.6.8)
         | 
| 103 103 | 
             
                rdoc (3.12)
         | 
| 104 104 | 
             
                  json (~> 1.4)
         | 
| 105 | 
            -
                rspec (2. | 
| 106 | 
            -
                  rspec-core (~> 2. | 
| 107 | 
            -
                  rspec-expectations (~> 2. | 
| 108 | 
            -
                  rspec-mocks (~> 2. | 
| 109 | 
            -
                rspec-core (2. | 
| 110 | 
            -
                rspec-expectations (2. | 
| 105 | 
            +
                rspec (2.8.0)
         | 
| 106 | 
            +
                  rspec-core (~> 2.8.0)
         | 
| 107 | 
            +
                  rspec-expectations (~> 2.8.0)
         | 
| 108 | 
            +
                  rspec-mocks (~> 2.8.0)
         | 
| 109 | 
            +
                rspec-core (2.8.0)
         | 
| 110 | 
            +
                rspec-expectations (2.8.0)
         | 
| 111 111 | 
             
                  diff-lcs (~> 1.1.2)
         | 
| 112 | 
            -
                rspec-mocks (2. | 
| 113 | 
            -
                rspec-rails (2. | 
| 114 | 
            -
                  actionpack ( | 
| 115 | 
            -
                  activesupport ( | 
| 116 | 
            -
                  railties ( | 
| 117 | 
            -
                  rspec (~> 2. | 
| 112 | 
            +
                rspec-mocks (2.8.0)
         | 
| 113 | 
            +
                rspec-rails (2.8.1)
         | 
| 114 | 
            +
                  actionpack (>= 3.0)
         | 
| 115 | 
            +
                  activesupport (>= 3.0)
         | 
| 116 | 
            +
                  railties (>= 3.0)
         | 
| 117 | 
            +
                  rspec (~> 2.8.0)
         | 
| 118 118 | 
             
                shoulda-context (1.0.0)
         | 
| 119 119 | 
             
                sprockets (2.1.2)
         | 
| 120 120 | 
             
                  hike (~> 1.2)
         | 
| @@ -144,7 +144,7 @@ DEPENDENCIES | |
| 144 144 | 
             
              jruby-openssl
         | 
| 145 145 | 
             
              rails (~> 3.0)
         | 
| 146 146 | 
             
              rake (~> 0.9.2)
         | 
| 147 | 
            -
              rspec-rails (~> 2. | 
| 147 | 
            +
              rspec-rails (~> 2.8.1)
         | 
| 148 148 | 
             
              shoulda-context (~> 1.0.0)
         | 
| 149 149 | 
             
              shoulda-matchers!
         | 
| 150 150 | 
             
              sqlite3
         | 
    
        data/NEWS.md
    CHANGED
    
    | @@ -1,4 +1,23 @@ | |
| 1 | 
            -
            #  | 
| 1 | 
            +
            # v1.2.0
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            * `ensure_inclusion_of` now has an `in_array` parameter:
         | 
| 4 | 
            +
              `ensure_inclusion_of(:attr).in_array(['foo', 'bar'])`. It cannot be used with
         | 
| 5 | 
            +
              the `.in_range` option. (vpereira)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * `ensure_in_inclusion_of` with `in_array` will accept `allow_blank(bool)` and `allow_nil(false)`
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Test against Rails 3.2.
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            * Fix `ensure_length_of` to use all possible I18n error messages.
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            * `have_db_index.unique(nil)` used to function exactly the same as
         | 
| 14 | 
            +
              `have_db_index` with no unique option. It now functions the same as
         | 
| 15 | 
            +
              `have_db_index.unique(false)`.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * In 1.1.0, `have_sent_email` checked all emails to ensure they matched. It now
         | 
| 18 | 
            +
              checks that only one email matches, which restores 1.0.0 behavior.
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            # v1.1.0
         | 
| 2 21 |  | 
| 3 22 | 
             
            * Added `only_integer` option to `validate_numericality_of`:
         | 
| 4 23 | 
             
              `should validate_numericality_of(:attribute).only_integer`
         | 
    
        data/README.md
    CHANGED
    
    | @@ -67,10 +67,15 @@ Matchers to test common patterns: | |
| 67 67 | 
             
            In Rails 3 and Bundler, add the following to your Gemfile:
         | 
| 68 68 |  | 
| 69 69 | 
             
                group :test do
         | 
| 70 | 
            -
                  gem "rspec-rails"
         | 
| 71 70 | 
             
                  gem "shoulda-matchers"
         | 
| 72 71 | 
             
                end
         | 
| 73 72 |  | 
| 73 | 
            +
                # rspec-rails needs to be in the development group so that Rails generators
         | 
| 74 | 
            +
                # work.
         | 
| 75 | 
            +
                group :development, :test do
         | 
| 76 | 
            +
                  gem "rspec-rails"
         | 
| 77 | 
            +
                end
         | 
| 78 | 
            +
             | 
| 74 79 | 
             
            Shoulda will automatically include matchers into the appropriate example groups.
         | 
| 75 80 |  | 
| 76 81 | 
             
            ## Credits
         | 
| @@ -43,7 +43,7 @@ When 'I run the rspec generator' do | |
| 43 43 | 
             
            end
         | 
| 44 44 |  | 
| 45 45 | 
             
            When 'I configure the application to use rspec-rails' do
         | 
| 46 | 
            -
              append_to_gemfile "gem 'rspec-rails', '~> 2. | 
| 46 | 
            +
              append_to_gemfile "gem 'rspec-rails', '~> 2.8.1'"
         | 
| 47 47 | 
             
              steps %{And I run `bundle install --local`}
         | 
| 48 48 | 
             
            end
         | 
| 49 49 |  | 
| @@ -68,7 +68,7 @@ When 'I configure a wildcard route' do | |
| 68 68 | 
             
            end
         | 
| 69 69 |  | 
| 70 70 | 
             
            When 'I append gems from Appraisal Gemfile' do
         | 
| 71 | 
            -
              File.read(ENV['BUNDLE_GEMFILE']).split( | 
| 71 | 
            +
              File.read(ENV['BUNDLE_GEMFILE']).split("\n").each do |line|
         | 
| 72 72 | 
             
                if line =~ /^gem "(?!rails|appraisal)/
         | 
| 73 73 | 
             
                  append_to_gemfile line.strip
         | 
| 74 74 | 
             
                end
         | 
| @@ -82,7 +82,7 @@ When 'I reset Bundler environment variables' do | |
| 82 82 | 
             
            end
         | 
| 83 83 |  | 
| 84 84 | 
             
            When /^I comment out the gem "([^"]*)" from the Gemfile$/ do |gemname|
         | 
| 85 | 
            -
              comment_out_gem_in_gemfile | 
| 85 | 
            +
              comment_out_gem_in_gemfile(gemname)
         | 
| 86 86 | 
             
            end
         | 
| 87 87 |  | 
| 88 88 | 
             
            module FileHelpers
         | 
    
        data/gemfiles/3.0.gemfile.lock
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            PATH
         | 
| 2 | 
            -
              remote: /Users/gabe/thoughtbot/shoulda-matchers
         | 
| 2 | 
            +
              remote: /Users/gabe/thoughtbot/open-source/shoulda-matchers
         | 
| 3 3 | 
             
              specs:
         | 
| 4 | 
            -
                shoulda-matchers (1. | 
| 4 | 
            +
                shoulda-matchers (1.2.0)
         | 
| 5 5 | 
             
                  activesupport (>= 3.0.0)
         | 
| 6 6 |  | 
| 7 7 | 
             
            GEM
         | 
| @@ -38,18 +38,15 @@ GEM | |
| 38 38 | 
             
                  bundler
         | 
| 39 39 | 
             
                  rake
         | 
| 40 40 | 
             
                arel (2.0.10)
         | 
| 41 | 
            -
                aruba (0.4. | 
| 42 | 
            -
                   | 
| 43 | 
            -
                   | 
| 44 | 
            -
                   | 
| 45 | 
            -
                   | 
| 46 | 
            -
                  rspec (>= 2.6.0)
         | 
| 47 | 
            -
                bcat (0.6.2)
         | 
| 48 | 
            -
                  rack (~> 1.0)
         | 
| 41 | 
            +
                aruba (0.4.11)
         | 
| 42 | 
            +
                  childprocess (>= 0.2.3)
         | 
| 43 | 
            +
                  cucumber (>= 1.1.1)
         | 
| 44 | 
            +
                  ffi (>= 1.0.11)
         | 
| 45 | 
            +
                  rspec (>= 2.7.0)
         | 
| 49 46 | 
             
                bourne (1.1.2)
         | 
| 50 47 | 
             
                  mocha (= 0.10.5)
         | 
| 51 48 | 
             
                builder (2.1.2)
         | 
| 52 | 
            -
                childprocess (0.3. | 
| 49 | 
            +
                childprocess (0.3.2)
         | 
| 53 50 | 
             
                  ffi (~> 1.0.6)
         | 
| 54 51 | 
             
                cucumber (1.1.9)
         | 
| 55 52 | 
             
                  builder (>= 2.1.2)
         | 
| @@ -64,7 +61,7 @@ GEM | |
| 64 61 | 
             
                gherkin (2.9.3)
         | 
| 65 62 | 
             
                  json (>= 1.4.6)
         | 
| 66 63 | 
             
                i18n (0.5.0)
         | 
| 67 | 
            -
                json (1. | 
| 64 | 
            +
                json (1.7.3)
         | 
| 68 65 | 
             
                mail (2.2.19)
         | 
| 69 66 | 
             
                  activesupport (>= 2.3.6)
         | 
| 70 67 | 
             
                  i18n (>= 0.4.0)
         | 
| @@ -95,24 +92,23 @@ GEM | |
| 95 92 | 
             
                  rdoc (~> 3.4)
         | 
| 96 93 | 
             
                  thor (~> 0.14.4)
         | 
| 97 94 | 
             
                rake (0.9.2.2)
         | 
| 98 | 
            -
                rdiscount (1.6.8)
         | 
| 99 95 | 
             
                rdoc (3.12)
         | 
| 100 96 | 
             
                  json (~> 1.4)
         | 
| 101 | 
            -
                rspec (2. | 
| 102 | 
            -
                  rspec-core (~> 2. | 
| 103 | 
            -
                  rspec-expectations (~> 2. | 
| 104 | 
            -
                  rspec-mocks (~> 2. | 
| 105 | 
            -
                rspec-core (2. | 
| 106 | 
            -
                rspec-expectations (2. | 
| 97 | 
            +
                rspec (2.8.0)
         | 
| 98 | 
            +
                  rspec-core (~> 2.8.0)
         | 
| 99 | 
            +
                  rspec-expectations (~> 2.8.0)
         | 
| 100 | 
            +
                  rspec-mocks (~> 2.8.0)
         | 
| 101 | 
            +
                rspec-core (2.8.0)
         | 
| 102 | 
            +
                rspec-expectations (2.8.0)
         | 
| 107 103 | 
             
                  diff-lcs (~> 1.1.2)
         | 
| 108 | 
            -
                rspec-mocks (2. | 
| 109 | 
            -
                rspec-rails (2. | 
| 110 | 
            -
                  actionpack ( | 
| 111 | 
            -
                  activesupport ( | 
| 112 | 
            -
                  railties ( | 
| 113 | 
            -
                  rspec (~> 2. | 
| 104 | 
            +
                rspec-mocks (2.8.0)
         | 
| 105 | 
            +
                rspec-rails (2.8.1)
         | 
| 106 | 
            +
                  actionpack (>= 3.0)
         | 
| 107 | 
            +
                  activesupport (>= 3.0)
         | 
| 108 | 
            +
                  railties (>= 3.0)
         | 
| 109 | 
            +
                  rspec (~> 2.8.0)
         | 
| 114 110 | 
             
                shoulda-context (1.0.0)
         | 
| 115 | 
            -
                sqlite3 (1.3. | 
| 111 | 
            +
                sqlite3 (1.3.6)
         | 
| 116 112 | 
             
                term-ansicolor (1.0.7)
         | 
| 117 113 | 
             
                thor (0.14.6)
         | 
| 118 114 | 
             
                treetop (1.4.10)
         | 
| @@ -135,7 +131,7 @@ DEPENDENCIES | |
| 135 131 | 
             
              jruby-openssl
         | 
| 136 132 | 
             
              rails (= 3.0.12)
         | 
| 137 133 | 
             
              rake (~> 0.9.2)
         | 
| 138 | 
            -
              rspec-rails (~> 2. | 
| 134 | 
            +
              rspec-rails (~> 2.8.1)
         | 
| 139 135 | 
             
              shoulda-context (~> 1.0.0)
         | 
| 140 136 | 
             
              shoulda-matchers!
         | 
| 141 137 | 
             
              sqlite3
         | 
    
        data/gemfiles/3.1.gemfile.lock
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            PATH
         | 
| 2 | 
            -
              remote: /Users/gabe/thoughtbot/shoulda-matchers
         | 
| 2 | 
            +
              remote: /Users/gabe/thoughtbot/open-source/shoulda-matchers
         | 
| 3 3 | 
             
              specs:
         | 
| 4 | 
            -
                shoulda-matchers (1. | 
| 4 | 
            +
                shoulda-matchers (1.2.0)
         | 
| 5 5 | 
             
                  activesupport (>= 3.0.0)
         | 
| 6 6 |  | 
| 7 7 | 
             
            GEM
         | 
| @@ -39,18 +39,15 @@ GEM | |
| 39 39 | 
             
                  bundler
         | 
| 40 40 | 
             
                  rake
         | 
| 41 41 | 
             
                arel (2.2.3)
         | 
| 42 | 
            -
                aruba (0.4. | 
| 43 | 
            -
                   | 
| 44 | 
            -
                   | 
| 45 | 
            -
                   | 
| 46 | 
            -
                   | 
| 47 | 
            -
                  rspec (>= 2.6.0)
         | 
| 48 | 
            -
                bcat (0.6.2)
         | 
| 49 | 
            -
                  rack (~> 1.0)
         | 
| 42 | 
            +
                aruba (0.4.11)
         | 
| 43 | 
            +
                  childprocess (>= 0.2.3)
         | 
| 44 | 
            +
                  cucumber (>= 1.1.1)
         | 
| 45 | 
            +
                  ffi (>= 1.0.11)
         | 
| 46 | 
            +
                  rspec (>= 2.7.0)
         | 
| 50 47 | 
             
                bourne (1.1.2)
         | 
| 51 48 | 
             
                  mocha (= 0.10.5)
         | 
| 52 49 | 
             
                builder (3.0.0)
         | 
| 53 | 
            -
                childprocess (0.3. | 
| 50 | 
            +
                childprocess (0.3.2)
         | 
| 54 51 | 
             
                  ffi (~> 1.0.6)
         | 
| 55 52 | 
             
                cucumber (1.1.9)
         | 
| 56 53 | 
             
                  builder (>= 2.1.2)
         | 
| @@ -68,7 +65,7 @@ GEM | |
| 68 65 | 
             
                jquery-rails (1.0.19)
         | 
| 69 66 | 
             
                  railties (~> 3.0)
         | 
| 70 67 | 
             
                  thor (~> 0.14)
         | 
| 71 | 
            -
                json (1. | 
| 68 | 
            +
                json (1.7.3)
         | 
| 72 69 | 
             
                mail (2.3.3)
         | 
| 73 70 | 
             
                  i18n (>= 0.4.0)
         | 
| 74 71 | 
             
                  mime-types (~> 1.16)
         | 
| @@ -77,7 +74,7 @@ GEM | |
| 77 74 | 
             
                mime-types (1.18)
         | 
| 78 75 | 
             
                mocha (0.10.5)
         | 
| 79 76 | 
             
                  metaclass (~> 0.0.1)
         | 
| 80 | 
            -
                multi_json (1. | 
| 77 | 
            +
                multi_json (1.3.6)
         | 
| 81 78 | 
             
                polyglot (0.3.3)
         | 
| 82 79 | 
             
                rack (1.3.6)
         | 
| 83 80 | 
             
                rack-cache (1.2)
         | 
| @@ -104,34 +101,33 @@ GEM | |
| 104 101 | 
             
                  rdoc (~> 3.4)
         | 
| 105 102 | 
             
                  thor (~> 0.14.6)
         | 
| 106 103 | 
             
                rake (0.9.2.2)
         | 
| 107 | 
            -
                rdiscount (1.6.8)
         | 
| 108 104 | 
             
                rdoc (3.12)
         | 
| 109 105 | 
             
                  json (~> 1.4)
         | 
| 110 | 
            -
                rspec (2. | 
| 111 | 
            -
                  rspec-core (~> 2. | 
| 112 | 
            -
                  rspec-expectations (~> 2. | 
| 113 | 
            -
                  rspec-mocks (~> 2. | 
| 114 | 
            -
                rspec-core (2. | 
| 115 | 
            -
                rspec-expectations (2. | 
| 106 | 
            +
                rspec (2.8.0)
         | 
| 107 | 
            +
                  rspec-core (~> 2.8.0)
         | 
| 108 | 
            +
                  rspec-expectations (~> 2.8.0)
         | 
| 109 | 
            +
                  rspec-mocks (~> 2.8.0)
         | 
| 110 | 
            +
                rspec-core (2.8.0)
         | 
| 111 | 
            +
                rspec-expectations (2.8.0)
         | 
| 116 112 | 
             
                  diff-lcs (~> 1.1.2)
         | 
| 117 | 
            -
                rspec-mocks (2. | 
| 118 | 
            -
                rspec-rails (2. | 
| 119 | 
            -
                  actionpack ( | 
| 120 | 
            -
                  activesupport ( | 
| 121 | 
            -
                  railties ( | 
| 122 | 
            -
                  rspec (~> 2. | 
| 123 | 
            -
                sass (3.1. | 
| 113 | 
            +
                rspec-mocks (2.8.0)
         | 
| 114 | 
            +
                rspec-rails (2.8.1)
         | 
| 115 | 
            +
                  actionpack (>= 3.0)
         | 
| 116 | 
            +
                  activesupport (>= 3.0)
         | 
| 117 | 
            +
                  railties (>= 3.0)
         | 
| 118 | 
            +
                  rspec (~> 2.8.0)
         | 
| 119 | 
            +
                sass (3.1.19)
         | 
| 124 120 | 
             
                sass-rails (3.1.6)
         | 
| 125 121 | 
             
                  actionpack (~> 3.1.0)
         | 
| 126 122 | 
             
                  railties (~> 3.1.0)
         | 
| 127 123 | 
             
                  sass (>= 3.1.10)
         | 
| 128 124 | 
             
                  tilt (~> 1.3.2)
         | 
| 129 125 | 
             
                shoulda-context (1.0.0)
         | 
| 130 | 
            -
                sprockets (2.0. | 
| 126 | 
            +
                sprockets (2.0.4)
         | 
| 131 127 | 
             
                  hike (~> 1.2)
         | 
| 132 128 | 
             
                  rack (~> 1.0)
         | 
| 133 129 | 
             
                  tilt (~> 1.1, != 1.3.0)
         | 
| 134 | 
            -
                sqlite3 (1.3. | 
| 130 | 
            +
                sqlite3 (1.3.6)
         | 
| 135 131 | 
             
                term-ansicolor (1.0.7)
         | 
| 136 132 | 
             
                thor (0.14.6)
         | 
| 137 133 | 
             
                tilt (1.3.3)
         | 
| @@ -156,7 +152,7 @@ DEPENDENCIES | |
| 156 152 | 
             
              jruby-openssl
         | 
| 157 153 | 
             
              rails (= 3.1.4)
         | 
| 158 154 | 
             
              rake (~> 0.9.2)
         | 
| 159 | 
            -
              rspec-rails (~> 2. | 
| 155 | 
            +
              rspec-rails (~> 2.8.1)
         | 
| 160 156 | 
             
              sass-rails
         | 
| 161 157 | 
             
              shoulda-context (~> 1.0.0)
         | 
| 162 158 | 
             
              shoulda-matchers!
         | 
| @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            # This file was generated by Appraisal
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            source "http://rubygems.org"
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            gem "shoulda-context", "~> 1.0.0"
         | 
| 6 | 
            +
            gem "sqlite3", :platform=>:ruby
         | 
| 7 | 
            +
            gem "activerecord-jdbc-adapter", :platform=>:jruby
         | 
| 8 | 
            +
            gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
         | 
| 9 | 
            +
            gem "jdbc-sqlite3", :platform=>:jruby
         | 
| 10 | 
            +
            gem "jruby-openssl", :platform=>:jruby
         | 
| 11 | 
            +
            gem "therubyrhino", :platform=>:jruby
         | 
| 12 | 
            +
            gem "rails", "3.2.3"
         | 
| 13 | 
            +
            gem "jquery-rails"
         | 
| 14 | 
            +
            gem "sass-rails"
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            gemspec :path=>"../"
         | 
| @@ -0,0 +1,157 @@ | |
| 1 | 
            +
            PATH
         | 
| 2 | 
            +
              remote: /Users/gabe/thoughtbot/open-source/shoulda-matchers
         | 
| 3 | 
            +
              specs:
         | 
| 4 | 
            +
                shoulda-matchers (1.2.0)
         | 
| 5 | 
            +
                  activesupport (>= 3.0.0)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            GEM
         | 
| 8 | 
            +
              remote: http://rubygems.org/
         | 
| 9 | 
            +
              specs:
         | 
| 10 | 
            +
                actionmailer (3.2.3)
         | 
| 11 | 
            +
                  actionpack (= 3.2.3)
         | 
| 12 | 
            +
                  mail (~> 2.4.4)
         | 
| 13 | 
            +
                actionpack (3.2.3)
         | 
| 14 | 
            +
                  activemodel (= 3.2.3)
         | 
| 15 | 
            +
                  activesupport (= 3.2.3)
         | 
| 16 | 
            +
                  builder (~> 3.0.0)
         | 
| 17 | 
            +
                  erubis (~> 2.7.0)
         | 
| 18 | 
            +
                  journey (~> 1.0.1)
         | 
| 19 | 
            +
                  rack (~> 1.4.0)
         | 
| 20 | 
            +
                  rack-cache (~> 1.2)
         | 
| 21 | 
            +
                  rack-test (~> 0.6.1)
         | 
| 22 | 
            +
                  sprockets (~> 2.1.2)
         | 
| 23 | 
            +
                activemodel (3.2.3)
         | 
| 24 | 
            +
                  activesupport (= 3.2.3)
         | 
| 25 | 
            +
                  builder (~> 3.0.0)
         | 
| 26 | 
            +
                activerecord (3.2.3)
         | 
| 27 | 
            +
                  activemodel (= 3.2.3)
         | 
| 28 | 
            +
                  activesupport (= 3.2.3)
         | 
| 29 | 
            +
                  arel (~> 3.0.2)
         | 
| 30 | 
            +
                  tzinfo (~> 0.3.29)
         | 
| 31 | 
            +
                activeresource (3.2.3)
         | 
| 32 | 
            +
                  activemodel (= 3.2.3)
         | 
| 33 | 
            +
                  activesupport (= 3.2.3)
         | 
| 34 | 
            +
                activesupport (3.2.3)
         | 
| 35 | 
            +
                  i18n (~> 0.6)
         | 
| 36 | 
            +
                  multi_json (~> 1.0)
         | 
| 37 | 
            +
                appraisal (0.4.1)
         | 
| 38 | 
            +
                  bundler
         | 
| 39 | 
            +
                  rake
         | 
| 40 | 
            +
                arel (3.0.2)
         | 
| 41 | 
            +
                aruba (0.4.11)
         | 
| 42 | 
            +
                  childprocess (>= 0.2.3)
         | 
| 43 | 
            +
                  cucumber (>= 1.1.1)
         | 
| 44 | 
            +
                  ffi (>= 1.0.11)
         | 
| 45 | 
            +
                  rspec (>= 2.7.0)
         | 
| 46 | 
            +
                bourne (1.1.2)
         | 
| 47 | 
            +
                  mocha (= 0.10.5)
         | 
| 48 | 
            +
                builder (3.0.0)
         | 
| 49 | 
            +
                childprocess (0.3.2)
         | 
| 50 | 
            +
                  ffi (~> 1.0.6)
         | 
| 51 | 
            +
                cucumber (1.1.9)
         | 
| 52 | 
            +
                  builder (>= 2.1.2)
         | 
| 53 | 
            +
                  diff-lcs (>= 1.1.2)
         | 
| 54 | 
            +
                  gherkin (~> 2.9.0)
         | 
| 55 | 
            +
                  json (>= 1.4.6)
         | 
| 56 | 
            +
                  term-ansicolor (>= 1.0.6)
         | 
| 57 | 
            +
                diff-lcs (1.1.3)
         | 
| 58 | 
            +
                erubis (2.7.0)
         | 
| 59 | 
            +
                ffi (1.0.11)
         | 
| 60 | 
            +
                gherkin (2.9.3)
         | 
| 61 | 
            +
                  json (>= 1.4.6)
         | 
| 62 | 
            +
                hike (1.2.1)
         | 
| 63 | 
            +
                i18n (0.6.0)
         | 
| 64 | 
            +
                journey (1.0.3)
         | 
| 65 | 
            +
                jquery-rails (2.0.2)
         | 
| 66 | 
            +
                  railties (>= 3.2.0, < 5.0)
         | 
| 67 | 
            +
                  thor (~> 0.14)
         | 
| 68 | 
            +
                json (1.7.3)
         | 
| 69 | 
            +
                mail (2.4.4)
         | 
| 70 | 
            +
                  i18n (>= 0.4.0)
         | 
| 71 | 
            +
                  mime-types (~> 1.16)
         | 
| 72 | 
            +
                  treetop (~> 1.4.8)
         | 
| 73 | 
            +
                metaclass (0.0.1)
         | 
| 74 | 
            +
                mime-types (1.18)
         | 
| 75 | 
            +
                mocha (0.10.5)
         | 
| 76 | 
            +
                  metaclass (~> 0.0.1)
         | 
| 77 | 
            +
                multi_json (1.3.6)
         | 
| 78 | 
            +
                polyglot (0.3.3)
         | 
| 79 | 
            +
                rack (1.4.1)
         | 
| 80 | 
            +
                rack-cache (1.2)
         | 
| 81 | 
            +
                  rack (>= 0.4)
         | 
| 82 | 
            +
                rack-ssl (1.3.2)
         | 
| 83 | 
            +
                  rack
         | 
| 84 | 
            +
                rack-test (0.6.1)
         | 
| 85 | 
            +
                  rack (>= 1.0)
         | 
| 86 | 
            +
                rails (3.2.3)
         | 
| 87 | 
            +
                  actionmailer (= 3.2.3)
         | 
| 88 | 
            +
                  actionpack (= 3.2.3)
         | 
| 89 | 
            +
                  activerecord (= 3.2.3)
         | 
| 90 | 
            +
                  activeresource (= 3.2.3)
         | 
| 91 | 
            +
                  activesupport (= 3.2.3)
         | 
| 92 | 
            +
                  bundler (~> 1.0)
         | 
| 93 | 
            +
                  railties (= 3.2.3)
         | 
| 94 | 
            +
                railties (3.2.3)
         | 
| 95 | 
            +
                  actionpack (= 3.2.3)
         | 
| 96 | 
            +
                  activesupport (= 3.2.3)
         | 
| 97 | 
            +
                  rack-ssl (~> 1.3.2)
         | 
| 98 | 
            +
                  rake (>= 0.8.7)
         | 
| 99 | 
            +
                  rdoc (~> 3.4)
         | 
| 100 | 
            +
                  thor (~> 0.14.6)
         | 
| 101 | 
            +
                rake (0.9.2.2)
         | 
| 102 | 
            +
                rdoc (3.12)
         | 
| 103 | 
            +
                  json (~> 1.4)
         | 
| 104 | 
            +
                rspec (2.8.0)
         | 
| 105 | 
            +
                  rspec-core (~> 2.8.0)
         | 
| 106 | 
            +
                  rspec-expectations (~> 2.8.0)
         | 
| 107 | 
            +
                  rspec-mocks (~> 2.8.0)
         | 
| 108 | 
            +
                rspec-core (2.8.0)
         | 
| 109 | 
            +
                rspec-expectations (2.8.0)
         | 
| 110 | 
            +
                  diff-lcs (~> 1.1.2)
         | 
| 111 | 
            +
                rspec-mocks (2.8.0)
         | 
| 112 | 
            +
                rspec-rails (2.8.1)
         | 
| 113 | 
            +
                  actionpack (>= 3.0)
         | 
| 114 | 
            +
                  activesupport (>= 3.0)
         | 
| 115 | 
            +
                  railties (>= 3.0)
         | 
| 116 | 
            +
                  rspec (~> 2.8.0)
         | 
| 117 | 
            +
                sass (3.1.19)
         | 
| 118 | 
            +
                sass-rails (3.2.5)
         | 
| 119 | 
            +
                  railties (~> 3.2.0)
         | 
| 120 | 
            +
                  sass (>= 3.1.10)
         | 
| 121 | 
            +
                  tilt (~> 1.3)
         | 
| 122 | 
            +
                shoulda-context (1.0.0)
         | 
| 123 | 
            +
                sprockets (2.1.3)
         | 
| 124 | 
            +
                  hike (~> 1.2)
         | 
| 125 | 
            +
                  rack (~> 1.0)
         | 
| 126 | 
            +
                  tilt (~> 1.1, != 1.3.0)
         | 
| 127 | 
            +
                sqlite3 (1.3.6)
         | 
| 128 | 
            +
                term-ansicolor (1.0.7)
         | 
| 129 | 
            +
                thor (0.14.6)
         | 
| 130 | 
            +
                tilt (1.3.3)
         | 
| 131 | 
            +
                treetop (1.4.10)
         | 
| 132 | 
            +
                  polyglot
         | 
| 133 | 
            +
                  polyglot (>= 0.3.1)
         | 
| 134 | 
            +
                tzinfo (0.3.33)
         | 
| 135 | 
            +
             | 
| 136 | 
            +
            PLATFORMS
         | 
| 137 | 
            +
              ruby
         | 
| 138 | 
            +
             | 
| 139 | 
            +
            DEPENDENCIES
         | 
| 140 | 
            +
              activerecord-jdbc-adapter
         | 
| 141 | 
            +
              activerecord-jdbcsqlite3-adapter
         | 
| 142 | 
            +
              appraisal (~> 0.4.0)
         | 
| 143 | 
            +
              aruba
         | 
| 144 | 
            +
              bourne (~> 1.1.2)
         | 
| 145 | 
            +
              bundler (~> 1.1.0)
         | 
| 146 | 
            +
              cucumber (~> 1.1.9)
         | 
| 147 | 
            +
              jdbc-sqlite3
         | 
| 148 | 
            +
              jquery-rails
         | 
| 149 | 
            +
              jruby-openssl
         | 
| 150 | 
            +
              rails (= 3.2.3)
         | 
| 151 | 
            +
              rake (~> 0.9.2)
         | 
| 152 | 
            +
              rspec-rails (~> 2.8.1)
         | 
| 153 | 
            +
              sass-rails
         | 
| 154 | 
            +
              shoulda-context (~> 1.0.0)
         | 
| 155 | 
            +
              shoulda-matchers!
         | 
| 156 | 
            +
              sqlite3
         | 
| 157 | 
            +
              therubyrhino
         |