pincers 0.7.10 → 0.7.11

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
  SHA1:
3
- metadata.gz: 3614304cfaeb3648c40ddc68f10a83d655a5579b
4
- data.tar.gz: 912879b117cb00d1198c1a809398809930acbb61
3
+ metadata.gz: 3aa932790147998f5ca9123d0df78e7a379e2e38
4
+ data.tar.gz: 0d530dd7ce3dc2983dff5e8a665800b23fd6d7c9
5
5
  SHA512:
6
- metadata.gz: 808bd93e415cca14da9fb0613cb333316f4951d056393479909d6b408e8e170bf241e34dc0ffc8b620a58082f392a2532b8aa51589bfe62966112ce93d8d39ed
7
- data.tar.gz: f27dd729231d1411e7827f01d7ac14ea520b92282bd256d19344f98be76586e4df6920bdf71f8b955f80d0eba442c4c9e3a51b2eaf875112d3949b9c5e3de156
6
+ metadata.gz: 16d475bd25f798ba21a9808503f42ed4f9880718263e14be84c70faf66a2ea2272085a5d4db4d9af2856a3a777464fbf6899d7a9ae5e55aebdc6536720eb4dbc
7
+ data.tar.gz: 55668b80b37be88783ae7795eb378bc008b6b8b8d34adb6e882d8ce54d98647003cb8f45da0777d10f72c4136e13319546e80d25d8d22dffd6c263c419ea2609
@@ -15,7 +15,7 @@ module Pincers::Chenso
15
15
 
16
16
  def default_headers(_options)
17
17
  {
18
- 'User-Agent' => _options.fetch(:user_agent, default_user_agent)
18
+ 'User-Agent' => (_options[:user_agent] || default_user_agent)
19
19
  }
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module Pincers
2
- VERSION = "0.7.10"
2
+ VERSION = "0.7.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pincers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.10
4
+ version: 0.7.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Baixas