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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d07991ac6a8551791386d66526a5fe87c7eda48a
4
- data.tar.gz: 81e6e676b08af92f85e45656a621a26dd7e89316
3
+ metadata.gz: 4885a534f39a2986a88bf3b33ae04abeba92cc3d
4
+ data.tar.gz: 15ee1e158dd6e010c32868d6835f11ea3fbb1bb2
5
5
  SHA512:
6
- metadata.gz: 0835e5dd6584c23161bf4b54cc4fb5f956b4e196419e7b0529183d604d3cfa1704d20491f6a1eb3073af9ae873cf12f99e6d38ec0fdc0e9a1e07bc6ae8d07ab2
7
- data.tar.gz: 6496b50d9f87063129147232ddd850a851d31d7adf0ded6832944eec6a5d334e6a9340d27354f70c953dfcd437aca11a72bbe6519517ac6605a2986454d7f020
6
+ metadata.gz: 8d985f8ca0959a5055d59a9b51644447aad1884be0d5dba6adea8897280f2b985e01a58bd2ca37167ad342cb2daf9fe9425577616e1abf536dd5f770994cfce0
7
+ data.tar.gz: 6e7efe51738b08cfaf1514468ad5892ffe1c06d0df0f8b274aa88464916dbfc5c2b2acebf09dd02e59b4a6a51e24505c8e14e452146043a7e8f7413fa0c0dcc7
@@ -1,3 +1,3 @@
1
1
  module Yunpiansms
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
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.detele(:tpl_id)
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.3
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-09 00:00:00.000000000 Z
11
+ date: 2016-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday