humanity 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,8 +3,8 @@ module Humanity
3
3
  belongs_to :human, polymorphic: true
4
4
  belongs_to :role
5
5
 
6
- attr_accessible # none
6
+ #attr_accessible # none
7
7
 
8
8
  scope :by_source, ->(source) { where(source: source) }
9
9
  end
10
- end
10
+ end
@@ -2,7 +2,7 @@ module Humanity
2
2
  class Role < ActiveRecord::Base
3
3
  has_many :assignments, dependent: :destroy
4
4
 
5
- attr_accessible # none
5
+ #attr_accessible # none
6
6
 
7
7
  validates_presence_of :name
8
8
 
@@ -14,4 +14,4 @@ module Humanity
14
14
  to_s.to_sym
15
15
  end
16
16
  end
17
- end
17
+ end
@@ -1,3 +1,3 @@
1
1
  module Humanity
2
- VERSION = '0.1.0'
3
- end
2
+ VERSION = '0.2.0'
3
+ end
metadata CHANGED
@@ -1,38 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: humanity
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Adam Crownoble
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-01-22 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-07-01 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rails
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 3.0.0
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 7
29
+ segments:
30
+ - 3
31
+ - 0
32
+ - 0
29
33
  version: 3.0.0
34
+ type: :runtime
35
+ version_requirements: *id001
30
36
  description: Mix in Humanity and get common user model functionality
31
37
  email: adam.crownoble@biola.edu
32
38
  executables: []
39
+
33
40
  extensions: []
41
+
34
42
  extra_rdoc_files: []
35
- files:
43
+
44
+ files:
36
45
  - app/models/humanity/assignment.rb
37
46
  - app/models/humanity/role.rb
38
47
  - lib/humanity/version.rb
@@ -45,26 +54,36 @@ files:
45
54
  - lib/humanity.rb
46
55
  homepage: https://github.com/biola/humanity
47
56
  licenses: []
57
+
48
58
  post_install_message:
49
59
  rdoc_options: []
50
- require_paths:
60
+
61
+ require_paths:
51
62
  - lib
52
- required_ruby_version: !ruby/object:Gem::Requirement
63
+ required_ruby_version: !ruby/object:Gem::Requirement
53
64
  none: false
54
- requirements:
55
- - - ! '>='
56
- - !ruby/object:Gem::Version
57
- version: '0'
58
- required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
71
+ version: "0"
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
73
  none: false
60
- requirements:
61
- - - ! '>='
62
- - !ruby/object:Gem::Version
63
- version: '0'
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ hash: 3
78
+ segments:
79
+ - 0
80
+ version: "0"
64
81
  requirements: []
82
+
65
83
  rubyforge_project:
66
- rubygems_version: 1.8.24
84
+ rubygems_version: 1.8.25
67
85
  signing_key:
68
86
  specification_version: 3
69
87
  summary: Common user functionality
70
88
  test_files: []
89
+