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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22d0cfd950756251b0d10db691ff2ee5871a3816115c66437b2abdbd29d8ff23
4
- data.tar.gz: d306348a0a75d0d916793217094841d6be9c61362a47816f231bb49dce1c0e6a
3
+ metadata.gz: 25146cbf258b3895185622475556e24ca5829f5a66d67600f5add109eb36fc9c
4
+ data.tar.gz: 8cc9de7d78aa3c34590c8aa282ab25beb77360bc551e1fd3c0cc5e0923f71bed
5
5
  SHA512:
6
- metadata.gz: 254085da7ae69ab151bf5b1a9e20bbd1c06828855d17fdb30f32c940cd3cb7fa334e94c4ec493d7e7075601ea18c4955cdd4d83bd5e9e4d11dd8616c52fea0e9
7
- data.tar.gz: d94e1e6767996171d652e332c9e4d96002bc19bf8d14a4dedc119f0485317a92ba99360c6e128eddec514f7ba39cb10a9fec744d8e73443b688c51526eae770b
6
+ metadata.gz: ee6ed4f1960288b25104d70204d20d3114ac24de6eece8c25965ced3a856e1819d3b96d90ff2e6a9bacc23b7ee00e23bdf96722506c3d1bff6ecb14154b8f591
7
+ data.tar.gz: ed7753da7f7382dd24c9c52656c27dc9d608f4401755cf96e35c1bba47cdf1978b96c3cecd726c69d0afd2a4e598b64c0c2c2bb2812ef0ca65d40fb9c9e1586e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- browsed (0.1.4)
4
+ browsed (0.1.5)
5
5
  agents
6
6
  capybara (~> 3.4, >= 3.4.1)
7
7
  poltergeist (~> 1.18, >= 1.18.1)
@@ -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.to_sym.eql?(:randomize) || poltergeist?
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)
@@ -1,3 +1,3 @@
1
1
  module Browsed
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browsed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian