enum_id 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +2 -0
  2. data/Gemfile.lock +2 -0
  3. data/VERSION +1 -1
  4. data/enum_id.gemspec +6 -3
  5. data/lib/enum_id.rb +2 -0
  6. metadata +20 -4
data/Gemfile CHANGED
@@ -1,5 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem 'modalsupport'
4
+
3
5
  group :development do
4
6
  gem "shoulda", ">= 0"
5
7
  gem "rdoc", "~> 3.12"
@@ -8,6 +8,7 @@ GEM
8
8
  rake
9
9
  rdoc
10
10
  json (1.6.6)
11
+ modalsupport (0.9.1)
11
12
  rake (0.9.2.2)
12
13
  rdoc (3.12)
13
14
  json (~> 1.4)
@@ -23,5 +24,6 @@ PLATFORMS
23
24
  DEPENDENCIES
24
25
  bundler (~> 1)
25
26
  jeweler (~> 1.8.3)
27
+ modalsupport
26
28
  rdoc (~> 3.12)
27
29
  shoulda
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "enum_id"
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Javier Goizueta"]
12
- s.date = "2012-04-18"
12
+ s.date = "2012-05-17"
13
13
  s.description = "Enumerated ActiveRecord fields "
14
14
  s.email = "jgoizueta@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -31,24 +31,27 @@ Gem::Specification.new do |s|
31
31
  s.homepage = "http://github.com/jgoizueta/enum_id"
32
32
  s.licenses = ["MIT"]
33
33
  s.require_paths = ["lib"]
34
- s.rubygems_version = "1.8.21"
34
+ s.rubygems_version = "1.8.23"
35
35
  s.summary = "Enumerated ActiveRecord fields"
36
36
 
37
37
  if s.respond_to? :specification_version then
38
38
  s.specification_version = 3
39
39
 
40
40
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
41
+ s.add_runtime_dependency(%q<modalsupport>, [">= 0"])
41
42
  s.add_development_dependency(%q<shoulda>, [">= 0"])
42
43
  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
43
44
  s.add_development_dependency(%q<bundler>, ["~> 1"])
44
45
  s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
45
46
  else
47
+ s.add_dependency(%q<modalsupport>, [">= 0"])
46
48
  s.add_dependency(%q<shoulda>, [">= 0"])
47
49
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
48
50
  s.add_dependency(%q<bundler>, ["~> 1"])
49
51
  s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
50
52
  end
51
53
  else
54
+ s.add_dependency(%q<modalsupport>, [">= 0"])
52
55
  s.add_dependency(%q<shoulda>, [">= 0"])
53
56
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
54
57
  s.add_dependency(%q<bundler>, ["~> 1"])
@@ -1,3 +1,5 @@
1
+ require 'modalsupport'
2
+
1
3
  # Defines an enumerated field (stored as an integral id).
2
4
  # The field is defined by its name (which must be the column name without the _id suffix),
3
5
  # and a hash which maps the id valid values of the field to symbolic constants.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enum_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-18 00:00:00.000000000 Z
12
+ date: 2012-05-17 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: modalsupport
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
14
30
  - !ruby/object:Gem::Dependency
15
31
  name: shoulda
16
32
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
124
  version: '0'
109
125
  segments:
110
126
  - 0
111
- hash: 989149257050778085
127
+ hash: 940248895605929145
112
128
  required_rubygems_version: !ruby/object:Gem::Requirement
113
129
  none: false
114
130
  requirements:
@@ -117,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
133
  version: '0'
118
134
  requirements: []
119
135
  rubyforge_project:
120
- rubygems_version: 1.8.21
136
+ rubygems_version: 1.8.23
121
137
  signing_key:
122
138
  specification_version: 3
123
139
  summary: Enumerated ActiveRecord fields