mobile-fu 0.1.0 → 0.1.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.
@@ -5,7 +5,7 @@ module MobileFu
5
5
  # with modification to work for mobile browsers.
6
6
 
7
7
  def device_name
8
- @device_name ||= headers['X_MOBILE_DEVICE']
8
+ @device_name ||= request.headers['X_MOBILE_DEVICE']
9
9
  end
10
10
 
11
11
  def stylesheet_link_tag_with_mobilization(*sources)
@@ -1,3 +1,3 @@
1
1
  module MobileFu
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brendan Lim
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-13 00:00:00 +01:00
18
+ date: 2011-05-16 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency