Skip to content

Commit

Permalink
Bump up version to 2.2.12 and update documents
Browse files Browse the repository at this point in the history
  • Loading branch information
kubo committed Dec 30, 2022
1 parent e564060 commit 9e9b110
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This file has not been not updated. See commit log at https://github.com/kubo/ruby-oci8.

2020-12-30 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.8 and 2.2.9.
* lib/oci8/version.rb: Update to 2.2.9.
Expand Down
7 changes: 7 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @markup markdown

2.2.12 (2022-12-30)
===================

- Fix warning: undefining the allocator of T_DATA class OraNumber against Ruby 3.2.0dev. (GH-243)
- Fix warnings on tests and on compile.
- Remove code for old ruby versions.

2.2.11 (2022-02-22)
===================

Expand Down
2 changes: 1 addition & 1 deletion lib/oci8/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class OCI8
VERSION = "2.2.11"
VERSION = "2.2.12"
end
11 changes: 6 additions & 5 deletions mkpkg-win32.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,29 @@ def run_cmd(cmd, raise_on_error = true)

$ruby_base_dirs =
[
'c:\ruby\rubyinstaller-2.5.0-1-x86',
'c:\ruby\rubyinstaller-2.6.0-1-x86',
'c:\ruby\rubyinstaller-2.7.0-1-x86',
'c:\ruby\rubyinstaller-3.0.0-1-x86',
'c:\ruby\rubyinstaller-3.1.0-1-x86',
'c:\ruby\rubyinstaller-3.2.0-1-x86',
]

$oracle_path = 'c:\oracle\instantclient_19_9-win32'
$ridk_setup = 'ridk enable'

$build_ruby_dirs =
[
['c:\ruby\rubyinstaller-2.5.0-1-x86', $ridk_setup, :disable_fortify_source],
['c:\ruby\rubyinstaller-2.6.0-1-x86', $ridk_setup],
['c:\ruby\rubyinstaller-2.7.0-1-x86', $ridk_setup],
['c:\ruby\rubyinstaller-3.0.0-1-x86', $ridk_setup],
['c:\ruby\rubyinstaller-3.1.0-1-x86', $ridk_setup],
['c:\ruby\rubyinstaller-3.2.0-1-x86', $ridk_setup],
]

when 'x64-mingw32'
$ruby_base_dirs =
[
# RubyInstaller <URL:http://rubyinstaller.org>
'c:\ruby\rubyinstaller-2.5.0-1-x64',
'c:\ruby\rubyinstaller-2.6.0-1-x64',
'c:\ruby\rubyinstaller-2.7.0-1-x64',
'c:\ruby\rubyinstaller-3.0.0-1-x64',
Expand All @@ -51,7 +50,6 @@ def run_cmd(cmd, raise_on_error = true)
$ridk_setup = 'ridk enable'
$build_ruby_dirs =
[
['c:\ruby\rubyinstaller-2.5.0-1-x64', $ridk_setup, :disable_fortify_source],
['c:\ruby\rubyinstaller-2.6.0-1-x64', $ridk_setup],
['c:\ruby\rubyinstaller-2.7.0-1-x64', $ridk_setup],
['c:\ruby\rubyinstaller-3.0.0-1-x64', $ridk_setup],
Expand All @@ -63,17 +61,20 @@ def run_cmd(cmd, raise_on_error = true)
[
# RubyInstaller <URL:http://rubyinstaller.org>
'c:\ruby\rubyinstaller-3.1.0-1-x64',
'c:\ruby\rubyinstaller-3.2.0-1-x64',
]

$oracle_path = 'c:\oracle\instantclient_19_9-win64'
$ridk_setup = 'ridk enable'
$build_ruby_dirs =
[
['c:\ruby\rubyinstaller-3.1.0-1-x64', $ridk_setup],
['c:\ruby\rubyinstaller-3.2.0-1-x64', $ridk_setup],
]

when 'all'
files = File.read('dist-files').split("\n")
mkpkg_rb = File.absolute_path?($0) ? $0 : File.join('..', $0)
['x86-mingw32', 'x64-mingw32', 'x64-mingw-ucrt'].each do |platform|
FileUtils.rm_rf platform
files.each do |file|
Expand All @@ -82,7 +83,7 @@ def run_cmd(cmd, raise_on_error = true)
FileUtils.copy(file, dest)
end
Dir.chdir platform do
run_cmd("#{RbConfig.ruby} ../mkpkg-win32.rb #{platform}")
run_cmd("#{RbConfig.ruby} #{mkpkg_rb} #{platform}")
end
end
exit 0
Expand Down

0 comments on commit 9e9b110

Please sign in to comment.