aua 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: 900211a4adb2fb31f00f974c4812046e9d66053577a29caa24bc9a98325e6dbc
4
- data.tar.gz: b4c9cc887f15d7e093c5e81a3b9961331cd674a882cc413bdd526717e86d536f
3
+ metadata.gz: ed65dbc5b074572f12ba6f6e7151c2e251bf598c7a3e089670d4411b996a351a
4
+ data.tar.gz: 9f6cd77585e459b23bc79e6ea6e94f6693af40477acbe46492a8005cbb604838
5
5
  SHA512:
6
- metadata.gz: 4516385abff4eca5f276517463be74287c42e38a065258b3e0c3a2db7cf20f700e747c4b3feba2ee6eacb604fc49564c795dbb1b90f180180dfa60c60ea45449
7
- data.tar.gz: af95f1e46838ad354fde9339a964a75a4619c433f1475c7d317027d1d22eda95d9848ea791130a268ee0aa08d61ba300b16844a76f81f077b82650f9bcb732e4
6
+ metadata.gz: 99f7f87c0b69e2c31a49cbcc39cf4307216a021abba964b80dd711714f4446a4173793b73a01460db80ccb5c680f3ea63c6e54e8df68789d2a67b1eb11b746e7
7
+ data.tar.gz: a21690e1eeac97fe0af0bc6690ab1dc95accc17a01620ee78b29812dc7778809e13ff18ea0c5ecf7576fcda40afbe7f0818173479482d095646d6b97fc172b26
@@ -18,12 +18,8 @@ module Aua::Agents::Msie
18
18
  end
19
19
 
20
20
  def version
21
- @version ||= begin
22
- if app_comments_string =~ PATTERN
23
- $1 == "Trident\/" ? TRIDENT_VERSION_MAP[$2] || $2 : $2
24
- else
25
- version_of("Edge").split(/\./, 2)[0]
26
- end
21
+ @version ||= if app_comments_string =~ PATTERN
22
+ $1 == "Trident\/" ? TRIDENT_VERSION_MAP[$2] || $2 : $2
27
23
  end
28
24
  end
29
25
  end
data/lib/aua/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Aua
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aua
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Munz