shoulda-context 1.1.6 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +32 -9
- data/gemfiles/minitest_4_x.gemfile +7 -0
- data/gemfiles/minitest_4_x.gemfile.lock +96 -0
- data/gemfiles/minitest_5_x.gemfile +7 -0
- data/gemfiles/minitest_5_x.gemfile.lock +102 -0
- data/gemfiles/rails_3_0.gemfile +8 -0
- data/gemfiles/{3.0.gemfile.lock → rails_3_0.gemfile.lock} +36 -34
- data/gemfiles/{3.2.gemfile → rails_3_1.gemfile} +2 -1
- data/gemfiles/{3.1.gemfile.lock → rails_3_1.gemfile.lock} +43 -41
- data/gemfiles/{3.1.gemfile → rails_3_2.gemfile} +2 -1
- data/gemfiles/{3.2.gemfile.lock → rails_3_2.gemfile.lock} +46 -45
- data/gemfiles/{4.0.gemfile → rails_4_0.gemfile} +3 -2
- data/gemfiles/rails_4_0.gemfile.lock +107 -0
- data/gemfiles/rails_4_1.gemfile +10 -0
- data/gemfiles/rails_4_1.gemfile.lock +119 -0
- data/gemfiles/{3.0.gemfile → test_unit.gemfile} +1 -1
- data/gemfiles/test_unit.gemfile.lock +95 -0
- data/lib/shoulda/context.rb +4 -17
- data/lib/shoulda/context/context.rb +9 -2
- data/lib/shoulda/context/test_framework_detection.rb +34 -0
- data/lib/shoulda/context/version.rb +1 -1
- data/test/shoulda/test_framework_detection_test.rb +154 -0
- data/test/test_helper.rb +9 -4
- metadata +21 -10
- data/gemfiles/4.0.gemfile.lock +0 -107
@@ -1,59 +1,58 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ../
|
3
3
|
specs:
|
4
|
-
shoulda-context (1.1.
|
4
|
+
shoulda-context (1.1.6)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: http://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actionmailer (3.2.
|
10
|
-
actionpack (= 3.2.
|
11
|
-
mail (~> 2.
|
12
|
-
actionpack (3.2.
|
13
|
-
activemodel (= 3.2.
|
14
|
-
activesupport (= 3.2.
|
9
|
+
actionmailer (3.2.13)
|
10
|
+
actionpack (= 3.2.13)
|
11
|
+
mail (~> 2.5.3)
|
12
|
+
actionpack (3.2.13)
|
13
|
+
activemodel (= 3.2.13)
|
14
|
+
activesupport (= 3.2.13)
|
15
15
|
builder (~> 3.0.0)
|
16
16
|
erubis (~> 2.7.0)
|
17
17
|
journey (~> 1.0.4)
|
18
|
-
rack (~> 1.4.
|
18
|
+
rack (~> 1.4.5)
|
19
19
|
rack-cache (~> 1.2)
|
20
20
|
rack-test (~> 0.6.1)
|
21
21
|
sprockets (~> 2.2.1)
|
22
|
-
activemodel (3.2.
|
23
|
-
activesupport (= 3.2.
|
22
|
+
activemodel (3.2.13)
|
23
|
+
activesupport (= 3.2.13)
|
24
24
|
builder (~> 3.0.0)
|
25
|
-
activerecord (3.2.
|
26
|
-
activemodel (= 3.2.
|
27
|
-
activesupport (= 3.2.
|
25
|
+
activerecord (3.2.13)
|
26
|
+
activemodel (= 3.2.13)
|
27
|
+
activesupport (= 3.2.13)
|
28
28
|
arel (~> 3.0.2)
|
29
29
|
tzinfo (~> 0.3.29)
|
30
|
-
activeresource (3.2.
|
31
|
-
activemodel (= 3.2.
|
32
|
-
activesupport (= 3.2.
|
33
|
-
activesupport (3.2.
|
34
|
-
i18n (
|
30
|
+
activeresource (3.2.13)
|
31
|
+
activemodel (= 3.2.13)
|
32
|
+
activesupport (= 3.2.13)
|
33
|
+
activesupport (3.2.13)
|
34
|
+
i18n (= 0.6.1)
|
35
35
|
multi_json (~> 1.0)
|
36
36
|
appraisal (0.5.2)
|
37
37
|
bundler
|
38
38
|
rake
|
39
|
-
arel (3.0.
|
39
|
+
arel (3.0.3)
|
40
40
|
builder (3.0.4)
|
41
41
|
erubis (2.7.0)
|
42
|
-
hike (1.2.
|
43
|
-
i18n (0.6.
|
42
|
+
hike (1.2.3)
|
43
|
+
i18n (0.6.1)
|
44
44
|
journey (1.0.4)
|
45
|
-
jquery-rails (
|
45
|
+
jquery-rails (3.1.0)
|
46
46
|
railties (>= 3.0, < 5.0)
|
47
47
|
thor (>= 0.14, < 2.0)
|
48
|
-
json (1.8.
|
49
|
-
mail (2.
|
50
|
-
i18n (>= 0.4.0)
|
48
|
+
json (1.8.1)
|
49
|
+
mail (2.5.4)
|
51
50
|
mime-types (~> 1.16)
|
52
51
|
treetop (~> 1.4.8)
|
53
|
-
mime-types (1.
|
52
|
+
mime-types (1.25.1)
|
54
53
|
mocha (0.9.12)
|
55
|
-
multi_json (1.
|
56
|
-
polyglot (0.3.
|
54
|
+
multi_json (1.9.2)
|
55
|
+
polyglot (0.3.4)
|
57
56
|
rack (1.4.5)
|
58
57
|
rack-cache (1.2)
|
59
58
|
rack (>= 0.4)
|
@@ -61,25 +60,25 @@ GEM
|
|
61
60
|
rack
|
62
61
|
rack-test (0.6.2)
|
63
62
|
rack (>= 1.0)
|
64
|
-
rails (3.2.
|
65
|
-
actionmailer (= 3.2.
|
66
|
-
actionpack (= 3.2.
|
67
|
-
activerecord (= 3.2.
|
68
|
-
activeresource (= 3.2.
|
69
|
-
activesupport (= 3.2.
|
63
|
+
rails (3.2.13)
|
64
|
+
actionmailer (= 3.2.13)
|
65
|
+
actionpack (= 3.2.13)
|
66
|
+
activerecord (= 3.2.13)
|
67
|
+
activeresource (= 3.2.13)
|
68
|
+
activesupport (= 3.2.13)
|
70
69
|
bundler (~> 1.0)
|
71
|
-
railties (= 3.2.
|
72
|
-
railties (3.2.
|
73
|
-
actionpack (= 3.2.
|
74
|
-
activesupport (= 3.2.
|
70
|
+
railties (= 3.2.13)
|
71
|
+
railties (3.2.13)
|
72
|
+
actionpack (= 3.2.13)
|
73
|
+
activesupport (= 3.2.13)
|
75
74
|
rack-ssl (~> 1.3.2)
|
76
75
|
rake (>= 0.8.7)
|
77
76
|
rdoc (~> 3.4)
|
78
77
|
thor (>= 0.14.6, < 2.0)
|
79
|
-
rake (10.
|
78
|
+
rake (10.2.1)
|
80
79
|
rdoc (3.12.2)
|
81
80
|
json (~> 1.4)
|
82
|
-
sass (3.
|
81
|
+
sass (3.3.4)
|
83
82
|
sass-rails (3.2.6)
|
84
83
|
railties (~> 3.2.0)
|
85
84
|
sass (>= 3.1.10)
|
@@ -89,13 +88,14 @@ GEM
|
|
89
88
|
multi_json (~> 1.0)
|
90
89
|
rack (~> 1.0)
|
91
90
|
tilt (~> 1.1, != 1.3.0)
|
91
|
+
sqlite3 (1.3.9)
|
92
92
|
test-unit (2.1.2)
|
93
|
-
thor (0.
|
93
|
+
thor (0.19.1)
|
94
94
|
tilt (1.4.1)
|
95
|
-
treetop (1.4.
|
95
|
+
treetop (1.4.15)
|
96
96
|
polyglot
|
97
97
|
polyglot (>= 0.3.1)
|
98
|
-
tzinfo (0.3.
|
98
|
+
tzinfo (0.3.38)
|
99
99
|
|
100
100
|
PLATFORMS
|
101
101
|
ruby
|
@@ -104,8 +104,9 @@ DEPENDENCIES
|
|
104
104
|
appraisal (~> 0.5)
|
105
105
|
jquery-rails
|
106
106
|
mocha (~> 0.9.10)
|
107
|
-
rails (
|
107
|
+
rails (~> 3.2.0)
|
108
108
|
rake
|
109
109
|
sass-rails
|
110
110
|
shoulda-context!
|
111
|
+
sqlite3
|
111
112
|
test-unit (~> 2.1.0)
|
@@ -0,0 +1,107 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
shoulda-context (1.1.6)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
actionmailer (4.0.3)
|
10
|
+
actionpack (= 4.0.3)
|
11
|
+
mail (~> 2.5.4)
|
12
|
+
actionpack (4.0.3)
|
13
|
+
activesupport (= 4.0.3)
|
14
|
+
builder (~> 3.1.0)
|
15
|
+
erubis (~> 2.7.0)
|
16
|
+
rack (~> 1.5.2)
|
17
|
+
rack-test (~> 0.6.2)
|
18
|
+
activemodel (4.0.3)
|
19
|
+
activesupport (= 4.0.3)
|
20
|
+
builder (~> 3.1.0)
|
21
|
+
activerecord (4.0.3)
|
22
|
+
activemodel (= 4.0.3)
|
23
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
24
|
+
activesupport (= 4.0.3)
|
25
|
+
arel (~> 4.0.0)
|
26
|
+
activerecord-deprecated_finders (1.0.3)
|
27
|
+
activesupport (4.0.3)
|
28
|
+
i18n (~> 0.6, >= 0.6.4)
|
29
|
+
minitest (~> 4.2)
|
30
|
+
multi_json (~> 1.3)
|
31
|
+
thread_safe (~> 0.1)
|
32
|
+
tzinfo (~> 0.3.37)
|
33
|
+
appraisal (0.5.2)
|
34
|
+
bundler
|
35
|
+
rake
|
36
|
+
arel (4.0.2)
|
37
|
+
atomic (1.1.16)
|
38
|
+
builder (3.1.4)
|
39
|
+
erubis (2.7.0)
|
40
|
+
hike (1.2.3)
|
41
|
+
i18n (0.6.9)
|
42
|
+
jquery-rails (3.1.0)
|
43
|
+
railties (>= 3.0, < 5.0)
|
44
|
+
thor (>= 0.14, < 2.0)
|
45
|
+
mail (2.5.4)
|
46
|
+
mime-types (~> 1.16)
|
47
|
+
treetop (~> 1.4.8)
|
48
|
+
mime-types (1.25.1)
|
49
|
+
minitest (4.7.5)
|
50
|
+
mocha (0.9.12)
|
51
|
+
multi_json (1.9.2)
|
52
|
+
polyglot (0.3.4)
|
53
|
+
rack (1.5.2)
|
54
|
+
rack-test (0.6.2)
|
55
|
+
rack (>= 1.0)
|
56
|
+
rails (4.0.3)
|
57
|
+
actionmailer (= 4.0.3)
|
58
|
+
actionpack (= 4.0.3)
|
59
|
+
activerecord (= 4.0.3)
|
60
|
+
activesupport (= 4.0.3)
|
61
|
+
bundler (>= 1.3.0, < 2.0)
|
62
|
+
railties (= 4.0.3)
|
63
|
+
sprockets-rails (~> 2.0.0)
|
64
|
+
railties (4.0.3)
|
65
|
+
actionpack (= 4.0.3)
|
66
|
+
activesupport (= 4.0.3)
|
67
|
+
rake (>= 0.8.7)
|
68
|
+
thor (>= 0.18.1, < 2.0)
|
69
|
+
rake (10.2.1)
|
70
|
+
sass (3.3.4)
|
71
|
+
sass-rails (4.0.1)
|
72
|
+
railties (>= 4.0.0, < 5.0)
|
73
|
+
sass (>= 3.1.10)
|
74
|
+
sprockets-rails (~> 2.0.0)
|
75
|
+
sprockets (2.12.0)
|
76
|
+
hike (~> 1.2)
|
77
|
+
multi_json (~> 1.0)
|
78
|
+
rack (~> 1.0)
|
79
|
+
tilt (~> 1.1, != 1.3.0)
|
80
|
+
sprockets-rails (2.0.1)
|
81
|
+
actionpack (>= 3.0)
|
82
|
+
activesupport (>= 3.0)
|
83
|
+
sprockets (~> 2.8)
|
84
|
+
sqlite3 (1.3.9)
|
85
|
+
test-unit (2.1.2)
|
86
|
+
thor (0.19.1)
|
87
|
+
thread_safe (0.3.1)
|
88
|
+
atomic (>= 1.1.7, < 2)
|
89
|
+
tilt (1.4.1)
|
90
|
+
treetop (1.4.15)
|
91
|
+
polyglot
|
92
|
+
polyglot (>= 0.3.1)
|
93
|
+
tzinfo (0.3.38)
|
94
|
+
|
95
|
+
PLATFORMS
|
96
|
+
ruby
|
97
|
+
|
98
|
+
DEPENDENCIES
|
99
|
+
appraisal (~> 0.5)
|
100
|
+
jquery-rails
|
101
|
+
mocha (~> 0.9.10)
|
102
|
+
rails (~> 4.0.0)
|
103
|
+
rake
|
104
|
+
sass-rails
|
105
|
+
shoulda-context!
|
106
|
+
sqlite3
|
107
|
+
test-unit (~> 2.1.0)
|
@@ -0,0 +1,119 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rails/rails.git
|
3
|
+
revision: 5ac4d6e8dd6f11b3291ce85d455ab5aff0abdbfe
|
4
|
+
branch: 4-1-stable
|
5
|
+
specs:
|
6
|
+
actionmailer (4.1.0.rc1)
|
7
|
+
actionpack (= 4.1.0.rc1)
|
8
|
+
actionview (= 4.1.0.rc1)
|
9
|
+
mail (~> 2.5.4)
|
10
|
+
actionpack (4.1.0.rc1)
|
11
|
+
actionview (= 4.1.0.rc1)
|
12
|
+
activesupport (= 4.1.0.rc1)
|
13
|
+
rack (~> 1.5.2)
|
14
|
+
rack-test (~> 0.6.2)
|
15
|
+
actionview (4.1.0.rc1)
|
16
|
+
activesupport (= 4.1.0.rc1)
|
17
|
+
builder (~> 3.1)
|
18
|
+
erubis (~> 2.7.0)
|
19
|
+
activemodel (4.1.0.rc1)
|
20
|
+
activesupport (= 4.1.0.rc1)
|
21
|
+
builder (~> 3.1)
|
22
|
+
activerecord (4.1.0.rc1)
|
23
|
+
activemodel (= 4.1.0.rc1)
|
24
|
+
activesupport (= 4.1.0.rc1)
|
25
|
+
arel (~> 5.0.0)
|
26
|
+
activesupport (4.1.0.rc1)
|
27
|
+
i18n (~> 0.6, >= 0.6.9)
|
28
|
+
json (~> 1.7, >= 1.7.7)
|
29
|
+
minitest (~> 5.1)
|
30
|
+
thread_safe (~> 0.1)
|
31
|
+
tzinfo (~> 1.1)
|
32
|
+
rails (4.1.0.rc1)
|
33
|
+
actionmailer (= 4.1.0.rc1)
|
34
|
+
actionpack (= 4.1.0.rc1)
|
35
|
+
actionview (= 4.1.0.rc1)
|
36
|
+
activemodel (= 4.1.0.rc1)
|
37
|
+
activerecord (= 4.1.0.rc1)
|
38
|
+
activesupport (= 4.1.0.rc1)
|
39
|
+
bundler (>= 1.3.0, < 2.0)
|
40
|
+
railties (= 4.1.0.rc1)
|
41
|
+
sprockets-rails (~> 2.0.0)
|
42
|
+
railties (4.1.0.rc1)
|
43
|
+
actionpack (= 4.1.0.rc1)
|
44
|
+
activesupport (= 4.1.0.rc1)
|
45
|
+
rake (>= 0.8.7)
|
46
|
+
thor (>= 0.18.1, < 2.0)
|
47
|
+
|
48
|
+
PATH
|
49
|
+
remote: ../
|
50
|
+
specs:
|
51
|
+
shoulda-context (1.1.6)
|
52
|
+
|
53
|
+
GEM
|
54
|
+
remote: http://rubygems.org/
|
55
|
+
specs:
|
56
|
+
appraisal (0.5.2)
|
57
|
+
bundler
|
58
|
+
rake
|
59
|
+
arel (5.0.0)
|
60
|
+
atomic (1.1.16)
|
61
|
+
builder (3.2.2)
|
62
|
+
erubis (2.7.0)
|
63
|
+
hike (1.2.3)
|
64
|
+
i18n (0.6.9)
|
65
|
+
jquery-rails (3.1.0)
|
66
|
+
railties (>= 3.0, < 5.0)
|
67
|
+
thor (>= 0.14, < 2.0)
|
68
|
+
json (1.8.1)
|
69
|
+
mail (2.5.4)
|
70
|
+
mime-types (~> 1.16)
|
71
|
+
treetop (~> 1.4.8)
|
72
|
+
mime-types (1.25.1)
|
73
|
+
minitest (5.3.1)
|
74
|
+
mocha (0.9.12)
|
75
|
+
multi_json (1.9.2)
|
76
|
+
polyglot (0.3.4)
|
77
|
+
rack (1.5.2)
|
78
|
+
rack-test (0.6.2)
|
79
|
+
rack (>= 1.0)
|
80
|
+
rake (10.2.1)
|
81
|
+
sass (3.3.4)
|
82
|
+
sass-rails (4.0.1)
|
83
|
+
railties (>= 4.0.0, < 5.0)
|
84
|
+
sass (>= 3.1.10)
|
85
|
+
sprockets-rails (~> 2.0.0)
|
86
|
+
sprockets (2.12.0)
|
87
|
+
hike (~> 1.2)
|
88
|
+
multi_json (~> 1.0)
|
89
|
+
rack (~> 1.0)
|
90
|
+
tilt (~> 1.1, != 1.3.0)
|
91
|
+
sprockets-rails (2.0.1)
|
92
|
+
actionpack (>= 3.0)
|
93
|
+
activesupport (>= 3.0)
|
94
|
+
sprockets (~> 2.8)
|
95
|
+
sqlite3 (1.3.9)
|
96
|
+
test-unit (2.1.2)
|
97
|
+
thor (0.19.1)
|
98
|
+
thread_safe (0.3.1)
|
99
|
+
atomic (>= 1.1.7, < 2)
|
100
|
+
tilt (1.4.1)
|
101
|
+
treetop (1.4.15)
|
102
|
+
polyglot
|
103
|
+
polyglot (>= 0.3.1)
|
104
|
+
tzinfo (1.1.0)
|
105
|
+
thread_safe (~> 0.1)
|
106
|
+
|
107
|
+
PLATFORMS
|
108
|
+
ruby
|
109
|
+
|
110
|
+
DEPENDENCIES
|
111
|
+
appraisal (~> 0.5)
|
112
|
+
jquery-rails
|
113
|
+
mocha (~> 0.9.10)
|
114
|
+
rails!
|
115
|
+
rake
|
116
|
+
sass-rails
|
117
|
+
shoulda-context!
|
118
|
+
sqlite3
|
119
|
+
test-unit (~> 2.1.0)
|
@@ -0,0 +1,95 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
shoulda-context (1.1.6)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
actionmailer (4.0.3)
|
10
|
+
actionpack (= 4.0.3)
|
11
|
+
mail (~> 2.5.4)
|
12
|
+
actionpack (4.0.3)
|
13
|
+
activesupport (= 4.0.3)
|
14
|
+
builder (~> 3.1.0)
|
15
|
+
erubis (~> 2.7.0)
|
16
|
+
rack (~> 1.5.2)
|
17
|
+
rack-test (~> 0.6.2)
|
18
|
+
activemodel (4.0.3)
|
19
|
+
activesupport (= 4.0.3)
|
20
|
+
builder (~> 3.1.0)
|
21
|
+
activerecord (4.0.3)
|
22
|
+
activemodel (= 4.0.3)
|
23
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
24
|
+
activesupport (= 4.0.3)
|
25
|
+
arel (~> 4.0.0)
|
26
|
+
activerecord-deprecated_finders (1.0.3)
|
27
|
+
activesupport (4.0.3)
|
28
|
+
i18n (~> 0.6, >= 0.6.4)
|
29
|
+
minitest (~> 4.2)
|
30
|
+
multi_json (~> 1.3)
|
31
|
+
thread_safe (~> 0.1)
|
32
|
+
tzinfo (~> 0.3.37)
|
33
|
+
appraisal (0.5.2)
|
34
|
+
bundler
|
35
|
+
rake
|
36
|
+
arel (4.0.2)
|
37
|
+
atomic (1.1.16)
|
38
|
+
builder (3.1.4)
|
39
|
+
erubis (2.7.0)
|
40
|
+
hike (1.2.3)
|
41
|
+
i18n (0.6.9)
|
42
|
+
mail (2.5.4)
|
43
|
+
mime-types (~> 1.16)
|
44
|
+
treetop (~> 1.4.8)
|
45
|
+
mime-types (1.25.1)
|
46
|
+
minitest (4.7.5)
|
47
|
+
mocha (0.9.12)
|
48
|
+
multi_json (1.9.2)
|
49
|
+
polyglot (0.3.4)
|
50
|
+
rack (1.5.2)
|
51
|
+
rack-test (0.6.2)
|
52
|
+
rack (>= 1.0)
|
53
|
+
rails (4.0.3)
|
54
|
+
actionmailer (= 4.0.3)
|
55
|
+
actionpack (= 4.0.3)
|
56
|
+
activerecord (= 4.0.3)
|
57
|
+
activesupport (= 4.0.3)
|
58
|
+
bundler (>= 1.3.0, < 2.0)
|
59
|
+
railties (= 4.0.3)
|
60
|
+
sprockets-rails (~> 2.0.0)
|
61
|
+
railties (4.0.3)
|
62
|
+
actionpack (= 4.0.3)
|
63
|
+
activesupport (= 4.0.3)
|
64
|
+
rake (>= 0.8.7)
|
65
|
+
thor (>= 0.18.1, < 2.0)
|
66
|
+
rake (10.2.1)
|
67
|
+
sprockets (2.12.0)
|
68
|
+
hike (~> 1.2)
|
69
|
+
multi_json (~> 1.0)
|
70
|
+
rack (~> 1.0)
|
71
|
+
tilt (~> 1.1, != 1.3.0)
|
72
|
+
sprockets-rails (2.0.1)
|
73
|
+
actionpack (>= 3.0)
|
74
|
+
activesupport (>= 3.0)
|
75
|
+
sprockets (~> 2.8)
|
76
|
+
test-unit (2.5.5)
|
77
|
+
thor (0.19.1)
|
78
|
+
thread_safe (0.3.1)
|
79
|
+
atomic (>= 1.1.7, < 2)
|
80
|
+
tilt (1.4.1)
|
81
|
+
treetop (1.4.15)
|
82
|
+
polyglot
|
83
|
+
polyglot (>= 0.3.1)
|
84
|
+
tzinfo (0.3.38)
|
85
|
+
|
86
|
+
PLATFORMS
|
87
|
+
ruby
|
88
|
+
|
89
|
+
DEPENDENCIES
|
90
|
+
appraisal (~> 0.5)
|
91
|
+
mocha (~> 0.9.10)
|
92
|
+
rails (>= 3.0)
|
93
|
+
rake
|
94
|
+
shoulda-context!
|
95
|
+
test-unit
|