haz_enum 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/haz_enum.gemspec +7 -8
- metadata +19 -8
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ begin
|
|
10
10
|
gem.email = "andi@galaxycats.com"
|
11
11
|
gem.homepage = "http://github.com/galaxycats/haz_enum"
|
12
12
|
gem.authors = ["thyphoon"]
|
13
|
-
gem.add_dependency "activerecord", "
|
13
|
+
gem.add_dependency "activerecord", ">= 2.3.0"
|
14
14
|
gem.add_development_dependency "rspec", "~> 1.3.0"
|
15
15
|
gem.add_development_dependency "renum", "~> 1.3.1"
|
16
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.3
|
data/haz_enum.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{haz_enum}
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["thyphoon"]
|
12
|
-
s.date = %q{2011-05-
|
12
|
+
s.date = %q{2011-05-25}
|
13
13
|
s.description = %q{use has_set and has_enum in your ActiveRecord models if you want to have one (has_enum) value from a defined enumeration or more (has_set))}
|
14
14
|
s.email = %q{andi@galaxycats.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
|
|
34
34
|
]
|
35
35
|
s.homepage = %q{http://github.com/galaxycats/haz_enum}
|
36
36
|
s.require_paths = ["lib"]
|
37
|
-
s.rubygems_version = %q{1.
|
37
|
+
s.rubygems_version = %q{1.5.0}
|
38
38
|
s.summary = %q{has_set and has_enum for ActiveRecord}
|
39
39
|
s.test_files = [
|
40
40
|
"spec/enum_spec.rb",
|
@@ -43,20 +43,19 @@ Gem::Specification.new do |s|
|
|
43
43
|
]
|
44
44
|
|
45
45
|
if s.respond_to? :specification_version then
|
46
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
47
46
|
s.specification_version = 3
|
48
47
|
|
49
|
-
if Gem::Version.new(Gem::
|
50
|
-
s.add_runtime_dependency(%q<activerecord>, ["
|
48
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 2.3.0"])
|
51
50
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
|
52
51
|
s.add_development_dependency(%q<renum>, ["~> 1.3.1"])
|
53
52
|
else
|
54
|
-
s.add_dependency(%q<activerecord>, ["
|
53
|
+
s.add_dependency(%q<activerecord>, [">= 2.3.0"])
|
55
54
|
s.add_dependency(%q<rspec>, ["~> 1.3.0"])
|
56
55
|
s.add_dependency(%q<renum>, ["~> 1.3.1"])
|
57
56
|
end
|
58
57
|
else
|
59
|
-
s.add_dependency(%q<activerecord>, ["
|
58
|
+
s.add_dependency(%q<activerecord>, [">= 2.3.0"])
|
60
59
|
s.add_dependency(%q<rspec>, ["~> 1.3.0"])
|
61
60
|
s.add_dependency(%q<renum>, ["~> 1.3.1"])
|
62
61
|
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haz_enum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
9
|
+
- 3
|
10
|
+
version: 0.5.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- thyphoon
|
@@ -14,30 +15,34 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-25 00:00:00 +02:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: activerecord
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
|
-
- -
|
27
|
+
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
31
|
+
- 2
|
28
32
|
- 3
|
29
33
|
- 0
|
30
|
-
|
31
|
-
version: 3.0.0
|
34
|
+
version: 2.3.0
|
32
35
|
type: :runtime
|
33
36
|
version_requirements: *id001
|
34
37
|
- !ruby/object:Gem::Dependency
|
35
38
|
name: rspec
|
36
39
|
prerelease: false
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
38
42
|
requirements:
|
39
43
|
- - ~>
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 27
|
41
46
|
segments:
|
42
47
|
- 1
|
43
48
|
- 3
|
@@ -49,9 +54,11 @@ dependencies:
|
|
49
54
|
name: renum
|
50
55
|
prerelease: false
|
51
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
52
58
|
requirements:
|
53
59
|
- - ~>
|
54
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 25
|
55
62
|
segments:
|
56
63
|
- 1
|
57
64
|
- 3
|
@@ -93,23 +100,27 @@ rdoc_options: []
|
|
93
100
|
require_paths:
|
94
101
|
- lib
|
95
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
96
104
|
requirements:
|
97
105
|
- - ">="
|
98
106
|
- !ruby/object:Gem::Version
|
107
|
+
hash: 3
|
99
108
|
segments:
|
100
109
|
- 0
|
101
110
|
version: "0"
|
102
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
103
113
|
requirements:
|
104
114
|
- - ">="
|
105
115
|
- !ruby/object:Gem::Version
|
116
|
+
hash: 3
|
106
117
|
segments:
|
107
118
|
- 0
|
108
119
|
version: "0"
|
109
120
|
requirements: []
|
110
121
|
|
111
122
|
rubyforge_project:
|
112
|
-
rubygems_version: 1.
|
123
|
+
rubygems_version: 1.5.0
|
113
124
|
signing_key:
|
114
125
|
specification_version: 3
|
115
126
|
summary: has_set and has_enum for ActiveRecord
|