map 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/map.rb +2 -2
- data/map.gemspec +27 -0
- metadata +5 -4
data/Rakefile
CHANGED
data/lib/map.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class Map < Hash
|
2
|
-
Version = '2.2.
|
2
|
+
Version = '2.2.1' unless defined?(Version)
|
3
3
|
Load = Kernel.method(:load) unless defined?(Load)
|
4
4
|
|
5
5
|
class << Map
|
@@ -514,7 +514,7 @@ class Map < Hash
|
|
514
514
|
self[key] = value
|
515
515
|
else
|
516
516
|
key = method
|
517
|
-
super unless has_key?(key)
|
517
|
+
super(method, *args, &block) unless has_key?(key)
|
518
518
|
self[key]
|
519
519
|
end
|
520
520
|
end
|
data/map.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
## map.gemspec
|
2
|
+
#
|
3
|
+
|
4
|
+
Gem::Specification::new do |spec|
|
5
|
+
spec.name = "map"
|
6
|
+
spec.version = "2.2.1"
|
7
|
+
spec.platform = Gem::Platform::RUBY
|
8
|
+
spec.summary = "map"
|
9
|
+
spec.description = "description: map kicks the ass"
|
10
|
+
|
11
|
+
spec.files = ["a.rb", "lib", "lib/map", "lib/map/options.rb", "lib/map/struct.rb", "lib/map.rb", "map.gemspec", "Rakefile", "README", "test", "test/lib", "test/lib/testing.rb", "test/map_test.rb", "TODO"]
|
12
|
+
spec.executables = []
|
13
|
+
|
14
|
+
spec.require_path = "lib"
|
15
|
+
|
16
|
+
spec.has_rdoc = true
|
17
|
+
spec.test_files = nil
|
18
|
+
#spec.add_dependency 'lib', '>= version'
|
19
|
+
#spec.add_dependency 'fattr'
|
20
|
+
|
21
|
+
spec.extensions.push(*[])
|
22
|
+
|
23
|
+
spec.rubyforge_project = "codeforpeople"
|
24
|
+
spec.author = "Ara T. Howard"
|
25
|
+
spec.email = "ara.t.howard@gmail.com"
|
26
|
+
spec.homepage = "http://github.com/ahoward/map/tree/master"
|
27
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: map
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 2.2.
|
9
|
+
- 1
|
10
|
+
version: 2.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ara T. Howard
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-25 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -32,6 +32,7 @@ files:
|
|
32
32
|
- lib/map/options.rb
|
33
33
|
- lib/map/struct.rb
|
34
34
|
- lib/map.rb
|
35
|
+
- map.gemspec
|
35
36
|
- Rakefile
|
36
37
|
- README
|
37
38
|
- test/lib/testing.rb
|