Permalink
Browse files

Remove need to specify username for Windows Authentication.

* Next version will be 0.6.0.
  • Loading branch information...
1 parent 75c162e commit 89675617e6de66ba640a43da83ac1c8bf42e394a @metaskills metaskills committed Nov 22, 2012
Showing with 4 additions and 3 deletions.
  1. +3 −1 CHANGELOG
  2. +0 −1 lib/tiny_tds/client.rb
  3. +1 −1 lib/tiny_tds/version.rb
View
@@ -1,5 +1,7 @@
-* 0.5.2 *
+* 0.6.0 *
+
+* Remove need to specify username for Windows Authentication.
* Use proper SQL for returning IDENTITY with Sybase. Fixes #95.
View
@@ -58,7 +58,6 @@ def initialize(opts={})
opts[:password] = opts[:password].to_s
warn 'FreeTDS may have issues with passwords longer than 30 characters!' if opts[:password].length > 30
end
- raise ArgumentError, 'missing :username option' if opts[:username].to_s.empty?
raise ArgumentError, 'missing :host option if no :dataserver given' if opts[:dataserver].to_s.empty? && opts[:host].to_s.empty?
@query_options = @@default_query_options.dup
opts[:appname] ||= 'TinyTds'
View
@@ -1,3 +1,3 @@
module TinyTds
- VERSION = '0.5.2.rc4'
+ VERSION = '0.6.0.rc1'
end

0 comments on commit 8967561

Please sign in to comment.