shoulda 4.0.0.rc2 → 5.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/{MIT-LICENSE → LICENSE} +1 -1
  3. data/README.md +39 -32
  4. data/lib/shoulda/version.rb +1 -1
  5. data/shoulda.gemspec +18 -15
  6. metadata +19 -63
  7. data/.autotest +0 -13
  8. data/.gitignore +0 -13
  9. data/.hound.yml +0 -3
  10. data/.rubocop.yml +0 -192
  11. data/.ruby-version +0 -1
  12. data/.travis.yml +0 -34
  13. data/Appraisals +0 -116
  14. data/CONTRIBUTING.md +0 -43
  15. data/Gemfile +0 -16
  16. data/Rakefile +0 -31
  17. data/gemfiles/rails_4_2.gemfile +0 -34
  18. data/gemfiles/rails_4_2.gemfile.lock +0 -240
  19. data/gemfiles/rails_5_0.gemfile +0 -32
  20. data/gemfiles/rails_5_0.gemfile.lock +0 -232
  21. data/gemfiles/rails_5_1.gemfile +0 -33
  22. data/gemfiles/rails_5_1.gemfile.lock +0 -247
  23. data/gemfiles/rails_5_2.gemfile +0 -35
  24. data/gemfiles/rails_5_2.gemfile.lock +0 -266
  25. data/gemfiles/rails_6_0.gemfile +0 -37
  26. data/gemfiles/rails_6_0.gemfile.lock +0 -291
  27. data/script/install_gems_in_all_appraisals +0 -16
  28. data/script/run_all_tests +0 -16
  29. data/script/supported_ruby_versions +0 -7
  30. data/script/update_gem_in_all_appraisals +0 -17
  31. data/script/update_gems_in_all_appraisals +0 -16
  32. data/test/acceptance/integrates_with_rails_test.rb +0 -580
  33. data/test/acceptance_test_helper.rb +0 -43
  34. data/test/support/acceptance/add_shoulda_to_project.rb +0 -73
  35. data/test/support/acceptance/helpers/array_helpers.rb +0 -13
  36. data/test/support/acceptance/helpers/pluralization_helpers.rb +0 -13
  37. data/test/support/acceptance/matchers/have_output.rb +0 -33
  38. data/test/support/acceptance/matchers/indicate_that_tests_were_run.rb +0 -109
  39. data/test/support/acceptance/rails_application_with_shoulda.rb +0 -47
  40. data/test/support/current_bundle.rb +0 -61
  41. data/test/support/snowglobe.rb +0 -5
  42. data/test/test_helper.rb +0 -23
@@ -1,232 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- shoulda (4.0.0.rc2)
5
- shoulda-context (= 2.0.0.rc4)
6
- shoulda-matchers (~> 4.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actioncable (5.0.7.2)
12
- actionpack (= 5.0.7.2)
13
- nio4r (>= 1.2, < 3.0)
14
- websocket-driver (~> 0.6.1)
15
- actionmailer (5.0.7.2)
16
- actionpack (= 5.0.7.2)
17
- actionview (= 5.0.7.2)
18
- activejob (= 5.0.7.2)
19
- mail (~> 2.5, >= 2.5.4)
20
- rails-dom-testing (~> 2.0)
21
- actionpack (5.0.7.2)
22
- actionview (= 5.0.7.2)
23
- activesupport (= 5.0.7.2)
24
- rack (~> 2.0)
25
- rack-test (~> 0.6.3)
26
- rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.0.7.2)
29
- activesupport (= 5.0.7.2)
30
- builder (~> 3.1)
31
- erubis (~> 2.7.0)
32
- rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.0.7.2)
35
- activesupport (= 5.0.7.2)
36
- globalid (>= 0.3.6)
37
- activemodel (5.0.7.2)
38
- activesupport (= 5.0.7.2)
39
- activerecord (5.0.7.2)
40
- activemodel (= 5.0.7.2)
41
- activesupport (= 5.0.7.2)
42
- arel (~> 7.0)
43
- activesupport (5.0.7.2)
44
- concurrent-ruby (~> 1.0, >= 1.0.2)
45
- i18n (>= 0.7, < 2)
46
- minitest (~> 5.1)
47
- tzinfo (~> 1.1)
48
- ansi (1.5.0)
49
- appraisal (2.2.0)
50
- bundler
51
- rake
52
- thor (>= 0.14.0)
53
- arel (7.1.4)
54
- ast (2.4.0)
55
- bcrypt (3.1.13)
56
- builder (3.2.4)
57
- byebug (10.0.2)
58
- coderay (1.1.2)
59
- concurrent-ruby (1.1.6)
60
- crass (1.0.6)
61
- erubis (2.7.0)
62
- ffi (1.12.2)
63
- globalid (0.4.2)
64
- activesupport (>= 4.2.0)
65
- i18n (1.8.2)
66
- concurrent-ruby (~> 1.0)
67
- jaro_winkler (1.5.4)
68
- jbuilder (2.10.0)
69
- activesupport (>= 5.0.0)
70
- jquery-rails (4.3.5)
71
- rails-dom-testing (>= 1, < 3)
72
- railties (>= 4.2.0)
73
- thor (>= 0.14, < 2.0)
74
- listen (3.0.8)
75
- rb-fsevent (~> 0.9, >= 0.9.4)
76
- rb-inotify (~> 0.9, >= 0.9.7)
77
- loofah (2.4.0)
78
- crass (~> 1.0.2)
79
- nokogiri (>= 1.5.9)
80
- m (1.5.1)
81
- method_source (>= 0.6.7)
82
- rake (>= 0.9.2.2)
83
- mail (2.7.1)
84
- mini_mime (>= 0.1.1)
85
- method_source (0.9.2)
86
- mini_mime (1.0.2)
87
- mini_portile2 (2.4.0)
88
- minitest (5.14.0)
89
- minitest-reporters (1.4.2)
90
- ansi
91
- builder
92
- minitest (>= 5.0)
93
- ruby-progressbar
94
- mry (0.78.0.0)
95
- rubocop (>= 0.41.0)
96
- nio4r (2.5.2)
97
- nokogiri (1.10.9)
98
- mini_portile2 (~> 2.4.0)
99
- parallel (1.19.1)
100
- parser (2.7.1.0)
101
- ast (~> 2.4.0)
102
- pry (0.12.2)
103
- coderay (~> 1.1.0)
104
- method_source (~> 0.9.0)
105
- pry-byebug (3.6.0)
106
- byebug (~> 10.0)
107
- pry (~> 0.10)
108
- puma (3.12.4)
109
- rack (2.2.2)
110
- rack-test (0.6.3)
111
- rack (>= 1.0)
112
- rails (5.0.7.2)
113
- actioncable (= 5.0.7.2)
114
- actionmailer (= 5.0.7.2)
115
- actionpack (= 5.0.7.2)
116
- actionview (= 5.0.7.2)
117
- activejob (= 5.0.7.2)
118
- activemodel (= 5.0.7.2)
119
- activerecord (= 5.0.7.2)
120
- activesupport (= 5.0.7.2)
121
- bundler (>= 1.3.0)
122
- railties (= 5.0.7.2)
123
- sprockets-rails (>= 2.0.0)
124
- rails-controller-testing (1.0.4)
125
- actionpack (>= 5.0.1.x)
126
- actionview (>= 5.0.1.x)
127
- activesupport (>= 5.0.1.x)
128
- rails-dom-testing (2.0.3)
129
- activesupport (>= 4.2.0)
130
- nokogiri (>= 1.6)
131
- rails-html-sanitizer (1.3.0)
132
- loofah (~> 2.3)
133
- railties (5.0.7.2)
134
- actionpack (= 5.0.7.2)
135
- activesupport (= 5.0.7.2)
136
- method_source
137
- rake (>= 0.8.7)
138
- thor (>= 0.18.1, < 2.0)
139
- rainbow (3.0.0)
140
- rake (13.0.1)
141
- rb-fsevent (0.10.3)
142
- rb-inotify (0.10.1)
143
- ffi (~> 1.0)
144
- rubocop (0.71.0)
145
- jaro_winkler (~> 1.5.1)
146
- parallel (~> 1.10)
147
- parser (>= 2.6)
148
- rainbow (>= 2.2.2, < 4.0)
149
- ruby-progressbar (~> 1.7)
150
- unicode-display_width (>= 1.4.0, < 1.7)
151
- rubocop-rails (2.0.1)
152
- rack (>= 1.1)
153
- rubocop (>= 0.70.0)
154
- ruby-progressbar (1.10.1)
155
- rubyzip (1.3.0)
156
- sass (3.7.4)
157
- sass-listen (~> 4.0.0)
158
- sass-listen (4.0.0)
159
- rb-fsevent (~> 0.9, >= 0.9.4)
160
- rb-inotify (~> 0.9, >= 0.9.7)
161
- sass-rails (5.0.7)
162
- railties (>= 4.0.0, < 6)
163
- sass (~> 3.1)
164
- sprockets (>= 2.8, < 4.0)
165
- sprockets-rails (>= 2.0, < 4.0)
166
- tilt (>= 1.1, < 3)
167
- shoulda-context (2.0.0.rc4)
168
- shoulda-matchers (4.3.0)
169
- activesupport (>= 4.2.0)
170
- snowglobe (0.3.0)
171
- spring (2.1.0)
172
- spring-commands-rspec (1.0.4)
173
- spring (>= 0.9.1)
174
- spring-watcher-listen (2.0.1)
175
- listen (>= 2.7, < 4.0)
176
- spring (>= 1.2, < 3.0)
177
- sprockets (3.7.2)
178
- concurrent-ruby (~> 1.0)
179
- rack (> 1, < 3)
180
- sprockets-rails (3.2.1)
181
- actionpack (>= 4.0)
182
- activesupport (>= 4.0)
183
- sprockets (>= 3.0.0)
184
- sqlite3 (1.3.13)
185
- thor (1.0.1)
186
- thread_safe (0.3.6)
187
- tilt (2.0.10)
188
- turbolinks (5.2.1)
189
- turbolinks-source (~> 5.2)
190
- turbolinks-source (5.2.0)
191
- tzinfo (1.2.7)
192
- thread_safe (~> 0.1)
193
- unicode-display_width (1.6.1)
194
- warnings_logger (0.1.0)
195
- websocket-driver (0.6.5)
196
- websocket-extensions (>= 0.1.0)
197
- websocket-extensions (0.1.4)
198
-
199
- PLATFORMS
200
- ruby
201
-
202
- DEPENDENCIES
203
- appraisal (~> 2.1)
204
- bcrypt (~> 3.1.7)
205
- bundler (~> 1.0)
206
- jbuilder (~> 2.5)
207
- jquery-rails
208
- listen (~> 3.0.5)
209
- m
210
- minitest (~> 5.0)
211
- minitest-reporters
212
- mry
213
- pry (~> 0.12.0)
214
- pry-byebug (~> 3.6.0)
215
- puma (~> 3.0)
216
- rails (~> 5.0.7)
217
- rails-controller-testing (>= 1.0.1)
218
- rubocop (= 0.71.0)
219
- rubocop-rails
220
- rubyzip (~> 1.3.0)
221
- sass-rails (~> 5.0)
222
- shoulda!
223
- snowglobe (>= 0.3.0)
224
- spring
225
- spring-commands-rspec
226
- spring-watcher-listen (~> 2.0.0)
227
- sqlite3 (~> 1.3.6)
228
- turbolinks (~> 5)
229
- warnings_logger
230
-
231
- BUNDLED WITH
232
- 1.17.3
@@ -1,33 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal", "~> 2.1"
6
- gem "bundler", "~> 1.0"
7
- gem "m"
8
- gem "minitest", "~> 5.0"
9
- gem "minitest-reporters"
10
- gem "mry"
11
- gem "pry", "~> 0.12.0"
12
- gem "pry-byebug", "~> 3.6.0"
13
- gem "rubocop", "0.71.0", require: false
14
- gem "rubocop-rails", require: false
15
- gem "snowglobe", ">= 0.3.0"
16
- gem "warnings_logger"
17
- gem "sqlite3", "~> 1.3.6"
18
- gem "rubyzip", "~> 1.3.0"
19
- gem "spring"
20
- gem "spring-commands-rspec"
21
- gem "rails", "~> 5.1.6"
22
- gem "rails-controller-testing", ">= 1.0.1"
23
- gem "puma", "~> 3.7"
24
- gem "sass-rails", "~> 5.0"
25
- gem "turbolinks", "~> 5"
26
- gem "jbuilder", "~> 2.5"
27
- gem "bcrypt", "~> 3.1.7"
28
- gem "capybara", "~> 2.13"
29
- gem "selenium-webdriver"
30
- gem "listen", ">= 3.0.5", "< 3.2"
31
- gem "spring-watcher-listen", "~> 2.0.0"
32
-
33
- gemspec path: "../"
@@ -1,247 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- shoulda (4.0.0.rc2)
5
- shoulda-context (= 2.0.0.rc4)
6
- shoulda-matchers (~> 4.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actioncable (5.1.7)
12
- actionpack (= 5.1.7)
13
- nio4r (~> 2.0)
14
- websocket-driver (~> 0.6.1)
15
- actionmailer (5.1.7)
16
- actionpack (= 5.1.7)
17
- actionview (= 5.1.7)
18
- activejob (= 5.1.7)
19
- mail (~> 2.5, >= 2.5.4)
20
- rails-dom-testing (~> 2.0)
21
- actionpack (5.1.7)
22
- actionview (= 5.1.7)
23
- activesupport (= 5.1.7)
24
- rack (~> 2.0)
25
- rack-test (>= 0.6.3)
26
- rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.1.7)
29
- activesupport (= 5.1.7)
30
- builder (~> 3.1)
31
- erubi (~> 1.4)
32
- rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.1.7)
35
- activesupport (= 5.1.7)
36
- globalid (>= 0.3.6)
37
- activemodel (5.1.7)
38
- activesupport (= 5.1.7)
39
- activerecord (5.1.7)
40
- activemodel (= 5.1.7)
41
- activesupport (= 5.1.7)
42
- arel (~> 8.0)
43
- activesupport (5.1.7)
44
- concurrent-ruby (~> 1.0, >= 1.0.2)
45
- i18n (>= 0.7, < 2)
46
- minitest (~> 5.1)
47
- tzinfo (~> 1.1)
48
- addressable (2.7.0)
49
- public_suffix (>= 2.0.2, < 5.0)
50
- ansi (1.5.0)
51
- appraisal (2.2.0)
52
- bundler
53
- rake
54
- thor (>= 0.14.0)
55
- arel (8.0.0)
56
- ast (2.4.0)
57
- bcrypt (3.1.13)
58
- builder (3.2.4)
59
- byebug (10.0.2)
60
- capybara (2.18.0)
61
- addressable
62
- mini_mime (>= 0.1.3)
63
- nokogiri (>= 1.3.3)
64
- rack (>= 1.0.0)
65
- rack-test (>= 0.5.4)
66
- xpath (>= 2.0, < 4.0)
67
- childprocess (3.0.0)
68
- coderay (1.1.2)
69
- concurrent-ruby (1.1.6)
70
- crass (1.0.6)
71
- erubi (1.9.0)
72
- ffi (1.12.2)
73
- globalid (0.4.2)
74
- activesupport (>= 4.2.0)
75
- i18n (1.8.2)
76
- concurrent-ruby (~> 1.0)
77
- jaro_winkler (1.5.4)
78
- jbuilder (2.10.0)
79
- activesupport (>= 5.0.0)
80
- listen (3.1.5)
81
- rb-fsevent (~> 0.9, >= 0.9.4)
82
- rb-inotify (~> 0.9, >= 0.9.7)
83
- ruby_dep (~> 1.2)
84
- loofah (2.4.0)
85
- crass (~> 1.0.2)
86
- nokogiri (>= 1.5.9)
87
- m (1.5.1)
88
- method_source (>= 0.6.7)
89
- rake (>= 0.9.2.2)
90
- mail (2.7.1)
91
- mini_mime (>= 0.1.1)
92
- method_source (0.9.2)
93
- mini_mime (1.0.2)
94
- mini_portile2 (2.4.0)
95
- minitest (5.14.0)
96
- minitest-reporters (1.4.2)
97
- ansi
98
- builder
99
- minitest (>= 5.0)
100
- ruby-progressbar
101
- mry (0.78.0.0)
102
- rubocop (>= 0.41.0)
103
- nio4r (2.5.2)
104
- nokogiri (1.10.9)
105
- mini_portile2 (~> 2.4.0)
106
- parallel (1.19.1)
107
- parser (2.7.1.0)
108
- ast (~> 2.4.0)
109
- pry (0.12.2)
110
- coderay (~> 1.1.0)
111
- method_source (~> 0.9.0)
112
- pry-byebug (3.6.0)
113
- byebug (~> 10.0)
114
- pry (~> 0.10)
115
- public_suffix (4.0.3)
116
- puma (3.12.4)
117
- rack (2.2.2)
118
- rack-test (1.1.0)
119
- rack (>= 1.0, < 3)
120
- rails (5.1.7)
121
- actioncable (= 5.1.7)
122
- actionmailer (= 5.1.7)
123
- actionpack (= 5.1.7)
124
- actionview (= 5.1.7)
125
- activejob (= 5.1.7)
126
- activemodel (= 5.1.7)
127
- activerecord (= 5.1.7)
128
- activesupport (= 5.1.7)
129
- bundler (>= 1.3.0)
130
- railties (= 5.1.7)
131
- sprockets-rails (>= 2.0.0)
132
- rails-controller-testing (1.0.4)
133
- actionpack (>= 5.0.1.x)
134
- actionview (>= 5.0.1.x)
135
- activesupport (>= 5.0.1.x)
136
- rails-dom-testing (2.0.3)
137
- activesupport (>= 4.2.0)
138
- nokogiri (>= 1.6)
139
- rails-html-sanitizer (1.3.0)
140
- loofah (~> 2.3)
141
- railties (5.1.7)
142
- actionpack (= 5.1.7)
143
- activesupport (= 5.1.7)
144
- method_source
145
- rake (>= 0.8.7)
146
- thor (>= 0.18.1, < 2.0)
147
- rainbow (3.0.0)
148
- rake (13.0.1)
149
- rb-fsevent (0.10.3)
150
- rb-inotify (0.10.1)
151
- ffi (~> 1.0)
152
- rubocop (0.71.0)
153
- jaro_winkler (~> 1.5.1)
154
- parallel (~> 1.10)
155
- parser (>= 2.6)
156
- rainbow (>= 2.2.2, < 4.0)
157
- ruby-progressbar (~> 1.7)
158
- unicode-display_width (>= 1.4.0, < 1.7)
159
- rubocop-rails (2.0.1)
160
- rack (>= 1.1)
161
- rubocop (>= 0.70.0)
162
- ruby-progressbar (1.10.1)
163
- ruby_dep (1.5.0)
164
- rubyzip (1.3.0)
165
- sass (3.7.4)
166
- sass-listen (~> 4.0.0)
167
- sass-listen (4.0.0)
168
- rb-fsevent (~> 0.9, >= 0.9.4)
169
- rb-inotify (~> 0.9, >= 0.9.7)
170
- sass-rails (5.0.7)
171
- railties (>= 4.0.0, < 6)
172
- sass (~> 3.1)
173
- sprockets (>= 2.8, < 4.0)
174
- sprockets-rails (>= 2.0, < 4.0)
175
- tilt (>= 1.1, < 3)
176
- selenium-webdriver (3.142.7)
177
- childprocess (>= 0.5, < 4.0)
178
- rubyzip (>= 1.2.2)
179
- shoulda-context (2.0.0.rc4)
180
- shoulda-matchers (4.3.0)
181
- activesupport (>= 4.2.0)
182
- snowglobe (0.3.0)
183
- spring (2.1.0)
184
- spring-commands-rspec (1.0.4)
185
- spring (>= 0.9.1)
186
- spring-watcher-listen (2.0.1)
187
- listen (>= 2.7, < 4.0)
188
- spring (>= 1.2, < 3.0)
189
- sprockets (3.7.2)
190
- concurrent-ruby (~> 1.0)
191
- rack (> 1, < 3)
192
- sprockets-rails (3.2.1)
193
- actionpack (>= 4.0)
194
- activesupport (>= 4.0)
195
- sprockets (>= 3.0.0)
196
- sqlite3 (1.3.13)
197
- thor (1.0.1)
198
- thread_safe (0.3.6)
199
- tilt (2.0.10)
200
- turbolinks (5.2.1)
201
- turbolinks-source (~> 5.2)
202
- turbolinks-source (5.2.0)
203
- tzinfo (1.2.7)
204
- thread_safe (~> 0.1)
205
- unicode-display_width (1.6.1)
206
- warnings_logger (0.1.0)
207
- websocket-driver (0.6.5)
208
- websocket-extensions (>= 0.1.0)
209
- websocket-extensions (0.1.4)
210
- xpath (3.2.0)
211
- nokogiri (~> 1.8)
212
-
213
- PLATFORMS
214
- ruby
215
-
216
- DEPENDENCIES
217
- appraisal (~> 2.1)
218
- bcrypt (~> 3.1.7)
219
- bundler (~> 1.0)
220
- capybara (~> 2.13)
221
- jbuilder (~> 2.5)
222
- listen (>= 3.0.5, < 3.2)
223
- m
224
- minitest (~> 5.0)
225
- minitest-reporters
226
- mry
227
- pry (~> 0.12.0)
228
- pry-byebug (~> 3.6.0)
229
- puma (~> 3.7)
230
- rails (~> 5.1.6)
231
- rails-controller-testing (>= 1.0.1)
232
- rubocop (= 0.71.0)
233
- rubocop-rails
234
- rubyzip (~> 1.3.0)
235
- sass-rails (~> 5.0)
236
- selenium-webdriver
237
- shoulda!
238
- snowglobe (>= 0.3.0)
239
- spring
240
- spring-commands-rspec
241
- spring-watcher-listen (~> 2.0.0)
242
- sqlite3 (~> 1.3.6)
243
- turbolinks (~> 5)
244
- warnings_logger
245
-
246
- BUNDLED WITH
247
- 1.17.3
@@ -1,35 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal", "~> 2.1"
6
- gem "bundler", "~> 1.0"
7
- gem "m"
8
- gem "minitest", "~> 5.0"
9
- gem "minitest-reporters"
10
- gem "mry"
11
- gem "pry", "~> 0.12.0"
12
- gem "pry-byebug", "~> 3.6.0"
13
- gem "rubocop", "0.71.0", require: false
14
- gem "rubocop-rails", require: false
15
- gem "snowglobe", ">= 0.3.0"
16
- gem "warnings_logger"
17
- gem "sqlite3", "~> 1.3.6"
18
- gem "rubyzip", "~> 1.3.0"
19
- gem "spring"
20
- gem "spring-commands-rspec"
21
- gem "rails", "~> 5.2.2"
22
- gem "rails-controller-testing", ">= 1.0.1"
23
- gem "puma", "~> 3.11"
24
- gem "bootsnap", ">= 1.1.0", require: false
25
- gem "sass-rails", "~> 5.0"
26
- gem "turbolinks", "~> 5"
27
- gem "jbuilder", "~> 2.5"
28
- gem "bcrypt", "~> 3.1.7"
29
- gem "capybara", "~> 3.1.1"
30
- gem "selenium-webdriver"
31
- gem "chromedriver-helper"
32
- gem "listen", ">= 3.0.5", "< 3.2"
33
- gem "spring-watcher-listen", "~> 2.0.0"
34
-
35
- gemspec path: "../"