shoulda-context 2.0.0 → 3.0.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.travis.yml DELETED
@@ -1,37 +0,0 @@
1
- language: ruby
2
- dist: xenial
3
- os: linux
4
- cache:
5
- directories:
6
- - vendor/bundle
7
- # Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
8
- before_install:
9
- - gem update --system '3.1.2' --no-document
10
- - gem uninstall -v '< 2' -i $(rvm gemdir)@global -ax bundler || true
11
- - gem install bundler -v '< 2' --no-document
12
- - nvm use v11.0.0
13
- - bundle config set path vendor/bundle
14
- install: "bundle install --jobs=3 --retry=3"
15
- script: "bundle exec rake"
16
- rvm:
17
- - 2.4.9
18
- - 2.5.8
19
- - 2.6.6
20
- - 2.7.1
21
- env:
22
- - TEST_FRAMEWORK=minitest
23
- - TEST_FRAMEWORK=test_unit
24
- gemfile:
25
- - gemfiles/rails_4_2.gemfile
26
- - gemfiles/rails_5_0.gemfile
27
- - gemfiles/rails_5_1.gemfile
28
- - gemfiles/rails_5_2.gemfile
29
- - gemfiles/rails_6_0.gemfile
30
- matrix:
31
- exclude:
32
- - rvm: 2.4.9
33
- gemfile: gemfiles/rails_6_0.gemfile
34
- - rvm: 2.6.6
35
- gemfile: gemfiles/rails_4_2.gemfile
36
- - rvm: 2.7.1
37
- gemfile: gemfiles/rails_4_2.gemfile
data/CONTRIBUTING.md DELETED
@@ -1,38 +0,0 @@
1
- We love pull requests. Here's a quick guide:
2
-
3
- 1. Fork the repo.
4
-
5
- 2. Run the tests. We only take pull requests with passing tests, and it's great
6
- to know that you have a clean slate: `bundle && rake`
7
-
8
- 3. Add a test for your change. Only refactoring and documentation changes
9
- require no new tests. If you are adding functionality or fixing a bug, we need
10
- a test!
11
-
12
- 4. Make the test pass.
13
-
14
- 5. Push to your fork and submit a pull request.
15
-
16
-
17
- At this point you're waiting on us. We like to at least comment on, if not
18
- accept, pull requests within three business days (and, typically, one business
19
- day). We may suggest some changes or improvements or alternatives.
20
-
21
- Some things that will increase the chance that your pull request is accepted,
22
- taken straight from the Ruby on Rails guide:
23
-
24
- * Use Rails idioms and helpers
25
- * Include tests that fail without your code, and pass with it
26
- * Update the documentation, the surrounding one, examples elsewhere, guides,
27
- whatever is affected by your contribution
28
-
29
- Syntax:
30
-
31
- * Two spaces, no tabs.
32
- * No trailing whitespace. Blank lines should not have any space.
33
- * Prefer &&/|| over and/or.
34
- * MyClass.my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
35
- * a = b and not a=b.
36
- * Follow the conventions you see used in the source already.
37
-
38
- And in case we didn't emphasize it enough: we love tests!
@@ -1,35 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "bundler", "~> 1.0"
7
- gem "byebug"
8
- gem "m"
9
- gem "minitest"
10
- gem "mocha"
11
- gem "pry", "~> 0.12.0"
12
- gem "pry-byebug", "~> 3.6.0"
13
- gem "rake"
14
- gem "rubocop", "0.71.0"
15
- gem "snowglobe", ">= 0.3.0"
16
- gem "test-unit"
17
- gem "warnings_logger"
18
- gem "sqlite3", "~> 1.3.6"
19
- gem "spring"
20
- gem "spring-commands-rspec"
21
- gem "minitest-reporters"
22
- gem "rails", "~> 4.2.10"
23
- gem "sass-rails", "~> 5.0"
24
- gem "uglifier", ">= 1.3.0"
25
- gem "coffee-rails", "~> 4.1.0"
26
- gem "jquery-rails"
27
- gem "turbolinks"
28
- gem "jbuilder", "~> 2.0"
29
- gem "sdoc", "~> 0.4.0", group: :doc
30
- gem "bcrypt", "~> 3.1.7"
31
- gem "activeresource", "4.0.0"
32
- gem "json", "~> 1.4"
33
- gem "protected_attributes", "~> 1.0.6"
34
-
35
- gemspec path: "../"
@@ -1,234 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- shoulda-context (2.0.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actionmailer (4.2.11.1)
10
- actionpack (= 4.2.11.1)
11
- actionview (= 4.2.11.1)
12
- activejob (= 4.2.11.1)
13
- mail (~> 2.5, >= 2.5.4)
14
- rails-dom-testing (~> 1.0, >= 1.0.5)
15
- actionpack (4.2.11.1)
16
- actionview (= 4.2.11.1)
17
- activesupport (= 4.2.11.1)
18
- rack (~> 1.6)
19
- rack-test (~> 0.6.2)
20
- rails-dom-testing (~> 1.0, >= 1.0.5)
21
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
22
- actionview (4.2.11.1)
23
- activesupport (= 4.2.11.1)
24
- builder (~> 3.1)
25
- erubis (~> 2.7.0)
26
- rails-dom-testing (~> 1.0, >= 1.0.5)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
28
- activejob (4.2.11.1)
29
- activesupport (= 4.2.11.1)
30
- globalid (>= 0.3.0)
31
- activemodel (4.2.11.1)
32
- activesupport (= 4.2.11.1)
33
- builder (~> 3.1)
34
- activerecord (4.2.11.1)
35
- activemodel (= 4.2.11.1)
36
- activesupport (= 4.2.11.1)
37
- arel (~> 6.0)
38
- activeresource (4.0.0)
39
- activemodel (~> 4.0)
40
- activesupport (~> 4.0)
41
- rails-observers (~> 0.1.1)
42
- activesupport (4.2.11.1)
43
- i18n (~> 0.7)
44
- minitest (~> 5.1)
45
- thread_safe (~> 0.3, >= 0.3.4)
46
- tzinfo (~> 1.1)
47
- ansi (1.5.0)
48
- appraisal (2.2.0)
49
- bundler
50
- rake
51
- thor (>= 0.14.0)
52
- arel (6.0.4)
53
- ast (2.4.0)
54
- bcrypt (3.1.13)
55
- builder (3.2.4)
56
- byebug (10.0.2)
57
- coderay (1.1.2)
58
- coffee-rails (4.1.1)
59
- coffee-script (>= 2.2.0)
60
- railties (>= 4.0.0, < 5.1.x)
61
- coffee-script (2.4.1)
62
- coffee-script-source
63
- execjs
64
- coffee-script-source (1.12.2)
65
- concurrent-ruby (1.1.6)
66
- crass (1.0.6)
67
- erubis (2.7.0)
68
- execjs (2.7.0)
69
- ffi (1.12.2)
70
- globalid (0.4.2)
71
- activesupport (>= 4.2.0)
72
- i18n (0.9.5)
73
- concurrent-ruby (~> 1.0)
74
- jaro_winkler (1.5.4)
75
- jbuilder (2.9.1)
76
- activesupport (>= 4.2.0)
77
- jquery-rails (4.3.5)
78
- rails-dom-testing (>= 1, < 3)
79
- railties (>= 4.2.0)
80
- thor (>= 0.14, < 2.0)
81
- json (1.8.6)
82
- loofah (2.4.0)
83
- crass (~> 1.0.2)
84
- nokogiri (>= 1.5.9)
85
- m (1.5.1)
86
- method_source (>= 0.6.7)
87
- rake (>= 0.9.2.2)
88
- mail (2.7.1)
89
- mini_mime (>= 0.1.1)
90
- method_source (0.9.2)
91
- mini_mime (1.0.2)
92
- mini_portile2 (2.4.0)
93
- minitest (5.14.0)
94
- minitest-reporters (1.4.2)
95
- ansi
96
- builder
97
- minitest (>= 5.0)
98
- ruby-progressbar
99
- mocha (1.11.2)
100
- nokogiri (1.10.9)
101
- mini_portile2 (~> 2.4.0)
102
- parallel (1.19.1)
103
- parser (2.7.1.0)
104
- ast (~> 2.4.0)
105
- power_assert (1.1.7)
106
- protected_attributes (1.0.9)
107
- activemodel (>= 4.0.1, < 5.0)
108
- pry (0.12.2)
109
- coderay (~> 1.1.0)
110
- method_source (~> 0.9.0)
111
- pry-byebug (3.6.0)
112
- byebug (~> 10.0)
113
- pry (~> 0.10)
114
- rack (1.6.13)
115
- rack-test (0.6.3)
116
- rack (>= 1.0)
117
- rails (4.2.11.1)
118
- actionmailer (= 4.2.11.1)
119
- actionpack (= 4.2.11.1)
120
- actionview (= 4.2.11.1)
121
- activejob (= 4.2.11.1)
122
- activemodel (= 4.2.11.1)
123
- activerecord (= 4.2.11.1)
124
- activesupport (= 4.2.11.1)
125
- bundler (>= 1.3.0, < 2.0)
126
- railties (= 4.2.11.1)
127
- sprockets-rails
128
- rails-deprecated_sanitizer (1.0.3)
129
- activesupport (>= 4.2.0.alpha)
130
- rails-dom-testing (1.0.9)
131
- activesupport (>= 4.2.0, < 5.0)
132
- nokogiri (~> 1.6)
133
- rails-deprecated_sanitizer (>= 1.0.1)
134
- rails-html-sanitizer (1.3.0)
135
- loofah (~> 2.3)
136
- rails-observers (0.1.5)
137
- activemodel (>= 4.0)
138
- railties (4.2.11.1)
139
- actionpack (= 4.2.11.1)
140
- activesupport (= 4.2.11.1)
141
- rake (>= 0.8.7)
142
- thor (>= 0.18.1, < 2.0)
143
- rainbow (3.0.0)
144
- rake (13.0.1)
145
- rb-fsevent (0.10.3)
146
- rb-inotify (0.10.1)
147
- ffi (~> 1.0)
148
- rdoc (4.3.0)
149
- rubocop (0.71.0)
150
- jaro_winkler (~> 1.5.1)
151
- parallel (~> 1.10)
152
- parser (>= 2.6)
153
- rainbow (>= 2.2.2, < 4.0)
154
- ruby-progressbar (~> 1.7)
155
- unicode-display_width (>= 1.4.0, < 1.7)
156
- ruby-progressbar (1.10.1)
157
- sass (3.7.4)
158
- sass-listen (~> 4.0.0)
159
- sass-listen (4.0.0)
160
- rb-fsevent (~> 0.9, >= 0.9.4)
161
- rb-inotify (~> 0.9, >= 0.9.7)
162
- sass-rails (5.0.7)
163
- railties (>= 4.0.0, < 6)
164
- sass (~> 3.1)
165
- sprockets (>= 2.8, < 4.0)
166
- sprockets-rails (>= 2.0, < 4.0)
167
- tilt (>= 1.1, < 3)
168
- sdoc (0.4.2)
169
- json (~> 1.7, >= 1.7.7)
170
- rdoc (~> 4.0)
171
- snowglobe (0.3.0)
172
- spring (2.1.0)
173
- spring-commands-rspec (1.0.4)
174
- spring (>= 0.9.1)
175
- sprockets (3.7.2)
176
- concurrent-ruby (~> 1.0)
177
- rack (> 1, < 3)
178
- sprockets-rails (3.2.1)
179
- actionpack (>= 4.0)
180
- activesupport (>= 4.0)
181
- sprockets (>= 3.0.0)
182
- sqlite3 (1.3.13)
183
- test-unit (3.3.5)
184
- power_assert
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
- uglifier (4.2.0)
194
- execjs (>= 0.3.0, < 3)
195
- unicode-display_width (1.6.1)
196
- warnings_logger (0.1.0)
197
-
198
- PLATFORMS
199
- ruby
200
-
201
- DEPENDENCIES
202
- activeresource (= 4.0.0)
203
- appraisal
204
- bcrypt (~> 3.1.7)
205
- bundler (~> 1.0)
206
- byebug
207
- coffee-rails (~> 4.1.0)
208
- jbuilder (~> 2.0)
209
- jquery-rails
210
- json (~> 1.4)
211
- m
212
- minitest
213
- minitest-reporters
214
- mocha
215
- protected_attributes (~> 1.0.6)
216
- pry (~> 0.12.0)
217
- pry-byebug (~> 3.6.0)
218
- rails (~> 4.2.10)
219
- rake
220
- rubocop (= 0.71.0)
221
- sass-rails (~> 5.0)
222
- sdoc (~> 0.4.0)
223
- shoulda-context!
224
- snowglobe (>= 0.3.0)
225
- spring
226
- spring-commands-rspec
227
- sqlite3 (~> 1.3.6)
228
- test-unit
229
- turbolinks
230
- uglifier (>= 1.3.0)
231
- warnings_logger
232
-
233
- BUNDLED WITH
234
- 1.17.3
@@ -1,33 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "bundler", "~> 1.0"
7
- gem "byebug"
8
- gem "m"
9
- gem "minitest"
10
- gem "mocha"
11
- gem "pry", "~> 0.12.0"
12
- gem "pry-byebug", "~> 3.6.0"
13
- gem "rake"
14
- gem "rubocop", "0.71.0"
15
- gem "snowglobe", ">= 0.3.0"
16
- gem "test-unit"
17
- gem "warnings_logger"
18
- gem "sqlite3", "~> 1.3.6"
19
- gem "spring"
20
- gem "spring-commands-rspec"
21
- gem "minitest-reporters"
22
- gem "rails", "~> 5.0.7"
23
- gem "rails-controller-testing", ">= 1.0.1"
24
- gem "puma", "~> 3.0"
25
- gem "sass-rails", "~> 5.0"
26
- gem "jquery-rails"
27
- gem "turbolinks", "~> 5"
28
- gem "jbuilder", "~> 2.5"
29
- gem "bcrypt", "~> 3.1.7"
30
- gem "listen", "~> 3.0.5"
31
- gem "spring-watcher-listen", "~> 2.0.0"
32
-
33
- gemspec path: "../"
@@ -1,226 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- shoulda-context (2.0.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actioncable (5.0.7.2)
10
- actionpack (= 5.0.7.2)
11
- nio4r (>= 1.2, < 3.0)
12
- websocket-driver (~> 0.6.1)
13
- actionmailer (5.0.7.2)
14
- actionpack (= 5.0.7.2)
15
- actionview (= 5.0.7.2)
16
- activejob (= 5.0.7.2)
17
- mail (~> 2.5, >= 2.5.4)
18
- rails-dom-testing (~> 2.0)
19
- actionpack (5.0.7.2)
20
- actionview (= 5.0.7.2)
21
- activesupport (= 5.0.7.2)
22
- rack (~> 2.0)
23
- rack-test (~> 0.6.3)
24
- rails-dom-testing (~> 2.0)
25
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (5.0.7.2)
27
- activesupport (= 5.0.7.2)
28
- builder (~> 3.1)
29
- erubis (~> 2.7.0)
30
- rails-dom-testing (~> 2.0)
31
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
- activejob (5.0.7.2)
33
- activesupport (= 5.0.7.2)
34
- globalid (>= 0.3.6)
35
- activemodel (5.0.7.2)
36
- activesupport (= 5.0.7.2)
37
- activerecord (5.0.7.2)
38
- activemodel (= 5.0.7.2)
39
- activesupport (= 5.0.7.2)
40
- arel (~> 7.0)
41
- activesupport (5.0.7.2)
42
- concurrent-ruby (~> 1.0, >= 1.0.2)
43
- i18n (>= 0.7, < 2)
44
- minitest (~> 5.1)
45
- tzinfo (~> 1.1)
46
- ansi (1.5.0)
47
- appraisal (2.2.0)
48
- bundler
49
- rake
50
- thor (>= 0.14.0)
51
- arel (7.1.4)
52
- ast (2.4.0)
53
- bcrypt (3.1.13)
54
- builder (3.2.4)
55
- byebug (10.0.2)
56
- coderay (1.1.2)
57
- concurrent-ruby (1.1.6)
58
- crass (1.0.6)
59
- erubis (2.7.0)
60
- ffi (1.12.2)
61
- globalid (0.4.2)
62
- activesupport (>= 4.2.0)
63
- i18n (1.8.2)
64
- concurrent-ruby (~> 1.0)
65
- jaro_winkler (1.5.4)
66
- jbuilder (2.10.0)
67
- activesupport (>= 5.0.0)
68
- jquery-rails (4.3.5)
69
- rails-dom-testing (>= 1, < 3)
70
- railties (>= 4.2.0)
71
- thor (>= 0.14, < 2.0)
72
- listen (3.0.8)
73
- rb-fsevent (~> 0.9, >= 0.9.4)
74
- rb-inotify (~> 0.9, >= 0.9.7)
75
- loofah (2.4.0)
76
- crass (~> 1.0.2)
77
- nokogiri (>= 1.5.9)
78
- m (1.5.1)
79
- method_source (>= 0.6.7)
80
- rake (>= 0.9.2.2)
81
- mail (2.7.1)
82
- mini_mime (>= 0.1.1)
83
- method_source (0.9.2)
84
- mini_mime (1.0.2)
85
- mini_portile2 (2.4.0)
86
- minitest (5.14.0)
87
- minitest-reporters (1.4.2)
88
- ansi
89
- builder
90
- minitest (>= 5.0)
91
- ruby-progressbar
92
- mocha (1.11.2)
93
- nio4r (2.5.2)
94
- nokogiri (1.10.9)
95
- mini_portile2 (~> 2.4.0)
96
- parallel (1.19.1)
97
- parser (2.7.1.0)
98
- ast (~> 2.4.0)
99
- power_assert (1.1.7)
100
- pry (0.12.2)
101
- coderay (~> 1.1.0)
102
- method_source (~> 0.9.0)
103
- pry-byebug (3.6.0)
104
- byebug (~> 10.0)
105
- pry (~> 0.10)
106
- puma (3.12.4)
107
- rack (2.2.2)
108
- rack-test (0.6.3)
109
- rack (>= 1.0)
110
- rails (5.0.7.2)
111
- actioncable (= 5.0.7.2)
112
- actionmailer (= 5.0.7.2)
113
- actionpack (= 5.0.7.2)
114
- actionview (= 5.0.7.2)
115
- activejob (= 5.0.7.2)
116
- activemodel (= 5.0.7.2)
117
- activerecord (= 5.0.7.2)
118
- activesupport (= 5.0.7.2)
119
- bundler (>= 1.3.0)
120
- railties (= 5.0.7.2)
121
- sprockets-rails (>= 2.0.0)
122
- rails-controller-testing (1.0.4)
123
- actionpack (>= 5.0.1.x)
124
- actionview (>= 5.0.1.x)
125
- activesupport (>= 5.0.1.x)
126
- rails-dom-testing (2.0.3)
127
- activesupport (>= 4.2.0)
128
- nokogiri (>= 1.6)
129
- rails-html-sanitizer (1.3.0)
130
- loofah (~> 2.3)
131
- railties (5.0.7.2)
132
- actionpack (= 5.0.7.2)
133
- activesupport (= 5.0.7.2)
134
- method_source
135
- rake (>= 0.8.7)
136
- thor (>= 0.18.1, < 2.0)
137
- rainbow (3.0.0)
138
- rake (13.0.1)
139
- rb-fsevent (0.10.3)
140
- rb-inotify (0.10.1)
141
- ffi (~> 1.0)
142
- rubocop (0.71.0)
143
- jaro_winkler (~> 1.5.1)
144
- parallel (~> 1.10)
145
- parser (>= 2.6)
146
- rainbow (>= 2.2.2, < 4.0)
147
- ruby-progressbar (~> 1.7)
148
- unicode-display_width (>= 1.4.0, < 1.7)
149
- ruby-progressbar (1.10.1)
150
- sass (3.7.4)
151
- sass-listen (~> 4.0.0)
152
- sass-listen (4.0.0)
153
- rb-fsevent (~> 0.9, >= 0.9.4)
154
- rb-inotify (~> 0.9, >= 0.9.7)
155
- sass-rails (5.0.7)
156
- railties (>= 4.0.0, < 6)
157
- sass (~> 3.1)
158
- sprockets (>= 2.8, < 4.0)
159
- sprockets-rails (>= 2.0, < 4.0)
160
- tilt (>= 1.1, < 3)
161
- snowglobe (0.3.0)
162
- spring (2.1.0)
163
- spring-commands-rspec (1.0.4)
164
- spring (>= 0.9.1)
165
- spring-watcher-listen (2.0.1)
166
- listen (>= 2.7, < 4.0)
167
- spring (>= 1.2, < 3.0)
168
- sprockets (3.7.2)
169
- concurrent-ruby (~> 1.0)
170
- rack (> 1, < 3)
171
- sprockets-rails (3.2.1)
172
- actionpack (>= 4.0)
173
- activesupport (>= 4.0)
174
- sprockets (>= 3.0.0)
175
- sqlite3 (1.3.13)
176
- test-unit (3.3.5)
177
- power_assert
178
- thor (1.0.1)
179
- thread_safe (0.3.6)
180
- tilt (2.0.10)
181
- turbolinks (5.2.1)
182
- turbolinks-source (~> 5.2)
183
- turbolinks-source (5.2.0)
184
- tzinfo (1.2.7)
185
- thread_safe (~> 0.1)
186
- unicode-display_width (1.6.1)
187
- warnings_logger (0.1.0)
188
- websocket-driver (0.6.5)
189
- websocket-extensions (>= 0.1.0)
190
- websocket-extensions (0.1.4)
191
-
192
- PLATFORMS
193
- ruby
194
-
195
- DEPENDENCIES
196
- appraisal
197
- bcrypt (~> 3.1.7)
198
- bundler (~> 1.0)
199
- byebug
200
- jbuilder (~> 2.5)
201
- jquery-rails
202
- listen (~> 3.0.5)
203
- m
204
- minitest
205
- minitest-reporters
206
- mocha
207
- pry (~> 0.12.0)
208
- pry-byebug (~> 3.6.0)
209
- puma (~> 3.0)
210
- rails (~> 5.0.7)
211
- rails-controller-testing (>= 1.0.1)
212
- rake
213
- rubocop (= 0.71.0)
214
- sass-rails (~> 5.0)
215
- shoulda-context!
216
- snowglobe (>= 0.3.0)
217
- spring
218
- spring-commands-rspec
219
- spring-watcher-listen (~> 2.0.0)
220
- sqlite3 (~> 1.3.6)
221
- test-unit
222
- turbolinks (~> 5)
223
- warnings_logger
224
-
225
- BUNDLED WITH
226
- 1.17.3