guard-rails 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/guard/rails/runner.rb +1 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
data/lib/guard/rails/runner.rb
CHANGED
@@ -37,8 +37,6 @@ module Guard
|
|
37
37
|
def build_rails_command
|
38
38
|
return %{#{options[:CLI]} --pid #{pid_file}} if options[:CLI]
|
39
39
|
|
40
|
-
@env['RAILS_ENV'] = options[:environment] if options[:environment]
|
41
|
-
|
42
40
|
rails_options = [
|
43
41
|
options[:daemon] ? '-d' : nil,
|
44
42
|
options[:debugger] ? '-u' : nil,
|
@@ -53,6 +51,7 @@ module Guard
|
|
53
51
|
]
|
54
52
|
|
55
53
|
# omit env when use zeus
|
54
|
+
@env['RAILS_ENV'] = options[:environment] if options[:environment] && options[:zeus].nil?
|
56
55
|
rails_runner = options[:zeus] ? "zeus #{zeus_options.join(' ')}" : "rails server"
|
57
56
|
|
58
57
|
%{#{rails_runner} #{rails_options.join(' ')}}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-02-
|
13
|
+
date: 2013-02-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: guard
|
@@ -113,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
segments:
|
115
115
|
- 0
|
116
|
-
hash:
|
116
|
+
hash: -1932031982324360863
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
segments:
|
124
124
|
- 0
|
125
|
-
hash:
|
125
|
+
hash: -1932031982324360863
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project: guard-rails
|
128
128
|
rubygems_version: 1.8.23
|