browsed 0.1.3 → 0.1.4
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22d0cfd950756251b0d10db691ff2ee5871a3816115c66437b2abdbd29d8ff23
|
4
|
+
data.tar.gz: d306348a0a75d0d916793217094841d6be9c61362a47816f231bb49dce1c0e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 254085da7ae69ab151bf5b1a9e20bbd1c06828855d17fdb30f32c940cd3cb7fa334e94c4ec493d7e7075601ea18c4955cdd4d83bd5e9e4d11dd8616c52fea0e9
|
7
|
+
data.tar.gz: d94e1e6767996171d652e332c9e4d96002bc19bf8d14a4dedc119f0485317a92ba99360c6e128eddec514f7ba39cb10a9fec744d8e73443b688c51526eae770b
|
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
|
-
|
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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browsed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|