win32-loquendo 1.1.1-x86-mingw32 → 1.1.2-x86-mingw32

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODAxYWUzOGM0ZjA2ZmNjNmJlMDEyNTc4YTgxMGVkZDEwY2U2OWM4Ng==
4
+ MWViNGMxNWQ5MzQyMzg5MDM5Y2JkYmQzMzBkMmYzYzIyYzI0NmRhNw==
5
5
  data.tar.gz: !binary |-
6
- YzRjODVlZTk5OTFmMzRkOGUxM2E3Y2FhMTk5ZmMzZDJlMTljZTQzMg==
6
+ NDEyMjhhNTU5OWIxMmE2Yzc0MWI2YzY3ODcxNTk5ZDQ2MGZmOTNiYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MGFmNDk0MDZlNWI1ZmU1YzljODZkMDNhYjBkZmZkMTRhYmU2MzI1NzVlYWJk
10
- ZTc4MDY4MTJlODA3NWZmNmU3NDA4ZmMzMjlhNTFjMzgzNTZiZDY5MTUzOTUw
11
- MTA3NTIwYjc3OWQ2ZTBmNmFkNmE2Y2U1YzYyNjU2MzFjMjEwMTU=
9
+ YWJkMTgyOThhMjJkNjhmMGYzNjM4Y2U0NDhhMmI1ODU1YjJhY2Y2YzQyMzVk
10
+ NmIyZjJlNDY0MTU0OWI0ZWIzYjg4M2Y4ZGQ4NGU5NDY3MDI3MGUyYmNlZGQw
11
+ ZDdjZWJjNjk0OWYwZTZjYmMyYzc1ZmViYzgwMzFlZThiMjVhZGM=
12
12
  data.tar.gz: !binary |-
13
- OThkNjgxNDExNzJmNzZlMmZlODRhNTJmN2UzZWRiMmRmMWUzNTBiNmE3NGZj
14
- M2IxY2QyZGQzYmVmNTM2ODZhY2M3ZjdhZTA1MWNjZGFlNTU0MGQ4OWQ0YjAy
15
- M2IyYTFkMmE3Njg4ZjU0OTc4ZTkzOWUwYzhiYjU2ZTMwY2NjNTY=
13
+ YTA0OTA1N2ZjMjNlNjIzOWQ2YmY1YThiYzUyNGQyYzEwZmQzZWQ4OGUyMzlj
14
+ NjgwYmFhNjkyMmJlNGIxZThhMzRkOGI5YjQzZGViYmMyNWQzMjUwNTIyNjM0
15
+ ZGZmNjRkNmU0ZWE5MTdiZDBiMjhmMmU1NmIzN2JlYzZiZWJhNWU=
data/bin/say CHANGED
@@ -3,7 +3,8 @@ require 'win32/loquendo'
3
3
 
4
4
  def usage
5
5
  puts "Usage: #{File.basename $0} [OPTIONS] [TEXT]","",
6
- "TEXT is the text you want to be spoken","",
6
+ "TEXT is the text you want to be spoken.",
7
+ "If no text is provided as arguments, text will be fetched from STDIN instead.","",
7
8
  "Options:",
8
9
  " -c (1|2) audio channels to use",
9
10
  " -f FILE write audio to FILE instead of speaking it aloud",
@@ -31,8 +32,8 @@ def parse_opts
31
32
  h
32
33
  end
33
34
 
34
- usage if ARGV.empty?
35
35
  opts = parse_opts
36
+ opts[:text] = STDIN if opts[:text].empty?
36
37
 
37
38
  trap(:INT){ exit(1) }
38
39
 
@@ -1,5 +1,5 @@
1
1
  module Win32
2
2
  module Loquendo
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-loquendo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Jonas Tingeborn