helix_runtime 0.6.3 → 0.6.4

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: 49abe0ee4b173aaf2210cfc3b6aad7b85584755d
4
- data.tar.gz: 04d1beb552a5110e6456d9ada4c9c5319810b521
3
+ metadata.gz: 716c28ce23c6589d420b297f0b64af9e1617d6a3
4
+ data.tar.gz: 5410d1e90b5f17e88d02dcecc41591db737234be
5
5
  SHA512:
6
- metadata.gz: f628c8a463149434c2ee5ce4b59731e1bcc928022b50c4dec3813a90ae031f4670b833ec7644af07ed45aac2cc23af4d746ff4e53f26159fa687c15b90631fe1
7
- data.tar.gz: d682307b37c5ec0d5ecf68e7af496ade2075dfe00c377b7427ab745883224ecaebd7537e01eb75c03a81853f58697aacaf4479625fcc4c8f3a285ccf6efc8c02
6
+ metadata.gz: 863519804cae3bdc1307392c74d36d3aa8bef333654f83da42978974082828aa0ef66740654a56bbe3acff850523ebbedb1f041fac437c7a1cea952220236c8e
7
+ data.tar.gz: e8e0a3d69976951c46b89fbb552ef34c17fd6bf7a8ddbbf732e540a63c32d7693537cfff16b83a5c011f75a5a07d99ed0f611fd675a20d5a71bb4648641d0f45
data/Rakefile CHANGED
@@ -46,16 +46,16 @@ end
46
46
 
47
47
  directory windows_build_dir
48
48
 
49
- def dlltool
49
+ def dlltool(arch = nil)
50
50
  # allow override with env vars
51
51
  if dlltool_env = ENV['DLLTOOL']
52
52
  dlltool_env
53
53
  # if on windows
54
54
  elsif RUBY_PLATFORM =~ /mingw/
55
55
  "dlltool.exe"
56
- elsif system("x86_64-w64-mingw32-dlltool > /dev/null")
56
+ elsif system("x86_64-w64-mingw32-dlltool > /dev/null") && arch == "i386:x86-64"
57
57
  "x86_64-w64-mingw32-dlltool"
58
- elsif system("i686-w64-mingw32-dlltool > /dev/null")
58
+ elsif system("i686-w64-mingw32-dlltool > /dev/null") && arch == "i386"
59
59
  "i686-w64-mingw32-dlltool"
60
60
  else
61
61
  "dlltool"
@@ -66,7 +66,7 @@ def build_native_lib(arch, dll_name, native_def_file, target)
66
66
  Dir.mktmpdir do |dir|
67
67
  Dir.chdir(dir) do
68
68
  # Generate and then move. Symbols include generated file name, so avoid long path.
69
- cmd = [dlltool]
69
+ cmd = [dlltool(arch)]
70
70
  cmd << "-D #{dll_name}"
71
71
  cmd << "-m #{arch}" if arch
72
72
  cmd << "-d #{native_def_file}"
@@ -6,7 +6,7 @@
6
6
  #include <helix_runtime.h>
7
7
 
8
8
  // Update with version.rb
9
- const char* HELIX_RUNTIME_VERSION = "0.6.3";
9
+ const char* HELIX_RUNTIME_VERSION = "0.6.4";
10
10
 
11
11
  const char* HELIX_PRIsVALUE = PRIsVALUE;
12
12
  const char* HELIX_SPRINTF_TO_S = "%" PRIsVALUE;
@@ -1,5 +1,5 @@
1
1
  module HelixRuntime
2
2
  # Also update helix_runtime.c
3
- VERSION = "0.6.3"
3
+ VERSION = "0.6.4"
4
4
  GEM_VERSION = VERSION.gsub("-", ".")
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helix_runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-31 00:00:00.000000000 Z
12
+ date: 2017-09-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.6.8
157
+ rubygems_version: 2.6.13
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: The Helix Runtime