uniform_notifier 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/Gemfile +3 -1
- data/README.md +18 -1
- data/Rakefile +13 -11
- data/lib/uniform_notifier.rb +8 -7
- data/lib/uniform_notifier/airbrake.rb +2 -0
- data/lib/uniform_notifier/base.rb +17 -14
- data/lib/uniform_notifier/bugsnag.rb +5 -3
- data/lib/uniform_notifier/customized_logger.rb +6 -4
- data/lib/uniform_notifier/errors.rb +3 -1
- data/lib/uniform_notifier/growl.rb +23 -20
- data/lib/uniform_notifier/honeybadger.rb +2 -0
- data/lib/uniform_notifier/javascript_alert.rb +7 -3
- data/lib/uniform_notifier/javascript_console.rb +18 -14
- data/lib/uniform_notifier/rails_logger.rb +3 -1
- data/lib/uniform_notifier/raise.rb +3 -1
- data/lib/uniform_notifier/rollbar.rb +2 -0
- data/lib/uniform_notifier/sentry.rb +2 -0
- data/lib/uniform_notifier/slack.rb +20 -19
- data/lib/uniform_notifier/terminal_notifier.rb +23 -0
- data/lib/uniform_notifier/version.rb +3 -1
- data/lib/uniform_notifier/xmpp.rb +26 -23
- data/spec/spec_helper.rb +8 -6
- data/spec/uniform_notifier/airbrake_spec.rb +12 -10
- data/spec/uniform_notifier/base_spec.rb +10 -8
- data/spec/uniform_notifier/bugsnag_spec.rb +21 -19
- data/spec/uniform_notifier/customized_logger_spec.rb +9 -7
- data/spec/uniform_notifier/growl_spec.rb +19 -18
- data/spec/uniform_notifier/honeybadger_spec.rb +12 -10
- data/spec/uniform_notifier/javascript_alert_spec.rb +29 -9
- data/spec/uniform_notifier/javascript_console_spec.rb +55 -17
- data/spec/uniform_notifier/rails_logger_spec.rb +9 -7
- data/spec/uniform_notifier/raise_spec.rb +13 -11
- data/spec/uniform_notifier/rollbar_spec.rb +8 -6
- data/spec/uniform_notifier/sentry_spec.rb +12 -10
- data/spec/uniform_notifier/slack_spec.rb +10 -8
- data/spec/uniform_notifier/terminal_notifier_spec.rb +25 -0
- data/spec/uniform_notifier/xmpp_spec.rb +17 -15
- data/uniform_notifier.gemspec +18 -17
- metadata +6 -3
data/uniform_notifier.gemspec
CHANGED
@@ -1,28 +1,29 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
4
|
+
require 'uniform_notifier/version'
|
4
5
|
|
5
6
|
Gem::Specification.new do |s|
|
6
|
-
s.name =
|
7
|
+
s.name = 'uniform_notifier'
|
7
8
|
s.version = UniformNotifier::VERSION
|
8
9
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = [
|
10
|
-
s.email = [
|
11
|
-
s.homepage =
|
12
|
-
s.summary =
|
13
|
-
s.description =
|
10
|
+
s.authors = ['Richard Huang']
|
11
|
+
s.email = ['flyerhzm@gmail.com']
|
12
|
+
s.homepage = 'http://rubygems.org/gems/uniform_notifier'
|
13
|
+
s.summary = 'uniform notifier for rails logger, customized logger, javascript alert, javascript console, growl and xmpp'
|
14
|
+
s.description = 'uniform notifier for rails logger, customized logger, javascript alert, javascript console, growl and xmpp'
|
14
15
|
s.license = 'MIT'
|
15
16
|
|
16
|
-
s.rubyforge_project =
|
17
|
+
s.rubyforge_project = 'uniform_notifier'
|
17
18
|
|
18
|
-
s.add_development_dependency
|
19
|
-
s.add_development_dependency
|
20
|
-
s.add_development_dependency
|
21
|
-
s.add_development_dependency
|
22
|
-
s.add_development_dependency
|
19
|
+
s.add_development_dependency 'ruby-growl', ['= 4.0']
|
20
|
+
s.add_development_dependency 'ruby_gntp', ['= 0.3.4']
|
21
|
+
s.add_development_dependency 'xmpp4r', ['= 0.5']
|
22
|
+
s.add_development_dependency 'slack-notifier', ['>= 1.0']
|
23
|
+
s.add_development_dependency 'rspec', ['> 0']
|
23
24
|
|
24
25
|
s.files = `git ls-files`.split("\n")
|
25
26
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
26
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
27
|
-
s.require_paths = [
|
27
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
28
|
+
s.require_paths = ['lib']
|
28
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uniform_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-growl
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- lib/uniform_notifier/rollbar.rb
|
111
111
|
- lib/uniform_notifier/sentry.rb
|
112
112
|
- lib/uniform_notifier/slack.rb
|
113
|
+
- lib/uniform_notifier/terminal_notifier.rb
|
113
114
|
- lib/uniform_notifier/version.rb
|
114
115
|
- lib/uniform_notifier/xmpp.rb
|
115
116
|
- spec/spec_helper.rb
|
@@ -126,6 +127,7 @@ files:
|
|
126
127
|
- spec/uniform_notifier/rollbar_spec.rb
|
127
128
|
- spec/uniform_notifier/sentry_spec.rb
|
128
129
|
- spec/uniform_notifier/slack_spec.rb
|
130
|
+
- spec/uniform_notifier/terminal_notifier_spec.rb
|
129
131
|
- spec/uniform_notifier/xmpp_spec.rb
|
130
132
|
- uniform_notifier.gemspec
|
131
133
|
homepage: http://rubygems.org/gems/uniform_notifier
|
@@ -148,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
150
|
version: '0'
|
149
151
|
requirements: []
|
150
152
|
rubyforge_project: uniform_notifier
|
151
|
-
rubygems_version: 2.6.
|
153
|
+
rubygems_version: 2.6.14
|
152
154
|
signing_key:
|
153
155
|
specification_version: 4
|
154
156
|
summary: uniform notifier for rails logger, customized logger, javascript alert, javascript
|
@@ -168,4 +170,5 @@ test_files:
|
|
168
170
|
- spec/uniform_notifier/rollbar_spec.rb
|
169
171
|
- spec/uniform_notifier/sentry_spec.rb
|
170
172
|
- spec/uniform_notifier/slack_spec.rb
|
173
|
+
- spec/uniform_notifier/terminal_notifier_spec.rb
|
171
174
|
- spec/uniform_notifier/xmpp_spec.rb
|