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 CHANGED
@@ -1,3 +1,7 @@
1
+ == Release 0.2.1 (September 15, 2011)
2
+
3
+ * Syntax fixes to YAML data so it loads with Psych (basically Rails 3.1 support)
4
+
1
5
  == Release 0.2.0 (July 30, 2011)
2
6
 
3
7
  * Seperate code into real modules
data/data/browsers.yml CHANGED
@@ -3,29 +3,29 @@
3
3
 
4
4
  - :name: Internet Explorer %s
5
5
  :sym: :msie
6
- :regex: 'msie \d+'
7
- :version: '(?<=msie )[0-9]+'
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: 'chrome/\d+'
14
- :version: '(?<=chrome/)[0-9]+'
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: 'chromium/\d+'
20
- :version: '(?<=chromium/)[0-9]+'
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: '(?<=android )[0-9]+(\.[0-9]+)?'
28
- :safe_version: ["android [0-9]+(\.[0-9]+)?", "[0-9]+(\.[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: '(?<=epiphany/)[0-9]+'
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: '(?<=version/)[0-9]+'
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: '((?<=version/)[0-9]+)|((?<=opera )[0-9]+)'
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: '(?<=firefox/)[0-9]+'
59
+ :version: (?<=firefox/)[0-9]+
60
60
  :safe_version: ["firefox/[0-9]+", "[0-9]+"]
61
61
 
62
62
  - :name: Unknown
@@ -1,3 +1,7 @@
1
+ begin
2
+ require 'psych'
3
+ rescue LoadError
4
+ end
1
5
  require 'yaml'
2
6
 
3
7
  module DoubleAgent
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
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-07-30 00:00:00 -04:00
17
+ date: 2011-09-15 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20