jumping_words 0.1.0 → 0.1.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.
data/README.rdoc CHANGED
@@ -27,11 +27,10 @@ View a list of words
27
27
 
28
28
  Adding words to the database
29
29
  jwords -a root: корень
30
- jwords -a to game: играть
30
+ jwords -a to play: играть
31
31
 
32
32
  Delete a word from the database (indicated by the index of the word)
33
33
  jwords -d 1
34
- jwords -d 1 2
35
34
 
36
35
  == Install
37
36
  gem install jumping_words
data/bin/jwords CHANGED
@@ -12,7 +12,7 @@ optparse = OptionParser.new do|opts|
12
12
  #The command addes a word
13
13
  opts.on( '-a', '--add', 'Add the word' ) do
14
14
  if ARGV.empty? or ARGV.size < 2
15
- puts 'You mast set 2 words! Firs is word, second is translate. Like this: "./word -a to run: бежать"'
15
+ puts 'You mast set 2 words! Firs is word, second is translate. Like this: "jwords -a to run: бежать"'
16
16
  exit
17
17
  else
18
18
  db = DbWords.new(ARGV)
@@ -36,12 +36,12 @@ class SayWords
36
36
  loop do
37
37
  @collection.each do |word|
38
38
  puts "I say #{word[0]}"
39
- puts 'terminal-notifier -message "'+ word[0] +': '+ word[1] +'" -title "JWords"' if @show_message
39
+ #puts 'terminal-notifier -message "'+ word[0] +': '+ word[1] +'" -title "JWords"' if @show_message
40
40
  system 'terminal-notifier -message "'+ word[0] +': '+ word[1] +'" -title "JWords"' if @show_message
41
- system 'say "'+ word[0] +'"'
41
+ system 'say -v Vicki "'+ word[0] +'"'
42
42
  sleep @space_words
43
43
  #puts "I say #{word[1]}"
44
- system 'say "'+ word[1] +'"'
44
+ system 'say -v Milena "'+ word[1] +'"'
45
45
  sleep @space_interation
46
46
  end
47
47
  sleep 4 # for notification hiding
@@ -1,3 +1,3 @@
1
1
  module Jwords
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumping_words
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: