line-notify-client 1.0.1 → 1.0.2

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: fbc908d4ff6c06d2dd8a52c82350afda4e16efecf1cdd6e9290c983d50ea101e
4
- data.tar.gz: '061369095394139c301875fff62828580221e8ed92dd2473915185e8215b50c4'
3
+ metadata.gz: 5d65fc0c7ff3abbdde33149c804fee9a992cb8c71a88e8a388abe4bf95f847f4
4
+ data.tar.gz: 57333a62d740603af8bcc01de174c988ea1bb4a1e2e138406fe17d0540521a11
5
5
  SHA512:
6
- metadata.gz: 9d3410e3728147028e68b4c0bea32e2a2032ee068077e787c57ec5d8a9fe2469918ee118bfb04af0f6ac134224247184428a1aa8b8e45a2789a3b081ca0ff143
7
- data.tar.gz: 50b3e028b4566455e20eab28dda04c607876200ca8e64bcbccce2db5c775358e7594e64aa8668ed1a6c90c30e63845de135352203337e1bffcd7be798e6c951a
6
+ metadata.gz: 8e947ff7a02c45e0323501e1d71cec1a197973bfce5c57f06fe6e92471fad406edb8c56a79a925a7db07952e16aca459aff1dc165c343928e4d22a7f51f6db7e
7
+ data.tar.gz: 5a51eb9bcb32861e0232e73bfe3e4fc195d0cc5bc90528372cb03bd8315cadc0504bf1c91c8a0bf92a8425a917b22c51e20785a25bb6d07c3f1353cf7764ea5b
data/.gitignore CHANGED
@@ -1,11 +1,95 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
1
+ # Created by https://www.gitignore.io/api/ruby,linux,osx
2
+
3
+ ### Ruby ###
4
+ *.gem
5
+ *.rbc
6
+ /.config
4
7
  /coverage/
5
- /doc/
8
+ /InstalledFiles
6
9
  /pkg/
7
10
  /spec/reports/
11
+ /spec/examples.txt
12
+ /test/tmp/
13
+ /test/version_tmp/
8
14
  /tmp/
9
15
 
10
- # rspec failure tracking
11
- .rspec_status
16
+ # Used by dotenv library to load environment variables.
17
+ # .env
18
+
19
+ ## Specific to RubyMotion:
20
+ .dat*
21
+ .repl_history
22
+ build/
23
+ *.bridgesupport
24
+ build-iPhoneOS/
25
+ build-iPhoneSimulator/
26
+
27
+ ## Specific to RubyMotion (use of CocoaPods):
28
+ #
29
+ # We recommend against adding the Pods directory to your .gitignore. However
30
+ # you should judge for yourself, the pros and cons are mentioned at:
31
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
+ #
33
+ # vendor/Pods/
34
+
35
+ ## Documentation cache and generated files:
36
+ /.yardoc/
37
+ /_yardoc/
38
+ /doc/
39
+ /rdoc/
40
+
41
+ ## Environment normalization:
42
+ /.bundle/
43
+ /vendor/bundle
44
+ /lib/bundler/man/
45
+
46
+ # for a library or gem, you might want to ignore these files since the code is
47
+ # intended to run in multiple environments; otherwise, check them in:
48
+ Gemfile.lock
49
+ .ruby-version
50
+ .ruby-gemset
51
+
52
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
+ .rvmrc
54
+
55
+
56
+ ### Linux ###
57
+ *~
58
+
59
+ # temporary files which can be created if a process still has a handle open of a deleted file
60
+ .fuse_hidden*
61
+
62
+ # KDE directory preferences
63
+ .directory
64
+
65
+ # Linux trash folder which might appear on any partition or disk
66
+ .Trash-*
67
+
68
+
69
+ ### OSX ###
70
+ *.DS_Store
71
+ .AppleDouble
72
+ .LSOverride
73
+
74
+ # Icon must end with two \r
75
+ Icon
76
+
77
+
78
+ # Thumbnails
79
+ ._*
80
+
81
+ # Files that might appear in the root of a volume
82
+ .DocumentRevisions-V100
83
+ .fseventsd
84
+ .Spotlight-V100
85
+ .TemporaryItems
86
+ .Trashes
87
+ .VolumeIcon.icns
88
+ .com.apple.timemachine.donotpresent
89
+
90
+ # Directories potentially created on remote AFP share
91
+ .AppleDB
92
+ .AppleDesktop
93
+ Network Trash Folder
94
+ Temporary Items
95
+ .apdisk
data/.rspec_status ADDED
@@ -0,0 +1,5 @@
1
+ example_id | status | run_time |
2
+ ---------------------------------- | ------ | --------------- |
3
+ ./spec/lib/client_spec.rb[1:1] | passed | 0.00152 seconds |
4
+ ./spec/lib/client_spec.rb[1:2:1:1] | passed | 0.42478 seconds |
5
+ ./spec/lib/client_spec.rb[1:2:2:1] | passed | 0.00466 seconds |
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- line-notify-client (1.0.1)
4
+ line-notify-client (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Line::Notify::Client
2
+ - https://rubygems.org/gems/line-notify-client
2
3
  - Api Client for LineNotify
3
4
  - https://notify-bot.line.me/ja/
5
+ - Send line message
4
6
 
5
7
  ## Installation
6
8
 
@@ -21,40 +23,31 @@ Or install it yourself as:
21
23
  ## Set up
22
24
  - require library
23
25
  ```rb
24
- # snake_case
25
26
  require 'line-notify-client'
26
27
  ```
27
28
 
28
29
  ## Usage
29
30
  - token use argument
30
31
  ```rb
31
- token = "hoge1234"
32
- message = "hogehoge"
32
+ token = "hoge1234" # line_notify_access_token
33
+ message = "hogehoge" # send_message
33
34
  Line::Notify::Client.message(token: token, message: message)
34
35
  ```
35
36
  - token use environment variable
36
37
  ```bash
37
- # add LINE_NOTIFY_TOKEN
38
+ # add line_notify_access_token
38
39
  $ vi ~/.bash_profile
39
40
  LINE_NOTIFY_TOKEN="hoge1234"
40
41
  ```
41
42
  ```rb
43
+ message = "hogehoge" # send_message
42
44
  Line::Notify::Client.message(message: message)
43
45
  ```
44
- ## Development
45
-
46
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
47
-
48
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
49
46
 
50
47
  ## Contributing
51
48
 
52
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/line-notify-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
49
+ Bug reports and pull requests are welcome on GitHub at https://github.com/emono/line-notify-client. This project is intended to be a safe, welcoming space for collaboration.
53
50
 
54
51
  ## License
55
52
 
56
53
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
57
-
58
- ## Code of Conduct
59
-
60
- Everyone interacting in the Line::Notify::Client project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/line-notify-client/blob/master/CODE_OF_CONDUCT.md).
@@ -1,7 +1,7 @@
1
1
  module Line
2
2
  module Notify
3
3
  module Client
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: line-notify-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - emono
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-07 00:00:00.000000000 Z
11
+ date: 2019-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -61,6 +61,7 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
63
  - ".rspec"
64
+ - ".rspec_status"
64
65
  - ".travis.yml"
65
66
  - CODE_OF_CONDUCT.md
66
67
  - Gemfile