shoulda-matchers 2.8.0 → 3.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound_config/ruby.yml +7 -0
- data/.travis.yml +11 -54
- data/Appraisals +45 -100
- data/CONTRIBUTING.md +51 -7
- data/Gemfile +7 -19
- data/Gemfile.lock +60 -134
- data/Guardfile +5 -0
- data/NEWS.md +203 -0
- data/README.md +95 -50
- data/Rakefile +1 -0
- data/doc_config/yard/templates/default/layout/html/setup.rb +1 -1
- data/gemfiles/4.0.0.gemfile +10 -7
- data/gemfiles/4.0.0.gemfile.lock +103 -79
- data/gemfiles/4.0.1.gemfile +10 -7
- data/gemfiles/4.0.1.gemfile.lock +109 -83
- data/gemfiles/4.1.gemfile +10 -7
- data/gemfiles/4.1.gemfile.lock +109 -85
- data/gemfiles/4.2.gemfile +10 -9
- data/gemfiles/4.2.gemfile.lock +86 -78
- data/lib/shoulda/matchers.rb +13 -18
- data/lib/shoulda/matchers/action_controller.rb +4 -1
- data/lib/shoulda/matchers/action_controller/flash_store.rb +95 -0
- data/lib/shoulda/matchers/action_controller/{strong_parameters_matcher.rb → permit_matcher.rb} +147 -30
- data/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +1 -1
- data/lib/shoulda/matchers/action_controller/render_template_matcher.rb +1 -1
- data/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb +1 -1
- data/lib/shoulda/matchers/action_controller/rescue_from_matcher.rb +1 -1
- data/lib/shoulda/matchers/action_controller/route_matcher.rb +5 -1
- data/lib/shoulda/matchers/action_controller/route_params.rb +15 -6
- data/lib/shoulda/matchers/action_controller/session_store.rb +34 -0
- data/lib/shoulda/matchers/action_controller/set_flash_matcher.rb +30 -136
- data/lib/shoulda/matchers/action_controller/set_session_matcher.rb +28 -109
- data/lib/shoulda/matchers/action_controller/set_session_or_flash_matcher.rb +103 -0
- data/lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb +1 -12
- data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +79 -10
- data/lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb +10 -0
- data/lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb +21 -0
- data/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb +24 -0
- data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +22 -5
- data/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb +29 -10
- data/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb +27 -10
- data/lib/shoulda/matchers/active_model/validate_length_of_matcher.rb +27 -12
- data/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +56 -20
- data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +3 -11
- data/lib/shoulda/matchers/active_model/validation_message_finder.rb +65 -0
- data/lib/shoulda/matchers/active_record/association_matcher.rb +40 -6
- data/lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb +21 -7
- data/lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb +11 -40
- data/lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb +1 -1
- data/lib/shoulda/matchers/active_record/define_enum_for_matcher.rb +2 -6
- data/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb +137 -22
- data/lib/shoulda/matchers/configuration.rb +20 -0
- data/lib/shoulda/matchers/doublespeak.rb +11 -1
- data/lib/shoulda/matchers/doublespeak/double.rb +29 -11
- data/lib/shoulda/matchers/doublespeak/double_collection.rb +4 -3
- data/lib/shoulda/matchers/doublespeak/method_call.rb +35 -0
- data/lib/shoulda/matchers/doublespeak/object_double.rb +7 -2
- data/lib/shoulda/matchers/doublespeak/proxy_implementation.rb +4 -3
- data/lib/shoulda/matchers/doublespeak/stub_implementation.rb +3 -3
- data/lib/shoulda/matchers/doublespeak/world.rb +21 -1
- data/lib/shoulda/matchers/integrations.rb +43 -0
- data/lib/shoulda/matchers/integrations/configuration.rb +68 -0
- data/lib/shoulda/matchers/integrations/configuration_error.rb +9 -0
- data/lib/shoulda/matchers/integrations/inclusion.rb +20 -0
- data/lib/shoulda/matchers/integrations/libraries.rb +15 -0
- data/lib/shoulda/matchers/integrations/libraries/action_controller.rb +31 -0
- data/lib/shoulda/matchers/integrations/libraries/active_model.rb +26 -0
- data/lib/shoulda/matchers/integrations/libraries/active_record.rb +26 -0
- data/lib/shoulda/matchers/integrations/libraries/missing_library.rb +19 -0
- data/lib/shoulda/matchers/integrations/libraries/rails.rb +30 -0
- data/lib/shoulda/matchers/integrations/rails.rb +12 -0
- data/lib/shoulda/matchers/integrations/registry.rb +28 -0
- data/lib/shoulda/matchers/integrations/test_frameworks.rb +16 -0
- data/lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb +37 -0
- data/lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb +36 -0
- data/lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb +37 -0
- data/lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb +40 -0
- data/lib/shoulda/matchers/integrations/test_frameworks/rspec.rb +29 -0
- data/lib/shoulda/matchers/integrations/test_frameworks/test_unit.rb +36 -0
- data/lib/shoulda/matchers/rails_shim.rb +0 -40
- data/lib/shoulda/matchers/version.rb +1 -1
- data/script/SUPPORTED_VERSIONS +1 -1
- data/script/update_gems_in_all_appraisals +14 -0
- data/shoulda-matchers.gemspec +2 -2
- data/spec/acceptance/active_model_integration_spec.rb +4 -1
- data/spec/acceptance/independent_matchers_spec.rb +6 -6
- data/spec/acceptance/multiple_libraries_integration_spec.rb +52 -0
- data/spec/acceptance/rails_integration_spec.rb +15 -5
- data/spec/acceptance_spec_helper.rb +8 -0
- data/spec/doublespeak_spec_helper.rb +14 -0
- data/spec/support/acceptance/adds_shoulda_matchers_to_project.rb +110 -0
- data/spec/support/acceptance/helpers.rb +2 -0
- data/spec/support/acceptance/helpers/base_helpers.rb +6 -1
- data/spec/support/acceptance/helpers/command_helpers.rb +6 -2
- data/spec/support/acceptance/helpers/minitest_helpers.rb +0 -8
- data/spec/support/acceptance/helpers/n_unit_helpers.rb +25 -0
- data/spec/support/acceptance/helpers/rspec_helpers.rb +2 -0
- data/spec/support/acceptance/helpers/step_helpers.rb +13 -19
- data/spec/support/acceptance/matchers/have_output.rb +1 -1
- data/spec/support/tests/bundle.rb +1 -1
- data/spec/support/tests/command_runner.rb +25 -13
- data/spec/support/tests/current_bundle.rb +47 -0
- data/spec/support/tests/database.rb +28 -0
- data/spec/support/tests/database_adapters/postgresql.rb +25 -0
- data/spec/support/tests/database_adapters/sqlite3.rb +26 -0
- data/spec/support/tests/database_configuration.rb +33 -0
- data/spec/support/tests/database_configuration_registry.rb +28 -0
- data/spec/support/tests/filesystem.rb +25 -2
- data/spec/support/unit/helpers/active_record_versions.rb +12 -0
- data/spec/support/unit/helpers/class_builder.rb +6 -2
- data/spec/support/unit/helpers/column_type_helpers.rb +26 -0
- data/spec/support/unit/helpers/controller_builder.rb +0 -28
- data/spec/support/unit/helpers/database_helpers.rb +18 -0
- data/spec/support/unit/helpers/model_builder.rb +38 -6
- data/spec/support/unit/helpers/rails_versions.rb +2 -2
- data/spec/support/unit/matchers/fail_with_message_including_matcher.rb +9 -8
- data/spec/support/unit/matchers/fail_with_message_matcher.rb +1 -1
- data/spec/support/unit/rails_application.rb +29 -13
- data/spec/support/unit/record_validating_confirmation_builder.rb +1 -2
- data/spec/support/unit/shared_examples/set_session_or_flash.rb +355 -0
- data/spec/unit/shoulda/matchers/action_controller/permit_matcher_spec.rb +433 -0
- data/spec/unit/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb +1 -5
- data/spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb +37 -0
- data/spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb +23 -147
- data/spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb +8 -285
- data/spec/unit/shoulda/matchers/action_controller/set_session_or_flash_matcher_spec.rb +562 -0
- data/spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb +81 -14
- data/spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb +16 -8
- data/spec/unit/shoulda/matchers/active_model/numericality_matchers/comparison_matcher_spec.rb +101 -9
- data/spec/unit/shoulda/matchers/active_model/numericality_matchers/even_number_matcher_spec.rb +39 -1
- data/spec/unit/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher_spec.rb +39 -1
- data/spec/unit/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher_spec.rb +39 -0
- data/spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb +0 -17
- data/spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb +0 -17
- data/spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb +0 -17
- data/spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb +838 -271
- data/spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb +0 -19
- data/spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb +93 -0
- data/spec/unit/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb +3 -3
- data/spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb +25 -0
- data/spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb +905 -0
- data/spec/unit/shoulda/matchers/doublespeak/double_collection_spec.rb +17 -11
- data/spec/unit/shoulda/matchers/doublespeak/double_implementation_registry_spec.rb +1 -1
- data/spec/unit/shoulda/matchers/doublespeak/double_spec.rb +144 -43
- data/spec/unit/shoulda/matchers/doublespeak/object_double_spec.rb +1 -1
- data/spec/unit/shoulda/matchers/doublespeak/proxy_implementation_spec.rb +36 -11
- data/spec/unit/shoulda/matchers/doublespeak/stub_implementation_spec.rb +29 -16
- data/spec/unit/shoulda/matchers/doublespeak/world_spec.rb +8 -5
- data/spec/unit/shoulda/matchers/doublespeak_spec.rb +1 -1
- data/spec/unit_spec_helper.rb +15 -14
- data/spec/warnings_spy.rb +1 -1
- metadata +68 -29
- data/docs.watchr +0 -5
- data/gemfiles/3.0.gemfile +0 -26
- data/gemfiles/3.0.gemfile.lock +0 -173
- data/gemfiles/3.1.gemfile +0 -32
- data/gemfiles/3.1.gemfile.lock +0 -212
- data/gemfiles/3.1_1.9.2.gemfile +0 -32
- data/gemfiles/3.1_1.9.2.gemfile.lock +0 -212
- data/gemfiles/3.2.gemfile +0 -33
- data/gemfiles/3.2.gemfile.lock +0 -212
- data/gemfiles/3.2_1.9.2.gemfile +0 -31
- data/gemfiles/3.2_1.9.2.gemfile.lock +0 -207
- data/lib/shoulda/matchers/assertion_error.rb +0 -27
- data/lib/shoulda/matchers/doublespeak/structs.rb +0 -10
- data/lib/shoulda/matchers/integrations/nunit_test_case_detection.rb +0 -39
- data/lib/shoulda/matchers/integrations/rspec.rb +0 -19
- data/lib/shoulda/matchers/integrations/test_unit.rb +0 -34
- data/spec/unit/shoulda/matchers/action_controller/strong_parameters_matcher_spec.rb +0 -331
- data/spec/unit/shoulda/matchers/active_model/validate_uniqueness_of_matcher_spec.rb +0 -564
data/gemfiles/4.1.gemfile
CHANGED
@@ -3,19 +3,21 @@
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
gem "appraisal", "~> 1.0"
|
6
|
-
gem "aruba"
|
7
|
-
gem "bourne", "~> 1.3"
|
8
6
|
gem "bundler", "~> 1.1"
|
9
|
-
gem "pry
|
10
|
-
gem "
|
11
|
-
gem "rake", "
|
12
|
-
gem "rspec-
|
7
|
+
gem "pry", :github => "pry/pry"
|
8
|
+
gem "pry-byebug"
|
9
|
+
gem "rake", "~> 10.0"
|
10
|
+
gem "rspec-core", ">= 3.2.0", "< 4"
|
11
|
+
gem "rspec-expectations", ">= 3.2.0", "< 4"
|
13
12
|
gem "yard"
|
14
13
|
gem "redcarpet"
|
15
14
|
gem "pygments.rb"
|
16
|
-
gem "
|
15
|
+
gem "guard"
|
16
|
+
gem "guard-yard"
|
17
|
+
gem "rspec-rails", ">= 3.2.0", "< 4"
|
17
18
|
gem "shoulda-context", "~> 1.2.0"
|
18
19
|
gem "sqlite3", :platform => :ruby
|
20
|
+
gem "pg", :platform => :ruby
|
19
21
|
gem "activerecord-jdbc-adapter", :platform => :jruby
|
20
22
|
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
21
23
|
gem "jdbc-sqlite3", :platform => :jruby
|
@@ -31,6 +33,7 @@ gem "sdoc", "~> 0.4.0"
|
|
31
33
|
gem "activeresource", "4.0.0"
|
32
34
|
gem "protected_attributes", "~> 1.0.6"
|
33
35
|
gem "minitest-reporters"
|
36
|
+
gem "rails", "~> 4.1.0"
|
34
37
|
gem "jbuilder", "~> 2.0"
|
35
38
|
gem "sass-rails", "~> 4.0.3"
|
36
39
|
gem "bcrypt", "~> 3.1.7"
|
data/gemfiles/4.1.gemfile.lock
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/pry/pry.git
|
3
|
+
revision: f0cbec507111743fdbc273735ea4f0f6164a5b21
|
4
|
+
specs:
|
5
|
+
pry (0.10.1)
|
6
|
+
coderay (~> 1.1.0)
|
7
|
+
method_source (~> 0.8.1)
|
8
|
+
slop (~> 3.4)
|
9
|
+
|
1
10
|
GEM
|
2
11
|
remote: https://rubygems.org/
|
3
12
|
specs:
|
@@ -31,80 +40,86 @@ GEM
|
|
31
40
|
minitest (~> 5.1)
|
32
41
|
thread_safe (~> 0.1)
|
33
42
|
tzinfo (~> 1.1)
|
34
|
-
ansi (1.
|
43
|
+
ansi (1.5.0)
|
35
44
|
appraisal (1.0.2)
|
36
45
|
bundler
|
37
46
|
rake
|
38
47
|
thor (>= 0.14.0)
|
39
48
|
arel (5.0.1.20140414130214)
|
40
|
-
|
41
|
-
childprocess (>= 0.3.6)
|
42
|
-
cucumber (>= 1.1.1)
|
43
|
-
rspec-expectations (>= 2.7.0)
|
44
|
-
bcrypt (3.1.7)
|
45
|
-
bourne (1.5.0)
|
46
|
-
mocha (>= 0.13.2, < 0.15)
|
49
|
+
bcrypt (3.1.10)
|
47
50
|
builder (3.2.2)
|
48
|
-
|
49
|
-
|
51
|
+
byebug (4.0.4)
|
52
|
+
columnize (= 0.9.0)
|
53
|
+
celluloid (0.16.0)
|
54
|
+
timers (~> 4.0.0)
|
50
55
|
coderay (1.1.0)
|
51
56
|
coffee-rails (4.0.1)
|
52
57
|
coffee-script (>= 2.2.0)
|
53
58
|
railties (>= 4.0.0, < 5.0)
|
54
|
-
coffee-script (2.
|
59
|
+
coffee-script (2.3.0)
|
55
60
|
coffee-script-source
|
56
61
|
execjs
|
57
|
-
coffee-script-source (1.
|
58
|
-
|
59
|
-
builder (>= 2.1.2)
|
60
|
-
diff-lcs (>= 1.1.3)
|
61
|
-
gherkin (~> 2.12)
|
62
|
-
multi_json (>= 1.7.5, < 2.0)
|
63
|
-
multi_test (>= 0.1.1)
|
62
|
+
coffee-script-source (1.9.0)
|
63
|
+
columnize (0.9.0)
|
64
64
|
diff-lcs (1.2.5)
|
65
65
|
erubis (2.7.0)
|
66
|
-
execjs (2.0
|
67
|
-
ffi (1.9.
|
68
|
-
|
69
|
-
|
66
|
+
execjs (2.3.0)
|
67
|
+
ffi (1.9.8)
|
68
|
+
formatador (0.2.5)
|
69
|
+
guard (2.12.5)
|
70
|
+
formatador (>= 0.2.4)
|
71
|
+
listen (~> 2.7)
|
72
|
+
lumberjack (~> 1.0)
|
73
|
+
nenv (~> 0.1)
|
74
|
+
notiffany (~> 0.0)
|
75
|
+
pry (>= 0.9.12)
|
76
|
+
shellany (~> 0.0)
|
77
|
+
thor (>= 0.18.1)
|
78
|
+
guard-yard (2.1.4)
|
79
|
+
guard (>= 1.1.0)
|
80
|
+
yard (>= 0.7.0)
|
70
81
|
hike (1.2.3)
|
71
|
-
|
72
|
-
|
82
|
+
hitimes (1.2.2)
|
83
|
+
i18n (0.7.0)
|
84
|
+
jbuilder (2.2.6)
|
73
85
|
activesupport (>= 3.0.0, < 5)
|
74
86
|
multi_json (~> 1.2)
|
75
|
-
jquery-rails (3.1.
|
87
|
+
jquery-rails (3.1.2)
|
76
88
|
railties (>= 3.0, < 5.0)
|
77
89
|
thor (>= 0.14, < 2.0)
|
78
|
-
json (1.8.
|
90
|
+
json (1.8.2)
|
91
|
+
listen (2.10.0)
|
92
|
+
celluloid (~> 0.16.0)
|
93
|
+
rb-fsevent (>= 0.9.3)
|
94
|
+
rb-inotify (>= 0.9)
|
95
|
+
lumberjack (1.0.9)
|
79
96
|
mail (2.6.3)
|
80
97
|
mime-types (>= 1.16, < 3)
|
81
|
-
metaclass (0.0.2)
|
82
98
|
method_source (0.8.2)
|
83
99
|
mime-types (2.4.3)
|
84
|
-
minitest (5.
|
85
|
-
minitest-reporters (1.0.
|
100
|
+
minitest (5.5.1)
|
101
|
+
minitest-reporters (1.0.10)
|
86
102
|
ansi
|
87
103
|
builder
|
88
104
|
minitest (>= 5.0)
|
89
105
|
ruby-progressbar
|
90
|
-
mocha (0.14.0)
|
91
|
-
metaclass (~> 0.0.1)
|
92
106
|
multi_json (1.10.1)
|
93
|
-
|
94
|
-
|
95
|
-
|
107
|
+
nenv (0.2.0)
|
108
|
+
notiffany (0.0.6)
|
109
|
+
nenv (~> 0.1)
|
110
|
+
shellany (~> 0.0)
|
111
|
+
pg (0.18.1)
|
112
|
+
posix-spawn (0.3.9)
|
113
|
+
protected_attributes (1.0.8)
|
96
114
|
activemodel (>= 4.0.1, < 5.0)
|
97
|
-
pry (
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
pry-nav (0.2.4)
|
102
|
-
pry (>= 0.9.10, < 0.11.0)
|
103
|
-
pygments.rb (0.6.0)
|
115
|
+
pry-byebug (3.1.0)
|
116
|
+
byebug (~> 4.0)
|
117
|
+
pry (~> 0.10)
|
118
|
+
pygments.rb (0.6.2)
|
104
119
|
posix-spawn (~> 0.3.6)
|
105
|
-
yajl-ruby (~> 1.
|
120
|
+
yajl-ruby (~> 1.2.0)
|
106
121
|
rack (1.5.2)
|
107
|
-
rack-test (0.6.
|
122
|
+
rack-test (0.6.3)
|
108
123
|
rack (>= 1.0)
|
109
124
|
rails (4.1.7)
|
110
125
|
actionmailer (= 4.1.7)
|
@@ -123,64 +138,70 @@ GEM
|
|
123
138
|
activesupport (= 4.1.7)
|
124
139
|
rake (>= 0.8.7)
|
125
140
|
thor (>= 0.18.1, < 2.0)
|
126
|
-
rake (10.
|
127
|
-
|
141
|
+
rake (10.4.2)
|
142
|
+
rb-fsevent (0.9.4)
|
143
|
+
rb-inotify (0.9.5)
|
144
|
+
ffi (>= 0.5.0)
|
145
|
+
rdoc (4.2.0)
|
128
146
|
json (~> 1.4)
|
129
|
-
redcarpet (3.
|
130
|
-
rspec-core (3.0
|
131
|
-
rspec-support (~> 3.
|
132
|
-
rspec-expectations (3.0
|
147
|
+
redcarpet (3.2.2)
|
148
|
+
rspec-core (3.2.0)
|
149
|
+
rspec-support (~> 3.2.0)
|
150
|
+
rspec-expectations (3.2.0)
|
133
151
|
diff-lcs (>= 1.2.0, < 2.0)
|
134
|
-
rspec-support (~> 3.
|
135
|
-
rspec-mocks (3.0
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
rspec-
|
143
|
-
rspec-
|
144
|
-
rspec-
|
145
|
-
|
146
|
-
|
152
|
+
rspec-support (~> 3.2.0)
|
153
|
+
rspec-mocks (3.2.0)
|
154
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
155
|
+
rspec-support (~> 3.2.0)
|
156
|
+
rspec-rails (3.2.0)
|
157
|
+
actionpack (>= 3.0, <= 4.2)
|
158
|
+
activesupport (>= 3.0, <= 4.2)
|
159
|
+
railties (>= 3.0, <= 4.2)
|
160
|
+
rspec-core (~> 3.2.0)
|
161
|
+
rspec-expectations (~> 3.2.0)
|
162
|
+
rspec-mocks (~> 3.2.0)
|
163
|
+
rspec-support (~> 3.2.0)
|
164
|
+
rspec-support (3.2.1)
|
165
|
+
ruby-progressbar (1.7.1)
|
147
166
|
sass (3.2.19)
|
148
|
-
sass-rails (4.0.
|
167
|
+
sass-rails (4.0.5)
|
149
168
|
railties (>= 4.0.0, < 5.0)
|
150
|
-
sass (~> 3.2.
|
151
|
-
sprockets (~> 2.8,
|
169
|
+
sass (~> 3.2.2)
|
170
|
+
sprockets (~> 2.8, < 3.0)
|
152
171
|
sprockets-rails (~> 2.0)
|
153
|
-
sdoc (0.4.
|
154
|
-
json (~> 1.
|
155
|
-
rdoc (~> 4.0
|
156
|
-
|
172
|
+
sdoc (0.4.1)
|
173
|
+
json (~> 1.7, >= 1.7.7)
|
174
|
+
rdoc (~> 4.0)
|
175
|
+
shellany (0.0.1)
|
176
|
+
shoulda-context (1.2.1)
|
157
177
|
slop (3.6.0)
|
158
|
-
spring (1.
|
159
|
-
spring-commands-rspec (1.0.
|
178
|
+
spring (1.2.0)
|
179
|
+
spring-commands-rspec (1.0.4)
|
160
180
|
spring (>= 0.9.1)
|
161
|
-
sprockets (2.
|
181
|
+
sprockets (2.12.3)
|
162
182
|
hike (~> 1.2)
|
163
183
|
multi_json (~> 1.0)
|
164
184
|
rack (~> 1.0)
|
165
185
|
tilt (~> 1.1, != 1.3.0)
|
166
|
-
sprockets-rails (2.2.
|
186
|
+
sprockets-rails (2.2.4)
|
167
187
|
actionpack (>= 3.0)
|
168
188
|
activesupport (>= 3.0)
|
169
189
|
sprockets (>= 2.8, < 4.0)
|
170
|
-
sqlite3 (1.3.
|
190
|
+
sqlite3 (1.3.10)
|
171
191
|
thor (0.19.1)
|
172
192
|
thread_safe (0.3.4)
|
173
193
|
tilt (1.4.1)
|
174
|
-
|
194
|
+
timers (4.0.1)
|
195
|
+
hitimes
|
196
|
+
turbolinks (2.5.3)
|
175
197
|
coffee-rails
|
176
198
|
tzinfo (1.2.2)
|
177
199
|
thread_safe (~> 0.1)
|
178
|
-
uglifier (2.
|
200
|
+
uglifier (2.7.0)
|
179
201
|
execjs (>= 0.3.0)
|
180
202
|
json (>= 1.8.0)
|
181
|
-
|
182
|
-
|
183
|
-
yard (0.8.7.3)
|
203
|
+
yajl-ruby (1.2.1)
|
204
|
+
yard (0.8.7.6)
|
184
205
|
|
185
206
|
PLATFORMS
|
186
207
|
ruby
|
@@ -190,23 +211,27 @@ DEPENDENCIES
|
|
190
211
|
activerecord-jdbcsqlite3-adapter
|
191
212
|
activeresource (= 4.0.0)
|
192
213
|
appraisal (~> 1.0)
|
193
|
-
aruba
|
194
214
|
bcrypt (~> 3.1.7)
|
195
|
-
bourne (~> 1.3)
|
196
215
|
bundler (~> 1.1)
|
197
216
|
coffee-rails (~> 4.0.0)
|
217
|
+
guard
|
218
|
+
guard-yard
|
198
219
|
jbuilder (~> 2.0)
|
199
220
|
jdbc-sqlite3
|
200
221
|
jquery-rails
|
201
222
|
jruby-openssl
|
202
223
|
minitest-reporters
|
224
|
+
pg
|
203
225
|
protected_attributes (~> 1.0.6)
|
204
|
-
pry
|
226
|
+
pry!
|
227
|
+
pry-byebug
|
205
228
|
pygments.rb
|
206
229
|
rails (~> 4.1.0)
|
207
|
-
rake (
|
230
|
+
rake (~> 10.0)
|
208
231
|
redcarpet
|
209
|
-
rspec-
|
232
|
+
rspec-core (>= 3.2.0, < 4)
|
233
|
+
rspec-expectations (>= 3.2.0, < 4)
|
234
|
+
rspec-rails (>= 3.2.0, < 4)
|
210
235
|
sass-rails (~> 4.0.3)
|
211
236
|
sdoc (~> 0.4.0)
|
212
237
|
shoulda-context (~> 1.2.0)
|
@@ -216,5 +241,4 @@ DEPENDENCIES
|
|
216
241
|
therubyrhino
|
217
242
|
turbolinks
|
218
243
|
uglifier (>= 1.3.0)
|
219
|
-
watchr
|
220
244
|
yard
|
data/gemfiles/4.2.gemfile
CHANGED
@@ -3,19 +3,21 @@
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
gem "appraisal", "~> 1.0"
|
6
|
-
gem "aruba"
|
7
|
-
gem "bourne", "~> 1.3"
|
8
6
|
gem "bundler", "~> 1.1"
|
9
|
-
gem "pry
|
10
|
-
gem "
|
11
|
-
gem "rake", "
|
12
|
-
gem "rspec-
|
7
|
+
gem "pry", :github => "pry/pry"
|
8
|
+
gem "pry-byebug"
|
9
|
+
gem "rake", "~> 10.0"
|
10
|
+
gem "rspec-core", ">= 3.2.0", "< 4"
|
11
|
+
gem "rspec-expectations", ">= 3.2.0", "< 4"
|
13
12
|
gem "yard"
|
14
13
|
gem "redcarpet"
|
15
14
|
gem "pygments.rb"
|
16
|
-
gem "
|
15
|
+
gem "guard"
|
16
|
+
gem "guard-yard"
|
17
|
+
gem "rspec-rails", ">= 3.2.0", "< 4"
|
17
18
|
gem "shoulda-context", "~> 1.2.0"
|
18
19
|
gem "sqlite3", :platform => :ruby
|
20
|
+
gem "pg", :platform => :ruby
|
19
21
|
gem "activerecord-jdbc-adapter", :platform => :jruby
|
20
22
|
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
|
21
23
|
gem "jdbc-sqlite3", :platform => :jruby
|
@@ -31,8 +33,7 @@ gem "sdoc", "~> 0.4.0"
|
|
31
33
|
gem "activeresource", "4.0.0"
|
32
34
|
gem "protected_attributes", "~> 1.0.6"
|
33
35
|
gem "minitest-reporters"
|
36
|
+
gem "rails", "~> 4.2.0"
|
34
37
|
gem "sass-rails", "~> 5.0"
|
35
38
|
gem "jbuilder", "~> 2.0"
|
36
39
|
gem "bcrypt", "~> 3.1.7"
|
37
|
-
gem "byebug"
|
38
|
-
gem "web-console", "~> 2.0"
|
data/gemfiles/4.2.gemfile.lock
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/pry/pry.git
|
3
|
+
revision: f0cbec507111743fdbc273735ea4f0f6164a5b21
|
4
|
+
specs:
|
5
|
+
pry (0.10.1)
|
6
|
+
coderay (~> 1.1.0)
|
7
|
+
method_source (~> 0.8.1)
|
8
|
+
slop (~> 3.4)
|
9
|
+
|
1
10
|
GEM
|
2
11
|
remote: https://rubygems.org/
|
3
12
|
specs:
|
@@ -40,28 +49,18 @@ GEM
|
|
40
49
|
minitest (~> 5.1)
|
41
50
|
thread_safe (~> 0.3, >= 0.3.4)
|
42
51
|
tzinfo (~> 1.1)
|
43
|
-
ansi (1.
|
52
|
+
ansi (1.5.0)
|
44
53
|
appraisal (1.0.2)
|
45
54
|
bundler
|
46
55
|
rake
|
47
56
|
thor (>= 0.14.0)
|
48
57
|
arel (6.0.0)
|
49
|
-
|
50
|
-
childprocess (>= 0.3.6)
|
51
|
-
cucumber (>= 1.1.1)
|
52
|
-
rspec-expectations (>= 2.7.0)
|
53
|
-
bcrypt (3.1.9)
|
54
|
-
binding_of_caller (0.7.2)
|
55
|
-
debug_inspector (>= 0.0.1)
|
56
|
-
bourne (1.6.0)
|
57
|
-
mocha (~> 1.1)
|
58
|
+
bcrypt (3.1.10)
|
58
59
|
builder (3.2.2)
|
59
|
-
byebug (
|
60
|
-
columnize (
|
61
|
-
|
62
|
-
|
63
|
-
childprocess (0.5.5)
|
64
|
-
ffi (~> 1.0, >= 1.0.11)
|
60
|
+
byebug (4.0.4)
|
61
|
+
columnize (= 0.9.0)
|
62
|
+
celluloid (0.16.0)
|
63
|
+
timers (~> 4.0.0)
|
65
64
|
coderay (1.1.0)
|
66
65
|
coffee-rails (4.1.0)
|
67
66
|
coffee-script (>= 2.2.0)
|
@@ -69,66 +68,73 @@ GEM
|
|
69
68
|
coffee-script (2.3.0)
|
70
69
|
coffee-script-source
|
71
70
|
execjs
|
72
|
-
coffee-script-source (1.
|
71
|
+
coffee-script-source (1.9.0)
|
73
72
|
columnize (0.9.0)
|
74
|
-
cucumber (1.3.17)
|
75
|
-
builder (>= 2.1.2)
|
76
|
-
diff-lcs (>= 1.1.3)
|
77
|
-
gherkin (~> 2.12)
|
78
|
-
multi_json (>= 1.7.5, < 2.0)
|
79
|
-
multi_test (>= 0.1.1)
|
80
|
-
debug_inspector (0.0.2)
|
81
|
-
debugger-linecache (1.2.0)
|
82
73
|
diff-lcs (1.2.5)
|
83
74
|
erubis (2.7.0)
|
84
|
-
execjs (2.
|
85
|
-
ffi (1.9.
|
86
|
-
|
87
|
-
multi_json (~> 1.3)
|
75
|
+
execjs (2.3.0)
|
76
|
+
ffi (1.9.8)
|
77
|
+
formatador (0.2.5)
|
88
78
|
globalid (0.3.0)
|
89
79
|
activesupport (>= 4.1.0)
|
80
|
+
guard (2.12.5)
|
81
|
+
formatador (>= 0.2.4)
|
82
|
+
listen (~> 2.7)
|
83
|
+
lumberjack (~> 1.0)
|
84
|
+
nenv (~> 0.1)
|
85
|
+
notiffany (~> 0.0)
|
86
|
+
pry (>= 0.9.12)
|
87
|
+
shellany (~> 0.0)
|
88
|
+
thor (>= 0.18.1)
|
89
|
+
guard-yard (2.1.4)
|
90
|
+
guard (>= 1.1.0)
|
91
|
+
yard (>= 0.7.0)
|
90
92
|
hike (1.2.3)
|
93
|
+
hitimes (1.2.2)
|
91
94
|
i18n (0.7.0)
|
92
95
|
jbuilder (2.2.6)
|
93
96
|
activesupport (>= 3.0.0, < 5)
|
94
97
|
multi_json (~> 1.2)
|
95
|
-
jquery-rails (4.0.
|
98
|
+
jquery-rails (4.0.3)
|
96
99
|
rails-dom-testing (~> 1.0)
|
97
100
|
railties (>= 4.2.0)
|
98
101
|
thor (>= 0.14, < 2.0)
|
99
102
|
json (1.8.2)
|
103
|
+
listen (2.10.0)
|
104
|
+
celluloid (~> 0.16.0)
|
105
|
+
rb-fsevent (>= 0.9.3)
|
106
|
+
rb-inotify (>= 0.9)
|
100
107
|
loofah (2.0.1)
|
101
108
|
nokogiri (>= 1.5.9)
|
109
|
+
lumberjack (1.0.9)
|
102
110
|
mail (2.6.3)
|
103
111
|
mime-types (>= 1.16, < 3)
|
104
|
-
metaclass (0.0.4)
|
105
112
|
method_source (0.8.2)
|
106
113
|
mime-types (2.4.3)
|
107
114
|
mini_portile (0.6.2)
|
108
115
|
minitest (5.5.1)
|
109
|
-
minitest-reporters (1.0.
|
116
|
+
minitest-reporters (1.0.10)
|
110
117
|
ansi
|
111
118
|
builder
|
112
119
|
minitest (>= 5.0)
|
113
120
|
ruby-progressbar
|
114
|
-
mocha (1.1.0)
|
115
|
-
metaclass (~> 0.0.1)
|
116
121
|
multi_json (1.10.1)
|
117
|
-
|
118
|
-
nokogiri (1.6.6.
|
122
|
+
nenv (0.2.0)
|
123
|
+
nokogiri (1.6.6.2)
|
119
124
|
mini_portile (~> 0.6.0)
|
125
|
+
notiffany (0.0.6)
|
126
|
+
nenv (~> 0.1)
|
127
|
+
shellany (~> 0.0)
|
128
|
+
pg (0.18.1)
|
120
129
|
posix-spawn (0.3.9)
|
121
130
|
protected_attributes (1.0.8)
|
122
131
|
activemodel (>= 4.0.1, < 5.0)
|
123
|
-
pry (
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
pry-nav (0.2.4)
|
128
|
-
pry (>= 0.9.10, < 0.11.0)
|
129
|
-
pygments.rb (0.6.0)
|
132
|
+
pry-byebug (3.1.0)
|
133
|
+
byebug (~> 4.0)
|
134
|
+
pry (~> 0.10)
|
135
|
+
pygments.rb (0.6.2)
|
130
136
|
posix-spawn (~> 0.3.6)
|
131
|
-
yajl-ruby (~> 1.
|
137
|
+
yajl-ruby (~> 1.2.0)
|
132
138
|
rack (1.6.0)
|
133
139
|
rack-test (0.6.3)
|
134
140
|
rack (>= 1.0)
|
@@ -159,28 +165,32 @@ GEM
|
|
159
165
|
rake (>= 0.8.7)
|
160
166
|
thor (>= 0.18.1, < 2.0)
|
161
167
|
rake (10.4.2)
|
168
|
+
rb-fsevent (0.9.4)
|
169
|
+
rb-inotify (0.9.5)
|
170
|
+
ffi (>= 0.5.0)
|
162
171
|
rdoc (4.2.0)
|
163
172
|
json (~> 1.4)
|
164
173
|
redcarpet (3.2.2)
|
165
|
-
rspec-core (3.0
|
166
|
-
rspec-support (~> 3.
|
167
|
-
rspec-expectations (3.0
|
174
|
+
rspec-core (3.2.0)
|
175
|
+
rspec-support (~> 3.2.0)
|
176
|
+
rspec-expectations (3.2.0)
|
168
177
|
diff-lcs (>= 1.2.0, < 2.0)
|
169
|
-
rspec-support (~> 3.
|
170
|
-
rspec-mocks (3.0
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
rspec-
|
178
|
-
rspec-
|
179
|
-
rspec-
|
180
|
-
|
178
|
+
rspec-support (~> 3.2.0)
|
179
|
+
rspec-mocks (3.2.0)
|
180
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
181
|
+
rspec-support (~> 3.2.0)
|
182
|
+
rspec-rails (3.2.0)
|
183
|
+
actionpack (>= 3.0, <= 4.2)
|
184
|
+
activesupport (>= 3.0, <= 4.2)
|
185
|
+
railties (>= 3.0, <= 4.2)
|
186
|
+
rspec-core (~> 3.2.0)
|
187
|
+
rspec-expectations (~> 3.2.0)
|
188
|
+
rspec-mocks (~> 3.2.0)
|
189
|
+
rspec-support (~> 3.2.0)
|
190
|
+
rspec-support (3.2.1)
|
181
191
|
ruby-progressbar (1.7.1)
|
182
|
-
sass (3.4.
|
183
|
-
sass-rails (5.0.
|
192
|
+
sass (3.4.11)
|
193
|
+
sass-rails (5.0.1)
|
184
194
|
railties (>= 4.0.0, < 5.0)
|
185
195
|
sass (~> 3.1)
|
186
196
|
sprockets (>= 2.8, < 4.0)
|
@@ -189,6 +199,7 @@ GEM
|
|
189
199
|
sdoc (0.4.1)
|
190
200
|
json (~> 1.7, >= 1.7.7)
|
191
201
|
rdoc (~> 4.0)
|
202
|
+
shellany (0.0.1)
|
192
203
|
shoulda-context (1.2.1)
|
193
204
|
slop (3.6.0)
|
194
205
|
spring (1.2.0)
|
@@ -199,7 +210,7 @@ GEM
|
|
199
210
|
multi_json (~> 1.0)
|
200
211
|
rack (~> 1.0)
|
201
212
|
tilt (~> 1.1, != 1.3.0)
|
202
|
-
sprockets-rails (2.2.
|
213
|
+
sprockets-rails (2.2.4)
|
203
214
|
actionpack (>= 3.0)
|
204
215
|
activesupport (>= 3.0)
|
205
216
|
sprockets (>= 2.8, < 4.0)
|
@@ -207,20 +218,16 @@ GEM
|
|
207
218
|
thor (0.19.1)
|
208
219
|
thread_safe (0.3.4)
|
209
220
|
tilt (1.4.1)
|
221
|
+
timers (4.0.1)
|
222
|
+
hitimes
|
210
223
|
turbolinks (2.5.3)
|
211
224
|
coffee-rails
|
212
225
|
tzinfo (1.2.2)
|
213
226
|
thread_safe (~> 0.1)
|
214
|
-
uglifier (2.
|
227
|
+
uglifier (2.7.0)
|
215
228
|
execjs (>= 0.3.0)
|
216
229
|
json (>= 1.8.0)
|
217
|
-
|
218
|
-
web-console (2.0.0)
|
219
|
-
activemodel (~> 4.0)
|
220
|
-
binding_of_caller (>= 0.7.2)
|
221
|
-
railties (~> 4.0)
|
222
|
-
sprockets-rails (>= 2.0, < 4.0)
|
223
|
-
yajl-ruby (1.1.0)
|
230
|
+
yajl-ruby (1.2.1)
|
224
231
|
yard (0.8.7.6)
|
225
232
|
|
226
233
|
PLATFORMS
|
@@ -231,24 +238,27 @@ DEPENDENCIES
|
|
231
238
|
activerecord-jdbcsqlite3-adapter
|
232
239
|
activeresource (= 4.0.0)
|
233
240
|
appraisal (~> 1.0)
|
234
|
-
aruba
|
235
241
|
bcrypt (~> 3.1.7)
|
236
|
-
bourne (~> 1.3)
|
237
242
|
bundler (~> 1.1)
|
238
|
-
byebug
|
239
243
|
coffee-rails (~> 4.1.0)
|
244
|
+
guard
|
245
|
+
guard-yard
|
240
246
|
jbuilder (~> 2.0)
|
241
247
|
jdbc-sqlite3
|
242
248
|
jquery-rails
|
243
249
|
jruby-openssl
|
244
250
|
minitest-reporters
|
251
|
+
pg
|
245
252
|
protected_attributes (~> 1.0.6)
|
246
|
-
pry
|
253
|
+
pry!
|
254
|
+
pry-byebug
|
247
255
|
pygments.rb
|
248
256
|
rails (~> 4.2.0)
|
249
|
-
rake (
|
257
|
+
rake (~> 10.0)
|
250
258
|
redcarpet
|
251
|
-
rspec-
|
259
|
+
rspec-core (>= 3.2.0, < 4)
|
260
|
+
rspec-expectations (>= 3.2.0, < 4)
|
261
|
+
rspec-rails (>= 3.2.0, < 4)
|
252
262
|
sass-rails (~> 5.0)
|
253
263
|
sdoc (~> 0.4.0)
|
254
264
|
shoulda-context (~> 1.2.0)
|
@@ -258,6 +268,4 @@ DEPENDENCIES
|
|
258
268
|
therubyrhino
|
259
269
|
turbolinks
|
260
270
|
uglifier (>= 1.3.0)
|
261
|
-
watchr
|
262
|
-
web-console (~> 2.0)
|
263
271
|
yard
|