wurfl-lite 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
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 ] : nil
10
+ has_key?( method ) ? self[ method ] : ( has_key?( :fall_back ) ? self[ :fall_back ].send( method ) : nil )
11
11
  end
12
12
  end
13
13
 
@@ -1,3 +1,3 @@
1
1
  class WURFL
2
- VERSION = "0.0.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -3,10 +3,10 @@ name: wurfl-lite
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
+ - 1
6
7
  - 0
7
8
  - 0
8
- - 1
9
- version: 0.0.1
9
+ version: 1.0.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Clive Crous
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-08 00:00:00 +02:00
17
+ date: 2011-02-09 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- hash: -366239857
117
+ hash: 697788111
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: -366239857
126
+ hash: 697788111
127
127
  segments:
128
128
  - 0
129
129
  version: "0"