activerecord-jdbcas400-adapter 1.3.10 → 1.3.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2c2d5e512ff9f9dc96f2cae3918cb358ccf8285
4
- data.tar.gz: 39ce06e01993e31cd1eea228ffb5c5c7b9efadb0
3
+ metadata.gz: de383695fd83a189b57c340e772063a684984780
4
+ data.tar.gz: 1c597efa80468dc104c5cd0eac8d75902d21e39e
5
5
  SHA512:
6
- metadata.gz: 58c0d0c0684ba5b27906c21235fcac6e901fc2ab7ac905b1e9b83fbe5bd37de7b88870f518fa9d60f53a74a6509821d8f45d48f52ae29be219cbc0a0a361da81
7
- data.tar.gz: 3a6ffbb7e5d08eb1e0049c3e4e19d25a4daf539c989a3da0f0dd1cf29391a212350dccbfe6ce68e8c64b54283b24277a8763fc9809859f49a0e452f8c3f415c2
6
+ metadata.gz: d0f64830e2ab95d4fbc8e4e27529b89784bcab4e0bb801773bd96c7e67d72250d57efafcc5ffabf09759ad6ead515dcecaef2f857d26caecd77cbd91ae0aa0cf
7
+ data.tar.gz: 40004ba104a3dca0e79d2fafd66008f55e259d8f11bdcd79afd25cacb65633afecf0814eab2e5ede4e0871b182346b3aee3a40b7295287dd0a838987c8333af2
@@ -1,7 +1,7 @@
1
1
  ArJdbc::ConnectionMethods.module_eval do
2
2
  # @note Assumes AS400 driver (*jt400.jar*) is on class-path.
3
3
  def as400_connection(config)
4
-
4
+
5
5
  if config[:native]
6
6
  config[:transaction_isolation] ||= 'none'
7
7
  else
@@ -11,7 +11,7 @@ ArJdbc::ConnectionMethods.module_eval do
11
11
  rescue LoadError # assuming driver.jar is on the class-path
12
12
  end
13
13
  end
14
-
14
+
15
15
  config[:url] ||= begin
16
16
  url = 'jdbc:'
17
17
  if config[:native]
@@ -43,4 +43,4 @@ ArJdbc::ConnectionMethods.module_eval do
43
43
  config[:connection_alive_sql] ||= 'SELECT 1 FROM sysibm.tables FETCH FIRST 1 ROWS ONLY'
44
44
  jdbc_connection(config)
45
45
  end
46
- end
46
+ end
data/test/test_helper.rb CHANGED
@@ -1,4 +1,5 @@
1
- require 'java'
1
+ require 'codeclimate-test-reporter'
2
+ CodeClimate::TestReporter.start
2
3
 
3
4
  require 'test-unit'
4
5
  require 'activerecord-jdbc-adapter'
@@ -61,4 +62,4 @@ class Test::Unit::TestCase
61
62
  @connection_type = 'system'
62
63
  @connection = ActiveRecord::Base.connection
63
64
  end
64
- end
65
+ end
metadata CHANGED
@@ -1,21 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbcas400-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.10
4
+ version: 1.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger, Ola Bini, Pierrick Rouxel and JRuby contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2015-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ~>
17
+ - !ruby/object:Gem::Version
18
+ version: 4.1.13
19
+ name: activerecord
20
+ prerelease: false
21
+ type: :runtime
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.13
13
27
  - !ruby/object:Gem::Dependency
14
28
  requirement: !ruby/object:Gem::Requirement
15
29
  requirements:
16
30
  - - '>='
17
31
  - !ruby/object:Gem::Version
18
- version: 1.3.9
32
+ version: 1.3.17
19
33
  name: activerecord-jdbc-adapter
20
34
  prerelease: false
21
35
  type: :runtime
@@ -23,7 +37,7 @@ dependencies:
23
37
  requirements:
24
38
  - - '>='
25
39
  - !ruby/object:Gem::Version
26
- version: 1.3.9
40
+ version: 1.3.17
27
41
  - !ruby/object:Gem::Dependency
28
42
  requirement: !ruby/object:Gem::Requirement
29
43
  requirements:
@@ -66,36 +80,22 @@ dependencies:
66
80
  - - '>='
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- requirement: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - '>='
73
- - !ruby/object:Gem::Version
74
- version: '0'
75
- name: jdbc-as400
76
- prerelease: false
77
- type: :development
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
83
  description: Install this gem to use AS/400 with JRuby on Rails.
84
84
  email: nick@nicksieger.com, ola.bini@gmail.com
85
85
  executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
- - Rakefile
90
- - README.md
91
89
  - LICENSE.txt
92
- - lib/activerecord-jdbcas400-adapter.rb
90
+ - README.md
91
+ - Rakefile
93
92
  - lib/active_record/connection_adapters/as400_adapter.rb
93
+ - lib/activerecord-jdbcas400-adapter.rb
94
94
  - lib/arjdbc/as400.rb
95
- - lib/arjdbc/discover.rb
96
95
  - lib/arjdbc/as400/adapter.rb
97
96
  - lib/arjdbc/as400/connection_methods.rb
98
97
  - lib/arjdbc/as400/system.rb
98
+ - lib/arjdbc/discover.rb
99
99
  - test/adapter_test.rb
100
100
  - test/database_tasks_test.rb
101
101
  - test/system_test.rb
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project: jruby-extras
123
- rubygems_version: 2.1.9
123
+ rubygems_version: 2.4.8
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: AS/400 JDBC adapter for JRuby on Rails.