Package: ruby-dataobjects / 0.10.16-1

Metadata

Package Version Patches format
ruby-dataobjects 0.10.16-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0030_deactivate_asynchronous_shared_spec.patch | (download)

lib/data_objects/spec/shared/command_spec.rb | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 mark as pending a test about asynchronous command
 The shared test "should finish within 2 seconds" currently fails with
 ruby-dataobjects-mysql on Debian FreeBSD and Hurd. Temporarily mark it as
 pending on these architectures to allow packages to build.
0040 require its.patch | (download)

spec/spec_helper.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 require 'rspec/its'
 Tests use 'its'. So, made spec_helper require 'rspec/its'
0050 tests support rspec3.patch | (download)

spec/command_spec.rb | 4 2 + 2 - 0 !
spec/connection_spec.rb | 24 15 + 9 - 0 !
spec/pooling_spec.rb | 36 18 + 18 - 0 !
spec/reader_spec.rb | 12 6 + 6 - 0 !
spec/result_spec.rb | 6 3 + 3 - 0 !
spec/spec_helper.rb | 1 0 + 1 - 0 !
spec/transaction_spec.rb | 20 10 + 10 - 0 !
spec/uri_spec.rb | 117 95 + 22 - 0 !
8 files changed, 149 insertions(+), 71 deletions(-)

 make test files support rspec3
 The test files are tweaked to support RSpec 3 syntax
0060 lib spec support rspec3.patch | (download)

lib/data_objects/spec/shared/command_spec.rb | 45 22 + 23 - 0 !
lib/data_objects/spec/shared/connection_spec.rb | 38 19 + 19 - 0 !
lib/data_objects/spec/shared/encoding_spec.rb | 32 16 + 16 - 0 !
lib/data_objects/spec/shared/reader_spec.rb | 58 29 + 29 - 0 !
lib/data_objects/spec/shared/result_spec.rb | 10 5 + 5 - 0 !
lib/data_objects/spec/shared/typecast/array_spec.rb | 2 1 + 1 - 0 !
lib/data_objects/spec/shared/typecast/bigdecimal_spec.rb | 14 7 + 7 - 0 !
lib/data_objects/spec/shared/typecast/boolean_spec.rb | 18 9 + 9 - 0 !
lib/data_objects/spec/shared/typecast/byte_array_spec.rb | 10 5 + 5 - 0 !
lib/data_objects/spec/shared/typecast/class_spec.rb | 6 3 + 3 - 0 !
lib/data_objects/spec/shared/typecast/date_spec.rb | 14 7 + 7 - 0 !
lib/data_objects/spec/shared/typecast/datetime_spec.rb | 18 9 + 9 - 0 !
lib/data_objects/spec/shared/typecast/float_spec.rb | 18 9 + 9 - 0 !
lib/data_objects/spec/shared/typecast/integer_spec.rb | 12 6 + 6 - 0 !
lib/data_objects/spec/shared/typecast/nil_spec.rb | 10 5 + 5 - 0 !
lib/data_objects/spec/shared/typecast/other_spec.rb | 2 1 + 1 - 0 !
lib/data_objects/spec/shared/typecast/range_spec.rb | 2 1 + 1 - 0 !
lib/data_objects/spec/shared/typecast/string_spec.rb | 20 10 + 10 - 0 !
lib/data_objects/spec/shared/typecast/time_spec.rb | 14 7 + 7 - 0 !
19 files changed, 171 insertions(+), 172 deletions(-)

 make distributed spec files support rspec3
 The spec files inside lib/data_objects/spec/ have to support RSpec3 for other 
 packages to work. Made them RSpec3 happy