voiceinspect 0.0.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c192f21797a077cd5c36df6afdced13c5a6a6610
4
+ data.tar.gz: 67cdf14bfdd73b813acc9d6c76f0793e69643aae
5
+ SHA512:
6
+ metadata.gz: b0cded9865755f4e1ca57f29ac516e286baa446c0a24e93d5dada99e61d863ec7fe748b129698e7cdec56e244b03e76cb1f8368b0645d20499ad5a311e16de00
7
+ data.tar.gz: 104e5679b360b6f024fc04ed96aa3007ae8011086f25ecb353ccb7551d37fb833f768bc7fded0881f249c74385f2dcfa1ea8ab5f56b3d63d6fa3804201cbbac4
@@ -0,0 +1,23 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
23
+ testing.rb
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in voiceinspect.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Angel Botto
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,58 @@
1
+ # Voiceinspect
2
+
3
+ Debugging is better when you hear the error
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'voiceinspect'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install voiceinspect
18
+
19
+ ## Usage
20
+
21
+ $ Voiceinspect.say("Welcome to development mode", { voice: "Vicki" })
22
+
23
+ ## Voices
24
+
25
+ Use this voices.
26
+
27
+ * Victoria
28
+ * Agnes
29
+ * Kathy
30
+ * Princess
31
+ * Vicki
32
+ * Victoria"
33
+ * Bruce
34
+ * Fred
35
+ * Junior
36
+ * Ralph
37
+ * Albert
38
+ * Bad News
39
+ * Bahh
40
+ * Bells
41
+ * Boing
42
+ * Bubbles
43
+ * Cellos
44
+ * Deranged
45
+ * Good News
46
+ * Hysterical
47
+ * Pipe Organ
48
+ * Trinoids
49
+ * Whisper
50
+ * Zarvox
51
+
52
+ ## Contributing
53
+
54
+ 1. Fork it ( https://github.com/kreattiewe/voiceinspect/fork )
55
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
56
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
57
+ 4. Push to the branch (`git push origin my-new-feature`)
58
+ 5. Create a new Pull Request
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,43 @@
1
+ require "voiceinspect/version"
2
+
3
+ module Voiceinspect
4
+
5
+ def self.voices
6
+ [ "Victoria",
7
+ "Agnes",
8
+ "Kathy",
9
+ "Princess",
10
+ "Vicki",
11
+ "Victoria",
12
+ "Bruce",
13
+ "Fred",
14
+ "Junior",
15
+ "Ralph",
16
+ "Albert",
17
+ "Bad News",
18
+ "Bahh",
19
+ "Bells",
20
+ "Boing",
21
+ "Bubbles",
22
+ "Cellos",
23
+ "Deranged",
24
+ "Good News",
25
+ "Hysterical",
26
+ "Pipe Organ",
27
+ "Trinoids",
28
+ "Whisper",
29
+ "Zarvox"
30
+ ]
31
+ end
32
+
33
+ def self.say(message, options={})
34
+
35
+ if options[:voice] != nil
36
+ if voices.include?(options[:voice]) then voice = options[:voice] else voice = "Victoria" end
37
+ else
38
+ voice = "Vicki"
39
+ end
40
+
41
+ system "say -v #{voice} '#{message}' &"
42
+ end
43
+ end
@@ -0,0 +1,3 @@
1
+ module Voiceinspect
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,20 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'voiceinspect/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "voiceinspect"
8
+ spec.version = Voiceinspect::VERSION
9
+ spec.authors = ["Angel Botto"]
10
+ spec.email = ["angelbotto@gmail.com"]
11
+ spec.summary = "Debugging is better when you hear the error"
12
+ spec.description = "Debugging is better when you hear the error"
13
+ spec.homepage = "http://kreattiewe.com/gem/voiceinspect"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.require_paths = ["lib"]
18
+
19
+ spec.add_development_dependency "bundler", "~> 1.6"
20
+ end
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: voiceinspect
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Angel Botto
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-09-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ description: Debugging is better when you hear the error
28
+ email:
29
+ - angelbotto@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - .gitignore
35
+ - Gemfile
36
+ - LICENSE.txt
37
+ - README.md
38
+ - Rakefile
39
+ - lib/voiceinspect.rb
40
+ - lib/voiceinspect/version.rb
41
+ - voiceinspect.gemspec
42
+ homepage: http://kreattiewe.com/gem/voiceinspect
43
+ licenses:
44
+ - MIT
45
+ metadata: {}
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.2.2
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Debugging is better when you hear the error
66
+ test_files: []