activerecord-import-sqlanywhere_jdbc_enhanced 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b7184839ae987e94026ecfab8eaffaa3e42fe998
4
+ data.tar.gz: 394975c9923692941153f6015ea52ff415b2ca78
5
+ SHA512:
6
+ metadata.gz: e35ea3b04156ed8d9194916f39de0736b73a8fcce4bf22a2b379b6d9b7839330833edffa0769d461e9c34d90ce49886f40363057f6c6183f6156a40c45197751
7
+ data.tar.gz: ab4f91d23a7824c00d9e91180a46bd1b9f554de3ee5848b7b59fbd9056475610a91f3b1a04ce00320444c9545b922c7b2f2c42d24ab92338f1e8c30680ab3777
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'http://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in activerecord-import-sqlanywhere_jdbc_enhanced.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 SriKalai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,27 @@
1
+ # activerecord-import-sqlanywhere_jdbc_enhanced
2
+
3
+ A library for bulk inserting data using ActiveRecord and Sqlanywhere JDBC. This gem is an extension for activerecord-import to provide support for the Sqlanywhere JDBC adapter
4
+
5
+ # License
6
+
7
+ The MIT License (MIT)
8
+
9
+ Copyright (c) 2020 TODO: Sri Kalai sriganeshkalai@gmail.com
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in
19
+ all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'activerecord-import-sqlanywhere_jdbc_enhanced/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "activerecord-import-sqlanywhere_jdbc_enhanced"
8
+ spec.version = Activerecord::Import::SqlanywhereJdbcEnhanced::VERSION
9
+ spec.authors = ["Sri Kalai"]
10
+ spec.email = ["sri.kalai@orchard-systems.co.uk"]
11
+
12
+ spec.summary = "Bulk insert extension for ActiveRecord and Sqlanywhere JDBC"
13
+ spec.description = "A library for bulk inserting data using ActiveRecord and Sqlanywhere JDBC."
14
+ spec.homepage = "https://github.com/SriKalai/activerecord-import-sqlanywhere_jdbc_enhanced"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.9"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ end
@@ -0,0 +1,7 @@
1
+ module Activerecord
2
+ module Import
3
+ module SqlanywhereJdbcEnhanced
4
+ VERSION = "0.1.2"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,6 @@
1
+ require "active_record/connection_adapters/sqlanywhere_jdbc_in4systems_adapter"
2
+ require "activerecord-import/adapters/sqlanywhere_jdbc_enhanced_adapter"
3
+
4
+ class ActiveRecord::ConnectionAdapters::SqlanywhereJdbcIn4systemsAdapter
5
+ include ActiveRecord::Import::SqlanywhereJdbcEnhancedAdapter
6
+ end
@@ -0,0 +1,7 @@
1
+ module ActiveRecord::Import::SqlanywhereJdbcEnhancedAdapter
2
+ include ActiveRecord::Import::ImportSupport
3
+
4
+ def next_value_for_sequence(sequence_name)
5
+ %{nextval('#{sequence_name}')}
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerecord-import-sqlanywhere_jdbc_enhanced
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Sri Kalai
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-04-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ~>
17
+ - !ruby/object:Gem::Version
18
+ version: '1.9'
19
+ name: bundler
20
+ prerelease: false
21
+ type: :development
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '10.0'
33
+ name: rake
34
+ prerelease: false
35
+ type: :development
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: A library for bulk inserting data using ActiveRecord and Sqlanywhere JDBC.
42
+ email:
43
+ - sri.kalai@orchard-systems.co.uk
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - .travis.yml
50
+ - Gemfile
51
+ - LICENSE
52
+ - LICENSE.txt
53
+ - README.md
54
+ - Rakefile
55
+ - activerecord-import-sqlanywhere_jdbc_enhanced-0.1.0.gem
56
+ - activerecord-import-sqlanywhere_jdbc_enhanced-0.1.1.gem
57
+ - activerecord-import-sqlanywhere_jdbc_enhanced.gemspec
58
+ - lib/activerecord-import-sqlanywhere_jdbc_enhanced.rb
59
+ - lib/activerecord-import-sqlanywhere_jdbc_enhanced/version.rb
60
+ - lib/activerecord-import/active_record/adapters/sqlanywhere_jdbc_in4systems_adapter.rb
61
+ - lib/activerecord-import/adapters/sqlanywhere_jdbc_enhanced_adapter.rb
62
+ homepage: https://github.com/SriKalai/activerecord-import-sqlanywhere_jdbc_enhanced
63
+ licenses:
64
+ - MIT
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.1.9
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: Bulk insert extension for ActiveRecord and Sqlanywhere JDBC
86
+ test_files: []