jdbc-mssql 0.6.0-java → 0.7.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -0
- data/lib/jdbc/mssql.rb +5 -9
- data/lib/jdbc/mssql/version.rb +1 -1
- data/lib/mssql-jdbc-7.4.1.jre11.jar +0 -0
- data/lib/mssql-jdbc-7.4.1.jre12.jar +0 -0
- data/lib/mssql-jdbc-7.4.1.jre8.jar +0 -0
- metadata +6 -19
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.travis.yml +0 -5
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -35
- data/Rakefile +0 -6
- data/azure-pipelines.yml +0 -23
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/jdbc-mssql.gemspec +0 -28
- data/lib/mssql-jdbc-6.4.0.jre7.jar +0 -0
- data/lib/mssql-jdbc-6.4.0.jre9.jar +0 -0
- data/lib/mssql-jdbc-7.0.0.jre10.jar +0 -0
- data/lib/mssql-jdbc-7.2.2.jre11.jar +0 -0
- data/lib/mssql-jdbc-7.2.2.jre8.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 153ef79865f23b931aaa5cf3b68d1431cf4c6079e7eb7c573a04a77070a9b25d
|
4
|
+
data.tar.gz: cc84ce2b79b9056d595460385f2ac09b36de2b0ddf6701dea34146f06a92b3c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13248872a28bada7faa0002d413eda991712df92a5d060df6cbdfaa68beb52138f645977768424a517935fe31cd222d23313aef71945c39db3ec166d539cf275
|
7
|
+
data.tar.gz: 5bca5edacd087b829b684d76080278820630396e85ed6274b40b860a1e70fdd6befe7c05f61c083cb30706bcc2c72b1327515e24ec664d8f6b87b744c9a75f77
|
data/README.md
CHANGED
@@ -48,6 +48,26 @@ end
|
|
48
48
|
|
49
49
|
For more details follow Microsoft's documentation and JRuby conventions to call java methods.
|
50
50
|
|
51
|
+
## Supported Java versions
|
52
|
+
|
53
|
+
For supported Java version use Gem versions as per below table:
|
54
|
+
|
55
|
+
| Java version | Gem version | used driver |
|
56
|
+
| ------------ | ------------- | ----------- |
|
57
|
+
| 8 | 0.7.0 | 7.4.1 |
|
58
|
+
| 11 | 0.7.0 | 7.4.1 |
|
59
|
+
|
60
|
+
## Other Java versions
|
61
|
+
|
62
|
+
For other Java version use Gem versions as per below table:
|
63
|
+
|
64
|
+
| Java version | Gem version | used driver |
|
65
|
+
| ------------ | ------------- | ----------- |
|
66
|
+
| 7 | 0.6.0 | 6.4.0 |
|
67
|
+
| 9 | 0.6.0 | 6.4.0 |
|
68
|
+
| 10 | 0.6.0 | 7.0.0 |
|
69
|
+
| 12 | 0.7.0 | 7.4.1 |
|
70
|
+
|
51
71
|
## Development
|
52
72
|
|
53
73
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/jdbc/mssql.rb
CHANGED
@@ -5,19 +5,15 @@ require 'jdbc/mssql/version'
|
|
5
5
|
module Jdbc
|
6
6
|
module Mssql
|
7
7
|
JAVA_VERSIONS = {
|
8
|
-
'1.7' => 7,
|
9
8
|
'1.8' => 8,
|
10
|
-
'
|
11
|
-
'
|
12
|
-
'11' => 11
|
9
|
+
'11' => 11,
|
10
|
+
'12' => 12
|
13
11
|
}.freeze
|
14
12
|
|
15
13
|
JAVA_DRIVER_VERSIONS = {
|
16
|
-
'1.
|
17
|
-
'
|
18
|
-
'
|
19
|
-
'10' => '7.0.0',
|
20
|
-
'11' => '7.2.2'
|
14
|
+
'1.8' => '7.4.1',
|
15
|
+
'11' => '7.4.1',
|
16
|
+
'12' => '7.4.1'
|
21
17
|
}.freeze
|
22
18
|
|
23
19
|
def self.java_specification_version
|
data/lib/jdbc/mssql/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-mssql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jesse Chavez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,26 +60,13 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
- ".gitignore"
|
64
|
-
- ".rspec"
|
65
|
-
- ".travis.yml"
|
66
|
-
- CODE_OF_CONDUCT.md
|
67
|
-
- Gemfile
|
68
|
-
- Gemfile.lock
|
69
63
|
- LICENSE.txt
|
70
64
|
- README.md
|
71
|
-
- Rakefile
|
72
|
-
- azure-pipelines.yml
|
73
|
-
- bin/console
|
74
|
-
- bin/setup
|
75
|
-
- jdbc-mssql.gemspec
|
76
65
|
- lib/jdbc/mssql.rb
|
77
66
|
- lib/jdbc/mssql/version.rb
|
78
|
-
- lib/mssql-jdbc-
|
79
|
-
- lib/mssql-jdbc-
|
80
|
-
- lib/mssql-jdbc-7.
|
81
|
-
- lib/mssql-jdbc-7.2.2.jre11.jar
|
82
|
-
- lib/mssql-jdbc-7.2.2.jre8.jar
|
67
|
+
- lib/mssql-jdbc-7.4.1.jre11.jar
|
68
|
+
- lib/mssql-jdbc-7.4.1.jre12.jar
|
69
|
+
- lib/mssql-jdbc-7.4.1.jre8.jar
|
83
70
|
homepage: https://github.com/JesseChavez/jdbc-mssql
|
84
71
|
licenses:
|
85
72
|
- MIT
|
@@ -100,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
87
|
version: '0'
|
101
88
|
requirements: []
|
102
89
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.7.
|
90
|
+
rubygems_version: 2.7.6
|
104
91
|
signing_key:
|
105
92
|
specification_version: 4
|
106
93
|
summary: JDBC driver for JRuby and SQL Server / Azure SQL
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at jesse.chavez.r@gmail.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
jdbc-mssql (0.6.0-java)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
diff-lcs (1.3)
|
10
|
-
rake (12.3.2)
|
11
|
-
rspec (3.7.0)
|
12
|
-
rspec-core (~> 3.7.0)
|
13
|
-
rspec-expectations (~> 3.7.0)
|
14
|
-
rspec-mocks (~> 3.7.0)
|
15
|
-
rspec-core (3.7.1)
|
16
|
-
rspec-support (~> 3.7.0)
|
17
|
-
rspec-expectations (3.7.0)
|
18
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
-
rspec-support (~> 3.7.0)
|
20
|
-
rspec-mocks (3.7.0)
|
21
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
-
rspec-support (~> 3.7.0)
|
23
|
-
rspec-support (3.7.1)
|
24
|
-
|
25
|
-
PLATFORMS
|
26
|
-
java
|
27
|
-
|
28
|
-
DEPENDENCIES
|
29
|
-
bundler (~> 1.17.3)
|
30
|
-
jdbc-mssql!
|
31
|
-
rake (~> 12.0)
|
32
|
-
rspec (~> 3.0)
|
33
|
-
|
34
|
-
BUNDLED WITH
|
35
|
-
1.17.3
|
data/Rakefile
DELETED
data/azure-pipelines.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# Ruby
|
2
|
-
# Package your Ruby project.
|
3
|
-
# Add steps that install rails, analyze code, save build artifacts, deploy, and more:
|
4
|
-
# https://docs.microsoft.com/azure/devops/pipelines/languages/ruby
|
5
|
-
|
6
|
-
trigger:
|
7
|
-
- master
|
8
|
-
|
9
|
-
pool:
|
10
|
-
vmImage: 'Ubuntu-16.04'
|
11
|
-
|
12
|
-
steps:
|
13
|
-
- task: UseRubyVersion@0
|
14
|
-
inputs:
|
15
|
-
versionSpec: '>= 2.5'
|
16
|
-
|
17
|
-
- script: |
|
18
|
-
gem install bundler -v '1.17.3'
|
19
|
-
bundle install --retry=3 --jobs=4
|
20
|
-
displayName: 'bundle install'
|
21
|
-
|
22
|
-
- script: bundle exec rake
|
23
|
-
displayName: 'bundle exec rake'
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "jdbc/mssql"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/jdbc-mssql.gemspec
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'jdbc/mssql/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = 'jdbc-mssql'
|
8
|
-
spec.version = Jdbc::Mssql::VERSION
|
9
|
-
spec.authors = ['Jesse Chavez']
|
10
|
-
spec.email = ['jesse.chavez.r@gmail.com']
|
11
|
-
|
12
|
-
spec.summary = %q{JDBC driver for JRuby and SQL Server / Azure SQL}
|
13
|
-
spec.description = %q{Loads the Microsoft SQL Server JDBC driver. Install this gem and require 'jdbc/mssql' within JRuby}
|
14
|
-
spec.homepage = 'https://github.com/JesseChavez/jdbc-mssql'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
spec.platform = 'java'
|
17
|
-
|
18
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
|
-
f.match(%r{^(test|spec|features)/})
|
20
|
-
end
|
21
|
-
spec.bindir = "exe"
|
22
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
-
spec.require_paths = ['lib']
|
24
|
-
|
25
|
-
spec.add_development_dependency 'bundler', '~> 1.17.3'
|
26
|
-
spec.add_development_dependency 'rake', '~> 12.0'
|
27
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
|
-
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|