engineyard-serverside 2.2.0.pre3 → 2.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module EY
30
30
  stack_option
31
31
  verbose_option
32
32
 
33
- desc "deploy", "Deploy code from /data/<app>"
33
+ desc "deploy", "Deploy code to /data/<app>"
34
34
  def deploy(default_task=:deploy)
35
35
  init_and_propagate(options, default_task.to_s) do |servers, config, shell|
36
36
  EY::Serverside::Deploy.new(servers, config, shell).send(default_task)
@@ -4,7 +4,7 @@ module EY
4
4
  module Serverside
5
5
  class DependencyManager
6
6
  class Bundler < Base
7
- DEFAULT_VERSION = "1.3.4"
7
+ DEFAULT_VERSION = "1.3.5"
8
8
 
9
9
  def self.default_version
10
10
  DEFAULT_VERSION
@@ -393,6 +393,7 @@ YML
393
393
  cmd
394
394
  end
395
395
 
396
+ # FIXME: Legacy method, warn and remove.
396
397
  def serverside_bin
397
398
  About.binary
398
399
  end
@@ -19,7 +19,7 @@ module EY
19
19
  enable
20
20
  shell.status "Maintenance page enabled"
21
21
  else
22
- shell.fatal "Cannot enabled maintenance page. Application #{config.app_name} has never been deployed."
22
+ shell.fatal "Cannot enable maintenance page. Application #{config.app_name} has never been deployed."
23
23
  false
24
24
  end
25
25
  end
@@ -29,7 +29,7 @@ module EY
29
29
  disable
30
30
  shell.status "Maintenance page disabled"
31
31
  else
32
- shell.fatal "Cannot enabled maintenance page. Application #{config.app_name} has never been deployed."
32
+ shell.fatal "Cannot disable maintenance page. Application #{config.app_name} has never been deployed."
33
33
  false
34
34
  end
35
35
  end
@@ -43,6 +43,7 @@ module EY
43
43
  elsif paths.public_assets.exist?
44
44
  shell.status "Skipping asset precompilation. ('public/assets' directory already exists.)"
45
45
  else
46
+ shell.status "Precompiling assets. ('#{app_assets}' exists, 'public/assets' not found, not disabled in config.)"
46
47
  precompile_detected_assets
47
48
  end
48
49
  end
@@ -78,7 +79,6 @@ module EY
78
79
  end
79
80
 
80
81
  def precompile_detected_assets
81
- shell.status "Precompiling assets. ('#{app_assets}' exists, 'public/assets' not found, not disabled in config.)"
82
82
  if !runner.rails_application?
83
83
  shell.warning "Precompiling assets even though Rails was not bundled."
84
84
  end
@@ -86,15 +86,15 @@ module EY
86
86
  run_precompile_assets_task
87
87
 
88
88
  shell.warning <<-WARN
89
- Assets were detected and precompiled for this application, but asset precompile
90
- failures may be silently ignored in the future without updating config/ey.yml.
89
+ Assets were detected and precompiled for this application,
90
+ but asset precompile failures may be silently ignored in the future.
91
91
 
92
- ACTION REQUIRED: Add this line to config/ey.yml to ensure assets are compiled
93
- every deploy and deploys are halted if there is an asset compilation failure.
92
+ ACTION REQUIRED: Add or update config/ey.yml in your project to
93
+ ensure assets are compiled every deploy and halted on failure.
94
94
 
95
- precompile_assets: true # precompile assets when assets are changed.
95
+ precompile_assets: true # precompile assets
96
96
 
97
- This warning will continue to show until you update and commit config/ey.yml.
97
+ This warning will continue until you update and commit config/ey.yml.
98
98
  WARN
99
99
  rescue EY::Serverside::RemoteFailure => e
100
100
  # If we are implicitly precompiling, we want to fail non-destructively
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '2.2.0.pre3'
3
+ VERSION = '2.2.0.rc1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0.pre3
4
+ version: 2.2.0.rc1
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-06 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec