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 +4 -4
- data/ext/helix_runtime/native/helix_runtime.c +1 -1
- data/helix_runtime.gemspec +6 -0
- data/lib/helix_runtime.rb +8 -3
- data/lib/helix_runtime/project.rb +2 -2
- data/lib/helix_runtime/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7a4b56b53236d0a99729b6a64af8830d18e2ba5
|
4
|
+
data.tar.gz: 8d9ebf05336b4414464350aa79762e368bcf7cb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 792efc404f9fb909f01a549c867c01a318b3e1e07927794a4aa9e54e787e7b60f9cadc2de3873a6d2264460090107814d482b456c5b300013dff308df0795b94
|
7
|
+
data.tar.gz: 5650e82328634e825fc2d476315ae2a6230b52aaa278ac8557bec8f73249611e0f7095b1064c2e4156ef402d57666061ea85cfe91916f3af9a7425e3d6410709
|
data/helix_runtime.gemspec
CHANGED
@@ -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
|
-
|
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 =
|
33
|
+
@@dll_path = dll_dir ? File.join(dll_dir, dll_filename) : nil
|
29
34
|
end
|
30
35
|
|
31
36
|
def self.ensure_dll!
|
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.
|
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-
|
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:
|