notiffany 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notiffany/notifier/emacs.rb +3 -3
- data/lib/notiffany/version.rb +1 -1
- metadata +8 -12
- data/.gitignore +0 -14
- data/.rspec +0 -3
- data/.travis.yml +0 -14
- data/Gemfile +0 -15
- data/Guardfile +0 -56
- data/Rakefile +0 -13
- data/images/guard.png +0 -0
- data/notiffany.gemspec +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 357b4743350e32bee8bb137838000b1db97bc98b
|
4
|
+
data.tar.gz: 6ea4704ecbe54eb4e59756476a330cdfdcc652de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5c3899da0716856f4d346179c3ba12997cd9fcd89db892d80e0f2dbb0f1f71c9f1159b2967c1aae94fc7e85a890585d5dea33b7635add3691e6eba38e3e2297
|
7
|
+
data.tar.gz: 82d54459a0e59d2b38e439531bbcbeac79765f1d084711d737759d73526d3620317bc7ecf975fd46676c17558fe1cc0832616b48126debfdf1690c84c6d26f67
|
@@ -21,7 +21,7 @@ module Notiffany
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def available?
|
24
|
-
emacs_eval("'1'")
|
24
|
+
emacs_eval({ 'ALTERNATE_EDITOR' =>'false' }, "'1'")
|
25
25
|
end
|
26
26
|
|
27
27
|
def notify(color, bgcolor)
|
@@ -35,8 +35,8 @@ module Notiffany
|
|
35
35
|
|
36
36
|
private
|
37
37
|
|
38
|
-
def emacs_eval(code)
|
39
|
-
Shellany::Sheller.run(@client, "--eval", code)
|
38
|
+
def emacs_eval(env={}, code)
|
39
|
+
Shellany::Sheller.run(env, @client, "--eval", code)
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
data/lib/notiffany/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notiffany
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cezary Baginski
|
8
|
+
- Rémy Coutable
|
9
|
+
- Thibaud Guillaume-Gentil
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date: 2015-
|
13
|
+
date: 2015-07-27 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
16
|
name: nenv
|
@@ -52,23 +54,18 @@ dependencies:
|
|
52
54
|
- - "~>"
|
53
55
|
- !ruby/object:Gem::Version
|
54
56
|
version: '1.7'
|
55
|
-
description:
|
57
|
+
description: |2
|
58
|
+
Wrapper libray for most popular notification
|
59
|
+
libraries such as Growl, Libnotify, Notifu
|
56
60
|
email:
|
57
61
|
- cezary@chronomantic.net
|
58
62
|
executables: []
|
59
63
|
extensions: []
|
60
64
|
extra_rdoc_files: []
|
61
65
|
files:
|
62
|
-
- ".gitignore"
|
63
|
-
- ".rspec"
|
64
|
-
- ".travis.yml"
|
65
|
-
- Gemfile
|
66
|
-
- Guardfile
|
67
66
|
- LICENSE.txt
|
68
67
|
- README.md
|
69
|
-
- Rakefile
|
70
68
|
- images/failed.png
|
71
|
-
- images/guard.png
|
72
69
|
- images/pending.png
|
73
70
|
- images/success.png
|
74
71
|
- lib/notiffany.rb
|
@@ -86,8 +83,7 @@ files:
|
|
86
83
|
- lib/notiffany/notifier/terminal_title.rb
|
87
84
|
- lib/notiffany/notifier/tmux.rb
|
88
85
|
- lib/notiffany/version.rb
|
89
|
-
|
90
|
-
homepage: ''
|
86
|
+
homepage: https://github.com/guard/notiffany
|
91
87
|
licenses:
|
92
88
|
- MIT
|
93
89
|
metadata: {}
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
data/Gemfile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in notiffany.gemspec
|
4
|
-
gemspec development_group: :gem_build_tools
|
5
|
-
|
6
|
-
gem "rake", "~> 10.0"
|
7
|
-
gem 'nenv', "~> 0.1"
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "rspec", "~> 3.1"
|
11
|
-
end
|
12
|
-
|
13
|
-
group :development do
|
14
|
-
gem 'guard-rspec', "~> 4.5", require: false
|
15
|
-
end
|
data/Guardfile
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
# A sample Guardfile
|
2
|
-
# More info at https://github.com/guard/guard#readme
|
3
|
-
|
4
|
-
## Uncomment and set this to only include directories you want to watch
|
5
|
-
# directories %w(app lib config test spec feature)
|
6
|
-
|
7
|
-
## Uncomment to clear the screen before every task
|
8
|
-
# clearing :on
|
9
|
-
|
10
|
-
## Make Guard exit when config is changed so it can be restarted
|
11
|
-
#
|
12
|
-
## Note: if you want Guard to automatically start up again, run guard in a
|
13
|
-
## shell loop, e.g.:
|
14
|
-
#
|
15
|
-
# $ while bundle exec guard; do echo "Restarting Guard..."; done
|
16
|
-
#
|
17
|
-
## Note: if you are using the `directories` clause above and you are not
|
18
|
-
## watching the project directory ('.'), the you will want to move the Guardfile
|
19
|
-
## to a watched dir and symlink it back, e.g.
|
20
|
-
#
|
21
|
-
# $ mkdir config
|
22
|
-
# $ mv Guardfile config/
|
23
|
-
# $ ln -s config/Guardfile .
|
24
|
-
#
|
25
|
-
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
26
|
-
#
|
27
|
-
watch ("Guardfile") do
|
28
|
-
UI.info "Exiting because Guard must be restarted for changes to take effect"
|
29
|
-
exit 0
|
30
|
-
end
|
31
|
-
|
32
|
-
# Note: The cmd option is now required due to the increasing number of ways
|
33
|
-
# rspec may be run, below are examples of the most common uses.
|
34
|
-
# * bundler: 'bundle exec rspec'
|
35
|
-
# * bundler binstubs: 'bin/rspec'
|
36
|
-
# * spring: 'bin/rspec' (This will use spring if running and you have
|
37
|
-
# installed the spring binstubs per the docs)
|
38
|
-
# * zeus: 'zeus rspec' (requires the server to be started separately)
|
39
|
-
# * 'just' rspec: 'rspec'
|
40
|
-
|
41
|
-
guard :rspec, cmd: "bundle exec rspec" do
|
42
|
-
require "guard/rspec/dsl"
|
43
|
-
dsl = Guard::RSpec::Dsl.new(self)
|
44
|
-
|
45
|
-
# Feel free to open issues for suggestions and improvements
|
46
|
-
|
47
|
-
# RSpec files
|
48
|
-
rspec = dsl.rspec
|
49
|
-
watch(rspec.spec_helper) { rspec.spec_dir }
|
50
|
-
watch(rspec.spec_support) { rspec.spec_dir }
|
51
|
-
watch(rspec.spec_files)
|
52
|
-
|
53
|
-
# Ruby files
|
54
|
-
ruby = dsl.ruby
|
55
|
-
dsl.watch_spec_files_for(ruby.lib_files)
|
56
|
-
end
|
data/Rakefile
DELETED
data/images/guard.png
DELETED
Binary file
|
data/notiffany.gemspec
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'notiffany/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "notiffany"
|
8
|
-
spec.version = Notiffany::VERSION
|
9
|
-
spec.authors = ["Cezary Baginski"]
|
10
|
-
spec.email = ["cezary@chronomantic.net"]
|
11
|
-
spec.summary = %q{Notifier library (extracted from Guard project)}
|
12
|
-
spec.description = %q{Single wrapper for most popular notification libraries}
|
13
|
-
spec.homepage = ""
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
-
/^spec\//.match(f)
|
18
|
-
end
|
19
|
-
|
20
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
|
-
spec.require_paths = ["lib"]
|
23
|
-
|
24
|
-
spec.add_runtime_dependency "nenv", "~> 0.1"
|
25
|
-
spec.add_runtime_dependency "shellany", "~> 0.0"
|
26
|
-
|
27
|
-
spec.add_development_dependency "bundler", "~> 1.7"
|
28
|
-
end
|