yunpiansms 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yunpiansms/version.rb +1 -1
- data/lib/yunpiansms.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4885a534f39a2986a88bf3b33ae04abeba92cc3d
|
4
|
+
data.tar.gz: 15ee1e158dd6e010c32868d6835f11ea3fbb1bb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d985f8ca0959a5055d59a9b51644447aad1884be0d5dba6adea8897280f2b985e01a58bd2ca37167ad342cb2daf9fe9425577616e1abf536dd5f770994cfce0
|
7
|
+
data.tar.gz: 6e7efe51738b08cfaf1514468ad5892ffe1c06d0df0f8b274aa88464916dbfc5c2b2acebf09dd02e59b4a6a51e24505c8e14e452146043a7e8f7413fa0c0dcc7
|
data/lib/yunpiansms/version.rb
CHANGED
data/lib/yunpiansms.rb
CHANGED
@@ -35,7 +35,7 @@ module Yunpiansms
|
|
35
35
|
|
36
36
|
def params_data_tpl(content, mobiles = nil, tpl_id = nil, tpl_value=nil)
|
37
37
|
content = format_content(content,mobiles)
|
38
|
-
content[:tpl_id] = tpl_id || content.
|
38
|
+
content[:tpl_id] = tpl_id || content.delete(:tpl_id)
|
39
39
|
content[:tpl_value] = "#{format_tpl_value(content[:tpl_value])}"
|
40
40
|
content
|
41
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yunpiansms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- trycatch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|