browsed 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/browsed/client.rb +1 -1
- data/lib/browsed/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25146cbf258b3895185622475556e24ca5829f5a66d67600f5add109eb36fc9c
|
4
|
+
data.tar.gz: 8cc9de7d78aa3c34590c8aa282ab25beb77360bc551e1fd3c0cc5e0923f71bed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee6ed4f1960288b25104d70204d20d3114ac24de6eece8c25965ced3a856e1819d3b96d90ff2e6a9bacc23b7ee00e23bdf96722506c3d1bff6ecb14154b8f591
|
7
|
+
data.tar.gz: ed7753da7f7382dd24c9c52656c27dc9d608f4401755cf96e35c1bba47cdf1978b96c3cecd726c69d0afd2a4e598b64c0c2c2bb2812ef0ca65d40fb9c9e1586e
|
data/Gemfile.lock
CHANGED
data/lib/browsed/client.rb
CHANGED
@@ -127,7 +127,7 @@ module Browsed
|
|
127
127
|
def set_user_agent(user_agent)
|
128
128
|
if !user_agent.to_s.empty?
|
129
129
|
self.user_agent = user_agent
|
130
|
-
elsif user_agent
|
130
|
+
elsif user_agent&.to_sym&.eql?(:randomize) || poltergeist?
|
131
131
|
case self.device
|
132
132
|
when :iphone
|
133
133
|
self.user_agent = Agents.random_user_agent(:phones, :iphone)
|
data/lib/browsed/version.rb
CHANGED