volt 0.9.5.pre6 → 0.9.5.pre7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/volt/cli.rb +20 -18
  3. data/lib/volt/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e582dab04f540400c74bab267d28e0e138977b0f
4
- data.tar.gz: 1fd96c3672b66a1ecb3610bca02876c5bf62507d
3
+ metadata.gz: 4f390816bb9edfcbfae226435bb32d20e2d70ea4
4
+ data.tar.gz: ea40df8a4eceb9edc38baa64cd70499537d8d4aa
5
5
  SHA512:
6
- metadata.gz: 58642fa49f534975037d7389a4ebb8c9de0e66cb65370306e007afc27bd02800aa747be8fca53aff9c8492e119cf944e13680d45942c1bd58d2a90fcedd25860
7
- data.tar.gz: 59c6d2309af1bf94dcf05a8622b7fbfb823d9d371cef696efd0724e6f175437a012d0e3cc6a5f1b633500d88593e55d145db8203789378258b142a71bfb06a43
6
+ metadata.gz: 12e637430dd9d239703bf3383132610128245e3b0ec1509bd027ba6ed9835aac3538c5e15e5f9be35a58bb4fde768aec0f001c88226e4e8b25abf0b95e70539c
7
+ data.tar.gz: 0ed51b143c52f690c813afe97b7e1decd282b6800269af5b8b9d3953dc742e60da863b5608c7a7cb3881fffe3935c3a9c5f0558d51fa12f028f2f051d100cbb9
data/lib/volt/cli.rb CHANGED
@@ -125,24 +125,26 @@ module Volt
125
125
  say("Collection #{collection} dropped", :green) if drop == true
126
126
  end
127
127
 
128
- def move_to_root
129
- unless Gem.win_platform?
130
- # Change CWD to the root of the volt project
131
- pwd = Dir.pwd
132
- changed = false
133
- loop do
134
- if File.exists?(pwd + '/Gemfile')
135
- Dir.chdir(pwd) if changed
136
- break
137
- else
138
- changed = true
139
-
140
- # Move up a directory and try again
141
- pwd = pwd.gsub(/\/[^\/]+$/, '')
142
-
143
- if pwd == ''
144
- puts "You are not currently in a volt project directory"
145
- exit 1
128
+ no_tasks do
129
+ def move_to_root
130
+ unless Gem.win_platform?
131
+ # Change CWD to the root of the volt project
132
+ pwd = Dir.pwd
133
+ changed = false
134
+ loop do
135
+ if File.exists?(pwd + '/Gemfile')
136
+ Dir.chdir(pwd) if changed
137
+ break
138
+ else
139
+ changed = true
140
+
141
+ # Move up a directory and try again
142
+ pwd = pwd.gsub(/\/[^\/]+$/, '')
143
+
144
+ if pwd == ''
145
+ puts "You are not currently in a volt project directory"
146
+ exit 1
147
+ end
146
148
  end
147
149
  end
148
150
  end
data/lib/volt/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Volt
2
2
  module Version
3
- STRING = '0.9.5.pre6'
3
+ STRING = '0.9.5.pre7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5.pre6
4
+ version: 0.9.5.pre7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout