exception_notification_line_notify 0.1.2 → 0.1.3

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: ea4909d1181bfce6da7503f36af9ce186db8eb3b9e919d6f9b73d8e5c2080755
4
- data.tar.gz: 4c397664d886ea818236a0d274b61310e863023d1b53494e14ddfba60b5f810f
3
+ metadata.gz: 157b751e6d68e0999a72a3620e83b96bd21f1125a3a5d50a2951a0c44329dbd8
4
+ data.tar.gz: 9adfb43876153fcb71999d5b801f9f616b44aa6456433388a2e384277c724ef5
5
5
  SHA512:
6
- metadata.gz: ae5979bb10f2b87b3ce4e6b672a206685d5b788ea0dd7710dffa9112bc138bdfcfc82c9d5e4de19a8ce0a6d7395fce8287c53d6b4c83d6aa5f4f89addef96d14
7
- data.tar.gz: 378431f01408f8beade5bf9c34aa0e62ae03744933f4dffa34f766068cf3d093b07a5562d63d75e0f093af5086d763c913af709aca51c29a9752d0d09e4798cd
6
+ metadata.gz: 43d421014f29261b3db12b266281d98dd9352a211b598b7feece8e348ef5984159f46cfa43f3df510fbae8ae10586637403f0880c6f283f73d1a1bb78fa0a16d
7
+ data.tar.gz: 2c372fb8e6e3aa086ca396949baadb4b5a598e6e978d3d578412895782b9067701d442d884a0065e99f673dd8c4e48cb641b8fffb84c24acb7c37bf60720fb17
data/README.md CHANGED
@@ -9,6 +9,7 @@ TODO: Delete this and the text above, and describe your gem
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
+ gem 'exception_notification'
12
13
  gem 'exception_notification_line_notify'
13
14
  ```
14
15
 
@@ -22,7 +23,16 @@ Or install it yourself as:
22
23
 
23
24
  ## Usage
24
25
 
25
- TODO: Write usage instructions here
26
+ ```
27
+ Rails.application.config.middleware.use ExceptionNotification::Rack,
28
+ :line => {
29
+ :line_notify_token => ENV['LineNotifyToken'],
30
+ }
31
+ ```
32
+
33
+ ## How to Get Token
34
+
35
+ https://notify-bot.line.me/my/
26
36
 
27
37
  ## Development
28
38
 
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["chang"]
10
10
  spec.email = ["ycw99@hotmail.com"]
11
11
 
12
- spec.summary = %q{exception_notification_line_notify}
13
- spec.description = %q{exception_notification_line_notify}
12
+ spec.summary = %q{exception_notification for line_notify}
13
+ spec.description = %q{send exception message to line_notify}
14
14
  spec.homepage = "https://github.com/playplusTW/exception_notification_line_notify"
15
15
  spec.license = "MIT"
16
16
 
@@ -29,6 +29,7 @@ module ExceptionNotifier
29
29
 
30
30
  @message = %Q(
31
31
  \n #{@request.url}
32
+ \b #{@exception_message}
32
33
  \n #{@backtrace}
33
34
  \n======Request=====
34
35
  \n#{@request_section}
@@ -1,3 +1,3 @@
1
1
  module ExceptionNotificationLineNotify
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_notification_line_notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - chang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-05 00:00:00.000000000 Z
11
+ date: 2018-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: exception_notification_line_notify
55
+ description: send exception message to line_notify
56
56
  email:
57
57
  - ycw99@hotmail.com
58
58
  executables: []
@@ -69,8 +69,7 @@ files:
69
69
  - Rakefile
70
70
  - bin/console
71
71
  - bin/setup
72
- - exception_notification_line_notify-0.1.0.gem
73
- - exception_notification_line_notify-0.1.1.gem
72
+ - exception_notification_line_notify-0.1.2.gem
74
73
  - exception_notification_line_notify.gemspec
75
74
  - lib/exception_notification_line_notify.rb
76
75
  - lib/exception_notification_line_notify/version.rb
@@ -98,5 +97,5 @@ rubyforge_project:
98
97
  rubygems_version: 2.7.3
99
98
  signing_key:
100
99
  specification_version: 4
101
- summary: exception_notification_line_notify
100
+ summary: exception_notification for line_notify
102
101
  test_files: []