useragent2css 1.2 → 1.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.
- checksums.yaml +15 -0
- data/lib/useragent2css/version.rb +1 -1
- data/lib/useragent2css.rb +1 -0
- data/spec/useragent2css_spec.rb +1 -0
- metadata +5 -13
checksums.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
ODUzOGJiYTgyZmJhNjRlMjY4ZWU4MDlkMTAxZWU5MmIxY2I2ZDc2Yg==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
YzhmOTViMGYzNjUzOTVhM2UzMmFmMWE3NDM5MGFlMTg5OTJiOGM1NA==
|
|
7
|
+
SHA512:
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
OWVkZjk3MDYzODk5MDlhOWFlMWQ3OTU1NDY4NDg2NmUwMWY2ZjdjNTZhMDVl
|
|
10
|
+
NGE1YmFiN2Y2YWU4YTMyOWE4NDBmMTJjMzQ4NmI5YmEzMDAwMDliYjZkYmU5
|
|
11
|
+
MGUyOWZiOTVkYzhkYjFiN2U1MzM4OWRmM2VhZGYxOTQwYTM3NmU=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
MjIwZmUwM2ZmY2Q3OTA1ZWU2NDY3MmE2YmViZGE2MWYxZGVmOTgxYzYxNTFl
|
|
14
|
+
ZjVjNWUzYTgzMTJmZDk3N2EzNDg2ODc1MjRhYTA3MDhjYzVmOTJiYmY4M2Fj
|
|
15
|
+
ZTYwM2U5ODE1NTdhYzg2ZWUyMDBiMmMyY2UxMzNiOWQ5NGZkMTY=
|
data/lib/useragent2css.rb
CHANGED
data/spec/useragent2css_spec.rb
CHANGED
|
@@ -144,6 +144,7 @@ describe UserAgent do
|
|
|
144
144
|
|
|
145
145
|
it "msie" do
|
|
146
146
|
assert_browser_strings({
|
|
147
|
+
"Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko" => "gecko ie11 win",
|
|
147
148
|
"mozilla/4.0 (compatible; msie 8.0; windows nt 5.1; trident/4.0; mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1) ; .net clr 1.1.4322; .net clr 2.0.50727; .net clr 3.0.4506.2152; .net clr 3.5.30729; officeliveconnector.1.4; officelivepatch.1.3)" => "ie ie8 win",
|
|
148
149
|
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.2; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)" => "ie ie8 win",
|
|
149
150
|
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8)" => "ie ie8 win",
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: useragent2css
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: '1.3'
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Lawrence Pit
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2013-12-08 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: actionpack
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - ! '>='
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :development
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - ! '>='
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -30,7 +27,6 @@ dependencies:
|
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: rake
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
31
|
- - ! '>='
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
@@ -38,7 +34,6 @@ dependencies:
|
|
|
38
34
|
type: :development
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
38
|
- - ! '>='
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
@@ -46,7 +41,6 @@ dependencies:
|
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
|
47
42
|
name: rspec
|
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
44
|
requirements:
|
|
51
45
|
- - ! '>='
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
@@ -54,7 +48,6 @@ dependencies:
|
|
|
54
48
|
type: :development
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
51
|
requirements:
|
|
59
52
|
- - ! '>='
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
@@ -75,28 +68,27 @@ files:
|
|
|
75
68
|
- spec/useragent2css_spec.rb
|
|
76
69
|
homepage: http://github.com/lawrencepit/useragent2css
|
|
77
70
|
licenses: []
|
|
71
|
+
metadata: {}
|
|
78
72
|
post_install_message:
|
|
79
73
|
rdoc_options:
|
|
80
74
|
- --charset=UTF-8
|
|
81
75
|
require_paths:
|
|
82
76
|
- lib
|
|
83
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
|
-
none: false
|
|
85
78
|
requirements:
|
|
86
79
|
- - ! '>='
|
|
87
80
|
- !ruby/object:Gem::Version
|
|
88
81
|
version: '0'
|
|
89
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
|
-
none: false
|
|
91
83
|
requirements:
|
|
92
84
|
- - ! '>='
|
|
93
85
|
- !ruby/object:Gem::Version
|
|
94
86
|
version: '0'
|
|
95
87
|
requirements: []
|
|
96
88
|
rubyforge_project:
|
|
97
|
-
rubygems_version: 1.
|
|
89
|
+
rubygems_version: 2.1.11
|
|
98
90
|
signing_key:
|
|
99
|
-
specification_version:
|
|
91
|
+
specification_version: 4
|
|
100
92
|
summary: User-Agent to CSS parser for ruby
|
|
101
93
|
test_files:
|
|
102
94
|
- spec/spec_helper.rb
|