uniform_notifier 1.3.0 → 1.4.0

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
  SHA1:
3
- metadata.gz: 1daee42774f88bbcb5dee6d8453df3dab0f100c1
4
- data.tar.gz: d90364c166d4cbd0b667b7bec2be21322e2704be
3
+ metadata.gz: a1cdd4e6dd5a7f24432b9735f9763f7210ac7cce
4
+ data.tar.gz: 4155ea762efc4bf52c6d7ece08d3d4a7feba4b21
5
5
  SHA512:
6
- metadata.gz: 372fdcb741154d490751286d692834700fa46c2d87f13e4e6ada6d570bd04b7248cf1c4c85ffc633ebb2ba3394c1229b854745680b2ecf7b4e77b2ea00a16326
7
- data.tar.gz: f0e344f55daf89098fb5d3fea32129700816adf93e6344368781df3c13ac883cf4960d2c88da74cedcee772dbe760fbecfff30d1b9d4c60ac3ba5169e962ee4d
6
+ metadata.gz: 9a2d86407e43b9abd9426c0df5efd413b9a6f1707f2d5130c9491a2450a14ec5baccb10466ace3f5ac31db7732abbfb1eb9192771bf43a0ccb19b616bc0899b6
7
+ data.tar.gz: dbc9f1f60ede3a46afcbabdc44ed97dfe5710a1ec45153b5440745a67a261080de425bfe679e342448730378f3c0e049aef81752b94757e4fbd63edfe43fc452
@@ -6,7 +6,7 @@ module UniformNotifier
6
6
  @exception_class
7
7
  end
8
8
 
9
- def self.inline_notify( message )
9
+ def self.out_of_channel_notify( message )
10
10
  return unless self.active?
11
11
 
12
12
  raise @exception_class, message
@@ -1,3 +1,3 @@
1
1
  module UniformNotifier
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
@@ -2,13 +2,13 @@ require "spec_helper"
2
2
 
3
3
  describe UniformNotifier::Raise do
4
4
  it "should not notify message" do
5
- UniformNotifier::Raise.inline_notify("notification").should be_nil
5
+ UniformNotifier::Raise.out_of_channel_notify("notification").should be_nil
6
6
  end
7
7
 
8
8
  it "should raise error of the default class" do
9
9
  UniformNotifier.raise = true
10
10
  expect {
11
- UniformNotifier::Raise.inline_notify("notification")
11
+ UniformNotifier::Raise.out_of_channel_notify("notification")
12
12
  }.to raise_error(UniformNotifier::Raise::UniformNotifierException, "notification")
13
13
  end
14
14
 
@@ -16,7 +16,7 @@ describe UniformNotifier::Raise do
16
16
  klass = Class.new(Exception)
17
17
  UniformNotifier.raise = klass
18
18
  expect {
19
- UniformNotifier::Raise.inline_notify("notification")
19
+ UniformNotifier::Raise.out_of_channel_notify("notification")
20
20
  }.to raise_error(klass, "notification")
21
21
  end
22
22
 
@@ -25,7 +25,7 @@ describe UniformNotifier::Raise do
25
25
  UniformNotifier.raise = false
26
26
 
27
27
  expect {
28
- UniformNotifier::Raise.inline_notify("notification")
28
+ UniformNotifier::Raise.out_of_channel_notify("notification")
29
29
  }.not_to raise_error
30
30
  end
31
31
  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.3.0
4
+ version: 1.4.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: 2013-08-28 00:00:00.000000000 Z
11
+ date: 2013-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-growl