rails-browscap 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -12
- data/lib/generators/rails_browscap/install/templates/browscap.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -20,30 +20,29 @@ Line 3553
|
|
20
20
|
Parent=Image Crawlers
|
21
21
|
Browser=Gallery Grabber
|
22
22
|
|
23
|
-
makes the current version of browscap choke. I have monkey patched browscap so
|
23
|
+
makes the current version of browscap choke. I have monkey patched browscap so it should be fine.
|
24
24
|
|
25
25
|
Also Line 5228
|
26
26
|
|
27
|
-
[www.substancia.com AutoHTTPAgent (ver *)]
|
28
|
-
Parent=Version Checkers
|
29
|
-
Browser=Substância
|
27
|
+
[www.substancia.com AutoHTTPAgent (ver *)]
|
28
|
+
Parent=Version Checkers
|
29
|
+
Browser=Substância
|
30
30
|
|
31
31
|
the 'â' make inifile < 0.4.0 choke.
|
32
32
|
|
33
|
-
The lib requires inifile >= 0.4.0 so this should be fine.
|
33
|
+
The lib requires inifile >= 0.4.0 so this should be fine tpp.
|
34
34
|
|
35
|
-
|
35
|
+
How To
|
36
36
|
=======
|
37
37
|
|
38
|
-
|
38
|
+
ApplicationController now have a `current_browser` method. That's it.
|
39
39
|
|
40
|
-
|
40
|
+
Notes
|
41
|
+
=======
|
41
42
|
|
42
|
-
|
43
|
+
This is my first rails plugin and it does not quite feels right, I'm sure there is plenty of possible improvements / refactoring.
|
43
44
|
|
44
|
-
|
45
|
-
@current_browser ||= BROWSCAP.query(request.user_agent)
|
46
|
-
end
|
45
|
+
Please send me an message or pull requests if you think so, I'm happy to learn.
|
47
46
|
|
48
47
|
TODO
|
49
48
|
=======
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-browscap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gilles Devaux
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-21 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|