wurfl-lite 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wurfl-lite.rb +1 -1
- data/lib/wurfl-lite/version.rb +1 -1
- metadata +4 -4
data/lib/wurfl-lite.rb
CHANGED
@@ -7,7 +7,7 @@ class WURFL
|
|
7
7
|
|
8
8
|
class Hash < ::Hash
|
9
9
|
def method_missing( method )
|
10
|
-
has_key?( method ) ? self[ method ] : (
|
10
|
+
has_key?( method ) ? self[ method ] : ( self[ :fall_back ] ? self[ :fall_back ].send( method ) : nil )
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
data/lib/wurfl-lite/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 1
|
9
|
+
version: 1.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Clive Crous
|
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
hash:
|
117
|
+
hash: 676964349
|
118
118
|
segments:
|
119
119
|
- 0
|
120
120
|
version: "0"
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
hash:
|
126
|
+
hash: 676964349
|
127
127
|
segments:
|
128
128
|
- 0
|
129
129
|
version: "0"
|