useragent 0.16.4 → 0.16.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e43d6316204c15aaad84fa02b020866075b39fa8
4
- data.tar.gz: b716e6cfe14f3be5bbdfbaa3c9c750203cec9d86
3
+ metadata.gz: 2968c2152b43a75d824f8f92798fa67f326ddc57
4
+ data.tar.gz: 44921683e65eff66400facf87f263f9d1ce47a7b
5
5
  SHA512:
6
- metadata.gz: 1ba86b3534c32e44b16c1b894f40b4be839e629fa81cd73dec2055f3ce95991fb0cb02a7055591eb3f6a7781713fb4122eb04133f43239672e73a8b1a81a1e01
7
- data.tar.gz: b708812c912e47f4ae9bfedaf385bdd59dc42011a100a33868514bc68399713a561843d195472c6a253e1e599b507dac78684f4b83a6d66380bae5da39859a10
6
+ metadata.gz: b19c3b33e5055a7ada639af7934857483e0c9c2144d1542d68e538972219c0f735d86f19f2218cfde55edc3a74a8651c20791dfb6856bc0fef54da2e1b721418
7
+ data.tar.gz: 250804547eb7ac0dfaca4e78a6b3ebe54f28ea336e39bdf6b0de14ae3492161d445299ec158dc4db522fc01f055ed21930d40bb6d7704cabd74a7801288998cd
@@ -7,8 +7,12 @@ class UserAgent
7
7
  }
8
8
  end
9
9
 
10
+ ChromeBrowsers = %w(
11
+ Iron
12
+ ).freeze
13
+
10
14
  def browser
11
- 'Chrome'
15
+ ChromeBrowsers.detect { |browser| respond_to?(browser) } || 'Chrome'
12
16
  end
13
17
 
14
18
  def build
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.16.4
4
+ version: 0.16.5
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: 2016-02-21 00:00:00.000000000 Z
12
+ date: 2016-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake