data_objects 0.10.4 → 0.10.5
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
CHANGED
|
@@ -19,7 +19,7 @@ shared_examples_for 'supporting DateTime' do
|
|
|
19
19
|
describe 'with manual typecasting' do
|
|
20
20
|
|
|
21
21
|
before do
|
|
22
|
-
@command = @connection.create_command("SELECT
|
|
22
|
+
@command = @connection.create_command("SELECT release_datetime FROM widgets WHERE ad_description = ?")
|
|
23
23
|
@command.set_types(DateTime)
|
|
24
24
|
@reader = @command.execute_reader('Buy this product now!')
|
|
25
25
|
@reader.next!
|
|
@@ -36,7 +36,8 @@ shared_examples_for 'supporting DateTime' do
|
|
|
36
36
|
|
|
37
37
|
it 'should return the correct result' do
|
|
38
38
|
date = @values.first
|
|
39
|
-
|
|
39
|
+
local_offset = Rational(Time.local(2008, 2, 14).utc_offset, 86400)
|
|
40
|
+
date.should == DateTime.civil(2008, 2, 14, 00, 31, 12, local_offset)
|
|
40
41
|
end
|
|
41
42
|
|
|
42
43
|
end
|
data/lib/data_objects/version.rb
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: 61
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 10
|
|
9
|
-
-
|
|
10
|
-
version: 0.10.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.10.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Dirkjan Bussink
|