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/Rakefile
CHANGED
@@ -1,37 +1,30 @@
|
|
1
1
|
require 'bundler/setup'
|
2
2
|
require 'bundler/gem_tasks'
|
3
3
|
require 'rspec/core/rake_task'
|
4
|
-
require 'cucumber/rake/task'
|
5
4
|
require 'appraisal'
|
6
5
|
require 'erb'
|
7
6
|
require_relative 'lib/shoulda/matchers/version'
|
8
7
|
|
9
8
|
CURRENT_VERSION = Shoulda::Matchers::VERSION
|
10
9
|
|
11
|
-
RSpec::Core::RakeTask.new do |t|
|
10
|
+
RSpec::Core::RakeTask.new('spec:unit') do |t|
|
12
11
|
t.ruby_opts = '-w -r ./spec/report_warnings'
|
13
|
-
t.pattern = "spec/**/*_spec.rb"
|
12
|
+
t.pattern = "spec/unit/**/*_spec.rb"
|
14
13
|
t.rspec_opts = '--color --format progress'
|
15
14
|
t.verbose = false
|
16
15
|
end
|
17
16
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
if Bundler.definition.dependencies.none? { |dependency| dependency.name == 'spring' }
|
24
|
-
options << '--profile' << 'without_spring'
|
25
|
-
end
|
26
|
-
|
27
|
-
t.fork = false
|
28
|
-
t.cucumber_opts = options
|
17
|
+
RSpec::Core::RakeTask.new('spec:acceptance') do |t|
|
18
|
+
t.ruby_opts = '-w -r ./spec/report_warnings'
|
19
|
+
t.pattern = "spec/acceptance/**/*_spec.rb"
|
20
|
+
t.rspec_opts = '--color --format progress'
|
21
|
+
t.verbose = false
|
29
22
|
end
|
30
23
|
|
31
24
|
task :default do
|
32
25
|
if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
|
33
|
-
|
34
|
-
|
26
|
+
sh 'rake spec:unit'
|
27
|
+
sh 'rake spec:acceptance'
|
35
28
|
else
|
36
29
|
Rake::Task['appraise'].invoke
|
37
30
|
end
|
data/gemfiles/3.0.gemfile
CHANGED
@@ -2,26 +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", "~> 3.0.17"
|
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 "
|
26
|
-
|
27
|
-
gemspec :path=>".././"
|
25
|
+
gem "minitest", "~> 4.0"
|
26
|
+
gem "minitest-reporters"
|
data/gemfiles/3.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:
|
@@ -34,7 +28,8 @@ GEM
|
|
34
28
|
activemodel (= 3.0.20)
|
35
29
|
activesupport (= 3.0.20)
|
36
30
|
activesupport (3.0.20)
|
37
|
-
|
31
|
+
ansi (1.4.3)
|
32
|
+
appraisal (1.0.0)
|
38
33
|
bundler
|
39
34
|
rake
|
40
35
|
thor (>= 0.14.0)
|
@@ -61,6 +56,7 @@ GEM
|
|
61
56
|
ffi (1.9.3)
|
62
57
|
gherkin (2.12.2)
|
63
58
|
multi_json (~> 1.3)
|
59
|
+
hashie (3.3.1)
|
64
60
|
i18n (0.5.4)
|
65
61
|
json (1.8.1)
|
66
62
|
mail (2.2.19)
|
@@ -71,12 +67,21 @@ GEM
|
|
71
67
|
metaclass (0.0.1)
|
72
68
|
method_source (0.8.2)
|
73
69
|
mime-types (1.21)
|
70
|
+
minitest (4.7.5)
|
71
|
+
minitest-reporters (0.14.24)
|
72
|
+
ansi
|
73
|
+
builder
|
74
|
+
minitest (>= 2.12, < 5.0)
|
75
|
+
powerbar
|
74
76
|
mocha (0.13.3)
|
75
77
|
metaclass (~> 0.0.1)
|
76
78
|
multi_json (1.10.1)
|
77
79
|
multi_test (0.1.1)
|
78
80
|
polyglot (0.3.3)
|
79
81
|
posix-spawn (0.3.8)
|
82
|
+
powerbar (1.0.11)
|
83
|
+
ansi (~> 1.4.0)
|
84
|
+
hashie (>= 1.1.0)
|
80
85
|
pry (0.9.12.6)
|
81
86
|
coderay (~> 1.0)
|
82
87
|
method_source (~> 0.8)
|
@@ -144,13 +149,14 @@ PLATFORMS
|
|
144
149
|
DEPENDENCIES
|
145
150
|
activerecord-jdbc-adapter
|
146
151
|
activerecord-jdbcsqlite3-adapter
|
147
|
-
appraisal (~> 1.0
|
152
|
+
appraisal (~> 1.0)
|
148
153
|
aruba
|
149
154
|
bourne (~> 1.3)
|
150
155
|
bundler (~> 1.1)
|
151
|
-
cucumber (~> 1.1)
|
152
156
|
jdbc-sqlite3
|
153
157
|
jruby-openssl
|
158
|
+
minitest (~> 4.0)
|
159
|
+
minitest-reporters
|
154
160
|
pry
|
155
161
|
pygments.rb
|
156
162
|
rails (~> 3.0.17)
|
@@ -158,7 +164,6 @@ DEPENDENCIES
|
|
158
164
|
redcarpet
|
159
165
|
rspec-rails (= 2.99.0)
|
160
166
|
shoulda-context (~> 1.2.0)
|
161
|
-
shoulda-matchers!
|
162
167
|
sqlite3
|
163
168
|
strong_parameters
|
164
169
|
therubyrhino
|
data/gemfiles/3.1.gemfile
CHANGED
@@ -2,32 +2,31 @@
|
|
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.1.8"
|
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 "minitest", "~> 4.0"
|
26
|
+
gem "minitest-reporters"
|
25
27
|
gem "bcrypt-ruby", "~> 3.0.0"
|
26
28
|
gem "jquery-rails"
|
27
29
|
gem "sass-rails", "~> 3.1.5"
|
28
30
|
gem "coffee-rails", "~> 3.1.1"
|
29
31
|
gem "uglifier", ">= 1.0.3"
|
30
|
-
gem "rspec-rails", "2.99.0"
|
31
32
|
gem "turn", "~> 0.8.3"
|
32
|
-
|
33
|
-
gemspec :path=>".././"
|
data/gemfiles/3.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:
|
@@ -36,7 +30,7 @@ GEM
|
|
36
30
|
activesupport (3.1.11)
|
37
31
|
multi_json (~> 1.0)
|
38
32
|
ansi (1.4.3)
|
39
|
-
appraisal (1.0.
|
33
|
+
appraisal (1.0.2)
|
40
34
|
bundler
|
41
35
|
rake
|
42
36
|
thor (>= 0.14.0)
|
@@ -71,6 +65,7 @@ GEM
|
|
71
65
|
ffi (1.9.3)
|
72
66
|
gherkin (2.12.2)
|
73
67
|
multi_json (~> 1.3)
|
68
|
+
hashie (3.3.1)
|
74
69
|
hike (1.2.3)
|
75
70
|
i18n (0.6.11)
|
76
71
|
jquery-rails (2.2.1)
|
@@ -84,12 +79,21 @@ GEM
|
|
84
79
|
metaclass (0.0.1)
|
85
80
|
method_source (0.8.2)
|
86
81
|
mime-types (1.21)
|
82
|
+
minitest (4.7.5)
|
83
|
+
minitest-reporters (0.14.24)
|
84
|
+
ansi
|
85
|
+
builder
|
86
|
+
minitest (>= 2.12, < 5.0)
|
87
|
+
powerbar
|
87
88
|
mocha (0.13.3)
|
88
89
|
metaclass (~> 0.0.1)
|
89
90
|
multi_json (1.10.1)
|
90
91
|
multi_test (0.1.1)
|
91
92
|
polyglot (0.3.3)
|
92
93
|
posix-spawn (0.3.8)
|
94
|
+
powerbar (1.0.11)
|
95
|
+
ansi (~> 1.4.0)
|
96
|
+
hashie (>= 1.1.0)
|
93
97
|
pry (0.9.12.6)
|
94
98
|
coderay (~> 1.0)
|
95
99
|
method_source (~> 0.8)
|
@@ -178,16 +182,17 @@ PLATFORMS
|
|
178
182
|
DEPENDENCIES
|
179
183
|
activerecord-jdbc-adapter
|
180
184
|
activerecord-jdbcsqlite3-adapter
|
181
|
-
appraisal (~> 1.0
|
185
|
+
appraisal (~> 1.0)
|
182
186
|
aruba
|
183
187
|
bcrypt-ruby (~> 3.0.0)
|
184
188
|
bourne (~> 1.3)
|
185
189
|
bundler (~> 1.1)
|
186
190
|
coffee-rails (~> 3.1.1)
|
187
|
-
cucumber (~> 1.1)
|
188
191
|
jdbc-sqlite3
|
189
192
|
jquery-rails
|
190
193
|
jruby-openssl
|
194
|
+
minitest (~> 4.0)
|
195
|
+
minitest-reporters
|
191
196
|
pry
|
192
197
|
pygments.rb
|
193
198
|
rails (~> 3.1.8)
|
@@ -196,7 +201,6 @@ DEPENDENCIES
|
|
196
201
|
rspec-rails (= 2.99.0)
|
197
202
|
sass-rails (~> 3.1.5)
|
198
203
|
shoulda-context (~> 1.2.0)
|
199
|
-
shoulda-matchers!
|
200
204
|
sqlite3
|
201
205
|
strong_parameters
|
202
206
|
therubyrhino
|
data/gemfiles/3.1_1.9.2.gemfile
CHANGED
@@ -2,32 +2,33 @@
|
|
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.1.8"
|
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 "minitest", "~> 4.0"
|
26
|
+
gem "minitest-reporters"
|
25
27
|
gem "bcrypt-ruby", "~> 3.0.0"
|
26
28
|
gem "jquery-rails"
|
27
29
|
gem "sass-rails", "~> 3.1.5"
|
28
30
|
gem "coffee-rails", "~> 3.1.1"
|
29
31
|
gem "uglifier", ">= 1.0.3"
|
30
|
-
gem "rspec-rails", "2.99.0"
|
31
32
|
gem "turn", "0.8.2"
|
32
33
|
|
33
|
-
gemspec :path=>"
|
34
|
+
gemspec :path => "../"
|
@@ -36,7 +36,7 @@ GEM
|
|
36
36
|
activesupport (3.1.11)
|
37
37
|
multi_json (~> 1.0)
|
38
38
|
ansi (1.4.3)
|
39
|
-
appraisal (1.0.0
|
39
|
+
appraisal (1.0.0)
|
40
40
|
bundler
|
41
41
|
rake
|
42
42
|
thor (>= 0.14.0)
|
@@ -71,6 +71,7 @@ GEM
|
|
71
71
|
ffi (1.9.3)
|
72
72
|
gherkin (2.12.2)
|
73
73
|
multi_json (~> 1.3)
|
74
|
+
hashie (3.3.1)
|
74
75
|
hike (1.2.3)
|
75
76
|
i18n (0.6.11)
|
76
77
|
jquery-rails (2.2.1)
|
@@ -84,12 +85,21 @@ GEM
|
|
84
85
|
metaclass (0.0.1)
|
85
86
|
method_source (0.8.2)
|
86
87
|
mime-types (1.25.1)
|
88
|
+
minitest (4.7.5)
|
89
|
+
minitest-reporters (0.14.24)
|
90
|
+
ansi
|
91
|
+
builder
|
92
|
+
minitest (>= 2.12, < 5.0)
|
93
|
+
powerbar
|
87
94
|
mocha (0.14.0)
|
88
95
|
metaclass (~> 0.0.1)
|
89
96
|
multi_json (1.10.1)
|
90
97
|
multi_test (0.1.1)
|
91
98
|
polyglot (0.3.3)
|
92
99
|
posix-spawn (0.3.8)
|
100
|
+
powerbar (1.0.11)
|
101
|
+
ansi (~> 1.4.0)
|
102
|
+
hashie (>= 1.1.0)
|
93
103
|
pry (0.9.12.6)
|
94
104
|
coderay (~> 1.0)
|
95
105
|
method_source (~> 0.8)
|
@@ -178,16 +188,17 @@ PLATFORMS
|
|
178
188
|
DEPENDENCIES
|
179
189
|
activerecord-jdbc-adapter
|
180
190
|
activerecord-jdbcsqlite3-adapter
|
181
|
-
appraisal (~> 1.0
|
191
|
+
appraisal (~> 1.0)
|
182
192
|
aruba
|
183
193
|
bcrypt-ruby (~> 3.0.0)
|
184
194
|
bourne (~> 1.3)
|
185
195
|
bundler (~> 1.1)
|
186
196
|
coffee-rails (~> 3.1.1)
|
187
|
-
cucumber (~> 1.1)
|
188
197
|
jdbc-sqlite3
|
189
198
|
jquery-rails
|
190
199
|
jruby-openssl
|
200
|
+
minitest (~> 4.0)
|
201
|
+
minitest-reporters
|
191
202
|
pry
|
192
203
|
pygments.rb
|
193
204
|
rails (~> 3.1.8)
|
data/gemfiles/3.2.gemfile
CHANGED
@@ -2,27 +2,28 @@
|
|
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"
|
@@ -30,5 +31,3 @@ gem "coffee-rails", "~> 3.2.1"
|
|
30
31
|
gem "uglifier", ">= 1.0.3"
|
31
32
|
gem "spring"
|
32
33
|
gem "spring-commands-rspec"
|
33
|
-
|
34
|
-
gemspec :path=>".././"
|
data/gemfiles/3.2.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:
|
@@ -34,7 +28,8 @@ GEM
|
|
34
28
|
activesupport (3.2.13)
|
35
29
|
i18n (= 0.6.1)
|
36
30
|
multi_json (~> 1.0)
|
37
|
-
|
31
|
+
ansi (1.4.3)
|
32
|
+
appraisal (1.0.2)
|
38
33
|
bundler
|
39
34
|
rake
|
40
35
|
thor (>= 0.14.0)
|
@@ -69,6 +64,7 @@ GEM
|
|
69
64
|
ffi (1.9.3)
|
70
65
|
gherkin (2.12.2)
|
71
66
|
multi_json (~> 1.3)
|
67
|
+
hashie (3.3.1)
|
72
68
|
hike (1.2.3)
|
73
69
|
i18n (0.6.1)
|
74
70
|
journey (1.0.4)
|
@@ -83,12 +79,21 @@ GEM
|
|
83
79
|
metaclass (0.0.1)
|
84
80
|
method_source (0.8.2)
|
85
81
|
mime-types (1.21)
|
82
|
+
minitest (4.7.5)
|
83
|
+
minitest-reporters (0.14.24)
|
84
|
+
ansi
|
85
|
+
builder
|
86
|
+
minitest (>= 2.12, < 5.0)
|
87
|
+
powerbar
|
86
88
|
mocha (0.13.3)
|
87
89
|
metaclass (~> 0.0.1)
|
88
90
|
multi_json (1.10.1)
|
89
91
|
multi_test (0.1.1)
|
90
92
|
polyglot (0.3.3)
|
91
93
|
posix-spawn (0.3.8)
|
94
|
+
powerbar (1.0.11)
|
95
|
+
ansi (~> 1.4.0)
|
96
|
+
hashie (>= 1.1.0)
|
92
97
|
pry (0.9.12.6)
|
93
98
|
coderay (~> 1.0)
|
94
99
|
method_source (~> 0.8)
|
@@ -176,16 +181,17 @@ PLATFORMS
|
|
176
181
|
DEPENDENCIES
|
177
182
|
activerecord-jdbc-adapter
|
178
183
|
activerecord-jdbcsqlite3-adapter
|
179
|
-
appraisal (~> 1.0
|
184
|
+
appraisal (~> 1.0)
|
180
185
|
aruba
|
181
186
|
bcrypt-ruby (~> 3.0.0)
|
182
187
|
bourne (~> 1.3)
|
183
188
|
bundler (~> 1.1)
|
184
189
|
coffee-rails (~> 3.2.1)
|
185
|
-
cucumber (~> 1.1)
|
186
190
|
jdbc-sqlite3
|
187
191
|
jquery-rails
|
188
192
|
jruby-openssl
|
193
|
+
minitest (~> 4.0)
|
194
|
+
minitest-reporters
|
189
195
|
pry
|
190
196
|
pygments.rb
|
191
197
|
rails (~> 3.2.13)
|
@@ -194,7 +200,6 @@ DEPENDENCIES
|
|
194
200
|
rspec-rails (= 2.99.0)
|
195
201
|
sass-rails (~> 3.2.3)
|
196
202
|
shoulda-context (~> 1.2.0)
|
197
|
-
shoulda-matchers!
|
198
203
|
spring
|
199
204
|
spring-commands-rspec
|
200
205
|
sqlite3
|