sequel-oracle_enhanced 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: aaf4e88cfefff7c34aa5594ebdb451fd66f8fa0777f7950b1198eb68fda909e3
4
+ data.tar.gz: 4ecdc8fbce6eabb53d3eb872a739b9c557275ee135359558d9dde1f0c3e402c1
5
+ SHA512:
6
+ metadata.gz: 7429b4caa75c5d77a54f7ca8701fc375264263c095d4b5c1e5c8116307c0a4d218a8cafe9486fe76680dc90d6604f097032a3733731e9edb523fc20f1cc0683d
7
+ data.tar.gz: b5001496ed7391e14fe78b9f382ad3149ff4c172c71c3c581bfef33bbb014a07883950d198a90d0be4a12c9a27676f9a6f4cd45468d52976215445b9d077d0b5
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in sequel-oracle_enhanced.gemspec
6
+ gemspec
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Sequel::OracleEnhanced
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sequel/oracle_enhanced`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'sequel-oracle_enhanced'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install sequel-oracle_enhanced
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/raskhadafi/sequel-oracle_enhanced.
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1 @@
1
+ require "sequel/oracle_enhanced"
@@ -0,0 +1,14 @@
1
+ require "sequel"
2
+ require "sequel/adapters/oracle"
3
+
4
+ Sequel::Database::ADAPTERS += [:oracle_enhanced]
5
+
6
+ module Sequel
7
+ module OracleEnhanced
8
+ class Database < ::Sequel::Oracle::Database
9
+ set_adapter_scheme :oracle_enhanced
10
+ end
11
+ end
12
+ end
13
+
14
+ Sequel.__send__(:def_adapter_method, *Sequel::Database::ADAPTERS)
@@ -0,0 +1,2 @@
1
+ require "sequel/oracle_enhanced/version"
2
+ require "sequel/adapters/oracle_enhanced"
@@ -0,0 +1,5 @@
1
+ module Sequel
2
+ module OracleEnhanced
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
@@ -0,0 +1,37 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "sequel/oracle_enhanced/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "sequel-oracle_enhanced"
8
+ spec.version = Sequel::OracleEnhanced::VERSION
9
+ spec.authors = ["Roman Simecek"]
10
+ spec.email = ["roman@good2go.ch"]
11
+
12
+ spec.summary = %q{Extend sequel adapters with oracle_enhanced}
13
+ spec.description = %q{Extend sequel adapters with oracle_enhanced to have same naming as for activerecord}
14
+ spec.homepage = "https://github.com/raskhadafi"
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir[
19
+ "**/*.rb",
20
+ "Rakefile",
21
+ "Gemfile",
22
+ "README.md",
23
+ "sequel-oracle_enhanced.gemspec",
24
+ ]
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib"]
28
+
29
+ spec.add_runtime_dependency "sequel"
30
+ spec.add_runtime_dependency "ruby-oci8"
31
+
32
+ spec.add_development_dependency "bundler", "~> 1.17"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "pry"
35
+ spec.add_development_dependency "strscan"
36
+ spec.add_development_dependency "stringio"
37
+ end
metadata ADDED
@@ -0,0 +1,149 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sequel-oracle_enhanced
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Roman Simecek
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-10-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sequel
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ruby-oci8
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.17'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.17'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: strscan
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: stringio
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Extend sequel adapters with oracle_enhanced to have same naming as for
112
+ activerecord
113
+ email:
114
+ - roman@good2go.ch
115
+ executables: []
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - Gemfile
120
+ - README.md
121
+ - Rakefile
122
+ - lib/sequel-oracle_enhanced.rb
123
+ - lib/sequel/adapters/oracle_enhanced.rb
124
+ - lib/sequel/oracle_enhanced.rb
125
+ - lib/sequel/oracle_enhanced/version.rb
126
+ - sequel-oracle_enhanced.gemspec
127
+ homepage: https://github.com/raskhadafi
128
+ licenses: []
129
+ metadata: {}
130
+ post_install_message:
131
+ rdoc_options: []
132
+ require_paths:
133
+ - lib
134
+ required_ruby_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ requirements: []
145
+ rubygems_version: 3.0.6
146
+ signing_key:
147
+ specification_version: 4
148
+ summary: Extend sequel adapters with oracle_enhanced
149
+ test_files: []