[DRE-commits] [SCM] ruby-dataobjects.git branch, master, updated. upstream/0.10.6-15-g9c78a60
Cédric Boutillier
cedric.boutillier at gmail.com
Tue Oct 18 13:20:28 UTC 2011
The following commit has been merged in the master branch:
commit e85daed899ef768b4c4383fc88d1aeaa0b0e4bb3
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Mon Oct 17 14:17:35 2011 +0200
Imported Upstream version 0.10.7
diff --git a/ChangeLog.markdown b/ChangeLog.markdown
index 2530f55..5ff2912 100644
--- a/ChangeLog.markdown
+++ b/ChangeLog.markdown
@@ -1,3 +1,7 @@
+## 0.10.7 2011-10-13
+
+* Ruby 1.9.3 compatibility
+
## 0.10.6 2011-05-22
Bugfixes
diff --git a/Rakefile b/Rakefile
index bd49292..856b607 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,7 @@
require 'pathname'
+require 'rubygems'
require 'bundler'
+require 'rubygems/package_task'
Bundler::GemHelper.install_tasks
require 'rake'
diff --git a/lib/data_objects/spec/shared/typecast/time_spec.rb b/lib/data_objects/spec/shared/typecast/time_spec.rb
index 173edb5..53b705f 100644
--- a/lib/data_objects/spec/shared/typecast/time_spec.rb
+++ b/lib/data_objects/spec/shared/typecast/time_spec.rb
@@ -112,11 +112,10 @@ shared_examples_for 'supporting sub second Time' do
end
it 'should handle variable subsecond lengths properly' do
- @values.first.should == Time.at(1292452328, 493770)
-
+ @values.first.to_f.should be_within(0.00002).of(Time.at(1292452328, 493770).to_f)
@reader.next!
@values = @reader.values
- @values.first.should == Time.at(1292452348, 942694)
+ @values.first.to_f.should be_within(0.00002).of(Time.at(1292452348, 942694).to_f)
end
end
diff --git a/lib/data_objects/version.rb b/lib/data_objects/version.rb
index a07418d..2df1f92 100644
--- a/lib/data_objects/version.rb
+++ b/lib/data_objects/version.rb
@@ -1,3 +1,3 @@
module DataObjects
- VERSION = '0.10.6'
+ VERSION = '0.10.7'
end
diff --git a/metadata.yml b/metadata.yml
index 0d7682c..0b6101e 100644
--- a/metadata.yml
+++ b/metadata.yml
@@ -1,13 +1,13 @@
--- !ruby/object:Gem::Specification
name: data_objects
version: !ruby/object:Gem::Version
- hash: 59
+ hash: 57
prerelease:
segments:
- 0
- 10
- - 6
- version: 0.10.6
+ - 7
+ version: 0.10.7
platform: ruby
authors:
- Dirkjan Bussink
@@ -15,8 +15,7 @@ autorequire:
bindir: bin
cert_chain: []
-date: 2011-03-29 00:00:00 +02:00
-default_executable:
+date: 2011-03-29 00:00:00 Z
dependencies:
- !ruby/object:Gem::Dependency
name: addressable
@@ -136,7 +135,6 @@ files:
- tasks/spec.rake
- tasks/yard.rake
- tasks/yardstick.rake
-has_rdoc: true
homepage: http://github.com/datamapper/do
licenses: []
@@ -166,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project: dorb
-rubygems_version: 1.5.2
+rubygems_version: 1.8.6
signing_key:
specification_version: 3
summary: DataObjects basic API and shared driver specifications
--
ruby-dataobjects.git
More information about the Pkg-ruby-extras-commits
mailing list