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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b50226c277056b78ecdfd1a74f720bddb347b407
4
- data.tar.gz: d81a067fa3332250d0e62a7682f9d59277126327
3
+ metadata.gz: 357b4743350e32bee8bb137838000b1db97bc98b
4
+ data.tar.gz: 6ea4704ecbe54eb4e59756476a330cdfdcc652de
5
5
  SHA512:
6
- metadata.gz: d416757c2e6a5cb916825c76273043a5fa2501f99246afbc1efd3d4674c507aa65ee6bd09cad8ead51a01e0a95d57f21332994c527537592428473cef7e39a4e
7
- data.tar.gz: ea09890e05c08217847a7681dd8b89f7d2631e408379e57d4d66f9762027509eceeb69c645fd45a80954b28f9671f5c84b5b94f889902cc5287b3c91270626ac
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
 
@@ -1,3 +1,3 @@
1
1
  module Notiffany
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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.6
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-02-19 00:00:00.000000000 Z
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: Single wrapper for most popular notification libraries
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
- - notiffany.gemspec
90
- homepage: ''
86
+ homepage: https://github.com/guard/notiffany
91
87
  licenses:
92
88
  - MIT
93
89
  metadata: {}
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- language: ruby
2
- bundler_args: --without development
3
- rvm:
4
- - 1.9.3
5
- - 2.0.0
6
- - 2.1.5
7
- - ruby-head
8
- - jruby
9
- - rbx-2
10
- matrix:
11
- allow_failures:
12
- - rvm: rbx-2
13
- - rvm: jruby
14
- sudo: false
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
@@ -1,13 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- require 'nenv'
4
-
5
- default_tasks = []
6
-
7
- require 'rspec/core/rake_task'
8
- default_tasks << RSpec::Core::RakeTask.new(:spec) do |t|
9
- t.verbose = Nenv.ci?
10
- end
11
-
12
- task default: default_tasks.map(&:name)
13
-
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