shoulda-matchers 2.7.0 → 2.8.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +13 -3
- data/Appraisals +18 -0
- data/CONTRIBUTING.md +13 -29
- data/Gemfile +1 -4
- data/Gemfile.lock +2 -10
- data/NEWS.md +100 -14
- data/README.md +62 -58
- data/Rakefile +9 -16
- data/gemfiles/3.0.gemfile +11 -12
- data/gemfiles/3.0.gemfile.lock +15 -10
- data/gemfiles/3.1.gemfile +11 -12
- data/gemfiles/3.1.gemfile.lock +14 -10
- data/gemfiles/3.1_1.9.2.gemfile +12 -11
- data/gemfiles/3.1_1.9.2.gemfile.lock +14 -3
- data/gemfiles/3.2.gemfile +11 -12
- data/gemfiles/3.2.gemfile.lock +15 -10
- data/gemfiles/3.2_1.9.2.gemfile +12 -11
- data/gemfiles/3.2_1.9.2.gemfile.lock +14 -2
- data/gemfiles/4.0.0.gemfile +10 -12
- data/gemfiles/4.0.0.gemfile.lock +13 -10
- data/gemfiles/4.0.1.gemfile +10 -12
- data/gemfiles/4.0.1.gemfile.lock +13 -10
- data/gemfiles/4.1.gemfile +13 -15
- data/gemfiles/4.1.gemfile.lock +45 -50
- data/gemfiles/4.2.gemfile +36 -0
- data/gemfiles/4.2.gemfile.lock +245 -0
- data/lib/shoulda/matchers.rb +3 -1
- data/lib/shoulda/matchers/action_controller.rb +1 -1
- data/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +1 -1
- data/lib/shoulda/matchers/action_controller/route_params.rb +9 -4
- data/lib/shoulda/matchers/action_controller/{set_the_flash_matcher.rb → set_flash_matcher.rb} +34 -26
- data/lib/shoulda/matchers/action_controller/set_session_matcher.rb +125 -69
- data/lib/shoulda/matchers/active_model.rb +1 -2
- data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +18 -5
- data/lib/shoulda/matchers/active_model/exception_message_finder.rb +2 -2
- data/lib/shoulda/matchers/active_model/helpers.rb +4 -4
- data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +10 -3
- data/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb +1 -1
- data/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb +3 -1
- data/lib/shoulda/matchers/active_model/{ensure_length_of_matcher.rb → validate_length_of_matcher.rb} +30 -20
- data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +21 -0
- data/lib/shoulda/matchers/active_model/validation_message_finder.rb +2 -2
- data/lib/shoulda/matchers/active_record.rb +2 -0
- data/lib/shoulda/matchers/active_record/association_matcher.rb +96 -2
- data/lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb +1 -1
- data/lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb +3 -3
- data/lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb +22 -2
- data/lib/shoulda/matchers/active_record/have_db_column_matcher.rb +30 -4
- data/lib/shoulda/matchers/active_record/serialize_matcher.rb +19 -3
- data/lib/shoulda/matchers/active_record/uniqueness.rb +14 -0
- data/lib/shoulda/matchers/active_record/uniqueness/model.rb +45 -0
- data/lib/shoulda/matchers/active_record/uniqueness/namespace.rb +36 -0
- data/lib/shoulda/matchers/active_record/uniqueness/test_model_creator.rb +50 -0
- data/lib/shoulda/matchers/active_record/uniqueness/test_models.rb +24 -0
- data/lib/shoulda/matchers/{active_model → active_record}/validate_uniqueness_of_matcher.rb +76 -16
- data/lib/shoulda/matchers/independent/delegate_method_matcher.rb +117 -51
- data/lib/shoulda/matchers/independent/delegate_method_matcher/target_not_defined_error.rb +1 -1
- data/lib/shoulda/matchers/matcher_context.rb +35 -0
- data/lib/shoulda/matchers/rails_shim.rb +23 -0
- data/lib/shoulda/matchers/util.rb +28 -0
- data/lib/shoulda/matchers/version.rb +1 -1
- data/script/SUPPORTED_VERSIONS +1 -1
- data/spec/acceptance/active_model_integration_spec.rb +20 -0
- data/spec/acceptance/independent_matchers_spec.rb +64 -0
- data/spec/acceptance/rails_integration_spec.rb +142 -0
- data/spec/acceptance_spec_helper.rb +23 -0
- data/spec/support/acceptance/helpers.rb +29 -0
- data/spec/support/acceptance/helpers/active_model_helpers.rb +11 -0
- data/spec/support/acceptance/helpers/array_helpers.rb +13 -0
- data/spec/support/acceptance/helpers/base_helpers.rb +14 -0
- data/spec/support/acceptance/helpers/command_helpers.rb +51 -0
- data/spec/support/acceptance/helpers/file_helpers.rb +19 -0
- data/spec/support/acceptance/helpers/gem_helpers.rb +31 -0
- data/spec/support/acceptance/helpers/minitest_helpers.rb +19 -0
- data/spec/support/acceptance/helpers/pluralization_helpers.rb +13 -0
- data/spec/support/acceptance/helpers/rails_version_helpers.rb +11 -0
- data/spec/support/acceptance/helpers/rspec_helpers.rb +26 -0
- data/spec/support/acceptance/helpers/ruby_version_helpers.rb +9 -0
- data/spec/support/acceptance/helpers/step_helpers.rb +117 -0
- data/spec/support/acceptance/matchers/have_output.rb +31 -0
- data/spec/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb +55 -0
- data/spec/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb +103 -0
- data/spec/support/tests/bundle.rb +94 -0
- data/spec/support/tests/command_runner.rb +214 -0
- data/spec/support/tests/filesystem.rb +77 -0
- data/spec/support/tests/version.rb +45 -0
- data/spec/support/unit/capture.rb +34 -0
- data/spec/support/unit/helpers/active_model_helpers.rb +25 -0
- data/spec/support/unit/helpers/active_model_versions.rb +20 -0
- data/spec/support/unit/helpers/active_resource_builder.rb +27 -0
- data/spec/support/unit/helpers/allow_value_matcher_helpers.rb +15 -0
- data/spec/support/unit/helpers/class_builder.rb +72 -0
- data/spec/support/unit/helpers/confirmation_matcher_helpers.rb +17 -0
- data/spec/support/unit/helpers/controller_builder.rb +91 -0
- data/spec/support/unit/helpers/i18n_faker.rb +15 -0
- data/spec/support/unit/helpers/mailer_builder.rb +12 -0
- data/spec/support/unit/helpers/model_builder.rb +102 -0
- data/spec/support/unit/helpers/rails_versions.rb +28 -0
- data/spec/support/unit/i18n.rb +7 -0
- data/spec/support/unit/matchers/deprecate.rb +60 -0
- data/spec/support/unit/matchers/fail_with_message_including_matcher.rb +50 -0
- data/spec/support/unit/matchers/fail_with_message_matcher.rb +50 -0
- data/spec/support/unit/matchers/print_warning_including.rb +59 -0
- data/spec/support/unit/rails_application.rb +110 -0
- data/spec/support/unit/record_builder_with_i18n_validation_message.rb +69 -0
- data/spec/support/unit/record_validating_confirmation_builder.rb +56 -0
- data/spec/support/unit/record_with_different_error_attribute_builder.rb +92 -0
- data/spec/support/{shared_examples → unit/shared_examples}/numerical_submatcher.rb +0 -2
- data/spec/support/{shared_examples → unit/shared_examples}/numerical_type_submatcher.rb +0 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/callback_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/filter_param_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/redirect_to_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/render_template_matcher_spec.rb +2 -4
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/render_with_layout_matcher_spec.rb +9 -6
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/rescue_from_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/respond_with_matcher_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb +126 -0
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/route_params_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb +167 -0
- data/spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb +294 -0
- data/spec/{shoulda → unit/shoulda}/matchers/action_controller/strong_parameters_matcher_spec.rb +19 -11
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/allow_value_matcher_spec.rb +49 -21
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/disallow_value_matcher_spec.rb +8 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/exception_message_finder_spec.rb +4 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/have_secure_password_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/helpers_spec.rb +7 -3
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/comparison_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/even_number_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/odd_number_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/numericality_matchers/only_integer_matcher_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_absence_of_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_acceptance_of_matcher_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb +63 -0
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_exclusion_of_matcher_spec.rb +5 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_inclusion_of_matcher_spec.rb +7 -14
- data/spec/{shoulda/matchers/active_model/ensure_length_of_matcher_spec.rb → unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb} +43 -23
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_numericality_of_matcher_spec.rb +3 -4
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_presence_of_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validate_uniqueness_of_matcher_spec.rb +127 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_model/validation_message_finder_spec.rb +8 -6
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/association_matcher_spec.rb +217 -26
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/association_matchers/model_reflection_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/define_enum_for_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/have_db_column_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/have_db_index_matcher_spec.rb +8 -5
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/have_readonly_attributes_matcher_spec.rb +2 -2
- data/spec/{shoulda → unit/shoulda}/matchers/active_record/serialize_matcher_spec.rb +3 -3
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/double_collection_spec.rb +29 -7
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/double_implementation_registry_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/double_spec.rb +20 -10
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/object_double_spec.rb +1 -1
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/proxy_implementation_spec.rb +13 -6
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak/stub_implementation_spec.rb +2 -2
- data/spec/unit/shoulda/matchers/doublespeak/world_spec.rb +77 -0
- data/spec/{shoulda → unit/shoulda}/matchers/doublespeak_spec.rb +11 -3
- data/spec/{shoulda → unit/shoulda}/matchers/independent/delegate_method_matcher/stubbed_target_spec.rb +1 -1
- data/spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb +517 -0
- data/spec/unit_spec_helper.rb +66 -0
- data/spec/warnings_spy/partitioner.rb +10 -3
- data/spec/warnings_spy/reader.rb +9 -20
- data/spec/warnings_spy/reporter.rb +2 -1
- metadata +212 -149
- data/features/activemodel_integration.feature +0 -15
- data/features/rails_integration.feature +0 -160
- data/features/step_definitions/activemodel_steps.rb +0 -21
- data/features/step_definitions/rails_steps.rb +0 -227
- data/features/support/env.rb +0 -6
- data/spec/shoulda/matchers/action_controller/route_matcher_spec.rb +0 -70
- data/spec/shoulda/matchers/action_controller/set_session_matcher_spec.rb +0 -113
- data/spec/shoulda/matchers/action_controller/set_the_flash_matcher_spec.rb +0 -153
- data/spec/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb +0 -47
- data/spec/shoulda/matchers/doublespeak/world_spec.rb +0 -70
- data/spec/shoulda/matchers/independent/delegate_method_matcher_spec.rb +0 -309
- data/spec/spec_helper.rb +0 -42
- data/spec/support/active_model_versions.rb +0 -13
- data/spec/support/active_resource_builder.rb +0 -29
- data/spec/support/activemodel_helpers.rb +0 -23
- data/spec/support/capture_helpers.rb +0 -19
- data/spec/support/class_builder.rb +0 -46
- data/spec/support/controller_builder.rb +0 -102
- data/spec/support/fail_with_message_including_matcher.rb +0 -44
- data/spec/support/fail_with_message_matcher.rb +0 -44
- data/spec/support/i18n_faker.rb +0 -10
- data/spec/support/mailer_builder.rb +0 -10
- data/spec/support/model_builder.rb +0 -81
- data/spec/support/rails_versions.rb +0 -26
- data/spec/support/test_application.rb +0 -120
data/gemfiles/3.2_1.9.2.gemfile
CHANGED
@@ -2,31 +2,32 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "appraisal", "~> 1.0
|
5
|
+
gem "appraisal", "~> 1.0"
|
6
6
|
gem "aruba"
|
7
7
|
gem "bourne", "~> 1.3"
|
8
8
|
gem "bundler", "~> 1.1"
|
9
|
-
gem "cucumber", "~> 1.1"
|
10
9
|
gem "pry"
|
10
|
+
gem "rails", "~> 3.2.13"
|
11
11
|
gem "rake", ">= 0.9.2"
|
12
|
+
gem "rspec-rails", "2.99.0"
|
12
13
|
gem "yard"
|
13
14
|
gem "redcarpet"
|
14
15
|
gem "pygments.rb"
|
15
16
|
gem "watchr"
|
16
17
|
gem "shoulda-context", "~> 1.2.0"
|
17
|
-
gem "sqlite3", :platform
|
18
|
-
gem "activerecord-jdbc-adapter", :platform
|
19
|
-
gem "activerecord-jdbcsqlite3-adapter", :platform
|
20
|
-
gem "jdbc-sqlite3", :platform
|
21
|
-
gem "jruby-openssl", :platform
|
22
|
-
gem "therubyrhino", :platform
|
18
|
+
gem "sqlite3", :platform => :ruby
|
19
|
+
gem "activerecord-jdbc-adapter", :platform => :jruby
|
20
|
+
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
21
|
+
gem "jdbc-sqlite3", :platform => :jruby
|
22
|
+
gem "jruby-openssl", :platform => :jruby
|
23
|
+
gem "therubyrhino", :platform => :jruby
|
23
24
|
gem "strong_parameters"
|
24
|
-
gem "
|
25
|
-
gem "
|
25
|
+
gem "minitest", "~> 4.0"
|
26
|
+
gem "minitest-reporters"
|
26
27
|
gem "bcrypt-ruby", "~> 3.0.0"
|
27
28
|
gem "jquery-rails"
|
28
29
|
gem "sass-rails", "~> 3.2.3"
|
29
30
|
gem "coffee-rails", "~> 3.2.1"
|
30
31
|
gem "uglifier", ">= 1.0.3"
|
31
32
|
|
32
|
-
gemspec :path=>"
|
33
|
+
gemspec :path => "../"
|
@@ -34,6 +34,7 @@ GEM
|
|
34
34
|
activesupport (3.2.18)
|
35
35
|
i18n (~> 0.6, >= 0.6.4)
|
36
36
|
multi_json (~> 1.0)
|
37
|
+
ansi (1.4.3)
|
37
38
|
appraisal (1.0.0)
|
38
39
|
bundler
|
39
40
|
rake
|
@@ -69,6 +70,7 @@ GEM
|
|
69
70
|
ffi (1.9.3)
|
70
71
|
gherkin (2.12.2)
|
71
72
|
multi_json (~> 1.3)
|
73
|
+
hashie (3.3.1)
|
72
74
|
hike (1.2.3)
|
73
75
|
i18n (0.6.11)
|
74
76
|
journey (1.0.4)
|
@@ -82,12 +84,21 @@ GEM
|
|
82
84
|
metaclass (0.0.4)
|
83
85
|
method_source (0.8.2)
|
84
86
|
mime-types (1.25.1)
|
87
|
+
minitest (4.7.5)
|
88
|
+
minitest-reporters (0.14.24)
|
89
|
+
ansi
|
90
|
+
builder
|
91
|
+
minitest (>= 2.12, < 5.0)
|
92
|
+
powerbar
|
85
93
|
mocha (0.14.0)
|
86
94
|
metaclass (~> 0.0.1)
|
87
95
|
multi_json (1.10.1)
|
88
96
|
multi_test (0.1.1)
|
89
97
|
polyglot (0.3.5)
|
90
98
|
posix-spawn (0.3.8)
|
99
|
+
powerbar (1.0.11)
|
100
|
+
ansi (~> 1.4.0)
|
101
|
+
hashie (>= 1.1.0)
|
91
102
|
pry (0.10.0)
|
92
103
|
coderay (~> 1.1.0)
|
93
104
|
method_source (~> 0.8.1)
|
@@ -173,16 +184,17 @@ PLATFORMS
|
|
173
184
|
DEPENDENCIES
|
174
185
|
activerecord-jdbc-adapter
|
175
186
|
activerecord-jdbcsqlite3-adapter
|
176
|
-
appraisal (~> 1.0
|
187
|
+
appraisal (~> 1.0)
|
177
188
|
aruba
|
178
189
|
bcrypt-ruby (~> 3.0.0)
|
179
190
|
bourne (~> 1.3)
|
180
191
|
bundler (~> 1.1)
|
181
192
|
coffee-rails (~> 3.2.1)
|
182
|
-
cucumber (~> 1.1)
|
183
193
|
jdbc-sqlite3
|
184
194
|
jquery-rails
|
185
195
|
jruby-openssl
|
196
|
+
minitest (~> 4.0)
|
197
|
+
minitest-reporters
|
186
198
|
pry
|
187
199
|
pygments.rb
|
188
200
|
rails (~> 3.2.13)
|
data/gemfiles/4.0.0.gemfile
CHANGED
@@ -2,24 +2,25 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "appraisal", "~> 1.0
|
5
|
+
gem "appraisal", "~> 1.0"
|
6
6
|
gem "aruba"
|
7
7
|
gem "bourne", "~> 1.3"
|
8
8
|
gem "bundler", "~> 1.1"
|
9
|
-
gem "cucumber", "~> 1.1"
|
10
9
|
gem "pry"
|
10
|
+
gem "rails", "4.0.0"
|
11
11
|
gem "rake", ">= 0.9.2"
|
12
|
+
gem "rspec-rails", "~> 3.0.1"
|
12
13
|
gem "yard"
|
13
14
|
gem "redcarpet"
|
14
15
|
gem "pygments.rb"
|
15
16
|
gem "watchr"
|
16
17
|
gem "shoulda-context", "~> 1.2.0"
|
17
|
-
gem "sqlite3", :platform
|
18
|
-
gem "activerecord-jdbc-adapter", :platform
|
19
|
-
gem "activerecord-jdbcsqlite3-adapter", :platform
|
20
|
-
gem "jdbc-sqlite3", :platform
|
21
|
-
gem "jruby-openssl", :platform
|
22
|
-
gem "therubyrhino", :platform
|
18
|
+
gem "sqlite3", :platform => :ruby
|
19
|
+
gem "activerecord-jdbc-adapter", :platform => :jruby
|
20
|
+
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
21
|
+
gem "jdbc-sqlite3", :platform => :jruby
|
22
|
+
gem "jruby-openssl", :platform => :jruby
|
23
|
+
gem "therubyrhino", :platform => :jruby
|
23
24
|
gem "spring"
|
24
25
|
gem "spring-commands-rspec"
|
25
26
|
gem "uglifier", ">= 1.3.0"
|
@@ -28,11 +29,8 @@ gem "jquery-rails"
|
|
28
29
|
gem "turbolinks"
|
29
30
|
gem "sdoc"
|
30
31
|
gem "activeresource", "4.0.0"
|
31
|
-
gem "rspec-rails", "~> 3.0.1"
|
32
32
|
gem "protected_attributes"
|
33
|
-
gem "
|
33
|
+
gem "minitest-reporters"
|
34
34
|
gem "jbuilder", "~> 1.2"
|
35
35
|
gem "sass-rails", "~> 4.0.0"
|
36
36
|
gem "bcrypt-ruby", "~> 3.0.0"
|
37
|
-
|
38
|
-
gemspec :path=>".././"
|
data/gemfiles/4.0.0.gemfile.lock
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
shoulda-matchers (2.7.0)
|
5
|
-
activesupport (>= 3.0.0)
|
6
|
-
|
7
1
|
GEM
|
8
2
|
remote: https://rubygems.org/
|
9
3
|
specs:
|
@@ -35,7 +29,8 @@ GEM
|
|
35
29
|
multi_json (~> 1.3)
|
36
30
|
thread_safe (~> 0.1)
|
37
31
|
tzinfo (~> 0.3.37)
|
38
|
-
|
32
|
+
ansi (1.4.3)
|
33
|
+
appraisal (1.0.2)
|
39
34
|
bundler
|
40
35
|
rake
|
41
36
|
thor (>= 0.14.0)
|
@@ -70,6 +65,7 @@ GEM
|
|
70
65
|
ffi (1.9.3)
|
71
66
|
gherkin (2.12.2)
|
72
67
|
multi_json (~> 1.3)
|
68
|
+
hashie (3.3.1)
|
73
69
|
hike (1.2.3)
|
74
70
|
i18n (0.6.11)
|
75
71
|
jbuilder (1.5.3)
|
@@ -86,12 +82,20 @@ GEM
|
|
86
82
|
method_source (0.8.2)
|
87
83
|
mime-types (1.25.1)
|
88
84
|
minitest (4.7.5)
|
85
|
+
minitest-reporters (0.14.24)
|
86
|
+
ansi
|
87
|
+
builder
|
88
|
+
minitest (>= 2.12, < 5.0)
|
89
|
+
powerbar
|
89
90
|
mocha (0.14.0)
|
90
91
|
metaclass (~> 0.0.1)
|
91
92
|
multi_json (1.10.1)
|
92
93
|
multi_test (0.1.1)
|
93
94
|
polyglot (0.3.5)
|
94
95
|
posix-spawn (0.3.8)
|
96
|
+
powerbar (1.0.11)
|
97
|
+
ansi (~> 1.4.0)
|
98
|
+
hashie (>= 1.1.0)
|
95
99
|
protected_attributes (1.0.3)
|
96
100
|
activemodel (>= 4.0.0, < 5.0)
|
97
101
|
pry (0.9.12.6)
|
@@ -186,17 +190,17 @@ DEPENDENCIES
|
|
186
190
|
activerecord-jdbc-adapter
|
187
191
|
activerecord-jdbcsqlite3-adapter
|
188
192
|
activeresource (= 4.0.0)
|
189
|
-
appraisal (~> 1.0
|
193
|
+
appraisal (~> 1.0)
|
190
194
|
aruba
|
191
195
|
bcrypt-ruby (~> 3.0.0)
|
192
196
|
bourne (~> 1.3)
|
193
197
|
bundler (~> 1.1)
|
194
198
|
coffee-rails (~> 4.0.0)
|
195
|
-
cucumber (~> 1.1)
|
196
199
|
jbuilder (~> 1.2)
|
197
200
|
jdbc-sqlite3
|
198
201
|
jquery-rails
|
199
202
|
jruby-openssl
|
203
|
+
minitest-reporters
|
200
204
|
protected_attributes
|
201
205
|
pry
|
202
206
|
pygments.rb
|
@@ -207,7 +211,6 @@ DEPENDENCIES
|
|
207
211
|
sass-rails (~> 4.0.0)
|
208
212
|
sdoc
|
209
213
|
shoulda-context (~> 1.2.0)
|
210
|
-
shoulda-matchers!
|
211
214
|
spring
|
212
215
|
spring-commands-rspec
|
213
216
|
sqlite3
|
data/gemfiles/4.0.1.gemfile
CHANGED
@@ -2,24 +2,25 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "appraisal", "~> 1.0
|
5
|
+
gem "appraisal", "~> 1.0"
|
6
6
|
gem "aruba"
|
7
7
|
gem "bourne", "~> 1.3"
|
8
8
|
gem "bundler", "~> 1.1"
|
9
|
-
gem "cucumber", "~> 1.1"
|
10
9
|
gem "pry"
|
10
|
+
gem "rails", "4.0.1"
|
11
11
|
gem "rake", ">= 0.9.2"
|
12
|
+
gem "rspec-rails", "2.99.0"
|
12
13
|
gem "yard"
|
13
14
|
gem "redcarpet"
|
14
15
|
gem "pygments.rb"
|
15
16
|
gem "watchr"
|
16
17
|
gem "shoulda-context", "~> 1.2.0"
|
17
|
-
gem "sqlite3", :platform
|
18
|
-
gem "activerecord-jdbc-adapter", :platform
|
19
|
-
gem "activerecord-jdbcsqlite3-adapter", :platform
|
20
|
-
gem "jdbc-sqlite3", :platform
|
21
|
-
gem "jruby-openssl", :platform
|
22
|
-
gem "therubyrhino", :platform
|
18
|
+
gem "sqlite3", :platform => :ruby
|
19
|
+
gem "activerecord-jdbc-adapter", :platform => :jruby
|
20
|
+
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
21
|
+
gem "jdbc-sqlite3", :platform => :jruby
|
22
|
+
gem "jruby-openssl", :platform => :jruby
|
23
|
+
gem "therubyrhino", :platform => :jruby
|
23
24
|
gem "spring"
|
24
25
|
gem "spring-commands-rspec"
|
25
26
|
gem "uglifier", ">= 1.3.0"
|
@@ -29,10 +30,7 @@ gem "turbolinks"
|
|
29
30
|
gem "sdoc"
|
30
31
|
gem "activeresource", "4.0.0"
|
31
32
|
gem "protected_attributes"
|
32
|
-
gem "
|
33
|
+
gem "minitest-reporters"
|
33
34
|
gem "jbuilder", "~> 1.2"
|
34
35
|
gem "sass-rails", "~> 4.0.0"
|
35
36
|
gem "bcrypt-ruby", "~> 3.1.2"
|
36
|
-
gem "rspec-rails", "2.99.0"
|
37
|
-
|
38
|
-
gemspec :path=>".././"
|
data/gemfiles/4.0.1.gemfile.lock
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
shoulda-matchers (2.7.0)
|
5
|
-
activesupport (>= 3.0.0)
|
6
|
-
|
7
1
|
GEM
|
8
2
|
remote: https://rubygems.org/
|
9
3
|
specs:
|
@@ -35,7 +29,8 @@ GEM
|
|
35
29
|
multi_json (~> 1.3)
|
36
30
|
thread_safe (~> 0.1)
|
37
31
|
tzinfo (~> 0.3.37)
|
38
|
-
|
32
|
+
ansi (1.4.3)
|
33
|
+
appraisal (1.0.2)
|
39
34
|
bundler
|
40
35
|
rake
|
41
36
|
thor (>= 0.14.0)
|
@@ -70,6 +65,7 @@ GEM
|
|
70
65
|
ffi (1.9.3)
|
71
66
|
gherkin (2.12.2)
|
72
67
|
multi_json (~> 1.3)
|
68
|
+
hashie (3.3.1)
|
73
69
|
hike (1.2.3)
|
74
70
|
i18n (0.6.11)
|
75
71
|
jbuilder (1.5.3)
|
@@ -86,12 +82,20 @@ GEM
|
|
86
82
|
method_source (0.8.2)
|
87
83
|
mime-types (1.25.1)
|
88
84
|
minitest (4.7.5)
|
85
|
+
minitest-reporters (0.14.24)
|
86
|
+
ansi
|
87
|
+
builder
|
88
|
+
minitest (>= 2.12, < 5.0)
|
89
|
+
powerbar
|
89
90
|
mocha (0.14.0)
|
90
91
|
metaclass (~> 0.0.1)
|
91
92
|
multi_json (1.10.1)
|
92
93
|
multi_test (0.1.1)
|
93
94
|
polyglot (0.3.3)
|
94
95
|
posix-spawn (0.3.8)
|
96
|
+
powerbar (1.0.11)
|
97
|
+
ansi (~> 1.4.0)
|
98
|
+
hashie (>= 1.1.0)
|
95
99
|
protected_attributes (1.0.5)
|
96
100
|
activemodel (>= 4.0.1, < 5.0)
|
97
101
|
pry (0.9.12.6)
|
@@ -184,17 +188,17 @@ DEPENDENCIES
|
|
184
188
|
activerecord-jdbc-adapter
|
185
189
|
activerecord-jdbcsqlite3-adapter
|
186
190
|
activeresource (= 4.0.0)
|
187
|
-
appraisal (~> 1.0
|
191
|
+
appraisal (~> 1.0)
|
188
192
|
aruba
|
189
193
|
bcrypt-ruby (~> 3.1.2)
|
190
194
|
bourne (~> 1.3)
|
191
195
|
bundler (~> 1.1)
|
192
196
|
coffee-rails (~> 4.0.0)
|
193
|
-
cucumber (~> 1.1)
|
194
197
|
jbuilder (~> 1.2)
|
195
198
|
jdbc-sqlite3
|
196
199
|
jquery-rails
|
197
200
|
jruby-openssl
|
201
|
+
minitest-reporters
|
198
202
|
protected_attributes
|
199
203
|
pry
|
200
204
|
pygments.rb
|
@@ -205,7 +209,6 @@ DEPENDENCIES
|
|
205
209
|
sass-rails (~> 4.0.0)
|
206
210
|
sdoc
|
207
211
|
shoulda-context (~> 1.2.0)
|
208
|
-
shoulda-matchers!
|
209
212
|
spring
|
210
213
|
spring-commands-rspec
|
211
214
|
sqlite3
|
data/gemfiles/4.1.gemfile
CHANGED
@@ -2,37 +2,35 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "appraisal", "~> 1.0
|
5
|
+
gem "appraisal", "~> 1.0"
|
6
6
|
gem "aruba"
|
7
7
|
gem "bourne", "~> 1.3"
|
8
8
|
gem "bundler", "~> 1.1"
|
9
|
-
gem "cucumber", "~> 1.1"
|
10
9
|
gem "pry"
|
10
|
+
gem "rails", "~> 4.1.0"
|
11
11
|
gem "rake", ">= 0.9.2"
|
12
|
+
gem "rspec-rails", "~> 3.0.1"
|
12
13
|
gem "yard"
|
13
14
|
gem "redcarpet"
|
14
15
|
gem "pygments.rb"
|
15
16
|
gem "watchr"
|
16
17
|
gem "shoulda-context", "~> 1.2.0"
|
17
|
-
gem "sqlite3", :platform
|
18
|
-
gem "activerecord-jdbc-adapter", :platform
|
19
|
-
gem "activerecord-jdbcsqlite3-adapter", :platform
|
20
|
-
gem "jdbc-sqlite3", :platform
|
21
|
-
gem "jruby-openssl", :platform
|
22
|
-
gem "therubyrhino", :platform
|
18
|
+
gem "sqlite3", :platform => :ruby
|
19
|
+
gem "activerecord-jdbc-adapter", :platform => :jruby
|
20
|
+
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
21
|
+
gem "jdbc-sqlite3", :platform => :jruby
|
22
|
+
gem "jruby-openssl", :platform => :jruby
|
23
|
+
gem "therubyrhino", :platform => :jruby
|
24
|
+
gem "spring"
|
23
25
|
gem "spring-commands-rspec"
|
24
26
|
gem "uglifier", ">= 1.3.0"
|
25
27
|
gem "coffee-rails", "~> 4.0.0"
|
26
28
|
gem "jquery-rails"
|
27
29
|
gem "turbolinks"
|
30
|
+
gem "sdoc", "~> 0.4.0"
|
28
31
|
gem "activeresource", "4.0.0"
|
29
|
-
gem "
|
30
|
-
gem "
|
32
|
+
gem "protected_attributes", "~> 1.0.6"
|
33
|
+
gem "minitest-reporters"
|
31
34
|
gem "jbuilder", "~> 2.0"
|
32
35
|
gem "sass-rails", "~> 4.0.3"
|
33
|
-
gem "sdoc", "~> 0.4.0"
|
34
36
|
gem "bcrypt", "~> 3.1.7"
|
35
|
-
gem "protected_attributes", "~> 1.0.6"
|
36
|
-
gem "spring"
|
37
|
-
|
38
|
-
gemspec :path=>".././"
|
data/gemfiles/4.1.gemfile.lock
CHANGED
@@ -1,47 +1,42 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .././
|
3
|
-
specs:
|
4
|
-
shoulda-matchers (2.7.0)
|
5
|
-
activesupport (>= 3.0.0)
|
6
|
-
|
7
1
|
GEM
|
8
2
|
remote: https://rubygems.org/
|
9
3
|
specs:
|
10
|
-
actionmailer (4.1.
|
11
|
-
actionpack (= 4.1.
|
12
|
-
actionview (= 4.1.
|
13
|
-
mail (~> 2.5.4)
|
14
|
-
actionpack (4.1.
|
15
|
-
actionview (= 4.1.
|
16
|
-
activesupport (= 4.1.
|
4
|
+
actionmailer (4.1.7)
|
5
|
+
actionpack (= 4.1.7)
|
6
|
+
actionview (= 4.1.7)
|
7
|
+
mail (~> 2.5, >= 2.5.4)
|
8
|
+
actionpack (4.1.7)
|
9
|
+
actionview (= 4.1.7)
|
10
|
+
activesupport (= 4.1.7)
|
17
11
|
rack (~> 1.5.2)
|
18
12
|
rack-test (~> 0.6.2)
|
19
|
-
actionview (4.1.
|
20
|
-
activesupport (= 4.1.
|
13
|
+
actionview (4.1.7)
|
14
|
+
activesupport (= 4.1.7)
|
21
15
|
builder (~> 3.1)
|
22
16
|
erubis (~> 2.7.0)
|
23
|
-
activemodel (4.1.
|
24
|
-
activesupport (= 4.1.
|
17
|
+
activemodel (4.1.7)
|
18
|
+
activesupport (= 4.1.7)
|
25
19
|
builder (~> 3.1)
|
26
|
-
activerecord (4.1.
|
27
|
-
activemodel (= 4.1.
|
28
|
-
activesupport (= 4.1.
|
20
|
+
activerecord (4.1.7)
|
21
|
+
activemodel (= 4.1.7)
|
22
|
+
activesupport (= 4.1.7)
|
29
23
|
arel (~> 5.0.0)
|
30
24
|
activeresource (4.0.0)
|
31
25
|
activemodel (~> 4.0)
|
32
26
|
activesupport (~> 4.0)
|
33
27
|
rails-observers (~> 0.1.1)
|
34
|
-
activesupport (4.1.
|
28
|
+
activesupport (4.1.7)
|
35
29
|
i18n (~> 0.6, >= 0.6.9)
|
36
30
|
json (~> 1.7, >= 1.7.7)
|
37
31
|
minitest (~> 5.1)
|
38
32
|
thread_safe (~> 0.1)
|
39
33
|
tzinfo (~> 1.1)
|
40
|
-
|
34
|
+
ansi (1.4.3)
|
35
|
+
appraisal (1.0.2)
|
41
36
|
bundler
|
42
37
|
rake
|
43
38
|
thor (>= 0.14.0)
|
44
|
-
arel (5.0.
|
39
|
+
arel (5.0.1.20140414130214)
|
45
40
|
aruba (0.6.0)
|
46
41
|
childprocess (>= 0.3.6)
|
47
42
|
cucumber (>= 1.1.1)
|
@@ -81,18 +76,21 @@ GEM
|
|
81
76
|
railties (>= 3.0, < 5.0)
|
82
77
|
thor (>= 0.14, < 2.0)
|
83
78
|
json (1.8.1)
|
84
|
-
mail (2.
|
85
|
-
mime-types (
|
86
|
-
treetop (~> 1.4.8)
|
79
|
+
mail (2.6.3)
|
80
|
+
mime-types (>= 1.16, < 3)
|
87
81
|
metaclass (0.0.2)
|
88
82
|
method_source (0.8.2)
|
89
|
-
mime-types (
|
90
|
-
minitest (5.4.
|
83
|
+
mime-types (2.4.3)
|
84
|
+
minitest (5.4.2)
|
85
|
+
minitest-reporters (1.0.5)
|
86
|
+
ansi
|
87
|
+
builder
|
88
|
+
minitest (>= 5.0)
|
89
|
+
ruby-progressbar
|
91
90
|
mocha (0.14.0)
|
92
91
|
metaclass (~> 0.0.1)
|
93
92
|
multi_json (1.10.1)
|
94
93
|
multi_test (0.1.1)
|
95
|
-
polyglot (0.3.4)
|
96
94
|
posix-spawn (0.3.8)
|
97
95
|
protected_attributes (1.0.7)
|
98
96
|
activemodel (>= 4.0.1, < 5.0)
|
@@ -106,21 +104,21 @@ GEM
|
|
106
104
|
rack (1.5.2)
|
107
105
|
rack-test (0.6.2)
|
108
106
|
rack (>= 1.0)
|
109
|
-
rails (4.1.
|
110
|
-
actionmailer (= 4.1.
|
111
|
-
actionpack (= 4.1.
|
112
|
-
actionview (= 4.1.
|
113
|
-
activemodel (= 4.1.
|
114
|
-
activerecord (= 4.1.
|
115
|
-
activesupport (= 4.1.
|
107
|
+
rails (4.1.7)
|
108
|
+
actionmailer (= 4.1.7)
|
109
|
+
actionpack (= 4.1.7)
|
110
|
+
actionview (= 4.1.7)
|
111
|
+
activemodel (= 4.1.7)
|
112
|
+
activerecord (= 4.1.7)
|
113
|
+
activesupport (= 4.1.7)
|
116
114
|
bundler (>= 1.3.0, < 2.0)
|
117
|
-
railties (= 4.1.
|
115
|
+
railties (= 4.1.7)
|
118
116
|
sprockets-rails (~> 2.0)
|
119
117
|
rails-observers (0.1.2)
|
120
118
|
activemodel (~> 4.0)
|
121
|
-
railties (4.1.
|
122
|
-
actionpack (= 4.1.
|
123
|
-
activesupport (= 4.1.
|
119
|
+
railties (4.1.7)
|
120
|
+
actionpack (= 4.1.7)
|
121
|
+
activesupport (= 4.1.7)
|
124
122
|
rake (>= 0.8.7)
|
125
123
|
thor (>= 0.18.1, < 2.0)
|
126
124
|
rake (10.3.2)
|
@@ -143,6 +141,7 @@ GEM
|
|
143
141
|
rspec-mocks (~> 3.0.0)
|
144
142
|
rspec-support (~> 3.0.0)
|
145
143
|
rspec-support (3.0.3)
|
144
|
+
ruby-progressbar (1.5.1)
|
146
145
|
sass (3.2.19)
|
147
146
|
sass-rails (4.0.3)
|
148
147
|
railties (>= 4.0.0, < 5.0)
|
@@ -162,17 +161,14 @@ GEM
|
|
162
161
|
multi_json (~> 1.0)
|
163
162
|
rack (~> 1.0)
|
164
163
|
tilt (~> 1.1, != 1.3.0)
|
165
|
-
sprockets-rails (2.
|
166
|
-
actionpack (>=
|
167
|
-
activesupport (>=
|
168
|
-
sprockets (
|
164
|
+
sprockets-rails (2.2.0)
|
165
|
+
actionpack (>= 3.0)
|
166
|
+
activesupport (>= 3.0)
|
167
|
+
sprockets (>= 2.8, < 4.0)
|
169
168
|
sqlite3 (1.3.9)
|
170
169
|
thor (0.19.1)
|
171
170
|
thread_safe (0.3.4)
|
172
171
|
tilt (1.4.1)
|
173
|
-
treetop (1.4.15)
|
174
|
-
polyglot
|
175
|
-
polyglot (>= 0.3.1)
|
176
172
|
turbolinks (2.2.2)
|
177
173
|
coffee-rails
|
178
174
|
tzinfo (1.2.2)
|
@@ -191,17 +187,17 @@ DEPENDENCIES
|
|
191
187
|
activerecord-jdbc-adapter
|
192
188
|
activerecord-jdbcsqlite3-adapter
|
193
189
|
activeresource (= 4.0.0)
|
194
|
-
appraisal (~> 1.0
|
190
|
+
appraisal (~> 1.0)
|
195
191
|
aruba
|
196
192
|
bcrypt (~> 3.1.7)
|
197
193
|
bourne (~> 1.3)
|
198
194
|
bundler (~> 1.1)
|
199
195
|
coffee-rails (~> 4.0.0)
|
200
|
-
cucumber (~> 1.1)
|
201
196
|
jbuilder (~> 2.0)
|
202
197
|
jdbc-sqlite3
|
203
198
|
jquery-rails
|
204
199
|
jruby-openssl
|
200
|
+
minitest-reporters
|
205
201
|
protected_attributes (~> 1.0.6)
|
206
202
|
pry
|
207
203
|
pygments.rb
|
@@ -212,7 +208,6 @@ DEPENDENCIES
|
|
212
208
|
sass-rails (~> 4.0.3)
|
213
209
|
sdoc (~> 0.4.0)
|
214
210
|
shoulda-context (~> 1.2.0)
|
215
|
-
shoulda-matchers!
|
216
211
|
spring
|
217
212
|
spring-commands-rspec
|
218
213
|
sqlite3
|