helix_runtime 0.5.0 → 0.6.0

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: b2bfaa4a605254b9794c05a49837c5cb3173baa4
4
- data.tar.gz: 6276f42f5ff7614841620a51a6ea80590b18c15b
3
+ metadata.gz: d7a4b56b53236d0a99729b6a64af8830d18e2ba5
4
+ data.tar.gz: 8d9ebf05336b4414464350aa79762e368bcf7cb1
5
5
  SHA512:
6
- metadata.gz: 55e392c49d0f580949691ac795018381eb88eb0c54d63f663dca5b46fa889a649de8a7ecdc52348a1dfa2a0c206dd7c7350e9d7e38b84111a55dc61cbfdf66ad
7
- data.tar.gz: cb24298f920517b426d94fc7300e9bdbde285830cb3a1e1c79e5d6dd482e48cf37cf7769a10af2fe11795f70e6ca9d090812c96e0d940f8e96f50c61e95cdf4c
6
+ metadata.gz: 792efc404f9fb909f01a549c867c01a318b3e1e07927794a4aa9e54e787e7b60f9cadc2de3873a6d2264460090107814d482b456c5b300013dff308df0795b94
7
+ data.tar.gz: 5650e82328634e825fc2d476315ae2a6230b52aaa278ac8557bec8f73249611e0f7095b1064c2e4156ef402d57666061ea85cfe91916f3af9a7425e3d6410709
@@ -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.5.0";
9
+ const char* HELIX_RUNTIME_VERSION = "0.6.0";
10
10
 
11
11
  const char* HELIX_PRIsVALUE = PRIsVALUE;
12
12
  const char* HELIX_SPRINTF_TO_S = "%" PRIsVALUE;
@@ -12,6 +12,12 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{The Helix Runtime}
13
13
  spec.homepage = "https://usehelix.com"
14
14
 
15
+ spec.metadata = {
16
+ "bug_tracker_uri" => "https://github.com/tildeio/helix/issues",
17
+ "changelog_uri" => "https://github.com/tildeio/helix/blob/master/CHANGELOG.md",
18
+ "source_code_uri" => "https://github.com/tildeio/helix",
19
+ }
20
+
15
21
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
22
  spec.bindir = "bin"
17
23
  spec.extensions = ["ext/helix_runtime/native/extconf.rb"]
data/lib/helix_runtime.rb CHANGED
@@ -1,9 +1,14 @@
1
1
  require "helix_runtime/version"
2
- require "helix_runtime/native"
3
2
  require "helix_runtime/platform"
4
3
  require 'helix_runtime/project'
5
4
  require 'helix_runtime/parent_project'
6
5
 
6
+ begin
7
+ require "helix_runtime/native"
8
+ rescue LoadError
9
+ warn "Unable to load helix_runtime/native. Please run `rake compile` in #{File.expand_path("../..", __FILE__)}."
10
+ end
11
+
7
12
  module HelixRuntime
8
13
  IS_WINDOWS = RUBY_PLATFORM =~ /mingw/
9
14
 
@@ -20,12 +25,12 @@ module HelixRuntime
20
25
  return nil unless IS_WINDOWS
21
26
  return @@dll_path if @@dll_path_searched
22
27
 
23
- dir = ENV['PATH'].split(';').find do |dir|
28
+ dll_dir = ENV['PATH'].split(';').find do |dir|
24
29
  File.exist?(File.expand_path("#{dir}/#{dll_filename}", __FILE__))
25
30
  end
26
31
 
27
32
  @@dll_path_searched = true
28
- @@dll_path = dir ? File.join(dir, dll_filename) : nil
33
+ @@dll_path = dll_dir ? File.join(dll_dir, dll_filename) : nil
29
34
  end
30
35
 
31
36
  def self.ensure_dll!
@@ -125,7 +125,7 @@ module HelixRuntime
125
125
 
126
126
  def run(*args)
127
127
  Dir.chdir(root) do
128
- puts *args
128
+ puts(*args)
129
129
  system(*args)
130
130
  end
131
131
  end
@@ -144,4 +144,4 @@ module HelixRuntime
144
144
  end
145
145
 
146
146
  end
147
- end
147
+ end
@@ -1,5 +1,5 @@
1
1
  module HelixRuntime
2
2
  # Also update helix_runtime.c
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
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.5.0
4
+ version: 0.6.0
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-04-26 00:00:00.000000000 Z
12
+ date: 2017-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -120,7 +120,10 @@ files:
120
120
  - lib/helix_runtime/version.rb
121
121
  homepage: https://usehelix.com
122
122
  licenses: []
123
- metadata: {}
123
+ metadata:
124
+ bug_tracker_uri: https://github.com/tildeio/helix/issues
125
+ changelog_uri: https://github.com/tildeio/helix/blob/master/CHANGELOG.md
126
+ source_code_uri: https://github.com/tildeio/helix
124
127
  post_install_message:
125
128
  rdoc_options: []
126
129
  require_paths: