useragent 0.5.0 → 0.6.0
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/version.rb +4 -2
- 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: 6bd2fddf09bf699480234fa4a5dd23ac9483fbb3
|
4
|
+
data.tar.gz: 96c418dd604d71880768970b1d4daac20f4bcc59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06ecace6200dc406daf59dcd4caf10027df2dc1f09f45102573e6832c89fe1c48f70207dffb774463f1ced31f34d15fd4ef109d879169f7bdfb05cc2ada7303f
|
7
|
+
data.tar.gz: 6ae18611dd35bf799b55fba0a7ea226f33aeda55d488ed4766e5d22b5ac4cd9ea4d7afdf1de0257a175e204c1824c0258ce3189d6c260f11ac90837a83e5e1ae
|
data/lib/user_agent/version.rb
CHANGED
@@ -67,13 +67,15 @@ class UserAgent
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
0
|
70
|
+
elsif to_s == other.to_s
|
71
|
+
return 0
|
70
72
|
else
|
71
|
-
|
73
|
+
return -1
|
72
74
|
end
|
73
75
|
when String
|
74
76
|
self <=> self.class.new(other)
|
75
77
|
else
|
76
|
-
|
78
|
+
nil
|
77
79
|
end
|
78
80
|
end
|
79
81
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: useragent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Peek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|