alisms 0.1.0 → 0.1.1

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: a9f11afc1ba14a114e23c9dc39998c539da4337f
4
- data.tar.gz: f2f1374800aa384103122512e694f33126714089
3
+ metadata.gz: f7e48d19b68ff328619fa9a3655f8f76d6d079e9
4
+ data.tar.gz: 652a44a03066874d3f5028970a706b7b5f9f4892
5
5
  SHA512:
6
- metadata.gz: fec85fa613d56138e54deee62e8b65ed9178838bc28a0d0def1531c4050eb76c193a0630a30a3240b01d4be2a3482a947d3042f5bdf59a6a6aa300819b6a8463
7
- data.tar.gz: bd012d8aa3dd03f1447b547e9e83e01dd85292489180c159db6135f1b75c222f7fc5898ec0664b997fec23dd92f945d2b83d5b8bed24b7d8b368d213de791a27
6
+ metadata.gz: 6957c276a93dfcd424879d0498cdfb434d018efa9ee93915fee05dcf9949c5f78e760e98a4f9d841cb7f1eb337d1f474410b8e8a50a8525d88f7315913de8286
7
+ data.tar.gz: dadce7d87e86031f83f6db841f0e1c321606bafeac077bc3e6a0474c7bcff790e1d65313a9cf03c8be42084323732b06e3ee5273df694d6abef41ed4e2c58064
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Alisms
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/alisms`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ This gem is for [aliyun sms service](https://market.aliyun.com/products/57002003/cmapi011900.html?spm=5176.730005-57002003.468004.2.pKQMdW).
6
4
 
7
5
  ## Installation
8
6
 
@@ -23,9 +21,10 @@ Or install it yourself as:
23
21
  ## Usage
24
22
 
25
23
  ### Without Rails
24
+ ```ruby
26
25
  Alisms.appcode = 'YOUR APP CODE'
27
26
  Alisms::Client.send_sms(param_string).to(rec_num).with_template(template_code).by(sign_name)
28
-
27
+ ```
29
28
 
30
29
  ### Within Rails
31
30
 
@@ -9,6 +9,7 @@ module Alisms
9
9
  extend SingleForwardable
10
10
 
11
11
  def_delegators :configuration, :appcode, :sign_name, :template_code
12
+ def_delegators :configuration, :appcode=, :sign_name=, :template_code=
12
13
 
13
14
  def self.configure(&block)
14
15
  yield configuration
@@ -19,5 +20,4 @@ module Alisms
19
20
  end
20
21
 
21
22
  private_class_method :configuration
22
- # Your code goes here...
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Alisms
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alisms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rocLv
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-31 00:00:00.000000000 Z
11
+ date: 2018-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
- rubygems_version: 2.6.8
127
+ rubygems_version: 2.6.14
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Write a short summary, because Rubygems requires one.