fastlane-plugin-line_notify 0.2.0 → 0.2.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: b0b962bb825195c0a264f11d7c90c05d1ca4e349
4
- data.tar.gz: d7b53743dcb3d39211acab82fdbe24216f8ebb5c
3
+ metadata.gz: 2f9b37e71293031eaf8ac9369ae3ff0c24a2d35e
4
+ data.tar.gz: 3e4f942df8c22e7a345996f069528c507451fdb6
5
5
  SHA512:
6
- metadata.gz: ae905fa1c2e97ebec3699c52eeac5b48cfd87ef9d02b5149eb289b378170ffda28c49b30c5e0711f40f87dab4a5c8427f6c9035e6a22ab3edfb0b2d591ffaf9a
7
- data.tar.gz: f5dfbaec139071c5e155d30717b55f56fdc6e7862b977a4bbd171f1597f40f2d7d1529373d20500841fbfbc52ae1aa31566ee4771af4dd2862eb8eb696738668
6
+ metadata.gz: 6ed8c43737b15bd117df3d9883af1109310ad9b7de80dcdd20e58c8e7e8509d2ccdb9498dd184fe860708af35b1b67845b2ea1d031de690255a997fd2a5e3bd7
7
+ data.tar.gz: d64c3e19aa7c4287949bd908f2cd6a6f742bbfb7bd98f9ce42e64c2fc415120582ec10aee2fb7db6dca8efd0ebfedea40b8a2a60435c67a88b36401adc3f3403
data/README.md CHANGED
@@ -23,10 +23,10 @@ To be able to send message to Line Notify
23
23
 
24
24
  ```ruby
25
25
  line_notify(
26
- access_token: 'Your Access Token',
27
- message: 'Hello World', #Optional String
28
- sticker_package_id: '1', #Optional String
29
- sticker_id: '133', #Optional String
26
+ access_token: "Your Access Token",
27
+ message: "Hello World 🌤", #Optional String
28
+ sticker_package_id: "1", #Optional String
29
+ sticker_id: "133", #Optional String
30
30
  image_full_size: nil, #Optional **URL** String
31
31
  image_thumbnail: nil, #Optional **URL** String
32
32
  )
@@ -8,7 +8,8 @@ module Fastlane
8
8
  def self.run(params)
9
9
 
10
10
  access_token = params[:access_token]
11
-
11
+ params[:message] = params[:message].to_s || ''
12
+
12
13
  uri = URI.parse('https://notify-api.line.me/api/notify')
13
14
  Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |req|
14
15
  request = Net::HTTP::Post.new(uri)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module LineNotify
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-line_notify
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
  - AKKHARAWAT CHAYAPIWAT