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 +5 -5
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/test/stripe/util_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 05e6ddfb69ef84d47873753c50ccfaa0421d7d39
|
4
|
+
data.tar.gz: 6131646af9ce7c75506362e18f395252b5f32395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d590869256e0ae74822a118c09198c2cccb9a3b8c0e6b8df8217537d69bc26e45c3f2be52105a799d370fe170a101d9913fa7974d8312ddf78a73f86b2b41a0
|
7
|
+
data.tar.gz: 464007a1157ff799d01125e674890eb6c0605064dafb543ab2e808f91d6a0559b674e17613f61eaa9cfe8a2d71400c6e025be3a9b73c48121c27af8299c1cbec
|
data/CHANGELOG.md
CHANGED
@@ -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
|
+
3.17.2
|
data/lib/stripe/util.rb
CHANGED
@@ -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?
|
data/lib/stripe/version.rb
CHANGED
data/test/stripe/util_test.rb
CHANGED
@@ -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:
|
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.
|
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.
|
193
|
+
rubygems_version: 2.6.14
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: Ruby bindings for the Stripe API
|