the_role 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/tasks/roles.rake CHANGED
@@ -1,8 +1,8 @@
1
1
  namespace :db do
2
2
  namespace :roles do
3
- # rake db:roles:create
3
+ # rake db:roles:create_test
4
4
  desc 'create roles'
5
- task :create => :environment do
5
+ task :create_test => :environment do
6
6
  # ADMIN
7
7
  role = {
8
8
  :system => {
@@ -1,3 +1,3 @@
1
1
  module TheRole
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
data/lib/the_role.rb CHANGED
@@ -1,6 +1,8 @@
1
- require "the_role/version"
1
+ require "haml"
2
+
2
3
  require "the_role/hash"
3
4
  require "the_role/engine"
5
+ require "the_role/version"
4
6
  require "the_role/the_class_exists"
5
7
 
6
8
  module TheRole
data/the_role.gemspec CHANGED
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
21
21
  # specify any dependencies here; for example:
22
22
  # s.add_development_dependency "rspec"
23
23
  # s.add_runtime_dependency "rest-client"
24
- s.add_runtime_dependency "haml", "~> 3.0"
24
+ s.add_dependency "haml", "~> 3.0"
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_role
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-29 00:00:00.000000000Z
12
+ date: 2011-10-31 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
16
- requirement: &80904720 !ruby/object:Gem::Requirement
16
+ requirement: &83975000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *80904720
24
+ version_requirements: *83975000
25
25
  description: TheRole - simple, but powerful role system for ROR applications
26
26
  email:
27
27
  - zykin-ilya@ya.ru