Merge pull request #129 from tildeio/upgrade-thor

Upgrade thor and other cleanup
This commit is contained in:
Godfrey Chan 2017-10-11 10:36:51 -07:00 committed by GitHub
commit fed2e7889d
12 changed files with 8 additions and 289 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
target
Cargo.lock
Gemfile.lock
.vscode
*.o
*.a

View File

@ -1,3 +1,4 @@
desc "Test Helix Examples"
task :test do
cd "ruby" do
sh "bundle exec rake"
@ -8,6 +9,7 @@ task :test do
sh "bash ./examples/runner default #{examples}"
end
desc "Install Helix Examples"
task :install do
cd "ruby" do
sh "bundle"

View File

@ -1,5 +1,8 @@
#!/bin/bash
set -e
set -x
pushd ../../ruby
bundle install
bundle exec rake native_lib_files

View File

@ -1,43 +0,0 @@
PATH
remote: ../../ruby
specs:
helix_runtime (0.7.2)
rake (>= 10.0)
thor (~> 0.19.4)
tomlrb (~> 1.2.4)
GEM
remote: https://rubygems.org/
specs:
colorize (0.8.1)
diff-lcs (1.3)
rake (10.5.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
tomlrb (1.2.5)
PLATFORMS
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
colorize
helix_runtime!
rake (~> 10.0)
rspec (~> 3.4)
BUNDLED WITH
1.15.3

View File

@ -1,43 +0,0 @@
PATH
remote: ../../ruby
specs:
helix_runtime (0.7.2)
rake (>= 10.0)
thor (~> 0.19.4)
tomlrb (~> 1.2.4)
GEM
remote: https://rubygems.org/
specs:
colorize (0.8.1)
diff-lcs (1.3)
rake (10.5.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
tomlrb (1.2.5)
PLATFORMS
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
colorize
helix_runtime!
rake (~> 10.0)
rspec (~> 3.4)
BUNDLED WITH
1.15.3

View File

@ -1,47 +0,0 @@
PATH
remote: ../../ruby
specs:
helix_runtime (0.7.2)
rake (>= 10.0)
thor (~> 0.19.4)
tomlrb (~> 1.2.4)
PATH
remote: .
specs:
duration (0.1.0)
helix_runtime
GEM
remote: https://rubygems.org/
specs:
activesupport (5.1.0.beta1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
concurrent-ruby (1.0.5)
i18n (0.8.1)
minitest (5.8.3)
rake (10.5.0)
thor (0.19.4)
thread_safe (0.3.6)
tomlrb (1.2.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
PLATFORMS
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
activesupport (= 5.1.0.beta1)
bundler (~> 1.11)
duration!
helix_runtime!
minitest (~> 5.0)
rake (~> 10.0)
BUNDLED WITH
1.15.3

View File

@ -1,39 +0,0 @@
PATH
remote: ../../ruby
specs:
helix_runtime (0.7.2)
rake (>= 10.0)
thor (~> 0.19.4)
tomlrb (~> 1.2.4)
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.3)
rake (10.5.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
tomlrb (1.2.5)
PLATFORMS
ruby
DEPENDENCIES
helix_runtime!
rake (~> 10.0)
rspec (~> 3.4)
BUNDLED WITH
1.15.3

View File

@ -1,41 +0,0 @@
PATH
remote: ../../ruby
specs:
helix_runtime (0.7.2)
rake (>= 10.0)
thor (~> 0.19.4)
tomlrb (~> 1.2.4)
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.2.5)
rake (10.5.0)
rspec (3.4.0)
rspec-core (~> 3.4.0)
rspec-expectations (~> 3.4.0)
rspec-mocks (~> 3.4.0)
rspec-core (3.4.1)
rspec-support (~> 3.4.0)
rspec-expectations (3.4.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-mocks (3.4.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-support (3.4.1)
thor (0.19.4)
tomlrb (1.2.5)
PLATFORMS
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
helix_runtime!
rake (~> 10.0)
rspec (~> 3.4)
BUNDLED WITH
1.15.3

View File

@ -1,39 +0,0 @@
PATH
remote: ../../ruby
specs:
helix_runtime (0.7.2)
rake (>= 10.0)
thor (~> 0.19.4)
tomlrb (~> 1.2.4)
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.3)
rake (10.5.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
tomlrb (1.2.5)
PLATFORMS
ruby
DEPENDENCIES
helix_runtime!
rake (~> 10.0)
rspec (~> 3.4)
BUNDLED WITH
1.15.3

View File

@ -1,36 +0,0 @@
PATH
remote: ../../ruby
specs:
helix_runtime (0.7.2)
rake (>= 10.0)
thor (~> 0.19.4)
tomlrb (~> 1.2.4)
PATH
remote: .
specs:
turbo_blank (0.1.0)
helix_runtime
GEM
remote: https://rubygems.org/
specs:
minitest (5.8.3)
rake (10.5.0)
thor (0.19.4)
tomlrb (1.2.5)
PLATFORMS
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
bundler (~> 1.11)
helix_runtime!
minitest (~> 5.0)
rake (~> 10.0)
turbo_blank!
BUNDLED WITH
1.15.3

View File

@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.add_dependency "rake", ">= 10.0"
spec.add_dependency "thor", "~> 0.19.4"
spec.add_dependency "thor", [">= 0.19.4", "< 2.0"]
spec.add_dependency "tomlrb", "~> 1.2.4"
spec.add_development_dependency "bundler", "~> 1.10"

View File

@ -6,6 +6,7 @@ sudo apt-get install mingw-w64 -y
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
source $HOME/.cargo/env
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable --ruby
source $HOME/.rvm/scripts/rvm