map 4.0.0 → 4.1.0
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/lib/map.rb +7 -1
- data/map.gemspec +1 -1
- metadata +4 -4
data/lib/map.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
class Map < Hash
|
|
2
|
-
Version = '4.
|
|
2
|
+
Version = '4.1.0' unless defined?(Version)
|
|
3
3
|
Load = Kernel.method(:load) unless defined?(Load)
|
|
4
4
|
|
|
5
5
|
class << Map
|
|
@@ -844,6 +844,12 @@ class Map < Hash
|
|
|
844
844
|
return false
|
|
845
845
|
end
|
|
846
846
|
alias_method 'contains?', 'contains'
|
|
847
|
+
|
|
848
|
+
## for rails' extract_options! compat
|
|
849
|
+
#
|
|
850
|
+
def extractable_options?
|
|
851
|
+
true
|
|
852
|
+
end
|
|
847
853
|
end
|
|
848
854
|
|
|
849
855
|
module Kernel
|
data/map.gemspec
CHANGED
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: 59
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 4
|
|
8
|
+
- 1
|
|
8
9
|
- 0
|
|
9
|
-
|
|
10
|
-
version: 4.0.0
|
|
10
|
+
version: 4.1.0
|
|
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-
|
|
18
|
+
date: 2011-06-03 00:00:00 -06:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|