useragent 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/user_agent.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96d4c326dbf2832b5851d5da2e1dd32fb8014918
|
4
|
+
data.tar.gz: 0f6d567a382f9952042263eadfd8b02eec870c74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed16ad54f08a1de0c19d7da8bf5bf331edf8d2311c7efc59489d35f41482dc3ccdd33c0441af4d5d6ff92eefa199848358deeaeab880e6d53a9b1f4ba9a7f49e
|
7
|
+
data.tar.gz: c40a58ecd7f6b42ef7616177aa63af8a87cd68f8ea387598651b1776d59a34f60edcd4799774cff8a66a005dd6b1c66826e58310d26f4a4b967de7ba0c46aabc
|
data/lib/user_agent.rb
CHANGED
@@ -6,7 +6,8 @@ require 'user_agent/version'
|
|
6
6
|
class UserAgent
|
7
7
|
# http://www.texsoft.it/index.php?m=sw.php.useragent
|
8
8
|
MATCHER = %r{
|
9
|
-
^
|
9
|
+
^['"]* # Possible opening quote(s)
|
10
|
+
([^/\s]+) # Product
|
10
11
|
/?([^\s,]*) # Version
|
11
12
|
(\s\(([^\)]*)\)|,gzip\(gfe\))? # Comment
|
12
13
|
}x.freeze
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: useragent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Peek
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-03-
|
12
|
+
date: 2015-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|