data_objects 0.10.6 → 0.10.7

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
@@ -1,3 +1,7 @@
1
+ ## 0.10.7 2011-10-13
2
+
3
+ * Ruby 1.9.3 compatibility
4
+
1
5
  ## 0.10.6 2011-05-22
2
6
 
3
7
  Bugfixes
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
1
  require 'pathname'
2
+ require 'rubygems'
2
3
  require 'bundler'
4
+ require 'rubygems/package_task'
3
5
  Bundler::GemHelper.install_tasks
4
6
 
5
7
  require 'rake'
@@ -112,11 +112,10 @@ shared_examples_for 'supporting sub second Time' do
112
112
  end
113
113
 
114
114
  it 'should handle variable subsecond lengths properly' do
115
- @values.first.should == Time.at(1292452328, 493770)
116
-
115
+ @values.first.to_f.should be_within(0.00002).of(Time.at(1292452328, 493770).to_f)
117
116
  @reader.next!
118
117
  @values = @reader.values
119
- @values.first.should == Time.at(1292452348, 942694)
118
+ @values.first.to_f.should be_within(0.00002).of(Time.at(1292452348, 942694).to_f)
120
119
  end
121
120
 
122
121
  end
@@ -1,3 +1,3 @@
1
1
  module DataObjects
2
- VERSION = '0.10.6'
2
+ VERSION = '0.10.7'
3
3
  end
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: 59
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 6
10
- version: 0.10.6
9
+ - 7
10
+ version: 0.10.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dirkjan Bussink
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-29 00:00:00 +02:00
19
- default_executable:
18
+ date: 2011-03-29 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: addressable
@@ -136,7 +135,6 @@ files:
136
135
  - tasks/spec.rake
137
136
  - tasks/yard.rake
138
137
  - tasks/yardstick.rake
139
- has_rdoc: true
140
138
  homepage: http://github.com/datamapper/do
141
139
  licenses: []
142
140
 
@@ -166,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
164
  requirements: []
167
165
 
168
166
  rubyforge_project: dorb
169
- rubygems_version: 1.5.2
167
+ rubygems_version: 1.8.6
170
168
  signing_key:
171
169
  specification_version: 3
172
170
  summary: DataObjects basic API and shared driver specifications