aaalex-detect_mobiles 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/HISTORY +3 -0
  2. data/lib/detect_mobiles.rb +1 -0
  3. metadata +11 -3
data/HISTORY CHANGED
@@ -1,3 +1,6 @@
1
+ *** version 0.0.5 2008-07-09
2
+ included check for ActionController on require
3
+
1
4
  *** version 0.0.4 2008-07-08
2
5
  added Mime-Types addition to README
3
6
  added HISTORY file
@@ -30,4 +30,5 @@ module Aaalex
30
30
  end
31
31
  end
32
32
 
33
+ raise( "cannot find actionpack") unless defined? ActionController
33
34
  ActionController::Base.send(:include, Aaalex::DetectMobiles)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aaalex-detect_mobiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Peuchert
@@ -11,8 +11,16 @@ cert_chain: []
11
11
 
12
12
  date: 2008-07-08 00:00:00 -07:00
13
13
  default_executable:
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: actionpack
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.0.0
23
+ version:
16
24
  description: RoR before_filter to detect mobile browsers
17
25
  email: apeuchert@googlemail.com
18
26
  executables: []