helix_runtime 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7a4b56b53236d0a99729b6a64af8830d18e2ba5
4
- data.tar.gz: 8d9ebf05336b4414464350aa79762e368bcf7cb1
3
+ metadata.gz: 38a1380b0073119d6100e2f7e0b2f1e042d3e5e5
4
+ data.tar.gz: a44c1f182dfa2140c0a58e7c87f0e442de1beefb
5
5
  SHA512:
6
- metadata.gz: 792efc404f9fb909f01a549c867c01a318b3e1e07927794a4aa9e54e787e7b60f9cadc2de3873a6d2264460090107814d482b456c5b300013dff308df0795b94
7
- data.tar.gz: 5650e82328634e825fc2d476315ae2a6230b52aaa278ac8557bec8f73249611e0f7095b1064c2e4156ef402d57666061ea85cfe91916f3af9a7425e3d6410709
6
+ metadata.gz: debe46adb3a1fad083a6d0bd778f0ca0bf7f3b12d64b090336b6a537521fca0422d6c03ab09004d2116d9c151140ac10c289218dd6a79ee02831382abcf35cc6
7
+ data.tar.gz: 746c817b44cc980b0204164544df8b90099825b25a829cab4b91c480dea667b23f72b967d80a3e88e43781faae788ec660ea19408b3763ac1133f9cca4a15723
@@ -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.0";
9
+ const char* HELIX_RUNTIME_VERSION = "0.6.1";
10
10
 
11
11
  const char* HELIX_PRIsVALUE = PRIsVALUE;
12
12
  const char* HELIX_SPRINTF_TO_S = "%" PRIsVALUE;
data/lib/helix_runtime.rb CHANGED
@@ -45,7 +45,7 @@ module HelixRuntime
45
45
 
46
46
  def self.copy_dll
47
47
  if IS_WINDOWS
48
- so_path = File.expand_path("../native.#{Platform.dlext}", __FILE__)
48
+ so_path = File.expand_path("../helix_runtime/native.#{Platform.dlext}", __FILE__)
49
49
  raise "Unable to find native bundle at #{so_path}" unless File.exists?(so_path)
50
50
 
51
51
  bindir = RbConfig::CONFIG['bindir']
@@ -70,7 +70,7 @@ module HelixRuntime
70
70
  end
71
71
 
72
72
  def class_name
73
- app_name.split("_").map(&:capitalize).join
73
+ app_name.split(/[_-]/).map(&:capitalize).join
74
74
  end
75
75
  end
76
76
  end
@@ -41,7 +41,7 @@ module HelixRuntime
41
41
  end
42
42
 
43
43
  def native_lib
44
- "#{libfile_prefix}#{name}.#{Platform.libext}"
44
+ "#{libfile_prefix}#{name.sub('-', '_')}.#{Platform.libext}"
45
45
  end
46
46
 
47
47
  def outdated_build?
@@ -1,5 +1,5 @@
1
1
  module HelixRuntime
2
2
  # Also update helix_runtime.c
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
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.0
4
+ version: 0.6.1
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-05-03 00:00:00.000000000 Z
12
+ date: 2017-05-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake