Fix failing specs

This commit is contained in:
Peter Wagenet 2018-03-21 16:05:41 -07:00
parent 1411175319
commit 49811448d9
17 changed files with 17 additions and 8 deletions

View File

@ -1,5 +1,5 @@
# coding: utf-8
runtime_lib = File.expand_path('../ruby/lib', __FILE__)
runtime_lib = File.expand_path('../../ruby/lib', __FILE__)
$LOAD_PATH.unshift(runtime_lib) unless $LOAD_PATH.include?(runtime_lib)
require 'helix_runtime/version'

View File

@ -1,6 +1,7 @@
source 'https://rubygems.org'
gem 'helix_runtime', path: '../../ruby'
gem 'helix_cli', path: '../../cli'
gem 'rake', '~> 10.0'
gem 'rspec', '~> 3.4'
gem 'colorize'

View File

@ -6,7 +6,7 @@ require_relative '../shared.rb'
# For Windows
$stdout.sync = true
HelixRuntime::BuildTask.new do |t|
HelixCLI::BuildTask.new do |t|
t.build_root = File.expand_path("../..", __dir__)
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
t.pre_build = HelixRuntime::Tests.pre_build

View File

@ -1,6 +1,7 @@
source 'https://rubygems.org'
gem 'helix_runtime', path: '../../ruby'
gem 'helix_cli', path: '../../cli'
gem 'rake', '~> 10.0'
gem 'rspec', '~> 3.4'
gem 'colorize'

View File

@ -6,7 +6,7 @@ require_relative '../shared.rb'
# For Windows
$stdout.sync = true
HelixRuntime::BuildTask.new do |t|
HelixCLI::BuildTask.new do |t|
t.build_root = File.expand_path("../..", __dir__)
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
t.pre_build = HelixRuntime::Tests.pre_build

View File

@ -3,4 +3,5 @@ source 'https://rubygems.org'
gemspec
gem 'helix_runtime', path: '../../ruby'
gem 'helix_cli', path: '../../cli'
gem 'activesupport', '5.1.0.beta1'

View File

@ -6,7 +6,7 @@ require_relative '../shared.rb'
# For Windows
$stdout.sync = true
HelixRuntime::BuildTask.new do |t|
HelixCLI::BuildTask.new do |t|
t.build_root = File.expand_path("../..", __dir__)
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
t.pre_build = HelixRuntime::Tests.pre_build

View File

@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.add_runtime_dependency "helix_runtime"
spec.add_runtime_dependency "helix_cli"
spec.add_development_dependency "bundler", "~> 1.11"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "minitest", "~> 5.0"

View File

@ -1,5 +1,6 @@
source 'https://rubygems.org'
gem 'helix_runtime', path: '../../ruby'
gem 'helix_cli', path: '../../cli'
gem 'rake', '~> 10.0'
gem 'rspec', '~> 3.4'

View File

@ -6,7 +6,7 @@ require_relative '../shared.rb'
# For Windows
$stdout.sync = true
HelixRuntime::BuildTask.new do |t|
HelixCLI::BuildTask.new do |t|
t.build_root = File.expand_path("../..", __dir__)
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
t.pre_build = HelixRuntime::Tests.pre_build

View File

@ -1,5 +1,6 @@
source 'https://rubygems.org'
gem 'helix_runtime', path: '../../ruby'
gem 'helix_cli', path: '../../cli'
gem 'rake', '~> 10.0'
gem 'rspec', '~> 3.4'

View File

@ -6,7 +6,7 @@ require_relative '../shared.rb'
# For Windows
$stdout.sync = true
HelixRuntime::BuildTask.new do |t|
HelixCLI::BuildTask.new do |t|
t.build_root = File.expand_path("../..", __dir__)
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
t.pre_build = HelixRuntime::Tests.pre_build

View File

@ -1,5 +1,6 @@
source 'https://rubygems.org'
gem 'helix_runtime', path: '../../ruby'
gem 'helix_cli', path: '../../cli'
gem 'rake', '~> 10.0'
gem 'rspec', '~> 3.4'

View File

@ -6,7 +6,7 @@ require_relative '../shared.rb'
# For Windows
$stdout.sync = true
HelixRuntime::BuildTask.new do |t|
HelixCLI::BuildTask.new do |t|
t.build_root = File.expand_path("../..", __dir__)
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
t.pre_build = HelixRuntime::Tests.pre_build

View File

@ -3,3 +3,4 @@ source 'https://rubygems.org'
gemspec
gem 'helix_runtime', path: '../../ruby'
gem 'helix_cli', path: '../../cli'

View File

@ -6,7 +6,7 @@ require_relative '../shared.rb'
# For Windows
$stdout.sync = true
HelixRuntime::BuildTask.new do |t|
HelixCLI::BuildTask.new do |t|
t.build_root = File.expand_path("../..", __dir__)
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
t.pre_build = HelixRuntime::Tests.pre_build

View File

@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.add_runtime_dependency "helix_runtime"
spec.add_runtime_dependency "helix_cli"
spec.add_development_dependency "bundler", "~> 1.11"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "minitest", "~> 5.0"