simple_roles 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/CHANGELOG.md +21 -0
  2. data/Gemfile +2 -4
  3. data/README.md +100 -17
  4. data/Rakefile +6 -12
  5. data/db/migrate/001_create_user_roles.rb +5 -4
  6. data/db/migrate/002_create_roles.rb +6 -3
  7. data/lib/simple_roles/configuration.rb +64 -11
  8. data/lib/simple_roles/engine.rb +2 -0
  9. data/lib/simple_roles/macros.rb +2 -5
  10. data/lib/simple_roles/many/persistence.rb +44 -0
  11. data/lib/simple_roles/many/roles_methods.rb +88 -0
  12. data/lib/simple_roles/many.rb +5 -0
  13. data/lib/simple_roles/one/persistence.rb +13 -0
  14. data/lib/simple_roles/one/roles_methods.rb +38 -0
  15. data/lib/simple_roles/one.rb +5 -0
  16. data/lib/simple_roles/packager.rb +18 -0
  17. data/lib/simple_roles/version.rb +1 -1
  18. data/lib/simple_roles.rb +27 -12
  19. data/simple_roles.gemspec +36 -30
  20. data/spec/dummy/config/database.yml +2 -13
  21. data/spec/dummy/config/environments/development.rb +0 -3
  22. data/spec/dummy/config/initializers/simple_roles.rb +2 -1
  23. data/spec/integration/main_spec.rb +6 -6
  24. data/spec/integration/requests/main_spec.rb +16 -17
  25. data/spec/simple_roles/configuration_spec.rb +66 -0
  26. data/spec/simple_roles/integration_many_spec.rb +47 -0
  27. data/spec/simple_roles/macros_spec.rb +25 -10
  28. data/spec/{support/aliases.rb → simple_roles/many/persistence_spec.rb} +0 -0
  29. data/spec/simple_roles/many_spec.rb +186 -0
  30. data/spec/simple_roles/one_spec.rb +77 -0
  31. data/spec/spec_helper.rb +40 -21
  32. data/spec/support/controller_macros.rb +1 -18
  33. data/spec/support/database.yml +1 -1
  34. data/spec/support/factories.rb +6 -17
  35. data/spec/support/migrations/010_create_one_users.rb +16 -0
  36. data/spec/support/migrations/{010_create_users.rb → 011_create_users.rb} +3 -3
  37. data/spec/support/{fixtures/models → models}/.gitkeep +0 -0
  38. data/spec/support/models/one_user.rb +2 -0
  39. data/spec/support/{fixtures/models → models}/user.rb +0 -1
  40. data/spec/support/setup_roles.rb +5 -0
  41. data/spec/support/transaction.rb +30 -0
  42. data/spec/transaction_spec.rb +15 -0
  43. metadata +176 -137
  44. data/lib/simple_roles/base.rb +0 -111
  45. data/lib/simple_roles/roles_array.rb +0 -63
  46. data/spec/integration/messages_spec.rb +0 -62
  47. data/spec/simple_roles/base_spec.rb +0 -191
  48. data/spec/support/rspec_helpers.rb +0 -22
data/spec/spec_helper.rb CHANGED
@@ -4,49 +4,68 @@ require 'rubygems'
4
4
  ENV["RAILS_ENV"] ||= 'test'
5
5
 
6
6
  #require File.expand_path("../dummy/config/environment", __FILE__)
7
+ require 'logger'
7
8
  require 'require_all'
8
-
9
- #require 'rails'
10
- require 'active_record'
11
- require 'active_model'
12
-
13
- require 'simple_roles'
14
-
15
9
  require 'cutter'
16
10
  require 'sugar-high/dsl'
17
11
 
12
+ require 'active_record'
13
+
18
14
  require 'rspec/core'
19
- #require 'shoulda'
15
+
20
16
  require 'factory_girl'
21
17
 
18
+ require 'simple_roles'
19
+
22
20
  require_all File.expand_path('../support', __FILE__)
23
21
 
24
22
  path = File.dirname(__FILE__) + '/support/database.yml'
23
+
25
24
  dbfile = File.open(path)
26
25
  dbconfig = YAML::load(dbfile)
27
26
  ActiveRecord::Base.establish_connection(dbconfig)
28
27
 
29
- #ActiveRecord::Base.logger = Logger.new(STDERR)
28
+ class ActiveRecord::Base
29
+ mattr_accessor :shared_connection
30
+ @@shared_connection = nil
31
+
32
+ def self.connection
33
+ @@shared_connection || retrieve_connection
34
+ end
35
+ end
36
+
37
+ ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
38
+
39
+ # ActiveRecord::Base.logger = Logger.new(STDERR)
30
40
 
31
41
  RSpec.configure do |config|
32
42
  config.mock_with :rspec
33
-
34
- config.include Factory::Syntax::Methods
43
+
44
+ config.include FactoryGirl::Syntax::Methods
35
45
 
36
46
  config.before(:suite) do
37
47
  with ActiveRecord::Base.connection do
38
-
39
- tables.map do |table|
40
- drop_table table
41
- end
42
- end
48
+ # tables.each {|t| drop_table t }
49
+
50
+ # with ActiveRecord::Migrator do
51
+ # # SimpleRoles's own migrations
52
+ # migrate File.expand_path('../../db/migrate', __FILE__)
53
+ # # Helper migration - users table
54
+ # migrate File.expand_path('../support/migrations', __FILE__)
55
+ # end if tables.empty?
43
56
 
44
- with ActiveRecord::Migrator do
45
- # SimpleRoles's own migrations
46
- ActiveRecord::Migrator.migrate File.expand_path('../../db/migrate', __FILE__)
47
- # Helper migration - users table
48
- ActiveRecord::Migrator.migrate File.expand_path('../support/migrations', __FILE__)
57
+ # (tables - ['schema_migrations']).map do |table|
58
+ # table_count = execute("SELECT COUNT(*) FROM #{table}").first.first
59
+ # execute "TRUNCATE #{table}" unless table_count == 0
60
+ # end
49
61
  end
62
+ end
63
+
64
+ config.before(:each) do
65
+ Transaction.start
66
+ end
50
67
 
68
+ config.after(:each) do
69
+ Transaction.clean
51
70
  end
52
71
  end
@@ -2,25 +2,8 @@ module ControllerMacros
2
2
  def login_user
3
3
  before(:each) do
4
4
  @request.env["devise.mapping"] = :user
5
- sign_in Factory(:user) #@admin
5
+ sign_in create(:user)
6
6
  end
7
7
  end
8
-
9
- def login_student
10
- before(:each) do
11
- @student = User.create!(:username => "AStudent", :email => "agb@yandex.ru", :middlename => "Sergeevna", :surname => "Bakhtiyarova", :name => "Galina", :password => "666666", :role => :student)
12
- @request.env["devise.mapping"] = @student
13
- sign_in @student
14
- end
15
- end
16
-
17
- def login_curator
18
- before(:each) do
19
- @curator = User.create!(:username => "AStudent", :email => "agb@yandex.ru", :middlename => "Sergeevna", :surname => "Bakhtiyarova", :name => "Galina", :password => "666666", :role => :curator)
20
- @request.env["devise.mapping"] = @curator
21
- sign_in @curator
22
- end
23
- end
24
-
25
8
  end
26
9
 
@@ -2,5 +2,5 @@ adapter: mysql2
2
2
  host: localhost
3
3
  database: simple_roles_test
4
4
  username: root
5
- password: root
5
+ password:
6
6
  encoding: utf8
@@ -1,22 +1,11 @@
1
- =begin
2
- FactoryGirl.define do
3
- factory :first_message, :class => Carrier::Message do
4
- sender 1
5
- recipients [2, 3]
6
- content "Hello!"
7
- subject "FirstMessage"
8
- association :chain, :factory => :chain
9
- end
10
1
 
11
- factory :second_message, :class => Carrier::Message do
12
- sender 2
13
- recipients [3, 1]
14
- content "Hello you too!"
15
- subject "SecondMessage"
16
- association :chain, :factory => :chain
2
+ FactoryGirl.define do
3
+ factory :user, :class => User do
4
+ name 'stanislaw'
17
5
  end
18
6
 
19
- factory :chain, :class => Carrier::Chain do
7
+ factory :one_user, :class => OneUser do
8
+ name 'stanislaw'
9
+ role = 'user'
20
10
  end
21
11
  end
22
- =end
@@ -0,0 +1,16 @@
1
+ class CreateOneUsers < ActiveRecord::Migration
2
+ def up
3
+ create_table(:one_users) do |t|
4
+ t.string :name
5
+ t.string :username
6
+
7
+ t.string :role
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+
13
+ def down
14
+ drop_table :users
15
+ end
16
+ end
@@ -1,9 +1,9 @@
1
1
  class CreateUsers < ActiveRecord::Migration
2
2
  def up
3
3
  create_table(:users) do |t|
4
- t.string :name
5
- t.string :username
6
-
4
+ t.string :name
5
+ t.string :username
6
+
7
7
  t.timestamps
8
8
  end
9
9
  end
File without changes
@@ -0,0 +1,2 @@
1
+ class OneUser < ActiveRecord::Base
2
+ end
@@ -1,3 +1,2 @@
1
1
  class User < ActiveRecord::Base
2
- simple_roles
3
2
  end
@@ -0,0 +1,5 @@
1
+ def setup_roles
2
+ SimpleRoles::Configuration.valid_roles.each do |role|
3
+ Role.create(:name => role.to_s)
4
+ end
5
+ end
@@ -0,0 +1,30 @@
1
+ # Stolen from Bmabey's database_cleaner gem for educational purposes ;)
2
+
3
+ module Transaction
4
+ class << self
5
+ def connection_klass
6
+ ActiveRecord::Base
7
+ end
8
+
9
+ def start
10
+ if connection_klass.connection.respond_to?(:increment_open_transactions)
11
+ connection_klass.connection.increment_open_transactions
12
+ else
13
+ connection_klass.__send__(:increment_open_transactions)
14
+ end
15
+ connection_klass.connection.begin_db_transaction
16
+ end
17
+
18
+ def clean
19
+ return unless connection_klass.connection.open_transactions > 0
20
+
21
+ connection_klass.connection.rollback_db_transaction
22
+
23
+ if connection_klass.connection.respond_to?(:decrement_open_transactions)
24
+ connection_klass.connection.decrement_open_transactions
25
+ else
26
+ connection_klass.__send__(:decrement_open_transactions)
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe "Transactions test" do
4
+ specify "We create some records" do
5
+ 3.times do
6
+ create :one_user
7
+ create :user
8
+ end
9
+ end
10
+
11
+ specify "All tables must empty" do
12
+ OneUser.count.should == 0
13
+ User.count.should == 0
14
+ end
15
+ end
metadata CHANGED
@@ -1,170 +1,201 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: simple_roles
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
4
5
  prerelease:
5
- version: 0.0.5
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - stanislaw
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-10-14 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: require_all
17
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
27
31
  name: sugar-high
28
- requirement: &id002 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
29
33
  none: false
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "0"
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
38
47
  name: sweetloader
39
- requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
40
49
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: "0"
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
45
54
  type: :runtime
46
55
  prerelease: false
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
49
63
  name: activerecord
50
- requirement: &id004 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
51
65
  none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: "0"
56
- type: :development
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
57
71
  prerelease: false
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
60
79
  name: rake-kit
61
- requirement: &id005 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
62
81
  none: false
63
- requirements:
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: "0"
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
67
86
  type: :development
68
87
  prerelease: false
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
71
95
  name: devise
72
- requirement: &id006 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
73
97
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- version: "0"
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
78
102
  type: :development
79
103
  prerelease: false
80
- version_requirements: *id006
81
- - !ruby/object:Gem::Dependency
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
82
111
  name: mysql2
83
- requirement: &id007 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
84
113
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: "0"
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
89
118
  type: :development
90
119
  prerelease: false
91
- version_requirements: *id007
92
- - !ruby/object:Gem::Dependency
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
93
127
  name: jeweler
94
- requirement: &id008 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
95
129
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: "0"
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
100
134
  type: :development
101
135
  prerelease: false
102
- version_requirements: *id008
103
- - !ruby/object:Gem::Dependency
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
104
143
  name: cutter
105
- requirement: &id009 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
106
145
  none: false
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: "0"
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
111
150
  type: :development
112
151
  prerelease: false
113
- version_requirements: *id009
114
- - !ruby/object:Gem::Dependency
115
- name: rails
116
- requirement: &id010 !ruby/object:Gem::Requirement
152
+ version_requirements: !ruby/object:Gem::Requirement
117
153
  none: false
118
- requirements:
119
- - - ">="
120
- - !ruby/object:Gem::Version
121
- version: "0"
122
- type: :development
123
- prerelease: false
124
- version_requirements: *id010
125
- - !ruby/object:Gem::Dependency
126
- name: rspec-rails
127
- requirement: &id011 !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: rspec
160
+ requirement: !ruby/object:Gem::Requirement
128
161
  none: false
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: "0"
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
133
166
  type: :development
134
167
  prerelease: false
135
- version_requirements: *id011
136
- - !ruby/object:Gem::Dependency
137
- name: capybara
138
- requirement: &id012 !ruby/object:Gem::Requirement
168
+ version_requirements: !ruby/object:Gem::Requirement
139
169
  none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- version: "0"
144
- type: :development
145
- prerelease: false
146
- version_requirements: *id012
147
- - !ruby/object:Gem::Dependency
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
148
175
  name: factory_girl
149
- requirement: &id013 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
150
177
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- version: "0"
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
155
182
  type: :development
156
183
  prerelease: false
157
- version_requirements: *id013
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
158
190
  description: Simple Role System for Rails Apps
159
191
  email: s.pankevich@gmail.com
160
192
  executables: []
161
-
162
193
  extensions: []
163
-
164
- extra_rdoc_files:
194
+ extra_rdoc_files:
165
195
  - README.md
166
- files:
196
+ files:
167
197
  - .rspec
198
+ - CHANGELOG.md
168
199
  - Gemfile
169
200
  - MIT-LICENSE
170
201
  - README.md
@@ -184,11 +215,16 @@ files:
184
215
  - db/migrate/001_create_user_roles.rb
185
216
  - db/migrate/002_create_roles.rb
186
217
  - lib/simple_roles.rb
187
- - lib/simple_roles/base.rb
188
218
  - lib/simple_roles/configuration.rb
189
219
  - lib/simple_roles/engine.rb
190
220
  - lib/simple_roles/macros.rb
191
- - lib/simple_roles/roles_array.rb
221
+ - lib/simple_roles/many.rb
222
+ - lib/simple_roles/many/persistence.rb
223
+ - lib/simple_roles/many/roles_methods.rb
224
+ - lib/simple_roles/one.rb
225
+ - lib/simple_roles/one/persistence.rb
226
+ - lib/simple_roles/one/roles_methods.rb
227
+ - lib/simple_roles/packager.rb
192
228
  - lib/simple_roles/version.rb
193
229
  - lib/tasks/simple_roles_tasks.rake
194
230
  - script/rails
@@ -273,48 +309,51 @@ files:
273
309
  - spec/dummy/test/unit/user_test.rb
274
310
  - spec/dummy_spec_helper.rb
275
311
  - spec/integration/main_spec.rb
276
- - spec/integration/messages_spec.rb
277
312
  - spec/integration/requests/main_spec.rb
278
- - spec/simple_roles/base_spec.rb
313
+ - spec/simple_roles/configuration_spec.rb
314
+ - spec/simple_roles/integration_many_spec.rb
279
315
  - spec/simple_roles/macros_spec.rb
316
+ - spec/simple_roles/many/persistence_spec.rb
317
+ - spec/simple_roles/many_spec.rb
318
+ - spec/simple_roles/one_spec.rb
280
319
  - spec/spec_helper.rb
281
- - spec/support/aliases.rb
282
320
  - spec/support/controller_macros.rb
283
321
  - spec/support/database.yml
284
322
  - spec/support/factories.rb
285
- - spec/support/fixtures/models/.gitkeep
286
- - spec/support/fixtures/models/user.rb
287
- - spec/support/migrations/010_create_users.rb
288
- - spec/support/rspec_helpers.rb
323
+ - spec/support/migrations/010_create_one_users.rb
324
+ - spec/support/migrations/011_create_users.rb
325
+ - spec/support/models/.gitkeep
326
+ - spec/support/models/one_user.rb
327
+ - spec/support/models/user.rb
328
+ - spec/support/setup_roles.rb
329
+ - spec/support/transaction.rb
330
+ - spec/transaction_spec.rb
289
331
  homepage: http://github.com/stanislaw/simple_roles
290
- licenses:
332
+ licenses:
291
333
  - MIT
292
334
  post_install_message:
293
335
  rdoc_options: []
294
-
295
- require_paths:
336
+ require_paths:
296
337
  - lib
297
- required_ruby_version: !ruby/object:Gem::Requirement
338
+ required_ruby_version: !ruby/object:Gem::Requirement
298
339
  none: false
299
- requirements:
300
- - - ">="
301
- - !ruby/object:Gem::Version
302
- hash: -675418947
303
- segments:
340
+ requirements:
341
+ - - ! '>='
342
+ - !ruby/object:Gem::Version
343
+ version: '0'
344
+ segments:
304
345
  - 0
305
- version: "0"
306
- required_rubygems_version: !ruby/object:Gem::Requirement
346
+ hash: -387698285
347
+ required_rubygems_version: !ruby/object:Gem::Requirement
307
348
  none: false
308
- requirements:
309
- - - ">="
310
- - !ruby/object:Gem::Version
311
- version: "0"
349
+ requirements:
350
+ - - ! '>='
351
+ - !ruby/object:Gem::Version
352
+ version: '0'
312
353
  requirements: []
313
-
314
354
  rubyforge_project:
315
- rubygems_version: 1.8.8
355
+ rubygems_version: 1.8.19
316
356
  signing_key:
317
357
  specification_version: 3
318
358
  summary: Rails Engine providing Role System for Rails apps
319
359
  test_files: []
320
-