Skip to content

Use rake-compiler-dock v0.6.0 #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
* 1.0.6 *
* 1.1.0 *

* Use rake-compiler-dock v0.6.0
* Handle SYBVARIANT types from SQL function. Fixes #317. Fixed #321.
* Fix `use_utf16` optoin for booleans. Fixes #314
* Add `-q` check for bin puts. Fixes #318
* Use FreeTDS 1.00.21.
* Appveyor tests only 2012, 2014 with one Ruby, 23-x64.
* CircleCI tests 2016.
* CircleCI & TravisCI both test 2016.


* 1.0.5 *
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ source 'https://rubygems.org'
gemspec

group :development do
gem 'rake-compiler-dock', github: 'rake-compiler/rake-compiler-dock'
gem 'byebug'
end
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ desc 'Build the windows binary gems per rake-compiler-dock'
task 'gem:windows' do
require 'rake_compiler_dock'
RakeCompilerDock.sh <<-EOT
bundle && rake cross native gem RUBY_CC_VERSION=2.0.0:2.1.6:2.2.2:2.3.0 CFLAGS="-Wall"
bundle && rake cross native gem RUBY_CC_VERSION=2.4.0:2.3.0:2.2.2:2.1.6:2.0.0 CFLAGS="-Wall"
EOT
end

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.6
1.1.0
4 changes: 3 additions & 1 deletion ext/tiny_tds/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ def install
def define_libiconv_recipe(host)
BuildRecipe.new("libiconv", ICONV_VERSION, [ICONV_SOURCE_URI]).tap do |recipe|
# always produce position independent code
recipe.configure_options << "CFLAGS=-fPIC"
# and set an explicit optimization to avoid inline functions being optimized
# out of libiconv
recipe.configure_options << "CFLAGS=-fPIC -O2"
end
end

Expand Down
4 changes: 2 additions & 2 deletions tiny_tds.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Gem::Specification.new do |s|
s.extensions = ['ext/tiny_tds/extconf.rb']
s.license = 'MIT'
s.required_ruby_version = '>= 2.0.0'
s.add_runtime_dependency 'mini_portile2', '~> 2.0' # Keep this version in sync with the one in extconf.rb !
s.add_runtime_dependency 'mini_portile2', '~> 2.0'
s.add_development_dependency 'rake', '~> 10.4'
s.add_development_dependency 'rake-compiler', '0.9.5'
s.add_development_dependency 'rake-compiler-dock', '~> 0.5.1'
s.add_development_dependency 'rake-compiler-dock', '~> 0.6.0'
s.add_development_dependency 'minitest', '~> 5.6'
s.add_development_dependency 'connection_pool', '~> 2.2'
end