guard-konacha 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -125,15 +125,15 @@ module Guard
125
125
  end
126
126
 
127
127
  def spawn_konacha_command
128
- cmd_parts = []
129
- cmd_parts << "bundle exec" if bundler?
128
+ cmd_parts = ''
129
+ cmd_parts << "bundle exec " if bundler?
130
130
  cmd_parts << "rake konacha:serve"
131
- cmd_parts.join(' ')
131
+ cmd_parts.split
132
132
  end
133
133
 
134
134
  def spawn_konacha
135
135
  unless @process
136
- @process = ChildProcess.build(spawn_konacha_command)
136
+ @process = ChildProcess.build(*spawn_konacha_command)
137
137
  @process.io.inherit! if ::Guard.respond_to?(:options) && ::Guard.options && ::Guard.options[:verbose]
138
138
  @process.start
139
139
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module KonachaVersion
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-konacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -137,7 +137,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  segments:
139
139
  - 0
140
- hash: 735851984399923246
140
+ hash: 592737385991516502
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  none: false
143
143
  requirements:
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  version: '0'
147
147
  segments:
148
148
  - 0
149
- hash: 735851984399923246
149
+ hash: 592737385991516502
150
150
  requirements: []
151
151
  rubyforge_project:
152
152
  rubygems_version: 1.8.24