simple_tweet 2.0.0 → 2.1.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
  SHA256:
3
- metadata.gz: 2348deca66984de880a63af33816583712ddcbb9b56237ce4c0974be3343cef4
4
- data.tar.gz: 1681c985de747bd2192cdb78c1317148c9ac94d60fbc1e9ddd37b069f43a32cb
3
+ metadata.gz: 3e6a6c9e3275f29c3b1aefcc8bb0c9fb8959d596777f057493cd6027c584abb5
4
+ data.tar.gz: 0d6bcec1bf0c2995ede08425c78512d96027b20346a0f1c966e0b03b7e8a29bd
5
5
  SHA512:
6
- metadata.gz: 834a576f510f3f109a928977594cb03071bbe21d4b2c3f345b55ffc9681db1101025540642be6188a36f57b65763d284f33dbdc6392632fd53d696b5d368b34c
7
- data.tar.gz: '09a28d5cdb58f8c71d50371a35129e1f126c9b6ca7b864af916f0fe0a1736ac0266faf26594cab069c7da6af1365e1bd5a561c14a52e2e4c6a692a45f0ec1d54'
6
+ metadata.gz: 306443b68c1b9ba56b96d78f462981f1af82eb288339a55cbd490dd15c8deaa78d00da7e3dccc5ec9b6a3988ba792dc5bfd0ded53840082cc57abc7857851e25
7
+ data.tar.gz: c247c2c61666c96b80358c7b303f680a782db1e9b381aa859baeb32169f67d0602a209d9d674f99c2d6400e11c0357b37ccb35b0e2532269f3124f9e0ac7c360
@@ -14,7 +14,7 @@ module SimpleTweet
14
14
  json[:media] = { media_ids: media_ids } unless media_ids.empty?
15
15
  header = { "User-Agent": UA, "content-type": "application/json" }
16
16
  res = access_token.post(TW_TWEET_PATH, json.to_json, header)
17
- ::JSON.parse(res.body)
17
+ ::JSON.parse(res.body, symbolize_names: true)
18
18
  end
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleTweet
4
- VERSION = "2.0.0"
4
+ VERSION = "2.1.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_tweet
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kugayama Nana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post