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 +4 -4
- data/lib/terrasms_api/request.rb +1 -1
- data/lib/terrasms_api/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 224142444dc1404a4a9049bb32991f9c5c1913bf2a22c1f3e9a135c02aa885b4
|
4
|
+
data.tar.gz: 42a02a25fce8cc72670b0bc7a10f77e6888ca18351c2afbe0ed3d8e07b9f4973
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2d6f8c9c345274ef421c1588242db4201f08335b0f295f02b21d7285caf17d18e8061a008d3c17c20f5dbd650d3fecef770e3614f9f61cd9191e3fe8600465c
|
7
|
+
data.tar.gz: e6d161e4cba50d43e37336efd52759a964c1a6be4437d8abcbc37b076e20ec73411aa76fdaf9b655ba745f461be9770884c959cf5a4cb69acc3bfe9945f7641e
|
data/lib/terrasms_api/request.rb
CHANGED
@@ -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.
|
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
|
|
data/lib/terrasms_api/version.rb
CHANGED
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.
|
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-
|
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.
|
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: []
|