do_sqlserver 0.10.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/CONNECTING.markdown +41 -0
- data/ChangeLog.markdown +25 -0
- data/FAQS.markdown +8 -0
- data/INSTALL.markdown +76 -0
- data/LICENSE +21 -0
- data/README.markdown +110 -0
- data/Rakefile +56 -0
- data/lib/dbd_odbc_patch.rb +50 -0
- data/lib/do_sqlserver.rb +296 -0
- data/lib/do_sqlserver/do_sqlserver.jar +0 -0
- data/lib/do_sqlserver/transaction.rb +36 -0
- data/lib/do_sqlserver/version.rb +5 -0
- data/spec/command_spec.rb +9 -0
- data/spec/connection_spec.rb +21 -0
- data/spec/encoding_spec.rb +8 -0
- data/spec/reader_spec.rb +8 -0
- data/spec/result_spec.rb +16 -0
- data/spec/spec_helper.rb +147 -0
- data/spec/typecast/array_spec.rb +8 -0
- data/spec/typecast/bigdecimal_spec.rb +9 -0
- data/spec/typecast/boolean_spec.rb +9 -0
- data/spec/typecast/byte_array_spec.rb +31 -0
- data/spec/typecast/class_spec.rb +8 -0
- data/spec/typecast/date_spec.rb +11 -0
- data/spec/typecast/datetime_spec.rb +9 -0
- data/spec/typecast/float_spec.rb +9 -0
- data/spec/typecast/integer_spec.rb +8 -0
- data/spec/typecast/nil_spec.rb +10 -0
- data/spec/typecast/other_spec.rb +8 -0
- data/spec/typecast/range_spec.rb +8 -0
- data/spec/typecast/string_spec.rb +8 -0
- data/spec/typecast/time_spec.rb +8 -0
- data/tasks/compile.rake +29 -0
- data/tasks/release.rake +14 -0
- data/tasks/spec.rake +23 -0
- metadata +161 -0
data/tasks/release.rake
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
desc 'Builds all gems (native, binaries for JRuby and Windows)'
|
2
|
+
task :build_all do
|
3
|
+
`rake clean`
|
4
|
+
`rake java gem`
|
5
|
+
end
|
6
|
+
|
7
|
+
desc 'Release all gems (native, binaries for JRuby and Windows)'
|
8
|
+
task :release_all => :build_all do
|
9
|
+
Dir["pkg/do_sqlserver-#{DataObjects::SqlServer::VERSION}*.gem"].each do |gem_path|
|
10
|
+
command = "gem push #{gem_path}"
|
11
|
+
puts "Executing #{command.inspect}:"
|
12
|
+
sh command
|
13
|
+
end
|
14
|
+
end
|
data/tasks/spec.rake
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'rake/testtask'
|
2
|
+
|
3
|
+
spec_defaults = lambda do |spec|
|
4
|
+
spec.libs << 'lib' << 'spec'
|
5
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
6
|
+
spec.verbose = true
|
7
|
+
end
|
8
|
+
|
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
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,161 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: do_sqlserver
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.10.1
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Alex Coles
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-01-09 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: data_objects
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - "="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.10.1
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: do_jdbc
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.10.1
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: do-jdbc_sqlserver
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.2.4
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: bacon
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "1.1"
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake-compiler
|
57
|
+
type: :development
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: "0.7"
|
64
|
+
version:
|
65
|
+
description: Implements the DataObjects API for Microsoft SQL Server
|
66
|
+
email: alex@alexcolesportfolio.com
|
67
|
+
executables: []
|
68
|
+
|
69
|
+
extensions: []
|
70
|
+
|
71
|
+
extra_rdoc_files:
|
72
|
+
- README.markdown
|
73
|
+
- ChangeLog.markdown
|
74
|
+
- INSTALL.markdown
|
75
|
+
- FAQS.markdown
|
76
|
+
- LICENSE
|
77
|
+
files:
|
78
|
+
- lib/dbd_odbc_patch.rb
|
79
|
+
- lib/do_sqlserver/transaction.rb
|
80
|
+
- lib/do_sqlserver/version.rb
|
81
|
+
- lib/do_sqlserver.rb
|
82
|
+
- spec/command_spec.rb
|
83
|
+
- spec/connection_spec.rb
|
84
|
+
- spec/encoding_spec.rb
|
85
|
+
- spec/reader_spec.rb
|
86
|
+
- spec/result_spec.rb
|
87
|
+
- spec/spec_helper.rb
|
88
|
+
- spec/typecast/array_spec.rb
|
89
|
+
- spec/typecast/bigdecimal_spec.rb
|
90
|
+
- spec/typecast/boolean_spec.rb
|
91
|
+
- spec/typecast/byte_array_spec.rb
|
92
|
+
- spec/typecast/class_spec.rb
|
93
|
+
- spec/typecast/date_spec.rb
|
94
|
+
- spec/typecast/datetime_spec.rb
|
95
|
+
- spec/typecast/float_spec.rb
|
96
|
+
- spec/typecast/integer_spec.rb
|
97
|
+
- spec/typecast/nil_spec.rb
|
98
|
+
- spec/typecast/other_spec.rb
|
99
|
+
- spec/typecast/range_spec.rb
|
100
|
+
- spec/typecast/string_spec.rb
|
101
|
+
- spec/typecast/time_spec.rb
|
102
|
+
- tasks/compile.rake
|
103
|
+
- tasks/release.rake
|
104
|
+
- tasks/spec.rake
|
105
|
+
- LICENSE
|
106
|
+
- Rakefile
|
107
|
+
- ChangeLog.markdown
|
108
|
+
- CONNECTING.markdown
|
109
|
+
- FAQS.markdown
|
110
|
+
- INSTALL.markdown
|
111
|
+
- README.markdown
|
112
|
+
- lib/do_sqlserver/do_sqlserver.jar
|
113
|
+
has_rdoc: false
|
114
|
+
homepage:
|
115
|
+
licenses: []
|
116
|
+
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options:
|
119
|
+
- --charset=UTF-8
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: "0"
|
127
|
+
version:
|
128
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: "0"
|
133
|
+
version:
|
134
|
+
requirements: []
|
135
|
+
|
136
|
+
rubyforge_project: dorb
|
137
|
+
rubygems_version: 1.3.5
|
138
|
+
signing_key:
|
139
|
+
specification_version: 3
|
140
|
+
summary: DataObjects SQL Server Driver
|
141
|
+
test_files:
|
142
|
+
- spec/command_spec.rb
|
143
|
+
- spec/connection_spec.rb
|
144
|
+
- spec/encoding_spec.rb
|
145
|
+
- spec/reader_spec.rb
|
146
|
+
- spec/result_spec.rb
|
147
|
+
- spec/spec_helper.rb
|
148
|
+
- spec/typecast/array_spec.rb
|
149
|
+
- spec/typecast/bigdecimal_spec.rb
|
150
|
+
- spec/typecast/boolean_spec.rb
|
151
|
+
- spec/typecast/byte_array_spec.rb
|
152
|
+
- spec/typecast/class_spec.rb
|
153
|
+
- spec/typecast/date_spec.rb
|
154
|
+
- spec/typecast/datetime_spec.rb
|
155
|
+
- spec/typecast/float_spec.rb
|
156
|
+
- spec/typecast/integer_spec.rb
|
157
|
+
- spec/typecast/nil_spec.rb
|
158
|
+
- spec/typecast/other_spec.rb
|
159
|
+
- spec/typecast/range_spec.rb
|
160
|
+
- spec/typecast/string_spec.rb
|
161
|
+
- spec/typecast/time_spec.rb
|