shoulda-context 2.0.0.rc2 → 2.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +22 -10
- data/Appraisals +19 -12
- data/CHANGELOG.md +5 -5
- data/Gemfile +1 -0
- data/Gemfile.lock +16 -14
- data/MIT-LICENSE +1 -1
- data/README.md +9 -8
- data/Rakefile +1 -1
- data/gemfiles/rails_4_2.gemfile +3 -1
- data/gemfiles/rails_4_2.gemfile.lock +58 -55
- data/gemfiles/rails_5_0.gemfile +3 -1
- data/gemfiles/rails_5_0.gemfile.lock +62 -59
- data/gemfiles/rails_5_1.gemfile +3 -1
- data/gemfiles/rails_5_1.gemfile.lock +63 -60
- data/gemfiles/rails_5_2.gemfile +3 -1
- data/gemfiles/rails_5_2.gemfile.lock +70 -67
- data/gemfiles/rails_6_0.gemfile +15 -0
- data/gemfiles/rails_6_0.gemfile.lock +216 -0
- data/lib/shoulda/context/context.rb +6 -1
- data/lib/shoulda/context/version.rb +1 -1
- data/shoulda-context.gemspec +3 -1
- data/test/shoulda/rerun_snippet_test.rb +13 -1
- data/test/test_helper.rb +11 -3
- metadata +36 -7
data/gemfiles/rails_5_0.gemfile
CHANGED
@@ -1,44 +1,44 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
shoulda-context (2.0.0.
|
4
|
+
shoulda-context (2.0.0.rc3)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actioncable (5.0.7.
|
10
|
-
actionpack (= 5.0.7.
|
9
|
+
actioncable (5.0.7.2)
|
10
|
+
actionpack (= 5.0.7.2)
|
11
11
|
nio4r (>= 1.2, < 3.0)
|
12
12
|
websocket-driver (~> 0.6.1)
|
13
|
-
actionmailer (5.0.7.
|
14
|
-
actionpack (= 5.0.7.
|
15
|
-
actionview (= 5.0.7.
|
16
|
-
activejob (= 5.0.7.
|
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
17
|
mail (~> 2.5, >= 2.5.4)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
|
-
actionpack (5.0.7.
|
20
|
-
actionview (= 5.0.7.
|
21
|
-
activesupport (= 5.0.7.
|
19
|
+
actionpack (5.0.7.2)
|
20
|
+
actionview (= 5.0.7.2)
|
21
|
+
activesupport (= 5.0.7.2)
|
22
22
|
rack (~> 2.0)
|
23
23
|
rack-test (~> 0.6.3)
|
24
24
|
rails-dom-testing (~> 2.0)
|
25
25
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
26
|
-
actionview (5.0.7.
|
27
|
-
activesupport (= 5.0.7.
|
26
|
+
actionview (5.0.7.2)
|
27
|
+
activesupport (= 5.0.7.2)
|
28
28
|
builder (~> 3.1)
|
29
29
|
erubis (~> 2.7.0)
|
30
30
|
rails-dom-testing (~> 2.0)
|
31
31
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
32
|
-
activejob (5.0.7.
|
33
|
-
activesupport (= 5.0.7.
|
32
|
+
activejob (5.0.7.2)
|
33
|
+
activesupport (= 5.0.7.2)
|
34
34
|
globalid (>= 0.3.6)
|
35
|
-
activemodel (5.0.7.
|
36
|
-
activesupport (= 5.0.7.
|
37
|
-
activerecord (5.0.7.
|
38
|
-
activemodel (= 5.0.7.
|
39
|
-
activesupport (= 5.0.7.
|
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
40
|
arel (~> 7.0)
|
41
|
-
activesupport (5.0.7.
|
41
|
+
activesupport (5.0.7.2)
|
42
42
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
43
43
|
i18n (>= 0.7, < 2)
|
44
44
|
minitest (~> 5.1)
|
@@ -49,18 +49,18 @@ GEM
|
|
49
49
|
thor (>= 0.14.0)
|
50
50
|
arel (7.1.4)
|
51
51
|
ast (2.4.0)
|
52
|
-
builder (3.2.
|
52
|
+
builder (3.2.4)
|
53
53
|
byebug (10.0.2)
|
54
54
|
coderay (1.1.2)
|
55
|
-
concurrent-ruby (1.1.
|
56
|
-
crass (1.0.
|
55
|
+
concurrent-ruby (1.1.6)
|
56
|
+
crass (1.0.6)
|
57
57
|
erubis (2.7.0)
|
58
58
|
globalid (0.4.2)
|
59
59
|
activesupport (>= 4.2.0)
|
60
|
-
i18n (1.
|
60
|
+
i18n (1.8.2)
|
61
61
|
concurrent-ruby (~> 1.0)
|
62
|
-
jaro_winkler (1.5.
|
63
|
-
loofah (2.
|
62
|
+
jaro_winkler (1.5.4)
|
63
|
+
loofah (2.4.0)
|
64
64
|
crass (~> 1.0.2)
|
65
65
|
nokogiri (>= 1.5.9)
|
66
66
|
m (1.5.1)
|
@@ -68,20 +68,18 @@ GEM
|
|
68
68
|
rake (>= 0.9.2.2)
|
69
69
|
mail (2.7.1)
|
70
70
|
mini_mime (>= 0.1.1)
|
71
|
-
metaclass (0.0.4)
|
72
71
|
method_source (0.9.2)
|
73
|
-
mini_mime (1.0.
|
72
|
+
mini_mime (1.0.2)
|
74
73
|
mini_portile2 (2.4.0)
|
75
|
-
minitest (5.
|
76
|
-
mocha (1.
|
77
|
-
|
78
|
-
|
79
|
-
nokogiri (1.10.1)
|
74
|
+
minitest (5.14.0)
|
75
|
+
mocha (1.11.2)
|
76
|
+
nio4r (2.5.2)
|
77
|
+
nokogiri (1.10.9)
|
80
78
|
mini_portile2 (~> 2.4.0)
|
81
|
-
parallel (1.
|
82
|
-
parser (2.
|
79
|
+
parallel (1.19.1)
|
80
|
+
parser (2.7.1.0)
|
83
81
|
ast (~> 2.4.0)
|
84
|
-
power_assert (1.1.
|
82
|
+
power_assert (1.1.7)
|
85
83
|
powerpack (0.1.2)
|
86
84
|
pry (0.12.2)
|
87
85
|
coderay (~> 1.1.0)
|
@@ -89,34 +87,34 @@ GEM
|
|
89
87
|
pry-byebug (3.6.0)
|
90
88
|
byebug (~> 10.0)
|
91
89
|
pry (~> 0.10)
|
92
|
-
rack (2.
|
90
|
+
rack (2.2.2)
|
93
91
|
rack-test (0.6.3)
|
94
92
|
rack (>= 1.0)
|
95
|
-
rails (5.0.7.
|
96
|
-
actioncable (= 5.0.7.
|
97
|
-
actionmailer (= 5.0.7.
|
98
|
-
actionpack (= 5.0.7.
|
99
|
-
actionview (= 5.0.7.
|
100
|
-
activejob (= 5.0.7.
|
101
|
-
activemodel (= 5.0.7.
|
102
|
-
activerecord (= 5.0.7.
|
103
|
-
activesupport (= 5.0.7.
|
93
|
+
rails (5.0.7.2)
|
94
|
+
actioncable (= 5.0.7.2)
|
95
|
+
actionmailer (= 5.0.7.2)
|
96
|
+
actionpack (= 5.0.7.2)
|
97
|
+
actionview (= 5.0.7.2)
|
98
|
+
activejob (= 5.0.7.2)
|
99
|
+
activemodel (= 5.0.7.2)
|
100
|
+
activerecord (= 5.0.7.2)
|
101
|
+
activesupport (= 5.0.7.2)
|
104
102
|
bundler (>= 1.3.0)
|
105
|
-
railties (= 5.0.7.
|
103
|
+
railties (= 5.0.7.2)
|
106
104
|
sprockets-rails (>= 2.0.0)
|
107
105
|
rails-dom-testing (2.0.3)
|
108
106
|
activesupport (>= 4.2.0)
|
109
107
|
nokogiri (>= 1.6)
|
110
|
-
rails-html-sanitizer (1.0
|
111
|
-
loofah (~> 2.
|
112
|
-
railties (5.0.7.
|
113
|
-
actionpack (= 5.0.7.
|
114
|
-
activesupport (= 5.0.7.
|
108
|
+
rails-html-sanitizer (1.3.0)
|
109
|
+
loofah (~> 2.3)
|
110
|
+
railties (5.0.7.2)
|
111
|
+
actionpack (= 5.0.7.2)
|
112
|
+
activesupport (= 5.0.7.2)
|
115
113
|
method_source
|
116
114
|
rake (>= 0.8.7)
|
117
115
|
thor (>= 0.18.1, < 2.0)
|
118
116
|
rainbow (3.0.0)
|
119
|
-
rake (
|
117
|
+
rake (13.0.1)
|
120
118
|
rubocop (0.64.0)
|
121
119
|
jaro_winkler (~> 1.5.1)
|
122
120
|
parallel (~> 1.10)
|
@@ -125,7 +123,7 @@ GEM
|
|
125
123
|
rainbow (>= 2.2.2, < 4.0)
|
126
124
|
ruby-progressbar (~> 1.7)
|
127
125
|
unicode-display_width (~> 1.4.0)
|
128
|
-
ruby-progressbar (1.10.
|
126
|
+
ruby-progressbar (1.10.1)
|
129
127
|
snowglobe (0.3.0)
|
130
128
|
sprockets (3.7.2)
|
131
129
|
concurrent-ruby (~> 1.0)
|
@@ -135,16 +133,17 @@ GEM
|
|
135
133
|
activesupport (>= 4.0)
|
136
134
|
sprockets (>= 3.0.0)
|
137
135
|
sqlite3 (1.3.13)
|
138
|
-
test-unit (3.3.
|
136
|
+
test-unit (3.3.5)
|
139
137
|
power_assert
|
140
|
-
thor (0.
|
138
|
+
thor (1.0.1)
|
141
139
|
thread_safe (0.3.6)
|
142
|
-
tzinfo (1.2.
|
140
|
+
tzinfo (1.2.7)
|
143
141
|
thread_safe (~> 0.1)
|
144
142
|
unicode-display_width (1.4.1)
|
143
|
+
warnings_logger (0.1.0)
|
145
144
|
websocket-driver (0.6.5)
|
146
145
|
websocket-extensions (>= 0.1.0)
|
147
|
-
websocket-extensions (0.1.
|
146
|
+
websocket-extensions (0.1.4)
|
148
147
|
|
149
148
|
PLATFORMS
|
150
149
|
ruby
|
@@ -152,17 +151,21 @@ PLATFORMS
|
|
152
151
|
DEPENDENCIES
|
153
152
|
appraisal
|
154
153
|
bundler (~> 1.0)
|
154
|
+
byebug
|
155
155
|
m
|
156
156
|
minitest
|
157
157
|
mocha
|
158
|
-
pry
|
158
|
+
pry (~> 0.12.0)
|
159
|
+
pry-byebug (~> 3.6.0)
|
159
160
|
rails (~> 5.0.0)
|
160
161
|
rake
|
161
162
|
rubocop (= 0.64.0)
|
162
163
|
shoulda-context!
|
163
164
|
snowglobe (>= 0.3.0)
|
165
|
+
sprockets (~> 3.0)
|
164
166
|
sqlite3 (~> 1.3.6)
|
165
167
|
test-unit
|
168
|
+
warnings_logger
|
166
169
|
|
167
170
|
BUNDLED WITH
|
168
171
|
1.17.3
|
data/gemfiles/rails_5_1.gemfile
CHANGED
@@ -1,44 +1,44 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
shoulda-context (2.0.0.
|
4
|
+
shoulda-context (2.0.0.rc3)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actioncable (5.1.
|
10
|
-
actionpack (= 5.1.
|
9
|
+
actioncable (5.1.7)
|
10
|
+
actionpack (= 5.1.7)
|
11
11
|
nio4r (~> 2.0)
|
12
12
|
websocket-driver (~> 0.6.1)
|
13
|
-
actionmailer (5.1.
|
14
|
-
actionpack (= 5.1.
|
15
|
-
actionview (= 5.1.
|
16
|
-
activejob (= 5.1.
|
13
|
+
actionmailer (5.1.7)
|
14
|
+
actionpack (= 5.1.7)
|
15
|
+
actionview (= 5.1.7)
|
16
|
+
activejob (= 5.1.7)
|
17
17
|
mail (~> 2.5, >= 2.5.4)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
|
-
actionpack (5.1.
|
20
|
-
actionview (= 5.1.
|
21
|
-
activesupport (= 5.1.
|
19
|
+
actionpack (5.1.7)
|
20
|
+
actionview (= 5.1.7)
|
21
|
+
activesupport (= 5.1.7)
|
22
22
|
rack (~> 2.0)
|
23
23
|
rack-test (>= 0.6.3)
|
24
24
|
rails-dom-testing (~> 2.0)
|
25
25
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
26
|
-
actionview (5.1.
|
27
|
-
activesupport (= 5.1.
|
26
|
+
actionview (5.1.7)
|
27
|
+
activesupport (= 5.1.7)
|
28
28
|
builder (~> 3.1)
|
29
29
|
erubi (~> 1.4)
|
30
30
|
rails-dom-testing (~> 2.0)
|
31
31
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
32
|
-
activejob (5.1.
|
33
|
-
activesupport (= 5.1.
|
32
|
+
activejob (5.1.7)
|
33
|
+
activesupport (= 5.1.7)
|
34
34
|
globalid (>= 0.3.6)
|
35
|
-
activemodel (5.1.
|
36
|
-
activesupport (= 5.1.
|
37
|
-
activerecord (5.1.
|
38
|
-
activemodel (= 5.1.
|
39
|
-
activesupport (= 5.1.
|
35
|
+
activemodel (5.1.7)
|
36
|
+
activesupport (= 5.1.7)
|
37
|
+
activerecord (5.1.7)
|
38
|
+
activemodel (= 5.1.7)
|
39
|
+
activesupport (= 5.1.7)
|
40
40
|
arel (~> 8.0)
|
41
|
-
activesupport (5.1.
|
41
|
+
activesupport (5.1.7)
|
42
42
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
43
43
|
i18n (>= 0.7, < 2)
|
44
44
|
minitest (~> 5.1)
|
@@ -49,18 +49,18 @@ GEM
|
|
49
49
|
thor (>= 0.14.0)
|
50
50
|
arel (8.0.0)
|
51
51
|
ast (2.4.0)
|
52
|
-
builder (3.2.
|
52
|
+
builder (3.2.4)
|
53
53
|
byebug (10.0.2)
|
54
54
|
coderay (1.1.2)
|
55
|
-
concurrent-ruby (1.1.
|
56
|
-
crass (1.0.
|
57
|
-
erubi (1.
|
55
|
+
concurrent-ruby (1.1.6)
|
56
|
+
crass (1.0.6)
|
57
|
+
erubi (1.9.0)
|
58
58
|
globalid (0.4.2)
|
59
59
|
activesupport (>= 4.2.0)
|
60
|
-
i18n (1.
|
60
|
+
i18n (1.8.2)
|
61
61
|
concurrent-ruby (~> 1.0)
|
62
|
-
jaro_winkler (1.5.
|
63
|
-
loofah (2.
|
62
|
+
jaro_winkler (1.5.4)
|
63
|
+
loofah (2.4.0)
|
64
64
|
crass (~> 1.0.2)
|
65
65
|
nokogiri (>= 1.5.9)
|
66
66
|
m (1.5.1)
|
@@ -68,20 +68,18 @@ GEM
|
|
68
68
|
rake (>= 0.9.2.2)
|
69
69
|
mail (2.7.1)
|
70
70
|
mini_mime (>= 0.1.1)
|
71
|
-
metaclass (0.0.4)
|
72
71
|
method_source (0.9.2)
|
73
|
-
mini_mime (1.0.
|
72
|
+
mini_mime (1.0.2)
|
74
73
|
mini_portile2 (2.4.0)
|
75
|
-
minitest (5.
|
76
|
-
mocha (1.
|
77
|
-
|
78
|
-
|
79
|
-
nokogiri (1.10.1)
|
74
|
+
minitest (5.14.0)
|
75
|
+
mocha (1.11.2)
|
76
|
+
nio4r (2.5.2)
|
77
|
+
nokogiri (1.10.9)
|
80
78
|
mini_portile2 (~> 2.4.0)
|
81
|
-
parallel (1.
|
82
|
-
parser (2.
|
79
|
+
parallel (1.19.1)
|
80
|
+
parser (2.7.1.0)
|
83
81
|
ast (~> 2.4.0)
|
84
|
-
power_assert (1.1.
|
82
|
+
power_assert (1.1.7)
|
85
83
|
powerpack (0.1.2)
|
86
84
|
pry (0.12.2)
|
87
85
|
coderay (~> 1.1.0)
|
@@ -89,34 +87,34 @@ GEM
|
|
89
87
|
pry-byebug (3.6.0)
|
90
88
|
byebug (~> 10.0)
|
91
89
|
pry (~> 0.10)
|
92
|
-
rack (2.
|
90
|
+
rack (2.2.2)
|
93
91
|
rack-test (1.1.0)
|
94
92
|
rack (>= 1.0, < 3)
|
95
|
-
rails (5.1.
|
96
|
-
actioncable (= 5.1.
|
97
|
-
actionmailer (= 5.1.
|
98
|
-
actionpack (= 5.1.
|
99
|
-
actionview (= 5.1.
|
100
|
-
activejob (= 5.1.
|
101
|
-
activemodel (= 5.1.
|
102
|
-
activerecord (= 5.1.
|
103
|
-
activesupport (= 5.1.
|
93
|
+
rails (5.1.7)
|
94
|
+
actioncable (= 5.1.7)
|
95
|
+
actionmailer (= 5.1.7)
|
96
|
+
actionpack (= 5.1.7)
|
97
|
+
actionview (= 5.1.7)
|
98
|
+
activejob (= 5.1.7)
|
99
|
+
activemodel (= 5.1.7)
|
100
|
+
activerecord (= 5.1.7)
|
101
|
+
activesupport (= 5.1.7)
|
104
102
|
bundler (>= 1.3.0)
|
105
|
-
railties (= 5.1.
|
103
|
+
railties (= 5.1.7)
|
106
104
|
sprockets-rails (>= 2.0.0)
|
107
105
|
rails-dom-testing (2.0.3)
|
108
106
|
activesupport (>= 4.2.0)
|
109
107
|
nokogiri (>= 1.6)
|
110
|
-
rails-html-sanitizer (1.0
|
111
|
-
loofah (~> 2.
|
112
|
-
railties (5.1.
|
113
|
-
actionpack (= 5.1.
|
114
|
-
activesupport (= 5.1.
|
108
|
+
rails-html-sanitizer (1.3.0)
|
109
|
+
loofah (~> 2.3)
|
110
|
+
railties (5.1.7)
|
111
|
+
actionpack (= 5.1.7)
|
112
|
+
activesupport (= 5.1.7)
|
115
113
|
method_source
|
116
114
|
rake (>= 0.8.7)
|
117
115
|
thor (>= 0.18.1, < 2.0)
|
118
116
|
rainbow (3.0.0)
|
119
|
-
rake (
|
117
|
+
rake (13.0.1)
|
120
118
|
rubocop (0.64.0)
|
121
119
|
jaro_winkler (~> 1.5.1)
|
122
120
|
parallel (~> 1.10)
|
@@ -125,7 +123,7 @@ GEM
|
|
125
123
|
rainbow (>= 2.2.2, < 4.0)
|
126
124
|
ruby-progressbar (~> 1.7)
|
127
125
|
unicode-display_width (~> 1.4.0)
|
128
|
-
ruby-progressbar (1.10.
|
126
|
+
ruby-progressbar (1.10.1)
|
129
127
|
snowglobe (0.3.0)
|
130
128
|
sprockets (3.7.2)
|
131
129
|
concurrent-ruby (~> 1.0)
|
@@ -135,16 +133,17 @@ GEM
|
|
135
133
|
activesupport (>= 4.0)
|
136
134
|
sprockets (>= 3.0.0)
|
137
135
|
sqlite3 (1.3.13)
|
138
|
-
test-unit (3.3.
|
136
|
+
test-unit (3.3.5)
|
139
137
|
power_assert
|
140
|
-
thor (0.
|
138
|
+
thor (1.0.1)
|
141
139
|
thread_safe (0.3.6)
|
142
|
-
tzinfo (1.2.
|
140
|
+
tzinfo (1.2.7)
|
143
141
|
thread_safe (~> 0.1)
|
144
142
|
unicode-display_width (1.4.1)
|
143
|
+
warnings_logger (0.1.0)
|
145
144
|
websocket-driver (0.6.5)
|
146
145
|
websocket-extensions (>= 0.1.0)
|
147
|
-
websocket-extensions (0.1.
|
146
|
+
websocket-extensions (0.1.4)
|
148
147
|
|
149
148
|
PLATFORMS
|
150
149
|
ruby
|
@@ -152,17 +151,21 @@ PLATFORMS
|
|
152
151
|
DEPENDENCIES
|
153
152
|
appraisal
|
154
153
|
bundler (~> 1.0)
|
154
|
+
byebug
|
155
155
|
m
|
156
156
|
minitest
|
157
157
|
mocha
|
158
|
-
pry
|
158
|
+
pry (~> 0.12.0)
|
159
|
+
pry-byebug (~> 3.6.0)
|
159
160
|
rails (~> 5.1.0)
|
160
161
|
rake
|
161
162
|
rubocop (= 0.64.0)
|
162
163
|
shoulda-context!
|
163
164
|
snowglobe (>= 0.3.0)
|
165
|
+
sprockets (~> 3.0)
|
164
166
|
sqlite3 (~> 1.3.6)
|
165
167
|
test-unit
|
168
|
+
warnings_logger
|
166
169
|
|
167
170
|
BUNDLED WITH
|
168
171
|
1.17.3
|