do_sqlserver 0.10.3-java → 0.10.4-java

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog.markdown CHANGED
@@ -1,3 +1,16 @@
1
+ ## 0.10.4 2011-04-28
2
+
3
+ New features
4
+ * Add save point to transactions (all)
5
+ * JRuby 1.9 mode support (encodings etc.)
6
+
7
+ Bugfixes
8
+ * Fix bug when using nested transactions in concurrent scenarios (all)
9
+ * Use column aliases instead of names (jruby)
10
+
11
+ Other
12
+ * Switch back to RSpec
13
+
1
14
  ## 0.10.3 2011-01-30
2
15
  * No changes
3
16
 
data/LICENSE CHANGED
@@ -1,5 +1,5 @@
1
1
  Copyright (c) 2009 Clifford Heath
2
- Copyright (c) 2009, 2010 Alex Coles
2
+ Copyright (c) 2009 - 2011 Alex Coles
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining
5
5
  a copy of this software and associated documentation files (the
data/README.markdown CHANGED
@@ -29,10 +29,6 @@ Examples of usage:
29
29
  @reader = @connection.create_command('SELECT * FROM users').execute_reader
30
30
  @reader.next!
31
31
 
32
- In the future, the `Connection` constructor will be able to be passed either a
33
- DataObjects-style URL or JDBC style URL, when using do\_sqlserver on JRuby.
34
- However, this feature is not currently working reliably and is a known issue.
35
-
36
32
  * See also the accompanying `CONNECTING.markdown`.
37
33
 
38
34
  ## Requirements
@@ -82,7 +78,7 @@ For more information, see the SQL Server driver wiki page:
82
78
  ## Developers
83
79
 
84
80
  Follow the above installation instructions. Additionally, you'll need:
85
- * `bacon` gem for running specs.
81
+ * `rspec` gem for running specs.
86
82
  * `YARD` gem for generating documentation.
87
83
 
88
84
  See the DataObjects wiki for more comprehensive information on installing and
@@ -99,10 +95,7 @@ To run specs without compiling extensions first:
99
95
 
100
96
  To run individual specs:
101
97
 
102
- rake spec TEST=spec/connection_spec.rb
103
-
104
- (Note that the `rake` task uses a `TEST` parameter, not `SPEC`. This is because
105
- the `Rake::TestTask` is used for executing the Bacon specs).
98
+ rake spec SPEC=spec/connection_spec.rb
106
99
 
107
100
  ## License
108
101
 
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
1
  require 'pathname'
2
- require 'rubygems'
2
+ require 'bundler'
3
+ Bundler::GemHelper.install_tasks
4
+
3
5
  require 'rake'
4
6
  require 'rake/clean'
5
7
 
@@ -14,43 +16,8 @@ SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])
14
16
 
15
17
  CLEAN.include(%w[ {tmp,pkg}/ **/*.{o,so,bundle,jar,log,a,gem,dSYM,obj,pdb,exp,DS_Store,rbc,db} ext-java/target ])
16
18
 
17
- begin
18
- gem 'jeweler', '~> 1.4'
19
- require 'jeweler'
20
-
21
- Jeweler::Tasks.new do |gem|
22
- gem.name = 'do_sqlserver'
23
- gem.version = DataObjects::SqlServer::VERSION
24
- gem.summary = 'DataObjects SQL Server Driver'
25
- gem.description = 'Implements the DataObjects API for Microsoft SQL Server'
26
- gem.platform = 'java'
27
- gem.files = FileList['lib/**/*.rb', 'spec/**/*.rb', 'tasks/**/*.rake',
28
- 'LICENSE', 'Rakefile', '*.{markdown,rdoc,txt,yml}',
29
- 'lib/*.jar']
30
- gem.extra_rdoc_files = FileList['README*', 'ChangeLog*', 'INSTALL.markdown',
31
- 'FAQS.markdown', 'LICENSE']
32
- gem.test_files = FileList['spec/**/*.rb']
33
-
34
- gem.add_dependency 'data_objects', DataObjects::SqlServer::VERSION
35
- gem.add_dependency 'do_jdbc', DataObjects::SqlServer::VERSION
36
- gem.add_dependency 'do-jdbc_sqlserver', '~>1.2.4'
37
-
38
- gem.add_development_dependency 'bacon', '~>1.1'
39
- gem.add_development_dependency 'rake-compiler', '~>0.7'
40
-
41
- gem.has_rdoc = false
42
-
43
- gem.rubyforge_project = 'dorb'
44
- gem.authors = [ 'Alex Coles' ]
45
- gem.email = 'alex@alexbcoles.com'
46
- end
47
-
48
- Rake::Task['build'].clear_actions if Rake::Task.task_defined?('build')
49
- task :build => [ :java, :gem ]
50
-
51
- Jeweler::GemcutterTasks.new
52
-
53
- FileList['tasks/**/*.rake'].each { |task| import task }
54
- rescue LoadError
55
- puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
56
- end
19
+
20
+ Rake::Task['build'].clear_actions if Rake::Task.task_defined?('build')
21
+ task :build => [ :java, :gem ]
22
+
23
+ FileList['tasks/**/*.rake'].each { |task| import task }
data/lib/do_sqlserver.rb CHANGED
@@ -282,6 +282,12 @@ if RUBY_PLATFORM !~ /java/
282
282
 
283
283
  else
284
284
 
285
+ module DataObjects
286
+ module SqlServer
287
+ JDBC_DRIVER = 'net.sourceforge.jtds.jdbc.Driver'
288
+ end
289
+ end
290
+
285
291
  # Register SqlServer JDBC driver
286
292
  java.sql.DriverManager.registerDriver Java::net.sourceforge.jtds.jdbc.Driver.new
287
293
 
Binary file
@@ -1,5 +1,5 @@
1
1
  module DataObjects
2
2
  module SqlServer
3
- VERSION = '0.10.3'
3
+ VERSION = '0.10.4'
4
4
  end
5
5
  end
data/spec/command_spec.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
4
- require 'data_objects/spec/command_spec'
4
+ require 'data_objects/spec/shared/command_spec'
5
5
 
6
6
  describe DataObjects::SqlServer::Command do
7
- behaves_like 'a Command'
8
- behaves_like 'a Command with async'
7
+ it_should_behave_like 'a Command'
8
+ it_should_behave_like 'a Command with async'
9
9
  end
@@ -1,21 +1,21 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
4
- require 'data_objects/spec/connection_spec'
4
+ require 'data_objects/spec/shared/connection_spec'
5
5
 
6
6
  describe DataObjects::SqlServer::Connection do
7
7
 
8
- before do
9
- @driver = CONFIG.scheme
10
- @user = CONFIG.user
8
+ before :all do
9
+ @driver = CONFIG.scheme
10
+ @user = CONFIG.user
11
11
  @password = CONFIG.pass
12
- @host = CONFIG.host
13
- @port = CONFIG.port
12
+ @host = CONFIG.host
13
+ @port = CONFIG.port
14
14
  @database = CONFIG.database
15
15
  end
16
16
 
17
- behaves_like 'a Connection'
18
- #behaves_like 'a Connection with authentication support'
19
- # FIXME: behaves_like 'a Connection with JDBC URL support' if JRUBY
20
- behaves_like 'a Connection via JDNI' if JRUBY
17
+ it_should_behave_like 'a Connection'
18
+ #it_should_behave_like 'a Connection with authentication support'
19
+ it_should_behave_like 'a Connection with JDBC URL support' if JRUBY
20
+ it_should_behave_like 'a Connection via JDNI' if JRUBY
21
21
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
4
- require 'data_objects/spec/encoding_spec'
4
+ require 'data_objects/spec/shared/encoding_spec'
5
5
 
6
6
  describe DataObjects::SqlServer::Connection do
7
- behaves_like 'a driver supporting different encodings'
7
+ it_should_behave_like 'a driver supporting different encodings'
8
8
  end
data/spec/reader_spec.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
4
- require 'data_objects/spec/reader_spec'
4
+ require 'data_objects/spec/shared/reader_spec'
5
5
 
6
6
  describe DataObjects::SqlServer::Reader do
7
- behaves_like 'a Reader'
7
+ it_should_behave_like 'a Reader'
8
8
  end
data/spec/result_spec.rb CHANGED
@@ -1,16 +1,16 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
4
- require 'data_objects/spec/result_spec'
4
+ require 'data_objects/spec/shared/result_spec'
5
5
 
6
6
  # splitting the descibe into two separate declaration avoids
7
- # concurrent execution of the "behaves_like ....."
7
+ # concurrent execution of the "it_should_behave_like ....."
8
8
  # needed by some databases (sqlite3)
9
9
 
10
10
  describe DataObjects::SqlServer::Result do
11
- behaves_like 'a Result'
11
+ it_should_behave_like 'a Result'
12
12
  end
13
13
 
14
14
  describe DataObjects::SqlServer::Result do
15
- behaves_like 'a Result which returns inserted key with sequences'
15
+ it_should_behave_like 'a Result which returns inserted key with sequences'
16
16
  end
data/spec/spec_helper.rb CHANGED
@@ -2,6 +2,7 @@ $TESTING=true
2
2
  JRUBY = RUBY_PLATFORM =~ /java/
3
3
 
4
4
  require 'rubygems'
5
+ require 'rspec'
5
6
  require 'date'
6
7
  require 'ostruct'
7
8
  require 'fileutils'
@@ -18,12 +19,14 @@ repo_root = File.expand_path('../../..', __FILE__)
18
19
  end
19
20
 
20
21
  require 'data_objects'
21
- require 'data_objects/spec/bacon'
22
+ require 'data_objects/spec/setup'
23
+ require 'data_objects/spec/lib/pending_helpers'
22
24
  require 'do_sqlserver'
23
25
 
24
26
  DataObjects::SqlServer.logger = DataObjects::Logger.new(STDOUT, :off)
25
27
  at_exit { DataObjects.logger.flush }
26
28
 
29
+
27
30
  CONFIG = OpenStruct.new
28
31
  CONFIG.scheme = 'sqlserver'
29
32
  CONFIG.user = ENV['DO_SQLSERVER_USER'] || 'do_test'
@@ -33,8 +36,10 @@ CONFIG.port = ENV['DO_SQLSERVER_PORT'] || '1433'
33
36
  CONFIG.instance = ENV['DO_SQLSERVER_INSTANCE'] || 'SQLEXPRESS'
34
37
  CONFIG.database = ENV['DO_SQLSERVER_DATABASE'] || "/do_test;instance=#{CONFIG.instance};"
35
38
 
36
- CONFIG.uri = ENV["DO_SQLSERVER_SPEC_URI"] ||"#{CONFIG.scheme}://#{CONFIG.user}:#{CONFIG.pass}@#{CONFIG.host}:#{CONFIG.port}#{CONFIG.database}"
37
- CONFIG.sleep = "WAITFOR DELAY '00:00:01'"
39
+ CONFIG.driver = 'sqlserver'
40
+ CONFIG.jdbc_driver = DataObjects::SqlServer.const_get('JDBC_DRIVER') rescue nil
41
+ CONFIG.uri = ENV["DO_SQLSERVER_SPEC_URI"] ||"#{CONFIG.scheme}://#{CONFIG.user}:#{CONFIG.pass}@#{CONFIG.host}:#{CONFIG.port}#{CONFIG.database}"
42
+ CONFIG.sleep = "WAITFOR DELAY '00:00:01'"
38
43
 
39
44
  module DataObjectsSpecHelpers
40
45
 
@@ -148,4 +153,7 @@ module DataObjectsSpecHelpers
148
153
 
149
154
  end
150
155
 
151
- include DataObjectsSpecHelpers
156
+ RSpec.configure do |config|
157
+ config.include(DataObjectsSpecHelpers)
158
+ config.include(DataObjects::Spec::PendingHelpers)
159
+ end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/array_spec'
4
+ require 'data_objects/spec/shared/typecast/array_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Array' do
7
- behaves_like 'supporting Array'
7
+ it_should_behave_like 'supporting Array'
8
8
  end
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/bigdecimal_spec'
4
+ require 'data_objects/spec/shared/typecast/bigdecimal_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with BigDecimal' do
7
- behaves_like 'supporting BigDecimal'
8
- behaves_like 'supporting BigDecimal autocasting'
7
+ it_should_behave_like 'supporting BigDecimal'
8
+ it_should_behave_like 'supporting BigDecimal autocasting'
9
9
  end
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/boolean_spec'
4
+ require 'data_objects/spec/shared/typecast/boolean_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Boolean' do
7
- behaves_like 'supporting Boolean'
8
- behaves_like 'supporting Boolean autocasting'
7
+ it_should_behave_like 'supporting Boolean'
8
+ it_should_behave_like 'supporting Boolean autocasting'
9
9
  end
@@ -1,10 +1,10 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/byte_array_spec'
4
+ require 'data_objects/spec/shared/typecast/byte_array_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with ByteArray' do
7
- # behaves_like 'supporting ByteArray'
7
+ # it_should_behave_like 'supporting ByteArray'
8
8
  #
9
9
  # ByteArray is not yet supported on JRuby:
10
10
  #
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/class_spec'
4
+ require 'data_objects/spec/shared/typecast/class_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Class' do
7
- behaves_like 'supporting Class'
7
+ it_should_behave_like 'supporting Class'
8
8
  end
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/date_spec'
4
+ require 'data_objects/spec/shared/typecast/date_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Date' do
7
- behaves_like 'supporting Date'
7
+ it_should_behave_like 'supporting Date'
8
8
 
9
9
  # SqlServer will cast DATE type to Time
10
- # behaves_like 'supporting Date autocasting'
10
+ # it_should_behave_like 'supporting Date autocasting'
11
11
  end
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/datetime_spec'
4
+ require 'data_objects/spec/shared/typecast/datetime_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with DateTime' do
7
- behaves_like 'supporting DateTime'
8
- # behaves_like 'supporting DateTime autocasting'
7
+ it_should_behave_like 'supporting DateTime'
8
+ # it_should_behave_like 'supporting DateTime autocasting'
9
9
  end
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/float_spec'
4
+ require 'data_objects/spec/shared/typecast/float_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Float' do
7
- behaves_like 'supporting Float'
8
- # behaves_like 'supporting Float autocasting'
7
+ it_should_behave_like 'supporting Float'
8
+ # it_should_behave_like 'supporting Float autocasting'
9
9
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/integer_spec'
4
+ require 'data_objects/spec/shared/typecast/integer_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Integer' do
7
- behaves_like 'supporting Integer'
7
+ it_should_behave_like 'supporting Integer'
8
8
  end
@@ -1,10 +1,10 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/nil_spec'
4
+ require 'data_objects/spec/shared/typecast/nil_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Nil' do
7
- behaves_like 'supporting Nil'
8
- behaves_like 'supporting writing an Nil'
9
- behaves_like 'supporting Nil autocasting'
7
+ it_should_behave_like 'supporting Nil'
8
+ it_should_behave_like 'supporting writing an Nil'
9
+ it_should_behave_like 'supporting Nil autocasting'
10
10
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/other_spec'
4
+ require 'data_objects/spec/shared/typecast/other_spec'
5
5
 
6
6
  describe 'DataObjects::H2 with other (unknown) type' do
7
- behaves_like 'supporting other (unknown) type'
7
+ it_should_behave_like 'supporting other (unknown) type'
8
8
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/range_spec'
4
+ require 'data_objects/spec/shared/typecast/range_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Range' do
7
- behaves_like 'supporting Range'
7
+ it_should_behave_like 'supporting Range'
8
8
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/string_spec'
4
+ require 'data_objects/spec/shared/typecast/string_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with String' do
7
- behaves_like 'supporting String'
7
+ it_should_behave_like 'supporting String'
8
8
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
4
- require 'data_objects/spec/typecast/time_spec'
4
+ require 'data_objects/spec/shared/typecast/time_spec'
5
5
 
6
6
  describe 'DataObjects::SqlServer with Time' do
7
- behaves_like 'supporting Time'
7
+ it_should_behave_like 'supporting Time'
8
8
  end
data/tasks/compile.rake CHANGED
@@ -2,11 +2,8 @@ begin
2
2
  gem 'rake-compiler', '~>0.7'
3
3
  require 'rake/javaextensiontask'
4
4
 
5
- # Hack to avoid "allocator undefined for Proc" issue when unpacking Gems:
6
- # gemspec provided by Jeweler uses Rake::FileList for files, test_files and
7
- # extra_rdoc_files, and procs cannot be marshalled.
8
5
  def gemspec
9
- @clean_gemspec ||= eval("#{Rake.application.jeweler.gemspec.to_ruby}") # $SAFE = 3\n
6
+ @clean_gemspec ||= Gem::Specification::load(File.expand_path('../../do_sqlserver.gemspec', __FILE__))
10
7
  end
11
8
 
12
9
  Rake::JavaExtensionTask.new('do_sqlserver', gemspec) do |ext|
data/tasks/spec.rake CHANGED
@@ -1,23 +1,12 @@
1
- require 'rake/testtask'
1
+ require 'rspec/core/rake_task'
2
2
 
3
- spec_defaults = lambda do |spec|
4
- spec.libs << 'lib' << 'spec'
5
- spec.pattern = 'spec/**/*_spec.rb'
6
- spec.verbose = true
3
+ RSpec::Core::RakeTask.new(:spec => [:clean, :compile]) do |spec|
4
+ spec.pattern = './spec/**/*_spec.rb'
5
+ spec.skip_bundler = true
7
6
  end
8
7
 
9
- Rake::TestTask.new(:spec => [ :clean, :compile ], &spec_defaults)
10
- Rake::TestTask.new(:spec_no_compile, &spec_defaults)
11
-
12
- begin
13
- require 'rcov/rcovtask'
14
- Rcov::RcovTask.new do |spec|
15
- spec.libs << 'spec'
16
- spec.pattern = 'spec/**/*_spec.rb'
17
- spec.verbose = true
18
- end
19
- rescue LoadError
20
- task :rcov do
21
- abort 'RCov is not available. In order to run rcov, you must: gem install rcov'
22
- end
8
+ RSpec::Core::RakeTask.new(:rcov => [:clean, :compile]) do |rcov|
9
+ rcov.pattern = "./spec/**/*_spec.rb"
10
+ rcov.rcov = true
11
+ rcov.rcov_opts = File.read('spec/rcov.opts').split(/\s+/)
23
12
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: do_sqlserver
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 3
10
- version: 0.10.3
9
+ - 4
10
+ version: 0.10.4
11
11
  platform: java
12
12
  authors:
13
13
  - Alex Coles
@@ -15,44 +15,42 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-30 00:00:00 +01:00
18
+ date: 2011-03-29 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: data_objects
23
- prerelease: false
24
22
  requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - "="
28
26
  - !ruby/object:Gem::Version
29
- hash: 49
27
+ hash: 63
30
28
  segments:
31
29
  - 0
32
30
  - 10
33
- - 3
34
- version: 0.10.3
31
+ - 4
32
+ version: 0.10.4
35
33
  type: :runtime
34
+ name: data_objects
35
+ prerelease: false
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: do_jdbc
39
- prerelease: false
40
38
  requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
40
  requirements:
43
41
  - - "="
44
42
  - !ruby/object:Gem::Version
45
- hash: 49
43
+ hash: 63
46
44
  segments:
47
45
  - 0
48
46
  - 10
49
- - 3
50
- version: 0.10.3
47
+ - 4
48
+ version: 0.10.4
51
49
  type: :runtime
50
+ name: do_jdbc
51
+ prerelease: false
52
52
  version_requirements: *id002
53
53
  - !ruby/object:Gem::Dependency
54
- name: do-jdbc_sqlserver
55
- prerelease: false
56
54
  requirement: &id003 !ruby/object:Gem::Requirement
57
55
  none: false
58
56
  requirements:
@@ -65,25 +63,25 @@ dependencies:
65
63
  - 4
66
64
  version: 1.2.4
67
65
  type: :runtime
66
+ name: do-jdbc_sqlserver
67
+ prerelease: false
68
68
  version_requirements: *id003
69
69
  - !ruby/object:Gem::Dependency
70
- name: bacon
71
- prerelease: false
72
70
  requirement: &id004 !ruby/object:Gem::Requirement
73
71
  none: false
74
72
  requirements:
75
73
  - - ~>
76
74
  - !ruby/object:Gem::Version
77
- hash: 13
75
+ hash: 9
78
76
  segments:
79
- - 1
80
- - 1
81
- version: "1.1"
77
+ - 2
78
+ - 5
79
+ version: "2.5"
82
80
  type: :development
81
+ name: rspec
82
+ prerelease: false
83
83
  version_requirements: *id004
84
84
  - !ruby/object:Gem::Dependency
85
- name: rake-compiler
86
- prerelease: false
87
85
  requirement: &id005 !ruby/object:Gem::Requirement
88
86
  none: false
89
87
  requirements:
@@ -95,6 +93,8 @@ dependencies:
95
93
  - 7
96
94
  version: "0.7"
97
95
  type: :development
96
+ name: rake-compiler
97
+ prerelease: false
98
98
  version_requirements: *id005
99
99
  description: Implements the DataObjects API for Microsoft SQL Server
100
100
  email: alex@alexbcoles.com
@@ -103,16 +103,23 @@ executables: []
103
103
  extensions: []
104
104
 
105
105
  extra_rdoc_files:
106
- - README.markdown
107
106
  - ChangeLog.markdown
108
- - INSTALL.markdown
109
107
  - FAQS.markdown
108
+ - INSTALL.markdown
110
109
  - LICENSE
110
+ - README.markdown
111
111
  files:
112
+ - CONNECTING.markdown
113
+ - ChangeLog.markdown
114
+ - FAQS.markdown
115
+ - INSTALL.markdown
116
+ - LICENSE
117
+ - README.markdown
118
+ - Rakefile
112
119
  - lib/dbd_odbc_patch.rb
120
+ - lib/do_sqlserver.rb
113
121
  - lib/do_sqlserver/transaction.rb
114
122
  - lib/do_sqlserver/version.rb
115
- - lib/do_sqlserver.rb
116
123
  - spec/command_spec.rb
117
124
  - spec/connection_spec.rb
118
125
  - spec/encoding_spec.rb
@@ -136,21 +143,14 @@ files:
136
143
  - tasks/compile.rake
137
144
  - tasks/release.rake
138
145
  - tasks/spec.rake
139
- - LICENSE
140
- - Rakefile
141
- - ChangeLog.markdown
142
- - CONNECTING.markdown
143
- - FAQS.markdown
144
- - INSTALL.markdown
145
- - README.markdown
146
146
  - lib/do_sqlserver/do_sqlserver.jar
147
- has_rdoc: false
147
+ has_rdoc: true
148
148
  homepage:
149
149
  licenses: []
150
150
 
151
151
  post_install_message:
152
- rdoc_options:
153
- - --charset=UTF-8
152
+ rdoc_options: []
153
+
154
154
  require_paths:
155
155
  - lib
156
156
  required_ruby_version: !ruby/object:Gem::Requirement