agent_helpers 0.0.3 → 0.0.4

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: 3554deaaaf3356dfb3929d7c7776930b0346304f
4
- data.tar.gz: e2552702bc1a372a0f845d72653c5411375c737b
3
+ metadata.gz: e5a843200ac2b5d5a65687ae5b9c59b35ba29f75
4
+ data.tar.gz: 59163b504bcd4ac9bfc4b7a8728b5487071b3e25
5
5
  SHA512:
6
- metadata.gz: 7fb3a8bfae9a91a989d783e1de0ec07e9b96ada9bca8487e96c95d266e782439a4e223f620604b0d60113b0a67e49cc4f84749c64d2352e1f196ce96f156b3fa
7
- data.tar.gz: 055f12bfd5dcb8031f35fc40493ffccdb6242fca6f424867ff8042428dbd86d04b80c99697939a6ed1148936e3e0f492e55c5f3a749f4bc57b4e01fbc11132f0
6
+ metadata.gz: dced58e9b2a703776c37fbcd989acbef7e031c504d8eeea46b01c7151cd6140fa04161d33d28cd0e9c238cb38062270d74d35c91f6137ff3ded47407661d3adb
7
+ data.tar.gz: e144727fd09d2ee26aa6028aaff50c1571282c874bb403f40f93336acc19e480e7040ce2b40d373f64eef7a01e02dd62eb1b6cca27f80400ad56e42ce0cd57e9
@@ -139,7 +139,7 @@ private
139
139
  elsif @user_agent.include?("linux")
140
140
  @os = :linux
141
141
  @os_title = "Linux"
142
- elsif match = @user_agent.match(/mac os x ([\d_]+)/)
142
+ elsif match = @user_agent.match(/mac os x ([\d_\.]+)/)
143
143
  @os = :osx
144
144
  @os_version = match[1].gsub("_", ".")
145
145
  detect_osx_title
@@ -1,3 +1,3 @@
1
1
  module AgentHelpers
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agent_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-09 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails