data_objects 0.10.7 → 0.10.8
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.
- data/ChangeLog.markdown +5 -0
- data/lib/data_objects/connection.rb +2 -1
- data/lib/data_objects/uri.rb +0 -1
- data/lib/data_objects/version.rb +1 -1
- data/spec/uri_spec.rb +2 -2
- data/tasks/spec.rake +0 -1
- metadata +4 -4
data/ChangeLog.markdown
CHANGED
@@ -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
|
data/lib/data_objects/uri.rb
CHANGED
data/lib/data_objects/version.rb
CHANGED
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
|
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
|
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
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:
|
4
|
+
hash: 39
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
version: 0.10.
|
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.
|
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
|