attributes 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/attributes-3.0.0.gem +0 -0
- data/lib/{attributes-3.0.0.rb → attributes-3.0.1.rb} +3 -2
- data/lib/attributes.rb +3 -2
- metadata +3 -2
|
Binary file
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
module
|
|
1
|
+
module Attributes
|
|
2
|
+
VERSION = '3.0.1'
|
|
2
3
|
def attributes *a, &b
|
|
3
4
|
unless a.empty?
|
|
4
5
|
hashes, names = a.partition{|x| Hash === x}
|
|
@@ -45,5 +46,5 @@ module Attrbiutes
|
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
class Module
|
|
48
|
-
include
|
|
49
|
+
include Attributes
|
|
49
50
|
end
|
data/lib/attributes.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
module
|
|
1
|
+
module Attributes
|
|
2
|
+
VERSION = '3.0.1'
|
|
2
3
|
def attributes *a, &b
|
|
3
4
|
unless a.empty?
|
|
4
5
|
hashes, names = a.partition{|x| Hash === x}
|
|
@@ -45,5 +46,5 @@ module Attrbiutes
|
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
class Module
|
|
48
|
-
include
|
|
49
|
+
include Attributes
|
|
49
50
|
end
|
metadata
CHANGED
|
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: attributes
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 3.0.
|
|
6
|
+
version: 3.0.1
|
|
7
7
|
date: 2006-07-13 00:00:00.000000 -06:00
|
|
8
8
|
summary: attributes
|
|
9
9
|
require_paths:
|
|
@@ -36,8 +36,9 @@ files:
|
|
|
36
36
|
- gen_readme.rb
|
|
37
37
|
- README.tmpl
|
|
38
38
|
- README
|
|
39
|
-
-
|
|
39
|
+
- attributes-3.0.0.gem
|
|
40
40
|
- lib/attributes.rb
|
|
41
|
+
- lib/attributes-3.0.1.rb
|
|
41
42
|
- samples/a.rb
|
|
42
43
|
- samples/b.rb
|
|
43
44
|
- samples/c.rb
|