yunpian 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3f755e6dbb2d9fd42d398bcf0ecec6a1322329b
4
- data.tar.gz: 699cfd0139bc34c7e4b04c2b68f6c98ca624cd0a
3
+ metadata.gz: cce19bb4862ff6d3c26f1b2c9f995cd4ffdd0954
4
+ data.tar.gz: 9f6667b0c33fe44a5e536c9c5a454fb240a8981a
5
5
  SHA512:
6
- metadata.gz: a2b4e51a143f2dee2fbeff5bd91dc0b58d3ce9d480ce15b4adaece5cc4381366e366c5712c6e8697e9e7dbc4d297f6d540698ef36b0550848b3556b048a2570d
7
- data.tar.gz: b9e0449f262a48c579a4ee2cf95c21238a0bef64fb9ce65727b2f3a1200b32552b387cbd55029f1cd4985fcfa931273c050b22a39c7be02588bfb174ddf09739
6
+ metadata.gz: 8d473ed5026985373effc2e72b6f083e8648d1c26edf60f2e135a15410e80bf6014719ba82c07e81c1c8d7b5f4e31161527601aea9f9efd782368d5136a02460
7
+ data.tar.gz: e9d41277c51915f7215265d9b4f05b9fc55c1ef543357057e4912ec0ea96f1cab0cfe256817e37bc07b1aa3e8b6efacf1c1816b80f3856069c1a83ed661a8c2f
data/lib/yunpian.rb CHANGED
@@ -14,7 +14,7 @@ module Yunpian
14
14
  params = {
15
15
  apikey: Yunpian.apikey,
16
16
  mobile: Array(recipients).join(','),
17
- text: content
17
+ text: "#{Yunpian.signature}#{content}"
18
18
  }
19
19
  Request.new(SEND_GATEWAY, params).perform
20
20
  end
@@ -23,7 +23,7 @@ module Yunpian
23
23
  params = {
24
24
  apikey: Yunpian.apikey,
25
25
  mobile: Array(recipients).join(','),
26
- text: content
26
+ text: "#{Yunpian.signature}#{content}"
27
27
  }
28
28
  Request.new(SEND_GATEWAY, params).perform!
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module Yunpian
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yunpian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - HungYuHei
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-06-11 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler