speaker 0.0.2 → 0.0.3

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.
@@ -85,7 +85,7 @@ module Speaker
85
85
 
86
86
  def type_sentence_and_get_audio(url,audio_file)
87
87
  a = Mechanize.new { |agent|
88
- agent.user_agent_alias = 'Mac Safari'
88
+ agent.user_agent_alias = 'Mechanize'
89
89
  }
90
90
 
91
91
  a.get(url) do |page|
@@ -127,7 +127,7 @@ module Speaker
127
127
  if RUBY_PLATFORM.include?("darwin")
128
128
  'afplay'
129
129
  else
130
- 'mpg123'
130
+ 'mpg123 -q'
131
131
  end
132
132
  end
133
133
 
@@ -1,3 +1,3 @@
1
1
  module Speaker
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: