kstrano 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/kstrano.rb +5 -7
  2. metadata +1 -1
data/lib/kstrano.rb CHANGED
@@ -31,7 +31,7 @@ namespace :files do
31
31
  Kumastrano.say log
32
32
  end
33
33
 
34
- end
34
+ end
35
35
  end
36
36
 
37
37
  namespace :database do
@@ -137,8 +137,6 @@ namespace :kuma do
137
137
 
138
138
  end
139
139
 
140
- end
141
-
142
140
  end
143
141
 
144
142
  namespace :deploy do
@@ -210,7 +208,7 @@ before "symfony:vendors:reinstall", "kuma:ssh_socket:fix"
210
208
  before "symfony:vendors:upgrade", "kuma:ssh_socket:fix"
211
209
  before "symfony:composer:update", "kuma:ssh_socket:fix"
212
210
  before "symfony:composer:install", "kuma:ssh_socket:fix"
213
- before "symfony:composer:dump_autoload", "kuma:ssh_socket:fix" # The cache folder of composer was the one from the ssh user ... while it should be the one of sudo ...
211
+ before "symfony:composer:dump_autoload", "kuma:ssh_socket:fix" # The cache folder of composer was the one from the ssh user ... while it should be the one of sudo ...
214
212
  after "symfony:vendors:install", "kuma:ssh_socket:unfix"
215
213
  after "symfony:vendors:reinstall", "kuma:ssh_socket:unfix"
216
214
  after "symfony:vendors:upgrade", "kuma:ssh_socket:unfix"
@@ -218,7 +216,7 @@ after "symfony:composer:update", "kuma:ssh_socket:unfix"
218
216
  after "symfony:composer:install", "kuma:ssh_socket:unfix"
219
217
  after "symfony:composer:dump_autoload", "kuma:ssh_socket:unfix"
220
218
 
221
- # set the right permissions on the vendor folder ...
219
+ # set the right permissions on the vendor folder ...
222
220
  after "symfony:composer:copy_vendors" do
223
221
  sudo "sh -c 'if [ -d #{latest_release}/vendor ] ; then chown -R #{application}:#{application} #{latest_release}/vendor; fi'"
224
222
  end
@@ -252,7 +250,7 @@ after "deploy:create_symlink", "kuma:apc:clear"
252
250
  before "deploy:update" do
253
251
  Kumastrano.say "executing ssh-add"
254
252
  %x(ssh-add)
255
-
253
+
256
254
  kuma.changelog
257
255
  if !Kumastrano.ask "Are you sure you want to continue deploying?", "y"
258
256
  exit
@@ -269,7 +267,7 @@ end
269
267
 
270
268
  after :deploy do
271
269
  kuma.fix.cron
272
-
270
+
273
271
  if env == "production" && !newrelic_appname.nil? && !newrelic_appname.empty? && !newrelic_license_key.nil? && !newrelic_appname.empty?
274
272
  ::NewRelic::Agent.config.apply_config({:license_key => newrelic_license_key}, 1)
275
273
  set :newrelic_rails_env, env
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kstrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: