double_agent 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/data/browsers.yml +12 -12
- data/lib/double_agent/parser.rb +4 -0
- metadata +3 -3
data/CHANGELOG
CHANGED
data/data/browsers.yml
CHANGED
@@ -3,29 +3,29 @@
|
|
3
3
|
|
4
4
|
- :name: Internet Explorer %s
|
5
5
|
:sym: :msie
|
6
|
-
:regex:
|
7
|
-
:version:
|
6
|
+
:regex: msie \d+
|
7
|
+
:version: (?<=msie )[0-9]+
|
8
8
|
:safe_version: ["msie [0-9]+", "[0-9]+"]
|
9
9
|
|
10
10
|
- :name: Chrome %s
|
11
11
|
:sym: :chrome
|
12
12
|
:family_sym: :chromium
|
13
|
-
:regex:
|
14
|
-
:version:
|
13
|
+
:regex: chrome/\d+
|
14
|
+
:version: (?<=chrome/)[0-9]+
|
15
15
|
:safe_version: ["chrome/[0-9]+", "[0-9]+"]
|
16
16
|
|
17
17
|
- :name: Chromium %s
|
18
18
|
:sym: :chromium
|
19
|
-
:regex:
|
20
|
-
:version:
|
19
|
+
:regex: chromium/\d+
|
20
|
+
:version: (?<=chromium/)[0-9]+
|
21
21
|
:safe_version: ["chromium/[0-9]+", "[0-9]+"]
|
22
22
|
|
23
23
|
- :name: Android %s
|
24
24
|
:sym: :android
|
25
25
|
:family_sym: :chromium
|
26
26
|
:regex: android
|
27
|
-
:version:
|
28
|
-
:safe_version: ["android [0-9]+(
|
27
|
+
:version: (?<=android )[0-9]+(\.[0-9]+)?
|
28
|
+
:safe_version: ["android [0-9]+(\\.[0-9]+)?", "[0-9]+(\\.[0-9]+)?"]
|
29
29
|
|
30
30
|
- :name: BlackBerry
|
31
31
|
:sym: :blackberry
|
@@ -34,19 +34,19 @@
|
|
34
34
|
- :name: Epiphany
|
35
35
|
:sym: :epiphany
|
36
36
|
:regex: epiphany
|
37
|
-
:version:
|
37
|
+
:version: (?<=epiphany/)[0-9]+
|
38
38
|
:safe_version: ["epiphany/[0-9]+", "[0-9]+"]
|
39
39
|
|
40
40
|
- :name: Safari %s
|
41
41
|
:sym: :safari
|
42
42
|
:regex: safari
|
43
|
-
:version:
|
43
|
+
:version: (?<=version/)[0-9]+
|
44
44
|
:safe_version: ["version/[0-9]+", "[0-9]+"]
|
45
45
|
|
46
46
|
- :name: Opera %s
|
47
47
|
:sym: :opera
|
48
48
|
:regex: opera
|
49
|
-
:version:
|
49
|
+
:version: ((?<=version/)[0-9]+)|((?<=opera )[0-9]+)
|
50
50
|
:safe_version: ["(version/[0-9]+)|(opera [0-9]+)", "[0-9]+"]
|
51
51
|
|
52
52
|
- :name: Konqueror
|
@@ -56,7 +56,7 @@
|
|
56
56
|
- :name: Firefox %s
|
57
57
|
:sym: :firefox
|
58
58
|
:regex: firefox
|
59
|
-
:version:
|
59
|
+
:version: (?<=firefox/)[0-9]+
|
60
60
|
:safe_version: ["firefox/[0-9]+", "[0-9]+"]
|
61
61
|
|
62
62
|
- :name: Unknown
|
data/lib/double_agent/parser.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jordan Hollinger
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-09-15 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|