selfsdk 0.0.188 → 0.0.189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/chat/file_object.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 585d5ba75fa375a31bcb5b48716d3b6c90ac040c75e5eec77dde03e7a3d4149d
4
- data.tar.gz: 553e3b48e37449298f2ba166e9d56d5c9804f9dcbbc9848aa1e62aa4947c0a69
3
+ metadata.gz: 5b2273047a020d9c4a04ae840a37fedb2129cba216613ae91c54de7a04f16539
4
+ data.tar.gz: 56d2336cdb03b894d5a792096ec2471bb9dba07377e3a1a7c735a225362cc886
5
5
  SHA512:
6
- metadata.gz: da714cbed5d4df337a13ab3ee6fc15d364ca097bee186d0885d9d543fef195df911309d01f371a2aaf99ca2b97faf0913e754668e750eacdc7a3df7b3fe9ad64
7
- data.tar.gz: e6228891c0026d831dc306237f3a977585d4279086d040d13e7491ad7f6e601c9459efb9cdc5a84b6e60fe001cbbf8e56593584e8bb6ac1752eba0ba4ac64c55
6
+ metadata.gz: dc6acc1f75c6eb4fb2b64f372441d3a712f04958bca1f029809ea970d091850a5291d911587068ab4ba348a76d3baf29632cf9e337817e6c750907cddb51cabc
7
+ data.tar.gz: c32cd01077dba0a2e0087d40472dac1b7ef565c01632a7ccd86e9f5286d9f01c6bb3b19865a64acd8b9a45006c0b5ff820a5adc466c32ead069cafebd9ee2958
@@ -75,7 +75,7 @@ module SelfSDK
75
75
  def upload(ciphertext)
76
76
  uri = URI.parse("#{@url}/v1/objects")
77
77
  https = Net::HTTP.new(uri.host, uri.port)
78
- https.use_ssl = true if uri.scheme == "https"
78
+ https.use_ssl = true
79
79
  req = Net::HTTP::Post.new(uri.path)
80
80
  req["Authorization"] = "Bearer #{@token}"
81
81
  req.body = ciphertext.force_encoding("UTF-8")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selfsdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.188
4
+ version: 0.0.189
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aldgate Ventures