stripe 3.17.1 → 3.17.2

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
- SHA256:
3
- metadata.gz: acbfb1122ba314433628312929afc3560c5cf758d16665433d119b845e32001d
4
- data.tar.gz: 14444a0da91da5fadbbd74ce3ec492ab03d5724de25c2a0d26f955fda6208fdb
2
+ SHA1:
3
+ metadata.gz: 05e6ddfb69ef84d47873753c50ccfaa0421d7d39
4
+ data.tar.gz: 6131646af9ce7c75506362e18f395252b5f32395
5
5
  SHA512:
6
- metadata.gz: 3413e4af564775f3fedab1418387361a68903b3f883b240395cf8deb70fed1c562e82f5c32e8dec94fb9b90053aafb798d6287c32083cf16a959dfdc097774eb
7
- data.tar.gz: 5e6505abae65f4d3e014b71820efbe96509df473e5957f26b3be933cca89e5da06cf7884a05a961884a263863c68c88e52c5c83ca29f12e5d13dd6a0f55c8dcd
6
+ metadata.gz: 7d590869256e0ae74822a118c09198c2cccb9a3b8c0e6b8df8217537d69bc26e45c3f2be52105a799d370fe170a101d9913fa7974d8312ddf78a73f86b2b41a0
7
+ data.tar.gz: 464007a1157ff799d01125e674890eb6c0605064dafb543ab2e808f91d6a0559b674e17613f61eaa9cfe8a2d71400c6e025be3a9b73c48121c27af8299c1cbec
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.17.2 - 2018-07-19
4
+ * [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
5
+
3
6
  ## 3.17.1 - 2018-07-19
4
7
  * [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
5
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.17.1
1
+ 3.17.2
@@ -396,7 +396,7 @@ module Stripe
396
396
  def self.log_internal(message, data = {}, color: nil, level: nil, logger: nil, out: nil)
397
397
  data_str = data.reject { |_k, v| v.nil? }
398
398
  .map do |(k, v)|
399
- format("%s=%s", colorize(k, color, !out.nil? && out.isatty), wrap_logfmt_value(v))
399
+ format("%s=%s", colorize(k, color, logger.nil? && !out.nil? && out.isatty), wrap_logfmt_value(v))
400
400
  end.join(" ")
401
401
 
402
402
  if !logger.nil?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "3.17.1".freeze
4
+ VERSION = "3.17.2".freeze
5
5
  end
@@ -396,7 +396,7 @@ module Stripe
396
396
  }
397
397
 
398
398
  Util.send(:log_internal, "message", { foo: "bar" },
399
- color: :green, level: Stripe::LEVEL_DEBUG, logger: logger, out: nil)
399
+ color: :green, level: Stripe::LEVEL_DEBUG, logger: logger, out: $stdout)
400
400
  assert_equal "message=message foo=bar",
401
401
  out.string
402
402
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.17.1
4
+ version: 3.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  requirements: []
192
192
  rubyforge_project:
193
- rubygems_version: 2.7.7
193
+ rubygems_version: 2.6.14
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: Ruby bindings for the Stripe API