simple_growl 0.0.1 → 0.0.2
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 +4 -4
- data/lib/simple_growl/version.rb +1 -1
- data/lib/simple_growl.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 719049d3cd30d1bb7d3f1dd69c76506d8775d720
|
|
4
|
+
data.tar.gz: 7d0ff3621124ac0e0db063cb970423e7d8cc966a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2b2dc999b543177a7fc74554292cedb42f964d706eca8528d644636a927df1b3bdc677178d8a0b6b483396316f5ba626ed3debc2e024f40533f5cd290fbfd46
|
|
7
|
+
data.tar.gz: 68a1fcbdea429ba97cb9280ed01996736018e6a911b54b77f6b5d645c2a24e3cc900c2f8e9e97f8c56a08239fcf6083dcfdd265574dcf79bc15653eb62fa8184
|
data/lib/simple_growl/version.rb
CHANGED
data/lib/simple_growl.rb
CHANGED
|
@@ -3,6 +3,13 @@ require "simple_growl/version"
|
|
|
3
3
|
require 'open3'
|
|
4
4
|
|
|
5
5
|
module SimpleGrowl
|
|
6
|
+
# Displays a Growl notification
|
|
7
|
+
#
|
|
8
|
+
# == Parameters:
|
|
9
|
+
# title::
|
|
10
|
+
# The title of the notification to be displayed.
|
|
11
|
+
# message::
|
|
12
|
+
# The message to be displayed with the notification.
|
|
6
13
|
def notify(title, message)
|
|
7
14
|
#the following applescript code is taken from the sample on the growl website: http://growl.info/downloads
|
|
8
15
|
Open3.popen2("/usr/bin/env osascript") do |stdin, stdout, wait_thr|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_growl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marc Rosen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-03-
|
|
11
|
+
date: 2013-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
version: '0'
|
|
74
74
|
requirements: []
|
|
75
75
|
rubyforge_project:
|
|
76
|
-
rubygems_version: 2.0.
|
|
76
|
+
rubygems_version: 2.0.2
|
|
77
77
|
signing_key:
|
|
78
78
|
specification_version: 4
|
|
79
79
|
summary: SimpleGrowl is a simple ruby module, with no esoteric dependencies, designed
|