roles_mongoid 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +14 -14
  2. data/Rakefile +8 -7
  3. data/VERSION +1 -1
  4. data/roles_mongoid.gemspec +47 -39
  5. metadata +117 -41
data/Gemfile CHANGED
@@ -1,17 +1,17 @@
1
1
  source :rubygems
2
2
  source 'http://gems.github.com/'
3
3
 
4
- # group :default do
5
- # gem "mongoid", '~> 2.0.0.rc.5'
6
- # gem 'bson', '>= 1.1.5'
7
- # gem "activesupport", '~> 3.0.3'
8
- # gem "require_all", '~> 1.2.0'
9
- # gem "sugar-high", '>= 0.3.5'
10
- # gem "roles_generic", '>= 0.3.8'
11
- # # gem 'logging_assist', '>= 0.2.1'
12
- # end
13
- #
14
- # group :test do
15
- # gem 'rspec', '>= 2.4.0'
16
- # gem 'generator-spec', '>= 0.7.0'
17
- # end
4
+ group :default do
5
+ gem "mongoid", '>= 2.0.1'
6
+ gem 'bson', '>= 1.2.0'
7
+ gem "activesupport", '>= 3.0.1'
8
+ gem "require_all", '~> 1.2.0'
9
+ gem "sugar-high", '~> 0.4.9.5'
10
+ gem "roles_generic", '~> 0.3.9'
11
+ gem 'rails_artifactor', '>= 0.3.6'
12
+ end
13
+
14
+ group :test do
15
+ gem 'rspec', '>= 2.4.1'
16
+ gem 'generator-spec', '>= 0.7.5'
17
+ end
data/Rakefile CHANGED
@@ -8,16 +8,17 @@ begin
8
8
  gem.homepage = "http://github.com/kristianmandrup/roles_mongoid"
9
9
  gem.authors = ["Kristian Mandrup"]
10
10
  gem.add_development_dependency 'rspec', '>= 2.4.1'
11
- gem.add_development_dependency 'generator-spec', '>= 0.7.3'
11
+ gem.add_development_dependency 'generator-spec', '>= 0.7.5'
12
12
 
13
- gem.add_dependency 'mongoid', '~> 2.0.1'
14
- gem.add_dependency 'bson', '>= 1.1.6'
13
+ gem.add_dependency 'mongoid', '>= 2.0.1'
14
+ gem.add_dependency 'bson', '>= 1.2.0'
15
15
 
16
- gem.add_dependency 'sugar-high', '~> 0.4.0'
16
+ gem.add_dependency 'sugar-high', '>= 0.4.9.5'
17
17
  gem.add_dependency 'require_all', '~> 1.2.0'
18
- gem.add_dependency "roles_generic", '~> 0.3.8'
19
-
20
- gem.add_dependency 'rails_artifactor', '>= 0.3.3'
18
+ gem.add_dependency "roles_generic", '~> 0.3.9'
19
+
20
+ gem.add_dependency "activesupport", '>= 3.0.1'
21
+ gem.add_dependency 'rails_artifactor', '>= 0.3.6'
21
22
  end
22
23
  Jeweler::GemcutterTasks.new
23
24
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.7
1
+ 0.4.8
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{roles_mongoid}
8
- s.version = "0.4.7"
8
+ s.version = "0.4.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Kristian Mandrup}]
12
- s.date = %q{2011-05-09}
11
+ s.authors = ["Kristian Mandrup"]
12
+ s.date = %q{2011-07-12}
13
13
  s.description = %q{Makes it easy to set a role strategy on your User model in Mongoid}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -69,57 +69,65 @@ Gem::Specification.new do |s|
69
69
  "tmp/rails/config/routes.rb"
70
70
  ]
71
71
  s.homepage = %q{http://github.com/kristianmandrup/roles_mongoid}
72
- s.require_paths = [%q{lib}]
73
- s.rubygems_version = %q{1.8.0}
72
+ s.require_paths = ["lib"]
73
+ s.rubygems_version = %q{1.6.2}
74
74
  s.summary = %q{Implementation of Roles generic API for Mongoid}
75
- s.test_files = [
76
- "spec/generator_spec_helper.rb",
77
- "spec/roles_mongoid/generators/roles_generator_spec.rb",
78
- "spec/roles_mongoid/strategy/api_examples.rb",
79
- "spec/roles_mongoid/strategy/multi/embed_many_roles_spec.rb",
80
- "spec/roles_mongoid/strategy/multi/many_roles_old_spec.rb",
81
- "spec/roles_mongoid/strategy/multi/many_roles_spec.rb",
82
- "spec/roles_mongoid/strategy/multi/role_strings_spec.rb",
83
- "spec/roles_mongoid/strategy/multi/roles_mask_spec.rb",
84
- "spec/roles_mongoid/strategy/single/admin_flag_spec.rb",
85
- "spec/roles_mongoid/strategy/single/embed_one_role_spec.rb",
86
- "spec/roles_mongoid/strategy/single/one_role_spec.rb",
87
- "spec/roles_mongoid/strategy/single/role_string_spec.rb",
88
- "spec/roles_mongoid/strategy/user_setup.rb",
89
- "spec/spec_helper.rb"
90
- ]
91
75
 
92
76
  if s.respond_to? :specification_version then
93
77
  s.specification_version = 3
94
78
 
95
79
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
80
+ s.add_runtime_dependency(%q<mongoid>, [">= 2.0.1"])
81
+ s.add_runtime_dependency(%q<bson>, [">= 1.2.0"])
82
+ s.add_runtime_dependency(%q<activesupport>, [">= 3.0.1"])
83
+ s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
84
+ s.add_runtime_dependency(%q<sugar-high>, ["~> 0.4.9.5"])
85
+ s.add_runtime_dependency(%q<roles_generic>, ["~> 0.3.9"])
86
+ s.add_runtime_dependency(%q<rails_artifactor>, [">= 0.3.6"])
96
87
  s.add_development_dependency(%q<rspec>, [">= 2.4.1"])
97
- s.add_development_dependency(%q<generator-spec>, [">= 0.7.3"])
98
- s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.1"])
99
- s.add_runtime_dependency(%q<bson>, [">= 1.1.6"])
100
- s.add_runtime_dependency(%q<sugar-high>, ["~> 0.4.0"])
88
+ s.add_development_dependency(%q<generator-spec>, [">= 0.7.5"])
89
+ s.add_runtime_dependency(%q<mongoid>, [">= 2.0.1"])
90
+ s.add_runtime_dependency(%q<bson>, [">= 1.2.0"])
91
+ s.add_runtime_dependency(%q<sugar-high>, [">= 0.4.9.5"])
101
92
  s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
102
- s.add_runtime_dependency(%q<roles_generic>, ["~> 0.3.8"])
103
- s.add_runtime_dependency(%q<rails_artifactor>, [">= 0.3.3"])
93
+ s.add_runtime_dependency(%q<roles_generic>, ["~> 0.3.9"])
94
+ s.add_runtime_dependency(%q<activesupport>, [">= 3.0.1"])
95
+ s.add_runtime_dependency(%q<rails_artifactor>, [">= 0.3.6"])
104
96
  else
97
+ s.add_dependency(%q<mongoid>, [">= 2.0.1"])
98
+ s.add_dependency(%q<bson>, [">= 1.2.0"])
99
+ s.add_dependency(%q<activesupport>, [">= 3.0.1"])
100
+ s.add_dependency(%q<require_all>, ["~> 1.2.0"])
101
+ s.add_dependency(%q<sugar-high>, ["~> 0.4.9.5"])
102
+ s.add_dependency(%q<roles_generic>, ["~> 0.3.9"])
103
+ s.add_dependency(%q<rails_artifactor>, [">= 0.3.6"])
105
104
  s.add_dependency(%q<rspec>, [">= 2.4.1"])
106
- s.add_dependency(%q<generator-spec>, [">= 0.7.3"])
107
- s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
108
- s.add_dependency(%q<bson>, [">= 1.1.6"])
109
- s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
105
+ s.add_dependency(%q<generator-spec>, [">= 0.7.5"])
106
+ s.add_dependency(%q<mongoid>, [">= 2.0.1"])
107
+ s.add_dependency(%q<bson>, [">= 1.2.0"])
108
+ s.add_dependency(%q<sugar-high>, [">= 0.4.9.5"])
110
109
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
111
- s.add_dependency(%q<roles_generic>, ["~> 0.3.8"])
112
- s.add_dependency(%q<rails_artifactor>, [">= 0.3.3"])
110
+ s.add_dependency(%q<roles_generic>, ["~> 0.3.9"])
111
+ s.add_dependency(%q<activesupport>, [">= 3.0.1"])
112
+ s.add_dependency(%q<rails_artifactor>, [">= 0.3.6"])
113
113
  end
114
114
  else
115
+ s.add_dependency(%q<mongoid>, [">= 2.0.1"])
116
+ s.add_dependency(%q<bson>, [">= 1.2.0"])
117
+ s.add_dependency(%q<activesupport>, [">= 3.0.1"])
118
+ s.add_dependency(%q<require_all>, ["~> 1.2.0"])
119
+ s.add_dependency(%q<sugar-high>, ["~> 0.4.9.5"])
120
+ s.add_dependency(%q<roles_generic>, ["~> 0.3.9"])
121
+ s.add_dependency(%q<rails_artifactor>, [">= 0.3.6"])
115
122
  s.add_dependency(%q<rspec>, [">= 2.4.1"])
116
- s.add_dependency(%q<generator-spec>, [">= 0.7.3"])
117
- s.add_dependency(%q<mongoid>, ["~> 2.0.1"])
118
- s.add_dependency(%q<bson>, [">= 1.1.6"])
119
- s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
123
+ s.add_dependency(%q<generator-spec>, [">= 0.7.5"])
124
+ s.add_dependency(%q<mongoid>, [">= 2.0.1"])
125
+ s.add_dependency(%q<bson>, [">= 1.2.0"])
126
+ s.add_dependency(%q<sugar-high>, [">= 0.4.9.5"])
120
127
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
121
- s.add_dependency(%q<roles_generic>, ["~> 0.3.8"])
122
- s.add_dependency(%q<rails_artifactor>, [">= 0.3.3"])
128
+ s.add_dependency(%q<roles_generic>, ["~> 0.3.9"])
129
+ s.add_dependency(%q<activesupport>, [">= 3.0.1"])
130
+ s.add_dependency(%q<rails_artifactor>, [">= 0.3.6"])
123
131
  end
124
132
  end
125
133
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roles_mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,89 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-09 00:00:00.000000000Z
12
+ date: 2011-07-12 00:00:00.000000000 +02:00
13
+ default_executable:
13
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: mongoid
17
+ requirement: &2156893080 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 2.0.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *2156893080
26
+ - !ruby/object:Gem::Dependency
27
+ name: bson
28
+ requirement: &2156892260 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: *2156892260
37
+ - !ruby/object:Gem::Dependency
38
+ name: activesupport
39
+ requirement: &2156891420 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: 3.0.1
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: *2156891420
48
+ - !ruby/object:Gem::Dependency
49
+ name: require_all
50
+ requirement: &2156890320 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: 1.2.0
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: *2156890320
59
+ - !ruby/object:Gem::Dependency
60
+ name: sugar-high
61
+ requirement: &2156888560 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: 0.4.9.5
67
+ type: :runtime
68
+ prerelease: false
69
+ version_requirements: *2156888560
70
+ - !ruby/object:Gem::Dependency
71
+ name: roles_generic
72
+ requirement: &2156887200 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.3.9
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: *2156887200
81
+ - !ruby/object:Gem::Dependency
82
+ name: rails_artifactor
83
+ requirement: &2156886000 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: 0.3.6
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: *2156886000
14
92
  - !ruby/object:Gem::Dependency
15
93
  name: rspec
16
- requirement: &2157758760 !ruby/object:Gem::Requirement
94
+ requirement: &2156884760 !ruby/object:Gem::Requirement
17
95
  none: false
18
96
  requirements:
19
97
  - - ! '>='
@@ -21,54 +99,54 @@ dependencies:
21
99
  version: 2.4.1
22
100
  type: :development
23
101
  prerelease: false
24
- version_requirements: *2157758760
102
+ version_requirements: *2156884760
25
103
  - !ruby/object:Gem::Dependency
26
104
  name: generator-spec
27
- requirement: &2157758140 !ruby/object:Gem::Requirement
105
+ requirement: &2156883560 !ruby/object:Gem::Requirement
28
106
  none: false
29
107
  requirements:
30
108
  - - ! '>='
31
109
  - !ruby/object:Gem::Version
32
- version: 0.7.3
110
+ version: 0.7.5
33
111
  type: :development
34
112
  prerelease: false
35
- version_requirements: *2157758140
113
+ version_requirements: *2156883560
36
114
  - !ruby/object:Gem::Dependency
37
115
  name: mongoid
38
- requirement: &2157757480 !ruby/object:Gem::Requirement
116
+ requirement: &2156882020 !ruby/object:Gem::Requirement
39
117
  none: false
40
118
  requirements:
41
- - - ~>
119
+ - - ! '>='
42
120
  - !ruby/object:Gem::Version
43
121
  version: 2.0.1
44
122
  type: :runtime
45
123
  prerelease: false
46
- version_requirements: *2157757480
124
+ version_requirements: *2156882020
47
125
  - !ruby/object:Gem::Dependency
48
126
  name: bson
49
- requirement: &2157756840 !ruby/object:Gem::Requirement
127
+ requirement: &2156880400 !ruby/object:Gem::Requirement
50
128
  none: false
51
129
  requirements:
52
130
  - - ! '>='
53
131
  - !ruby/object:Gem::Version
54
- version: 1.1.6
132
+ version: 1.2.0
55
133
  type: :runtime
56
134
  prerelease: false
57
- version_requirements: *2157756840
135
+ version_requirements: *2156880400
58
136
  - !ruby/object:Gem::Dependency
59
137
  name: sugar-high
60
- requirement: &2157756200 !ruby/object:Gem::Requirement
138
+ requirement: &2156879280 !ruby/object:Gem::Requirement
61
139
  none: false
62
140
  requirements:
63
- - - ~>
141
+ - - ! '>='
64
142
  - !ruby/object:Gem::Version
65
- version: 0.4.0
143
+ version: 0.4.9.5
66
144
  type: :runtime
67
145
  prerelease: false
68
- version_requirements: *2157756200
146
+ version_requirements: *2156879280
69
147
  - !ruby/object:Gem::Dependency
70
148
  name: require_all
71
- requirement: &2157753980 !ruby/object:Gem::Requirement
149
+ requirement: &2156878260 !ruby/object:Gem::Requirement
72
150
  none: false
73
151
  requirements:
74
152
  - - ~>
@@ -76,29 +154,40 @@ dependencies:
76
154
  version: 1.2.0
77
155
  type: :runtime
78
156
  prerelease: false
79
- version_requirements: *2157753980
157
+ version_requirements: *2156878260
80
158
  - !ruby/object:Gem::Dependency
81
159
  name: roles_generic
82
- requirement: &2157753280 !ruby/object:Gem::Requirement
160
+ requirement: &2156876880 !ruby/object:Gem::Requirement
83
161
  none: false
84
162
  requirements:
85
163
  - - ~>
86
164
  - !ruby/object:Gem::Version
87
- version: 0.3.8
165
+ version: 0.3.9
88
166
  type: :runtime
89
167
  prerelease: false
90
- version_requirements: *2157753280
168
+ version_requirements: *2156876880
169
+ - !ruby/object:Gem::Dependency
170
+ name: activesupport
171
+ requirement: &2156875780 !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
174
+ - - ! '>='
175
+ - !ruby/object:Gem::Version
176
+ version: 3.0.1
177
+ type: :runtime
178
+ prerelease: false
179
+ version_requirements: *2156875780
91
180
  - !ruby/object:Gem::Dependency
92
181
  name: rails_artifactor
93
- requirement: &2157752480 !ruby/object:Gem::Requirement
182
+ requirement: &2156874760 !ruby/object:Gem::Requirement
94
183
  none: false
95
184
  requirements:
96
185
  - - ! '>='
97
186
  - !ruby/object:Gem::Version
98
- version: 0.3.3
187
+ version: 0.3.6
99
188
  type: :runtime
100
189
  prerelease: false
101
- version_requirements: *2157752480
190
+ version_requirements: *2156874760
102
191
  description: Makes it easy to set a role strategy on your User model in Mongoid
103
192
  email: kmandrup@gmail.com
104
193
  executables: []
@@ -157,6 +246,7 @@ files:
157
246
  - spec/spec_helper.rb
158
247
  - tmp/rails/app/models/user.rb
159
248
  - tmp/rails/config/routes.rb
249
+ has_rdoc: true
160
250
  homepage: http://github.com/kristianmandrup/roles_mongoid
161
251
  licenses: []
162
252
  post_install_message:
@@ -177,22 +267,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
267
  version: '0'
178
268
  requirements: []
179
269
  rubyforge_project:
180
- rubygems_version: 1.8.0
270
+ rubygems_version: 1.6.2
181
271
  signing_key:
182
272
  specification_version: 3
183
273
  summary: Implementation of Roles generic API for Mongoid
184
- test_files:
185
- - spec/generator_spec_helper.rb
186
- - spec/roles_mongoid/generators/roles_generator_spec.rb
187
- - spec/roles_mongoid/strategy/api_examples.rb
188
- - spec/roles_mongoid/strategy/multi/embed_many_roles_spec.rb
189
- - spec/roles_mongoid/strategy/multi/many_roles_old_spec.rb
190
- - spec/roles_mongoid/strategy/multi/many_roles_spec.rb
191
- - spec/roles_mongoid/strategy/multi/role_strings_spec.rb
192
- - spec/roles_mongoid/strategy/multi/roles_mask_spec.rb
193
- - spec/roles_mongoid/strategy/single/admin_flag_spec.rb
194
- - spec/roles_mongoid/strategy/single/embed_one_role_spec.rb
195
- - spec/roles_mongoid/strategy/single/one_role_spec.rb
196
- - spec/roles_mongoid/strategy/single/role_string_spec.rb
197
- - spec/roles_mongoid/strategy/user_setup.rb
198
- - spec/spec_helper.rb
274
+ test_files: []