Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIXED: Register multiple notification causes error.
- Loading branch information
Showing
7 changed files
with
102 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
= ruby_gntp change log | ||
|
||
== Version 0.0.0 | ||
* Create public Git repository | ||
|
||
== Version 0.0.1 | ||
* Initial version | ||
== Version 0.3.4 - 2010/02/02 | ||
* FIXED: Register doesn't work with multiple notifications. | ||
* Modify ChangeLog order. | ||
|
||
== Version 0.0.2 | ||
* Fixed Japanese translated MIT License page URL. | ||
== Version 0.3.3 - 2010/01/26 | ||
* Temporary patchwork fix - The code was commented out that recognize version | ||
of the OS causes some defects - | ||
|
||
== Version 0.1.0 - 2009/4/17 | ||
* Add GNTP.notify method for instant notification. | ||
* Add ruby script examples. | ||
== Version 0.3.1 - yyyy/mm/dd | ||
|
||
== Version 0.1.1 - 2009/4/17 | ||
* Add NOTE to example directory. | ||
== Version 0.3.0 - yyyy/mm/dd | ||
|
||
== Version 0.1.2 - 2009/08/15 | ||
* Enabled password authentication mainly for sending notifications to a network machine. | ||
== Version 0.2.0 - 2009/11/03 | ||
* Merge spidahman's commits. Lot of thanks, spidahman! | ||
* Add some test(spec). | ||
|
||
== Version 0.1.3 - 2009/08/19 | ||
* Added notification icon sending. | ||
* Now sends out Origin-X headers. | ||
* Use \r\n instead of \n in the header lines. | ||
|
||
== Version 0.2.0 - 2009/11/03 | ||
* Merge spidahman's commits. Lot of thanks, spidahman! | ||
* Add some test(spec). | ||
== Version 0.1.2 - 2009/08/15 | ||
* Enabled password authentication mainly for sending notifications to a network machine. | ||
|
||
== Version 0.3.0 - yyyy/mm/dd | ||
== Version 0.1.1 - 2009/4/17 | ||
* Add NOTE to example directory. | ||
|
||
== Version 0.3.1 - yyyy/mm/dd | ||
== Version 0.1.0 - 2009/4/17 | ||
* Add GNTP.notify method for instant notification. | ||
* Add ruby script examples. | ||
|
||
== Version 0.3.2 - 2010/01/26 | ||
* Temporary patchwork fix - The code was commented out that recognize version | ||
of the OS causes some defects - | ||
== Version 0.0.2 | ||
* Fixed Japanese translated MIT License page URL. | ||
|
||
== Version 0.0.1 | ||
* Initial version | ||
|
||
== Version 0.0.0 | ||
* Create public Git repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Attention when twitter_notifier.rb is used | ||
Following gem is necessary to operate this script. | ||
- json_pure | ||
- pit | ||
|
||
Please ensure that an appropriate value to environment variable EDITOR is set if you start and use Pit. | ||
Pit starts executing the editor command set to EDITOR for the edit of account information, and the script will not operate correctly when this variable is not appropriately set. | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
require '../lib/ruby_gntp' | ||
|
||
g = GNTP.new("test") | ||
|
||
g.register( :notifications => [ | ||
{ :name => "notify", :enabled => true }, | ||
{ :name => "warning", :enabled => true }, | ||
{ :name => "error", :enabled => true }, | ||
]) | ||
|
||
g.notify( | ||
:name => "notify", | ||
:title => "Test", | ||
:text => "hoge fuga" | ||
) | ||
|
||
g.notify( | ||
:name => "warning", | ||
:title => "warning", | ||
:text => "Warn!" | ||
) | ||
|
||
g.notify( | ||
:name => "error", | ||
:title => "error", | ||
:text => "ERROR" | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters