shoulda-context 1.1.1 → 1.1.2

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.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OWFjNDc2MDE5Njc1ZWQwNDhhZDFlMTk5MjNlMTIxYmFmMWQ0YjNiZg==
5
+ data.tar.gz: !binary |-
6
+ NWM1ZGJkMTM2NzJlOTAxMzgwZmIwMzBkMDFhNTM2MzkyZWJiYzI3ZA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NTlmNjFmNTE3M2RmMTM5NjZmYWFkMDhkYmUwNTRlZDA3YjQyODE3ZTM5OTk5
10
+ YTg4ZjIxMDJmNmVlZDRiMWFiZmMyMDM4NDRkYTk4ODFiNjM0ZTZjZDhhYTk1
11
+ NzNlMDkwNWI0YTdjOTE2OWMwMjQ3MGM0NjY2NDFlYzVjNDQ2MzQ=
12
+ data.tar.gz: !binary |-
13
+ MjM1MDRhZDkyMmQ4YjQ5NGM1NjcyZGQ4YTkxOWExZTZkYWNlYWJkMGRjMzVl
14
+ YzViMzg1YTA5ZWEyZWY1OGYwZjdkMDQ5NGUxODI3NDFiNzA1MzllMjM2NTcx
15
+ MjkyNWFiZjE2NzJiN2JlNDk0OWNjNzM4MTQzMGNlYjk1ZDFjYWM=
data/.travis.yml CHANGED
@@ -1,4 +1,3 @@
1
1
  rvm:
2
- - 1.8.7
3
2
  - 1.9.3
4
3
  - 2.0.0
data/Appraisals CHANGED
@@ -13,3 +13,9 @@ appraise '3.2' do
13
13
  gem 'jquery-rails'
14
14
  gem 'sass-rails'
15
15
  end
16
+
17
+ appraise '4.0' do
18
+ gem 'rails', '4.0.0.rc1'
19
+ gem 'jquery-rails'
20
+ gem 'sass-rails', '4.0.0.rc1'
21
+ end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/rmcgeary/work/oss/shoulda-context
3
3
  specs:
4
- shoulda-context (1.0.2)
4
+ shoulda-context (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -33,7 +33,7 @@ GEM
33
33
  activemodel (= 3.0.17)
34
34
  activesupport (= 3.0.17)
35
35
  activesupport (3.0.17)
36
- appraisal (0.5.1)
36
+ appraisal (0.5.2)
37
37
  bundler
38
38
  rake
39
39
  arel (2.0.10)
@@ -41,13 +41,13 @@ GEM
41
41
  erubis (2.6.6)
42
42
  abstract (>= 1.0.0)
43
43
  i18n (0.5.0)
44
- json (1.7.7)
45
- mail (2.2.19)
44
+ json (1.8.0)
45
+ mail (2.2.20)
46
46
  activesupport (>= 2.3.6)
47
47
  i18n (>= 0.4.0)
48
48
  mime-types (~> 1.16)
49
49
  treetop (~> 1.4.8)
50
- mime-types (1.21)
50
+ mime-types (1.23)
51
51
  mocha (0.9.12)
52
52
  polyglot (0.3.3)
53
53
  rack (1.2.8)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/rmcgeary/work/oss/shoulda-context
3
3
  specs:
4
- shoulda-context (1.0.2)
4
+ shoulda-context (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -34,23 +34,23 @@ GEM
34
34
  activesupport (= 3.1.8)
35
35
  activesupport (3.1.8)
36
36
  multi_json (>= 1.0, < 1.3)
37
- appraisal (0.5.1)
37
+ appraisal (0.5.2)
38
38
  bundler
39
39
  rake
40
40
  arel (2.2.3)
41
41
  builder (3.0.4)
42
42
  erubis (2.7.0)
43
- hike (1.2.1)
43
+ hike (1.2.2)
44
44
  i18n (0.6.4)
45
45
  jquery-rails (2.2.1)
46
46
  railties (>= 3.0, < 5.0)
47
47
  thor (>= 0.14, < 2.0)
48
- json (1.7.7)
48
+ json (1.8.0)
49
49
  mail (2.3.3)
50
50
  i18n (>= 0.4.0)
51
51
  mime-types (~> 1.16)
52
52
  treetop (~> 1.4.8)
53
- mime-types (1.21)
53
+ mime-types (1.23)
54
54
  mocha (0.9.12)
55
55
  multi_json (1.2.0)
56
56
  polyglot (0.3.3)
@@ -81,19 +81,18 @@ GEM
81
81
  rake (10.0.4)
82
82
  rdoc (3.12.2)
83
83
  json (~> 1.4)
84
- sass (3.2.7)
85
- sass-rails (3.1.7)
84
+ sass (3.2.9)
85
+ sass-rails (3.1.0)
86
86
  actionpack (~> 3.1.0)
87
87
  railties (~> 3.1.0)
88
- sass (>= 3.1.10)
89
- tilt (~> 1.3.2)
88
+ sass (>= 3.1.4)
90
89
  sprockets (2.0.4)
91
90
  hike (~> 1.2)
92
91
  rack (~> 1.0)
93
92
  tilt (~> 1.1, != 1.3.0)
94
93
  test-unit (2.1.2)
95
94
  thor (0.14.6)
96
- tilt (1.3.6)
95
+ tilt (1.4.1)
97
96
  treetop (1.4.12)
98
97
  polyglot
99
98
  polyglot (>= 0.3.1)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/rmcgeary/work/oss/shoulda-context
3
3
  specs:
4
- shoulda-context (1.0.2)
4
+ shoulda-context (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -33,26 +33,26 @@ GEM
33
33
  activesupport (3.2.9)
34
34
  i18n (~> 0.6)
35
35
  multi_json (~> 1.0)
36
- appraisal (0.5.1)
36
+ appraisal (0.5.2)
37
37
  bundler
38
38
  rake
39
39
  arel (3.0.2)
40
40
  builder (3.0.4)
41
41
  erubis (2.7.0)
42
- hike (1.2.1)
42
+ hike (1.2.2)
43
43
  i18n (0.6.4)
44
44
  journey (1.0.4)
45
45
  jquery-rails (2.2.1)
46
46
  railties (>= 3.0, < 5.0)
47
47
  thor (>= 0.14, < 2.0)
48
- json (1.7.7)
48
+ json (1.8.0)
49
49
  mail (2.4.4)
50
50
  i18n (>= 0.4.0)
51
51
  mime-types (~> 1.16)
52
52
  treetop (~> 1.4.8)
53
- mime-types (1.21)
53
+ mime-types (1.23)
54
54
  mocha (0.9.12)
55
- multi_json (1.7.2)
55
+ multi_json (1.7.3)
56
56
  polyglot (0.3.3)
57
57
  rack (1.4.5)
58
58
  rack-cache (1.2)
@@ -79,7 +79,7 @@ GEM
79
79
  rake (10.0.4)
80
80
  rdoc (3.12.2)
81
81
  json (~> 1.4)
82
- sass (3.2.7)
82
+ sass (3.2.9)
83
83
  sass-rails (3.2.6)
84
84
  railties (~> 3.2.0)
85
85
  sass (>= 3.1.10)
@@ -90,8 +90,8 @@ GEM
90
90
  rack (~> 1.0)
91
91
  tilt (~> 1.1, != 1.3.0)
92
92
  test-unit (2.1.2)
93
- thor (0.17.0)
94
- tilt (1.3.6)
93
+ thor (0.18.1)
94
+ tilt (1.4.1)
95
95
  treetop (1.4.12)
96
96
  polyglot
97
97
  polyglot (>= 0.3.1)
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "4.0.0.rc1"
6
+ gem "jquery-rails"
7
+ gem "sass-rails", "4.0.0.rc1"
8
+
9
+ gemspec :path=>"../"
@@ -0,0 +1,107 @@
1
+ PATH
2
+ remote: /Users/rmcgeary/work/oss/shoulda-context
3
+ specs:
4
+ shoulda-context (1.1.1)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ actionmailer (4.0.0.rc1)
10
+ actionpack (= 4.0.0.rc1)
11
+ mail (~> 2.5.3)
12
+ actionpack (4.0.0.rc1)
13
+ activesupport (= 4.0.0.rc1)
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.0.rc1)
19
+ activesupport (= 4.0.0.rc1)
20
+ builder (~> 3.1.0)
21
+ activerecord (4.0.0.rc1)
22
+ activemodel (= 4.0.0.rc1)
23
+ activerecord-deprecated_finders (~> 1.0.2)
24
+ activesupport (= 4.0.0.rc1)
25
+ arel (~> 4.0.0)
26
+ activerecord-deprecated_finders (1.0.2)
27
+ activesupport (4.0.0.rc1)
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.0)
37
+ atomic (1.1.9)
38
+ builder (3.1.4)
39
+ erubis (2.7.0)
40
+ hike (1.2.2)
41
+ i18n (0.6.4)
42
+ jquery-rails (2.2.1)
43
+ railties (>= 3.0, < 5.0)
44
+ thor (>= 0.14, < 2.0)
45
+ mail (2.5.3)
46
+ i18n (>= 0.4.0)
47
+ mime-types (~> 1.16)
48
+ treetop (~> 1.4.8)
49
+ mime-types (1.23)
50
+ minitest (4.7.4)
51
+ mocha (0.9.12)
52
+ multi_json (1.7.3)
53
+ polyglot (0.3.3)
54
+ rack (1.5.2)
55
+ rack-test (0.6.2)
56
+ rack (>= 1.0)
57
+ rails (4.0.0.rc1)
58
+ actionmailer (= 4.0.0.rc1)
59
+ actionpack (= 4.0.0.rc1)
60
+ activerecord (= 4.0.0.rc1)
61
+ activesupport (= 4.0.0.rc1)
62
+ bundler (>= 1.3.0, < 2.0)
63
+ railties (= 4.0.0.rc1)
64
+ sprockets-rails (~> 2.0.0.rc4)
65
+ railties (4.0.0.rc1)
66
+ actionpack (= 4.0.0.rc1)
67
+ activesupport (= 4.0.0.rc1)
68
+ rake (>= 0.8.7)
69
+ thor (>= 0.18.1, < 2.0)
70
+ rake (10.0.4)
71
+ sass (3.2.9)
72
+ sass-rails (4.0.0.rc1)
73
+ railties (>= 4.0.0.beta, < 5.0)
74
+ sass (>= 3.1.10)
75
+ sprockets-rails (~> 2.0.0.rc0)
76
+ tilt (~> 1.3)
77
+ sprockets (2.9.3)
78
+ hike (~> 1.2)
79
+ multi_json (~> 1.0)
80
+ rack (~> 1.0)
81
+ tilt (~> 1.1, != 1.3.0)
82
+ sprockets-rails (2.0.0.rc4)
83
+ actionpack (>= 3.0)
84
+ activesupport (>= 3.0)
85
+ sprockets (~> 2.8)
86
+ test-unit (2.1.2)
87
+ thor (0.18.1)
88
+ thread_safe (0.1.0)
89
+ atomic
90
+ tilt (1.4.1)
91
+ treetop (1.4.12)
92
+ polyglot
93
+ polyglot (>= 0.3.1)
94
+ tzinfo (0.3.37)
95
+
96
+ PLATFORMS
97
+ ruby
98
+
99
+ DEPENDENCIES
100
+ appraisal (~> 0.5)
101
+ jquery-rails
102
+ mocha (~> 0.9.10)
103
+ rails (= 4.0.0.rc1)
104
+ rake
105
+ sass-rails (= 4.0.0.rc1)
106
+ shoulda-context!
107
+ test-unit (~> 2.1.0)
@@ -1,11 +1,11 @@
1
1
  begin
2
- # if present, then also loads MiniTest::Spec
2
+ # if present, then also loads MiniTest::Unit::TestCase
3
3
  ActiveSupport::TestCase
4
4
  rescue
5
5
  end
6
6
 
7
- if defined?([ActiveSupport::TestCase, MiniTest::Spec]) && (ActiveSupport::TestCase.ancestors.include?(MiniTest::Spec))
8
- base_test_case = MiniTest::Spec
7
+ if defined?([ActiveSupport::TestCase, MiniTest::Unit::TestCase]) && (ActiveSupport::TestCase.ancestors.include?(MiniTest::Unit::TestCase))
8
+ base_test_case = MiniTest::Unit::TestCase
9
9
  else
10
10
  if !defined?(Test::Unit::TestCase)
11
11
  require 'test/unit/testcase'
@@ -1,5 +1,5 @@
1
1
  module Shoulda
2
2
  module Context
3
- VERSION = '1.1.1'.freeze
3
+ VERSION = '1.1.2'.freeze
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.require_paths = ["lib"]
21
21
 
22
22
  s.add_development_dependency("appraisal", "~> 0.5")
23
- s.add_development_dependency("rails", "3.2.9")
23
+ s.add_development_dependency("rails", ">= 3.0")
24
24
  s.add_development_dependency("mocha", "~> 0.9.10")
25
25
  s.add_development_dependency("rake")
26
26
  s.add_development_dependency("test-unit", "~> 2.1.0")
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoulda-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
5
- prerelease:
4
+ version: 1.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - thoughtbot, inc.
@@ -14,88 +13,78 @@ authors:
14
13
  autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
- date: 2013-04-13 00:00:00.000000000 Z
16
+ date: 2013-05-16 00:00:00.000000000 Z
18
17
  dependencies:
19
18
  - !ruby/object:Gem::Dependency
20
- name: appraisal
21
19
  requirement: !ruby/object:Gem::Requirement
22
- none: false
23
20
  requirements:
24
21
  - - ~>
25
22
  - !ruby/object:Gem::Version
26
23
  version: '0.5'
27
- type: :development
28
- prerelease: false
29
24
  version_requirements: !ruby/object:Gem::Requirement
30
- none: false
31
25
  requirements:
32
26
  - - ~>
33
27
  - !ruby/object:Gem::Version
34
28
  version: '0.5'
29
+ type: :development
30
+ prerelease: false
31
+ name: appraisal
35
32
  - !ruby/object:Gem::Dependency
36
- name: rails
37
33
  requirement: !ruby/object:Gem::Requirement
38
- none: false
39
34
  requirements:
40
- - - '='
35
+ - - ! '>='
41
36
  - !ruby/object:Gem::Version
42
- version: 3.2.9
43
- type: :development
44
- prerelease: false
37
+ version: '3.0'
45
38
  version_requirements: !ruby/object:Gem::Requirement
46
- none: false
47
39
  requirements:
48
- - - '='
40
+ - - ! '>='
49
41
  - !ruby/object:Gem::Version
50
- version: 3.2.9
42
+ version: '3.0'
43
+ type: :development
44
+ prerelease: false
45
+ name: rails
51
46
  - !ruby/object:Gem::Dependency
52
- name: mocha
53
47
  requirement: !ruby/object:Gem::Requirement
54
- none: false
55
48
  requirements:
56
49
  - - ~>
57
50
  - !ruby/object:Gem::Version
58
51
  version: 0.9.10
59
- type: :development
60
- prerelease: false
61
52
  version_requirements: !ruby/object:Gem::Requirement
62
- none: false
63
53
  requirements:
64
54
  - - ~>
65
55
  - !ruby/object:Gem::Version
66
56
  version: 0.9.10
57
+ type: :development
58
+ prerelease: false
59
+ name: mocha
67
60
  - !ruby/object:Gem::Dependency
68
- name: rake
69
61
  requirement: !ruby/object:Gem::Requirement
70
- none: false
71
62
  requirements:
72
63
  - - ! '>='
73
64
  - !ruby/object:Gem::Version
74
65
  version: '0'
75
- type: :development
76
- prerelease: false
77
66
  version_requirements: !ruby/object:Gem::Requirement
78
- none: false
79
67
  requirements:
80
68
  - - ! '>='
81
69
  - !ruby/object:Gem::Version
82
70
  version: '0'
71
+ type: :development
72
+ prerelease: false
73
+ name: rake
83
74
  - !ruby/object:Gem::Dependency
84
- name: test-unit
85
75
  requirement: !ruby/object:Gem::Requirement
86
- none: false
87
76
  requirements:
88
77
  - - ~>
89
78
  - !ruby/object:Gem::Version
90
79
  version: 2.1.0
91
- type: :development
92
- prerelease: false
93
80
  version_requirements: !ruby/object:Gem::Requirement
94
- none: false
95
81
  requirements:
96
82
  - - ~>
97
83
  - !ruby/object:Gem::Version
98
84
  version: 2.1.0
85
+ type: :development
86
+ prerelease: false
87
+ name: test-unit
99
88
  description: Context framework extracted from Shoulda
100
89
  email: support@thoughtbot.com
101
90
  executables:
@@ -118,6 +107,8 @@ files:
118
107
  - gemfiles/3.1.gemfile.lock
119
108
  - gemfiles/3.2.gemfile
120
109
  - gemfiles/3.2.gemfile.lock
110
+ - gemfiles/4.0.gemfile
111
+ - gemfiles/4.0.gemfile.lock
121
112
  - init.rb
122
113
  - lib/shoulda-context.rb
123
114
  - lib/shoulda/context.rb
@@ -145,27 +136,26 @@ files:
145
136
  homepage: http://thoughtbot.com/community/
146
137
  licenses:
147
138
  - MIT
139
+ metadata: {}
148
140
  post_install_message:
149
141
  rdoc_options: []
150
142
  require_paths:
151
143
  - lib
152
144
  required_ruby_version: !ruby/object:Gem::Requirement
153
- none: false
154
145
  requirements:
155
146
  - - ! '>='
156
147
  - !ruby/object:Gem::Version
157
148
  version: '0'
158
149
  required_rubygems_version: !ruby/object:Gem::Requirement
159
- none: false
160
150
  requirements:
161
151
  - - ! '>='
162
152
  - !ruby/object:Gem::Version
163
153
  version: '0'
164
154
  requirements: []
165
155
  rubyforge_project:
166
- rubygems_version: 1.8.23
156
+ rubygems_version: 2.0.3
167
157
  signing_key:
168
- specification_version: 3
158
+ specification_version: 4
169
159
  summary: Context framework extracted from Shoulda
170
160
  test_files:
171
161
  - test/fake_rails_root/test/shoulda_macros/custom_macro.rb