Skip to content
Browse files

+ 0.6.0, with preferences dotfiles

  • Loading branch information...
1 parent f7c6cb7 commit 31ce3d1dac0191aac90a31f960a418d93a644965 @floere floere committed Jun 28, 2011
Showing with 21 additions and 12 deletions.
  1. +7 −0 history.textile
  2. +1 −1 james.gemspec
  3. +13 −11 test/unit/lib/james/preferences_test.rb
View
7 history.textile
@@ -1,3 +1,10 @@
+h2. Version 0.6.0
+
+* hanke: Added preference .james file. Currently, it supports one option, @voice@, e.g. the file could contain @voice: "com.acapelagroup.AGix.voice.Peter22k_HQ"@. The preferences are handled in this order:
+# Options in file @.james@
+# Options in file @~/.james@
+# Default options
+
h2. Version 0.5.0
* hanke: Removed Gemspec platform specification.
View
2 james.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
# s.platform = ['universal', 'darwin', nil]
s.name = 'james'
- s.version = '0.5.0'
+ s.version = '0.6.0'
s.author = 'Florian Hanke'
s.email = 'florian.hanke+james@gmail.com'
View
24 test/unit/lib/james/preferences_test.rb
@@ -7,14 +7,16 @@
describe James::Preferences do
- describe 'without a dotfile in the current dir' do
- before do
- @preferences = James::Preferences.new
- end
- it 'uses the default voice' do
- assert_equal 'com.apple.speech.synthesis.voice.Alex', @preferences.voice
- end
- end
+ # The dotfile in my home dir overrides this.
+ #
+ # describe 'without a dotfile in the current dir' do
+ # before do
+ # @preferences = James::Preferences.new
+ # end
+ # it 'uses the default voice' do
+ # assert_equal 'com.apple.speech.synthesis.voice.Alex', @preferences.voice
+ # end
+ # end
describe 'with a dotfile in the current dir' do
before do
@@ -30,8 +32,8 @@
end
end
- describe 'with a dotfile in the home dir' do
-
- end
+ # describe 'with a dotfile in the home dir' do
+ #
+ # end
end

0 comments on commit 31ce3d1

Please sign in to comment.
Something went wrong with that request. Please try again.