sbire 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ lang: "en-us"
2
+ notify_command: "notify-send '%{message}'"
@@ -0,0 +1,2 @@
1
+ lang: "en-us"
2
+ notify_command: "terminal-notifier -sender com.apple.Terminal -message %{message}"
@@ -0,0 +1,2 @@
1
+ lang: "en-us"
2
+ notify_command: "echo '%{message}'"
@@ -57,7 +57,9 @@ class Sbire
57
57
  home = Dir.home
58
58
  config_file = "config_#{OS.familly}.yml"
59
59
  FileUtils.mkdir_p("#{home}/.sbire/out")
60
- FileUtils.copy("./files/#{config_file}", "#{home}/.sbire/config.yml")
60
+ dirname = File.dirname(__FILE__)
61
+ path = "#{dirname}/../files/#{config_file}"
62
+ FileUtils.copy(path, "#{home}/.sbire/config.yml")
61
63
  end
62
64
 
63
65
  def recreate_text_file
metadata CHANGED
@@ -1,27 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Guirec Corbel
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-11-09 00:00:00.000000000 Z
12
+ date: 2013-11-28 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rest-client
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  description: Sbire is a command line tool that recognize your voice and execute commands
@@ -42,29 +45,33 @@ files:
42
45
  - lib/sbire_config.rb
43
46
  - lib/notifier.rb
44
47
  - lib/pid_manager.rb
48
+ - files/config_win.yml
49
+ - files/config_mac.yml
50
+ - files/config_linux.yml
45
51
  - README.md
46
52
  homepage: https://github.com/GCorbel/sbire
47
53
  licenses:
48
54
  - MIT
49
- metadata: {}
50
55
  post_install_message:
51
56
  rdoc_options: []
52
57
  require_paths:
53
58
  - lib
54
59
  required_ruby_version: !ruby/object:Gem::Requirement
60
+ none: false
55
61
  requirements:
56
- - - '>='
62
+ - - ! '>='
57
63
  - !ruby/object:Gem::Version
58
64
  version: '0'
59
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
+ none: false
60
67
  requirements:
61
- - - '>='
68
+ - - ! '>='
62
69
  - !ruby/object:Gem::Version
63
70
  version: '0'
64
71
  requirements: []
65
72
  rubyforge_project:
66
- rubygems_version: 2.0.3
73
+ rubygems_version: 1.8.23
67
74
  signing_key:
68
- specification_version: 4
75
+ specification_version: 3
69
76
  summary: The henchman who do what you say
70
77
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 78327ead8904f5db555cefe58fda34399cbdbd5d
4
- data.tar.gz: 9577fd4a52d5960ea349a146e329329b55b71e58
5
- SHA512:
6
- metadata.gz: 0afaa3c06d010af5dfbbff4a7e64b4618f080cea8383b367fb965c558b92b97f170eba0c9b86eeb7529d09aaeede26e56e6ac0c6c20c8392f84c5c5faeb81f6e
7
- data.tar.gz: 0c81c2cea6e4f89f9e6b9156e55ea8c143f501e45dc5453462a22ed8c651197042f74b3cd5b19f469d83d43473a8d0ccb1efed85943f5fc8eb9a20ac1d2a364a