mobilicious 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mobilicious/rails_ext.rb +1 -0
  2. metadata +5 -7
@@ -5,6 +5,7 @@ module MightBeMobile
5
5
  MOBILE_REGEX = /mobile/i
6
6
 
7
7
  def is_mobile?
8
+ return true if params[:mobile].present?
8
9
  return request.headers['User-Agent'] =~ MOBILE_REGEX
9
10
  end
10
11
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Eric Mueller
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-04-27 00:00:00 -04:00
17
+ date: 2012-03-17 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -33,7 +33,7 @@ files:
33
33
  - MIT-LICENSE
34
34
  - Rakefile
35
35
  - README.md
36
- has_rdoc: false
36
+ has_rdoc: true
37
37
  homepage: http://github.com/nevinera/mobilicious
38
38
  licenses: []
39
39
 
@@ -43,7 +43,6 @@ rdoc_options: []
43
43
  require_paths:
44
44
  - lib
45
45
  required_ruby_version: !ruby/object:Gem::Requirement
46
- none: false
47
46
  requirements:
48
47
  - - ">="
49
48
  - !ruby/object:Gem::Version
@@ -51,7 +50,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
50
  - 0
52
51
  version: "0"
53
52
  required_rubygems_version: !ruby/object:Gem::Requirement
54
- none: false
55
53
  requirements:
56
54
  - - ">="
57
55
  - !ruby/object:Gem::Version
@@ -61,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
59
  requirements: []
62
60
 
63
61
  rubyforge_project:
64
- rubygems_version: 1.3.7
62
+ rubygems_version: 1.3.6
65
63
  signing_key:
66
64
  specification_version: 3
67
65
  summary: Making mobile-capable sites easier