terrasms_api 0.1.1 → 0.1.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
2
  SHA256:
3
- metadata.gz: 8c3ffbfb465a7b101aa4f52890cb34214e16c761a444f0cef3546fc14fb8bf3e
4
- data.tar.gz: eea11615bac5451fe348d3ee912f6154dcec2c67fcb46545597a4dee7273dddb
3
+ metadata.gz: 224142444dc1404a4a9049bb32991f9c5c1913bf2a22c1f3e9a135c02aa885b4
4
+ data.tar.gz: 42a02a25fce8cc72670b0bc7a10f77e6888ca18351c2afbe0ed3d8e07b9f4973
5
5
  SHA512:
6
- metadata.gz: 8524154c242a51d06b1b0ee34da52b061debbb6131e886cd5e6bfa415b496df785de41ceb0c99a9d1d2fd35faacae2462ada0eba18430592872b1f89689b20aa
7
- data.tar.gz: e71edda8f5da5b928c357932c02438339181a3e8033768d00d17b02ec39c847218d026bf7b00971ce692de04845043de62e1c62b80ebd0ba9902d404961c9bc1
6
+ metadata.gz: d2d6f8c9c345274ef421c1588242db4201f08335b0f295f02b21d7285caf17d18e8061a008d3c17c20f5dbd650d3fecef770e3614f9f61cd9191e3fe8600465c
7
+ data.tar.gz: e6d161e4cba50d43e37336efd52759a964c1a6be4437d8abcbc37b076e20ec73411aa76fdaf9b655ba745f461be9770884c959cf5a4cb69acc3bfe9945f7641e
@@ -36,7 +36,7 @@ class TerrasmsApi
36
36
  def body_params(args = {})
37
37
  asc_args = Hash[ args.sort_by { |key, val| key } ]
38
38
  md5_sign = Digest::MD5.hexdigest([
39
- RestClient::Utils.encode_query_string(asc_args).tr('&', ''),
39
+ RestClient::Utils.flatten_params(asc_args).map { |k, v| v.nil? ? k : "#{k}=#{v}" }.join,
40
40
  access_token
41
41
  ].join(''))
42
42
 
@@ -1,3 +1,3 @@
1
1
  class TerrasmsApi
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terrasms_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - wowinter13
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -132,7 +132,7 @@ homepage: https://github.com/severgroup-tt/terrasms_api
132
132
  licenses:
133
133
  - MIT
134
134
  metadata: {}
135
- post_install_message:
135
+ post_install_message:
136
136
  rdoc_options: []
137
137
  require_paths:
138
138
  - lib
@@ -147,8 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubygems_version: 3.1.2
151
- signing_key:
150
+ rubygems_version: 3.1.4
151
+ signing_key:
152
152
  specification_version: 4
153
153
  summary: Terra SMS HTTPS API Wrapper
154
154
  test_files: []