stripe 1.38.0 → 1.39.0

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: 004d768dc2a4f11d96636a68dff3e31891d2e27a
4
- data.tar.gz: d7f1a7fa8310ae02dcd6994ece7499558a4d65a5
3
+ metadata.gz: d85fbb3d136599c0b9bae5cb778c12f9ae096d63
4
+ data.tar.gz: 67f6bc92701eb682d59e02475b40856cbcd809f2
5
5
  SHA512:
6
- metadata.gz: 90fa0546b9523e82eeca3dbbdc940dceeb2bf75ddb275d800b1eb53a8d4774333cbbc843d8a3fa9d4d976dd9b6080b6cfcf9af27a031415e1372d20d21aaf450
7
- data.tar.gz: a0b56c9de14ced6bedd61463c30c32175363bf8a05ab5ef8d70089c8c5d30abcafa44684bd8446c35e7b9ec2b32e83dfed43842a28a5c70303b55197f1980477
6
+ metadata.gz: 7862e43d639dd5fefe90dd86d08849f93632fe53bb32d891b501e0b57756dc6057edec00a1985baab7a2bfa5ad0314211798e4e892bdf331f1354d9bb936a84b
7
+ data.tar.gz: 45f6bbf7da450324722d0fa9d6f03ce3eaf22fc28cd56c2f82d1d181d6e6f3bf482e55df59a894fee7aff3ff903e235d5d1033881b26f0d19070fa5e7399748c
@@ -1,3 +1,7 @@
1
+ === 1.39.0 2016-03-31
2
+
3
+ * Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
4
+
1
5
  === 1.38.0 2016-03-18
2
6
 
3
7
  * Allow `opts` to be passed to an API resource's `#save` method
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.39.0
@@ -3891,3 +3891,29 @@ MluARZPzA7gwCgYIKoZIzj0EAwMDaAAwZQIxAOSkhLCB1T2wdKyUpOgOPQB0TKGXa/kNUTyh2Tv0
3891
3891
  Daupn75OcsqF1NnstTJFGG+rrQIwfcf3aWMvoeGY7xMQ0Xk/0f7qO3/eVvSQsRUR2LIiFdAvwyYu
3892
3892
  a/GRspBl9JrmkO5K
3893
3893
  -----END CERTIFICATE-----
3894
+
3895
+ ================================================================
3896
+ C: US
3897
+ O: GTE Corporation
3898
+ OU: GTE CyberTrust Solutions, Inc.
3899
+ CN: GTE CyberTrust Global Root
3900
+ --
3901
+ Not Before: 1998-08-13
3902
+ Not After: 2018-08-13
3903
+ Signature: md5WithRSAEncryption
3904
+ Key: RSA:1024
3905
+ -----BEGIN CERTIFICATE-----
3906
+ MIICWjCCAcMCAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzAJBgNVBAYTAlVTMRgwFgYD
3907
+ VQQKEw9HVEUgQ29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNv
3908
+ bHV0aW9ucywgSW5jLjEjMCEGA1UEAxMaR1RFIEN5YmVyVHJ1c3QgR2xvYmFsIFJv
3909
+ b3QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEzMjM1OTAwWjB1MQswCQYDVQQGEwJV
3910
+ UzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMScwJQYDVQQLEx5HVEUgQ3liZXJU
3911
+ cnVzdCBTb2x1dGlvbnMsIEluYy4xIzAhBgNVBAMTGkdURSBDeWJlclRydXN0IEds
3912
+ b2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCVD6C28FCc6HrH
3913
+ iM3dFw4usJTQGz0O9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf7KXUwefU/ltWJTS
3914
+ r41tiGeA5u2ylc9yMcqlHHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X4
3915
+ 04Wqk2kmhXBIgD8SFcd5tB8FLztimQIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAG3r
3916
+ GwnpXtlR22ciYaQqPEh346B8pt5zohQDhT37qw4wxYMWM4ETCJ57NE7fQMh017l9
3917
+ 3PR2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7AWXX1uw16OFNMQkpw0P
3918
+ lZPvy5TYnh+dXIVtx6quTx8itc2VrbqnzPmrC3p/
3919
+ -----END CERTIFICATE-----
@@ -233,7 +233,7 @@ module Stripe
233
233
  raise ArgumentError.new(
234
234
  "You cannot set #{k} to an empty string. " \
235
235
  "We interpret empty strings as nil in requests. " \
236
- "You may set #{self}.#{k} = nil to delete the property.")
236
+ "You may set (object).#{k} = nil to delete the property.")
237
237
  end
238
238
  @values[k] = Util.convert_to_stripe_object(v, @opts)
239
239
  dirty_value!(@values[k])
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = '1.38.0'
2
+ VERSION = '1.39.0'
3
3
  end
@@ -286,5 +286,13 @@ module Stripe
286
286
  $stderr = old_stderr
287
287
  end
288
288
  end
289
+
290
+ should "error on setting a property to an empty string" do
291
+ obj = Stripe::StripeObject.construct_from({ :foo => 'bar' })
292
+ e = assert_raises ArgumentError do
293
+ obj.foo = ""
294
+ end
295
+ assert_match /\(object\).foo = nil/, e.message
296
+ end
289
297
  end
290
298
  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: 1.38.0
4
+ version: 1.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Boucher
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-18 00:00:00.000000000 Z
12
+ date: 2016-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client