data_objects 0.10.7 → 0.10.8

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.10.8 2012-02-10
2
+
3
+ * Ruby 1.9.3 compatibility on Windows
4
+ * Don't display password in URI
5
+
1
6
  ## 0.10.7 2011-10-13
2
7
 
3
8
  * Ruby 1.9.3 compatibility
@@ -103,7 +103,8 @@ module DataObjects
103
103
  # Standard API Definition
104
104
  #####################################################
105
105
 
106
- # Show the URI for this connection
106
+ # Show the URI for this connection, without
107
+ # the password the connection was setup with
107
108
  def to_s
108
109
  @uri.to_s
109
110
  end
@@ -84,7 +84,6 @@ module DataObjects
84
84
  string << '//' if relative?
85
85
  if user
86
86
  string << "#{user}"
87
- string << ":#{password}" if password
88
87
  string << "@"
89
88
  end
90
89
  string << "#{host}" if host
@@ -1,3 +1,3 @@
1
1
  module DataObjects
2
- VERSION = '0.10.7'
2
+ VERSION = '0.10.8'
3
3
  end
data/spec/uri_spec.rb CHANGED
@@ -16,7 +16,7 @@ describe DataObjects::URI do
16
16
  its(:fragment) { should == 'fragment' }
17
17
 
18
18
  it 'should provide a correct string representation' do
19
- subject.to_s.should == 'mock://username:password@localhost:12345/path?encoding=utf8#fragment'
19
+ subject.to_s.should == 'mock://username@localhost:12345/path?encoding=utf8#fragment'
20
20
  end
21
21
  end
22
22
 
@@ -34,7 +34,7 @@ describe DataObjects::URI do
34
34
  its(:fragment) { should == 'fragment' }
35
35
 
36
36
  it 'should provide a correct string representation' do
37
- subject.to_s.should == 'jdbc:mock://username:password@localhost:12345/path?encoding=utf8#fragment'
37
+ subject.to_s.should == 'jdbc:mock://username@localhost:12345/path?encoding=utf8#fragment'
38
38
  end
39
39
  end
40
40
 
data/tasks/spec.rake CHANGED
@@ -2,7 +2,6 @@ require 'rspec/core/rake_task'
2
2
 
3
3
  RSpec::Core::RakeTask.new(:spec) do |spec|
4
4
  spec.pattern = './spec/**/*_spec.rb'
5
- spec.skip_bundler = true
6
5
  end
7
6
 
8
7
  RSpec::Core::RakeTask.new(:rcov) do |rcov|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_objects
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 7
10
- version: 0.10.7
9
+ - 8
10
+ version: 0.10.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dirkjan Bussink
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  requirements: []
165
165
 
166
166
  rubyforge_project: dorb
167
- rubygems_version: 1.8.6
167
+ rubygems_version: 1.8.14
168
168
  signing_key:
169
169
  specification_version: 3
170
170
  summary: DataObjects basic API and shared driver specifications