uniform_notifier 1.13.0 → 1.13.1

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: b15645518b1a79ae7ce91a35ce7862a8436546f163c5ff7ccfee26cfac40cff2
4
- data.tar.gz: 98518cb993748a7b0a24bb300e6753eb17c64941bf0f7234c170536179306d4d
3
+ metadata.gz: dacef5e1c0f74c728aa2a8e4b6fe6e31701b426657c3416a9180f768f61fad4c
4
+ data.tar.gz: 86c66452779fae50c955177392892a33aaa34624274b7c5c1faaec72f56d2917
5
5
  SHA512:
6
- metadata.gz: 9f7783596886f335744b1a15ccb854d968a916491df2693a9076a2a67a63cc754357deea3d010c2773544dafe31a68495d5403096a8d75c906784425d60e45fe
7
- data.tar.gz: f5376ec13ee6a0c5c4b2fc03cd3222f04608e015e443ed437d812305ef781d57db150cacfeefa03d5c3f85df477ec6cfeac9a511ccbe1df9f264af4be2a102aa
6
+ metadata.gz: ea912a1f196dacde8e5146304f3b5fb0d76b9d46f35a12e76b0a50e1e4c52b5b27e2dd6742fb1f5276f1a73b53e15d667f9485ababca63c16e896302d762f203
7
+ data.tar.gz: f58c6974795db0b7e6e1e04bf33997bdcc280999f6b5bbf0ef6b0b20b323fed7d005b2bc24fce7b444f78ce9186d75bbe6c024a2e8d4fec42b9ce6998b3ce0a9
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # UniformNotifier
2
2
 
3
3
  [![Build
4
- Status](https://secure.travis-ci.org/flyerhzm/uniform_notifier.png)](http://travis-ci.org/flyerhzm/uniform_notifier)
4
+ Status](https://secure.travis-ci.org/flyerhzm/uniform_notifier.svg)](http://travis-ci.org/flyerhzm/uniform_notifier)
5
5
  [![AwesomeCode Status for flyerhzm/uniform_notifier](https://awesomecode.io/projects/3e29a7de-0b37-4ecf-b06d-410ebf815174/status)](https://awesomecode.io/repos/flyerhzm/uniform_notifier)
6
6
 
7
7
  uniform_notifier is extracted from [bullet][0], it gives you the ability to send notification through rails logger, customized logger, javascript alert, javascript console, growl, xmpp, airbrake and honeybadger.
@@ -18,17 +18,43 @@ require 'uniform_notifier/raise'
18
18
  require 'uniform_notifier/terminal_notifier'
19
19
 
20
20
  class UniformNotifier
21
- AVAILABLE_NOTIFIERS = %i[alert console growl honeybadger xmpp rails_logger
22
- customized_logger airbrake rollbar bugsnag slack raise
23
- sentry terminal_notifier].freeze
21
+ AVAILABLE_NOTIFIERS = %i[
22
+ alert
23
+ console
24
+ growl
25
+ honeybadger
26
+ xmpp
27
+ rails_logger
28
+ customized_logger
29
+ airbrake
30
+ rollbar
31
+ bugsnag
32
+ slack
33
+ raise
34
+ sentry
35
+ terminal_notifier
36
+ ].freeze
24
37
 
25
- NOTIFIERS = [JavascriptAlert, JavascriptConsole, Growl, HoneybadgerNotifier, Xmpp, RailsLogger,
26
- CustomizedLogger, AirbrakeNotifier, RollbarNotifier, BugsnagNotifier, Raise, Slack,
27
- SentryNotifier, TerminalNotifier].freeze
38
+ NOTIFIERS = [
39
+ JavascriptAlert,
40
+ JavascriptConsole,
41
+ Growl,
42
+ HoneybadgerNotifier,
43
+ Xmpp,
44
+ RailsLogger,
45
+ CustomizedLogger,
46
+ AirbrakeNotifier,
47
+ RollbarNotifier,
48
+ BugsnagNotifier,
49
+ Raise,
50
+ Slack,
51
+ SentryNotifier,
52
+ TerminalNotifier
53
+ ].freeze
28
54
 
29
55
  class NotificationError < StandardError; end
30
56
 
31
- class <<self
57
+ class << self
32
58
  attr_accessor(*AVAILABLE_NOTIFIERS)
33
59
 
34
60
  def active_notifiers
@@ -14,10 +14,7 @@ class UniformNotifier
14
14
 
15
15
  exception = Exception.new(data[:title])
16
16
  exception.set_backtrace(data[:backtrace]) if data[:backtrace]
17
- Bugsnag.notify(exception, opt.merge(
18
- grouping_hash: data[:body] || data[:title],
19
- notification: data
20
- ))
17
+ Bugsnag.notify(exception, opt.merge(grouping_hash: data[:body] || data[:title], notification: data))
21
18
  end
22
19
  end
23
20
  end
@@ -15,12 +15,14 @@ class UniformNotifier
15
15
  setup_connection_gntp(growl)
16
16
  rescue LoadError
17
17
  @growl = nil
18
- raise NotificationError, 'You must install the ruby-growl or the ruby_gntp gem to use Growl notification: `gem install ruby-growl` or `gem install ruby_gntp`'
18
+ raise NotificationError,
19
+ 'You must install the ruby-growl or the ruby_gntp gem to use Growl notification: `gem install ruby-growl` or `gem install ruby_gntp`'
19
20
  end
20
21
  end
21
22
 
22
23
  def self.setup_connection_growl(growl)
23
24
  return unless growl
25
+
24
26
  require 'ruby-growl'
25
27
  if growl.instance_of?(Hash)
26
28
  @password = growl.include?(:password) ? growl[:password] : nil
@@ -37,6 +39,7 @@ class UniformNotifier
37
39
 
38
40
  def self.setup_connection_gntp(growl)
39
41
  return unless growl
42
+
40
43
  require 'ruby_gntp'
41
44
  if growl.instance_of?(Hash)
42
45
  @password = growl.include?(:password) ? growl[:password] : nil
@@ -44,11 +47,8 @@ class UniformNotifier
44
47
  end
45
48
  @password ||= nil
46
49
  @host ||= 'localhost'
47
- @growl = GNTP.new('uniform_notifier', @host, @password, 23053)
48
- @growl.register(notifications: [{
49
- name: 'uniform_notifier',
50
- enabled: true,
51
- }])
50
+ @growl = GNTP.new('uniform_notifier', @host, @password, 23_053)
51
+ @growl.register(notifications: [{ name: 'uniform_notifier', enabled: true }])
52
52
 
53
53
  notify 'Uniform Notifier Growl has been turned on (using GNTP)' if !growl.instance_of?(Hash) || !growl[:quiet]
54
54
  end
@@ -67,11 +67,7 @@ class UniformNotifier
67
67
  if defined?(::Growl) && @growl.is_a?(::Growl)
68
68
  @growl.notify('uniform_notifier', 'Uniform Notifier', message)
69
69
  elsif defined?(::GNTP) && @growl.is_a?(::GNTP)
70
- @growl.notify(
71
- name: 'uniform_notifier',
72
- title: 'Uniform Notifier',
73
- text: message
74
- )
70
+ @growl.notify(name: 'uniform_notifier', title: 'Uniform Notifier', text: message)
75
71
  end
76
72
  end
77
73
  end
@@ -3,7 +3,7 @@
3
3
  class UniformNotifier
4
4
  class Raise < Base
5
5
  def self.active?
6
- @exception_class
6
+ defined?(@exception_class)
7
7
  end
8
8
 
9
9
  def self.setup_connection(exception_class)
@@ -18,8 +18,7 @@ class UniformNotifier
18
18
  require 'slack-notifier'
19
19
  @slack = ::Slack::Notifier.new webhook_url, options
20
20
  rescue LoadError
21
- fail_connection 'You must install the slack-notifier gem to use Slack notification: '\
22
- '`gem install slack-notifier`'
21
+ fail_connection 'You must install the slack-notifier gem to use Slack notification: `gem install slack-notifier`'
23
22
  end
24
23
 
25
24
  protected
@@ -41,9 +40,7 @@ class UniformNotifier
41
40
  end
42
41
 
43
42
  def parse_config(config)
44
- options = config.select do |name, value|
45
- POSSIBLE_OPTIONS.include?(name) && !value.nil?
46
- end
43
+ options = config.select { |name, value| POSSIBLE_OPTIONS.include?(name) && !value.nil? }
47
44
 
48
45
  [config[:webhook_url], options]
49
46
  end
@@ -13,7 +13,8 @@ class UniformNotifier
13
13
  begin
14
14
  require 'terminal-notifier'
15
15
  rescue LoadError
16
- raise NotificationError, 'You must install the terminal-notifier gem to use terminal_notifier: `gem install terminal-notifier`'
16
+ raise NotificationError,
17
+ 'You must install the terminal-notifier gem to use terminal_notifier: `gem install terminal-notifier`'
17
18
  end
18
19
  end
19
20
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class UniformNotifier
4
- VERSION = '1.13.0'
4
+ VERSION = '1.13.1'
5
5
  end
@@ -18,7 +18,7 @@ class UniformNotifier
18
18
  @xmpp = xmpp_information
19
19
  @receiver = xmpp_information[:receiver]
20
20
  @password = xmpp_information[:password]
21
- @account = xmpp_information[:account]
21
+ @account = xmpp_information[:account]
22
22
  @show_online_status = xmpp_information[:show_online_status]
23
23
  @stay_connected = xmpp_information[:stay_connected].nil? ? true : xmpp_information[:stay_connected]
24
24
 
@@ -48,9 +48,7 @@ class UniformNotifier
48
48
 
49
49
  def self.notify(message)
50
50
  connect unless @stay_connected
51
- message = Jabber::Message.new(@receiver, message)
52
- .set_type(:normal)
53
- .set_subject('Uniform Notifier')
51
+ message = Jabber::Message.new(@receiver, message).set_type(:normal).set_subject('Uniform Notifier')
54
52
  @xmpp.send(message)
55
53
  end
56
54
 
@@ -4,18 +4,14 @@ require 'spec_helper'
4
4
 
5
5
  RSpec.describe UniformNotifier::Base do
6
6
  context '#inline_channel_notify' do
7
- before do
8
- allow(UniformNotifier::Base).to receive(:active?).and_return(true)
9
- end
7
+ before { allow(UniformNotifier::Base).to receive(:active?).and_return(true) }
10
8
  it 'should keep the compatibility' do
11
9
  expect(UniformNotifier::Base).to receive(:_inline_notify).once.with(title: 'something')
12
10
  UniformNotifier::Base.inline_notify('something')
13
11
  end
14
12
  end
15
13
  context '#out_of_channel_notify' do
16
- before do
17
- allow(UniformNotifier::Base).to receive(:active?).and_return(true)
18
- end
14
+ before { allow(UniformNotifier::Base).to receive(:active?).and_return(true) }
19
15
  it 'should keep the compatibility' do
20
16
  expect(UniformNotifier::Base).to receive(:_out_of_channel_notify).once.with(title: 'something')
21
17
  UniformNotifier::Base.out_of_channel_notify('something')
@@ -16,14 +16,20 @@ RSpec.describe UniformNotifier::BugsnagNotifier do
16
16
  let(:notification_data) { { user: 'user', title: 'notify bugsnag', url: 'URL', body: 'something' } }
17
17
 
18
18
  it 'should notify bugsnag' do
19
- expect(Bugsnag).to receive(:notify).with(UniformNotifier::Exception.new(notification_data[:title]), grouping_hash: notification_data[:body], notification: notification_data)
19
+ expect(Bugsnag).to receive(:notify).with(
20
+ UniformNotifier::Exception.new(notification_data[:title]),
21
+ grouping_hash: notification_data[:body], notification: notification_data
22
+ )
20
23
 
21
24
  UniformNotifier.bugsnag = true
22
25
  UniformNotifier::BugsnagNotifier.out_of_channel_notify(notification_data)
23
26
  end
24
27
 
25
28
  it 'should notify bugsnag with option' do
26
- expect(Bugsnag).to receive(:notify).with(UniformNotifier::Exception.new(notification_data[:title]), foo: :bar, grouping_hash: notification_data[:body], notification: notification_data)
29
+ expect(Bugsnag).to receive(:notify).with(
30
+ UniformNotifier::Exception.new(notification_data[:title]),
31
+ foo: :bar, grouping_hash: notification_data[:body], notification: notification_data
32
+ )
27
33
 
28
34
  UniformNotifier.bugsnag = { foo: :bar }
29
35
  UniformNotifier::BugsnagNotifier.out_of_channel_notify(notification_data)
@@ -33,14 +39,20 @@ RSpec.describe UniformNotifier::BugsnagNotifier do
33
39
  let(:notification_data) { 'notify bugsnag' }
34
40
 
35
41
  it 'should notify bugsnag' do
36
- expect(Bugsnag).to receive(:notify).with(UniformNotifier::Exception.new('notify bugsnag'), grouping_hash: 'notify bugsnag', notification: { title: 'notify bugsnag' })
42
+ expect(Bugsnag).to receive(:notify).with(
43
+ UniformNotifier::Exception.new('notify bugsnag'),
44
+ grouping_hash: 'notify bugsnag', notification: { title: 'notify bugsnag' }
45
+ )
37
46
 
38
47
  UniformNotifier.bugsnag = true
39
48
  UniformNotifier::BugsnagNotifier.out_of_channel_notify(notification_data)
40
49
  end
41
50
 
42
51
  it 'should notify bugsnag with option' do
43
- expect(Bugsnag).to receive(:notify).with(UniformNotifier::Exception.new('notify bugsnag'), foo: :bar, grouping_hash: 'notify bugsnag', notification: { title: 'notify bugsnag' })
52
+ expect(Bugsnag).to receive(:notify).with(
53
+ UniformNotifier::Exception.new('notify bugsnag'),
54
+ foo: :bar, grouping_hash: 'notify bugsnag', notification: { title: 'notify bugsnag' }
55
+ )
44
56
 
45
57
  UniformNotifier.bugsnag = { foo: :bar }
46
58
  UniformNotifier::BugsnagNotifier.out_of_channel_notify(notification_data)
@@ -12,8 +12,13 @@ RSpec.describe UniformNotifier::Growl do
12
12
  expect(Growl).to receive(:new).with('localhost', 'uniform_notifier').and_return(growl)
13
13
  expect(growl).to receive(:add_notification).with('uniform_notifier')
14
14
  expect(growl).to receive(:password=).with(nil)
15
- expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'Uniform Notifier Growl has been turned on').ordered
16
- expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'notify growl without password').ordered
15
+ expect(growl).to receive(:notify).with(
16
+ 'uniform_notifier',
17
+ 'Uniform Notifier',
18
+ 'Uniform Notifier Growl has been turned on'
19
+ ).ordered
20
+ expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'notify growl without password')
21
+ .ordered
17
22
 
18
23
  UniformNotifier.growl = true
19
24
  UniformNotifier::Growl.out_of_channel_notify(title: 'notify growl without password')
@@ -24,7 +29,11 @@ RSpec.describe UniformNotifier::Growl do
24
29
  expect(Growl).to receive(:new).with('localhost', 'uniform_notifier').and_return(growl)
25
30
  expect(growl).to receive(:add_notification).with('uniform_notifier')
26
31
  expect(growl).to receive(:password=).with('123456')
27
- expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'Uniform Notifier Growl has been turned on').ordered
32
+ expect(growl).to receive(:notify).with(
33
+ 'uniform_notifier',
34
+ 'Uniform Notifier',
35
+ 'Uniform Notifier Growl has been turned on'
36
+ ).ordered
28
37
  expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'notify growl with password').ordered
29
38
 
30
39
  UniformNotifier.growl = { password: '123456' }
@@ -36,7 +45,11 @@ RSpec.describe UniformNotifier::Growl do
36
45
  expect(Growl).to receive(:new).with('10.10.156.17', 'uniform_notifier').and_return(growl)
37
46
  expect(growl).to receive(:add_notification).with('uniform_notifier')
38
47
  expect(growl).to receive(:password=).with('123456')
39
- expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'Uniform Notifier Growl has been turned on').ordered
48
+ expect(growl).to receive(:notify).with(
49
+ 'uniform_notifier',
50
+ 'Uniform Notifier',
51
+ 'Uniform Notifier Growl has been turned on'
52
+ ).ordered
40
53
  expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'notify growl with password').ordered
41
54
 
42
55
  UniformNotifier.growl = { password: '123456', host: '10.10.156.17' }
@@ -48,7 +61,11 @@ RSpec.describe UniformNotifier::Growl do
48
61
  expect(Growl).to receive(:new).with('localhost', 'uniform_notifier').and_return(growl)
49
62
  expect(growl).to receive(:add_notification).with('uniform_notifier')
50
63
  expect(growl).to receive(:password=).with('123456')
51
- expect(growl).not_to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'Uniform Notifier Growl has been turned on')
64
+ expect(growl).not_to receive(:notify).with(
65
+ 'uniform_notifier',
66
+ 'Uniform Notifier',
67
+ 'Uniform Notifier Growl has been turned on'
68
+ )
52
69
  expect(growl).to receive(:notify).with('uniform_notifier', 'Uniform Notifier', 'notify growl with password')
53
70
 
54
71
  UniformNotifier.growl = { password: '123456', quiet: true }
@@ -9,25 +9,22 @@ RSpec.describe UniformNotifier::Raise do
9
9
 
10
10
  it 'should raise error of the default class' do
11
11
  UniformNotifier.raise = true
12
- expect {
13
- UniformNotifier::Raise.out_of_channel_notify(title: 'notification')
14
- }.to raise_error(UniformNotifier::Exception, 'notification')
12
+ expect { UniformNotifier::Raise.out_of_channel_notify(title: 'notification') }.to raise_error(
13
+ UniformNotifier::Exception,
14
+ 'notification'
15
+ )
15
16
  end
16
17
 
17
18
  it 'allows the user to override the default exception class' do
18
- klass = Class.new(Exception)
19
+ klass = Class.new(RuntimeError)
19
20
  UniformNotifier.raise = klass
20
- expect {
21
- UniformNotifier::Raise.out_of_channel_notify(title: 'notification')
22
- }.to raise_error(klass, 'notification')
21
+ expect { UniformNotifier::Raise.out_of_channel_notify(title: 'notification') }.to raise_error(klass, 'notification')
23
22
  end
24
23
 
25
24
  it 'can be turned from on to off again' do
26
25
  UniformNotifier.raise = true
27
26
  UniformNotifier.raise = false
28
27
 
29
- expect {
30
- UniformNotifier::Raise.out_of_channel_notify(title: 'notification')
31
- }.not_to raise_error
28
+ expect { UniformNotifier::Raise.out_of_channel_notify(title: 'notification') }.not_to raise_error
32
29
  end
33
30
  end
@@ -20,6 +20,7 @@ RSpec.describe UniformNotifier::Slack do
20
20
  begin
21
21
  UniformNotifier.slack = {}
22
22
  rescue UniformNotifier::NotificationError
23
+
23
24
  ensure
24
25
  expect_any_instance_of(Slack::Notifier).to_not receive(:ping)
25
26
  expect(UniformNotifier::Slack.out_of_channel_notify(title: 'notify slack')).to be_nil
@@ -34,7 +35,8 @@ RSpec.describe UniformNotifier::Slack do
34
35
  end
35
36
 
36
37
  it 'should allow username and channel config options' do
37
- expect(Slack::Notifier).to receive(:new).with('http://some.slack.url', username: 'The Dude', channel: '#carpets').and_return(true)
38
+ expect(Slack::Notifier).to receive(:new).with('http://some.slack.url', username: 'The Dude', channel: '#carpets')
39
+ .and_return(true)
38
40
  UniformNotifier.slack = { webhook_url: 'http://some.slack.url', username: 'The Dude', channel: '#carpets' }
39
41
  expect(UniformNotifier::Slack.active?).to eq true
40
42
  end
@@ -9,7 +9,9 @@ RSpec.describe UniformNotifier::TerminalNotifier do
9
9
 
10
10
  it "should raise an exception when terminal-notifier gem isn't available" do
11
11
  UniformNotifier.terminal_notifier = true
12
- expect { UniformNotifier::TerminalNotifier.out_of_channel_notify(body: 'body', title: 'notify terminal') }.to raise_error(UniformNotifier::NotificationError, /terminal-notifier gem/)
12
+ expect {
13
+ UniformNotifier::TerminalNotifier.out_of_channel_notify(body: 'body', title: 'notify terminal')
14
+ }.to raise_error(UniformNotifier::NotificationError, /terminal-notifier gem/)
13
15
  end
14
16
 
15
17
  it 'should notify terminal-notifier when enabled' do
@@ -21,7 +21,9 @@ RSpec.describe UniformNotifier::Xmpp do
21
21
  expect(message).to receive(:set_subject).with('Uniform Notifier').and_return(message)
22
22
  expect(xmpp).to receive(:send).with(message)
23
23
 
24
- UniformNotifier.xmpp = { account: 'from@gmail.com', password: '123456', receiver: 'to@gmail.com', show_online_status: false }
24
+ UniformNotifier.xmpp = {
25
+ account: 'from@gmail.com', password: '123456', receiver: 'to@gmail.com', show_online_status: false
26
+ }
25
27
  UniformNotifier::Xmpp.out_of_channel_notify(title: 'notify xmpp')
26
28
  end
27
29
 
@@ -46,7 +48,9 @@ RSpec.describe UniformNotifier::Xmpp do
46
48
  expect(message).to receive(:set_subject).with('Uniform Notifier').and_return(message)
47
49
  expect(xmpp).to receive(:send).with(message)
48
50
 
49
- UniformNotifier.xmpp = { account: 'from@gmail.com', password: '123456', receiver: 'to@gmail.com', show_online_status: true }
51
+ UniformNotifier.xmpp = {
52
+ account: 'from@gmail.com', password: '123456', receiver: 'to@gmail.com', show_online_status: true
53
+ }
50
54
  UniformNotifier::Xmpp.out_of_channel_notify(title: 'notify xmpp')
51
55
  end
52
56
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- $LOAD_PATH.push File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
4
  require 'uniform_notifier/version'
5
5
 
6
6
  Gem::Specification.new do |s|
@@ -16,11 +16,11 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.required_ruby_version = '>= 2.3'
18
18
 
19
+ s.add_development_dependency 'rspec', ['> 0']
19
20
  s.add_development_dependency 'ruby-growl', ['= 4.0']
20
21
  s.add_development_dependency 'ruby_gntp', ['= 0.3.4']
21
- s.add_development_dependency 'xmpp4r', ['= 0.5']
22
22
  s.add_development_dependency 'slack-notifier', ['>= 1.0']
23
- s.add_development_dependency 'rspec', ['> 0']
23
+ s.add_development_dependency 'xmpp4r', ['= 0.5']
24
24
 
25
25
  s.files = `git ls-files`.split("\n")
26
26
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uniform_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-05 00:00:00.000000000 Z
11
+ date: 2021-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: ruby-growl
14
+ name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - ">"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: ruby_gntp
28
+ name: ruby-growl
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.4
33
+ version: '4.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.3.4
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: xmpp4r
42
+ name: ruby_gntp
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '0.5'
47
+ version: 0.3.4
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '0.5'
54
+ version: 0.3.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: slack-notifier
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -67,19 +67,19 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: xmpp4r
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">"
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '0.5'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">"
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '0.5'
83
83
  description: uniform notifier for rails logger, customized logger, javascript alert,
84
84
  javascript console, growl and xmpp
85
85
  email:
@@ -137,7 +137,7 @@ metadata:
137
137
  changelog_uri: https://github.com/flyerhzm/uniform_notifier/blob/master/CHANGELOG.md
138
138
  source_code_uri: https://github.com/flyerhzm/uniform_notifier
139
139
  bug_tracker_uri: https://github.com/flyerhzm/uniform_notifier/issues
140
- post_install_message:
140
+ post_install_message:
141
141
  rdoc_options: []
142
142
  require_paths:
143
143
  - lib
@@ -152,8 +152,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  requirements: []
155
- rubygems_version: 3.0.3
156
- signing_key:
155
+ rubygems_version: 3.1.4
156
+ signing_key:
157
157
  specification_version: 4
158
158
  summary: uniform notifier for rails logger, customized logger, javascript alert, javascript
159
159
  console, growl and xmpp