is_it_mobile 1.0.0.2 → 1.0.0.3
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.tar.gz.sig +0 -0
- data/History.txt +0 -7
- data/README.txt +2 -1
- data/lib/is_it_mobile.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -6,11 +6,12 @@
|
|
6
6
|
|
7
7
|
Simply determines if a user agent is for a mobile device.
|
8
8
|
|
9
|
+
Comes ready with a module for Rails 2.0 to enable multiviews (respond_to with a custom mimetype) for mobile devices (see Synopsis).
|
10
|
+
|
9
11
|
|
10
12
|
== FEATURES/PROBLEMS:
|
11
13
|
|
12
14
|
* Fast & Lightweight (doesn't use anything like WURFL, which would be overkill for a quick check)
|
13
|
-
* Comes with a module for Rails 2.0 to enable a custom mime type handler for mobile devices
|
14
15
|
|
15
16
|
|
16
17
|
== SYNOPSIS:
|
data/lib/is_it_mobile.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class IsItMobile
|
2
|
-
VERSION = '1.0.0.
|
2
|
+
VERSION = '1.0.0.3'
|
3
3
|
|
4
4
|
POPULAR_MOBILE_USER_AGENT_BEGINNINGS = ['w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac', 'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno','ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-', 'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','oper','palm','pana','pant','phil','play','port','prox', 'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-', 'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp','wapr','webc','winw','winw','xda','xda-']
|
5
5
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: is_it_mobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Myron
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.5.1
|
44
44
|
version:
|
45
|
-
description: Simply determines if a user agent is for a mobile device.
|
45
|
+
description: Simply determines if a user agent is for a mobile device. Comes ready with a module for Rails 2.0 to enable multiviews (respond_to with a custom mimetype) for mobile devices (see Synopsis).
|
46
46
|
email:
|
47
47
|
- dave.myron@contentfree.com
|
48
48
|
executables: []
|
@@ -86,6 +86,6 @@ rubyforge_project: contentfree
|
|
86
86
|
rubygems_version: 1.1.1
|
87
87
|
signing_key:
|
88
88
|
specification_version: 2
|
89
|
-
summary: Simply determines if a user agent is for a mobile device
|
89
|
+
summary: Simply determines if a user agent is for a mobile device
|
90
90
|
test_files:
|
91
91
|
- test/test_is_it_mobile.rb
|
metadata.gz.sig
CHANGED
Binary file
|