line_notify 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: e2c66d0a57211bbdd908d645a08d54e1cc3620626df2f52f73875faa6a60f998
4
- data.tar.gz: 9962d8e1863a7ed8679b2747532356d92b822c4cc94f0e8bd5fb4ccc617f2f6e
3
+ metadata.gz: f885dd19d2b133e055234f08803f5b578f13880c6a2869dccb95916c8eb518a2
4
+ data.tar.gz: 7f42cc85922cfc21fd91e02810f701206c8b4da3084349bcc7561a685a65ec14
5
5
  SHA512:
6
- metadata.gz: a93b68f1caf2a4c7109bb6bfc97b2474202ef49469cfafebcd16da567b2d7add583f8d2c31c1299f5686e5a5bba1acfa3337d30693fd814bd54bceda54933446
7
- data.tar.gz: e83c81b6d3baea0d5d5df9ee8f379865714d4cb6f0dcea4a11dfd18bc346229baf6d0cb46a533fcc0462d1f22dee1f21b5bf2f67cce8b43599bc5650d1cdff65
6
+ metadata.gz: ff750b1db4c771722b1c5ddc942f2bd3783dbfd08a27787b6a89693173d7c49b889148317171147eec97e348df887cc5404a7b87fc590d1bb0b6d29e67df83dd
7
+ data.tar.gz: 5ce5eda001a2229dd7cea9f5902ecae1ca2faa16852333cd167cb2508cb8e173414e2a03592f0aad449c2741b7b8719eb07789bfebc811c4d631b60d4dc3b720
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- line_notify (1.0.0)
4
+ line_notify (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -32,7 +32,7 @@ Or install it yourself as:
32
32
  ```ruby
33
33
  line_notify = LineNotify.new(YOUR_LINE_TOKEN)
34
34
  options = {message: 'hoge', stickerPackageId: 1, stickerId: 113}
35
- line_notify.send(options)
35
+ line_notify.ping(options)
36
36
 
37
37
  ```
38
38
 
@@ -48,7 +48,7 @@ options = {
48
48
  imageFullsize: "https://www.pakutaso.com/shared/img/thumb/SAYAPAKU5347_TP_V4.jpg",
49
49
  imageThumbnail: "https://www.pakutaso.com/shared/img/thumb/SAYAPAKU5347_TP_V.jpg"
50
50
  }
51
- line_notify.send(options)
51
+ line_notify.ping(options)
52
52
  ```
53
53
 
54
54
  ![2018-02-16 0 53 38](https://user-images.githubusercontent.com/1485195/36266096-0ece0310-12b4-11e8-9b7e-67af11dadf9f.png)
@@ -9,7 +9,7 @@ module LineNotify
9
9
  @access_token = (access_token || ENV['LINE_ACCESS_TOKEN'])
10
10
  end
11
11
 
12
- def send(options)
12
+ def ping(options)
13
13
  request = create_request(options)
14
14
  Net::HTTP.start(URI.hostname, URI.port, use_ssl: URI.scheme == "https") do |req|
15
15
  req.request(request)
@@ -1,3 +1,3 @@
1
1
  module LineNotify
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: line_notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - YuzuruS
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-18 00:00:00.000000000 Z
11
+ date: 2019-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  requirements: []
195
195
  rubyforge_project:
196
- rubygems_version: 2.7.4
196
+ rubygems_version: 2.7.6
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: Client for the LINE notify API