line-notify-client 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: de7029c5a8176967a503e1cc7922e9c0bcb74c391daf51ede882d1257c0db68d
4
- data.tar.gz: dd9122ad4ec31e56461282e81be78679833e46fbdef222c055fc8c73d974f4f2
3
+ metadata.gz: fbc908d4ff6c06d2dd8a52c82350afda4e16efecf1cdd6e9290c983d50ea101e
4
+ data.tar.gz: '061369095394139c301875fff62828580221e8ed92dd2473915185e8215b50c4'
5
5
  SHA512:
6
- metadata.gz: e0f9a35393cafa570af50d1cd7c55acbd62736ba7476b4012892344e657ee1addf432258da25d3c9013569011183fa974e72d4ff23bbb63ba80164294a90e031
7
- data.tar.gz: 627a8992339d434659c87d258cde85989be9f61fffd946ae4c57bf9740058e1e4df53852813a0727ad98972908a171b8d97145ec460188468fb1526c66c27009
6
+ metadata.gz: 9d3410e3728147028e68b4c0bea32e2a2032ee068077e787c57ec5d8a9fe2469918ee118bfb04af0f6ac134224247184428a1aa8b8e45a2789a3b081ca0ff143
7
+ data.tar.gz: 50b3e028b4566455e20eab28dda04c607876200ca8e64bcbccce2db5c775358e7594e64aa8668ed1a6c90c30e63845de135352203337e1bffcd7be798e6c951a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- line-notify-client (0.1.0)
4
+ line-notify-client (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -18,21 +18,28 @@ Or install it yourself as:
18
18
 
19
19
  $ gem install line-notify-client
20
20
 
21
+ ## Set up
22
+ - require library
23
+ ```rb
24
+ # snake_case
25
+ require 'line-notify-client'
26
+ ```
27
+
21
28
  ## Usage
22
29
  - token use argument
23
30
  ```rb
24
- token = "hoge1234"
25
- message = "hogehoge"
26
- Line::Notify::Client.message(token: token, message: message)
31
+ token = "hoge1234"
32
+ message = "hogehoge"
33
+ Line::Notify::Client.message(token: token, message: message)
27
34
  ```
28
35
  - token use environment variable
29
36
  ```bash
30
- # add LINE_NOTIFY_TOKEN
31
- $ vi ~/.bash_profile
32
- LINE_NOTIFY_TOKEN="hoge1234"
37
+ # add LINE_NOTIFY_TOKEN
38
+ $ vi ~/.bash_profile
39
+ LINE_NOTIFY_TOKEN="hoge1234"
33
40
  ```
34
41
  ```rb
35
- Line::Notify::Client.message(message: message)
42
+ Line::Notify::Client.message(message: message)
36
43
  ```
37
44
  ## Development
38
45
 
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "line_notify_client"
4
+ require "line-notify-client"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,7 +1,7 @@
1
1
  module Line
2
2
  module Notify
3
3
  module Client
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -1,6 +1,6 @@
1
1
  require 'net/http'
2
2
  require 'uri'
3
- require "line_notify_client/api_client"
3
+ require "line-notify-client/api_client"
4
4
 
5
5
  module Line
6
6
  module Notify
@@ -1,7 +1,7 @@
1
1
 
2
2
  lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "line_notify_client/version"
4
+ require "line-notify-client/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "line-notify-client"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: line-notify-client
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
  - emono
@@ -70,9 +70,9 @@ files:
70
70
  - Rakefile
71
71
  - bin/console
72
72
  - bin/setup
73
- - lib/line_notify_client.rb
74
- - lib/line_notify_client/api_client.rb
75
- - lib/line_notify_client/version.rb
73
+ - lib/line-notify-client.rb
74
+ - lib/line-notify-client/api_client.rb
75
+ - lib/line-notify-client/version.rb
76
76
  - line-notify-client.gemspec
77
77
  homepage: https://github.com/emono/line-notify-client
78
78
  licenses: