engineyard-serverside 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/lib/engineyard-serverside/cli.rb +3 -0
  2. data/lib/engineyard-serverside/configuration.rb +1 -0
  3. data/lib/engineyard-serverside/deploy.rb +6 -1
  4. data/lib/engineyard-serverside/maintenance.rb +1 -1
  5. data/lib/engineyard-serverside/paths.rb +1 -1
  6. data/lib/engineyard-serverside/rails_asset_support.rb +2 -2
  7. data/lib/engineyard-serverside/strategies/git.rb +5 -0
  8. data/lib/engineyard-serverside/task.rb +7 -1
  9. data/lib/engineyard-serverside/version.rb +1 -1
  10. data/spec/custom_deploy_spec.rb +11 -1
  11. data/spec/fixtures/repos/assets_enabled_all/Gemfile +6 -0
  12. data/spec/fixtures/repos/assets_enabled_all/Gemfile.lock +90 -0
  13. data/spec/fixtures/repos/assets_enabled_all/README +1 -0
  14. data/spec/fixtures/repos/assets_enabled_all/Rakefile +5 -0
  15. data/spec/fixtures/repos/assets_enabled_all/app/assets/empty +0 -0
  16. data/spec/fixtures/repos/assets_enabled_all/config/application.rb +5 -0
  17. data/spec/fixtures/repos/assets_enabled_all/config/ey.yml +4 -0
  18. data/spec/fixtures/repos/assets_enabled_util_only/Gemfile +6 -0
  19. data/spec/fixtures/repos/assets_enabled_util_only/Gemfile.lock +90 -0
  20. data/spec/fixtures/repos/assets_enabled_util_only/README +1 -0
  21. data/spec/fixtures/repos/assets_enabled_util_only/Rakefile +5 -0
  22. data/spec/fixtures/repos/assets_enabled_util_only/app/assets/empty +0 -0
  23. data/spec/fixtures/repos/assets_enabled_util_only/config/application.rb +5 -0
  24. data/spec/fixtures/repos/assets_enabled_util_only/config/ey.yml +5 -0
  25. data/spec/rails31_deploy_spec.rb +20 -0
  26. data/spec/spec_helper.rb +2 -2
  27. data/spec/support/integration.rb +4 -0
  28. metadata +138 -99
@@ -93,6 +93,9 @@ module EY
93
93
 
94
94
  servers, config, shell = init_and_propagate(integrate_options, 'integrate')
95
95
 
96
+ # We have to rsync the entire app dir, so we need all the permissions to be correct!
97
+ shell.logged_system "sudo sh -l -c 'find #{app_dir} -not -user #{config.user} -or -not -group #{config.group} -exec chown #{config.user}:#{config.group} {} +'"
98
+
96
99
  servers.each do |server|
97
100
  shell.logged_system server.sync_directory_command(app_dir)
98
101
  # we're just about to recreate this, so it has to be gone
@@ -62,6 +62,7 @@ module EY
62
62
  def_option :branch, 'master'
63
63
  def_option :bundle_without, 'test development'
64
64
  def_option :current_roles, []
65
+ def_option :asset_roles, [:app_master, :app, :solo]
65
66
  def_option :copy_exclude, []
66
67
  def_option(:user) { ENV['USER'] }
67
68
  def_option(:group) { user }
@@ -48,6 +48,7 @@ module EY
48
48
  disable_maintenance_page
49
49
 
50
50
  cleanup_old_releases
51
+ gc_repository_cache
51
52
  shell.status "Finished deploy at #{Time.now.asctime}"
52
53
  rescue Exception
53
54
  shell.status "Finished failing to deploy at #{Time.now.asctime}"
@@ -59,6 +60,10 @@ module EY
59
60
  strategy.update_repository_cache
60
61
  end
61
62
 
63
+ def gc_repository_cache
64
+ strategy.gc_repository_cache
65
+ end
66
+
62
67
  def create_revision_file_command
63
68
  strategy.create_revision_file_command(paths.active_release)
64
69
  end
@@ -353,7 +358,7 @@ WRAP
353
358
  ["Create public directory", "mkdir -p #{paths.public}"],
354
359
  ["Create config directory", "mkdir -p #{paths.active_release_config}"],
355
360
  ["Symlink shared log directory", "ln -nfs #{paths.shared_log} #{paths.active_log}"],
356
- ["Lymlink pubilc system directory", "ln -nfs #{paths.shared_system} #{paths.public_system}"],
361
+ ["Symlink public system directory", "ln -nfs #{paths.shared_system} #{paths.public_system}"],
357
362
  ["Symlink shared pids directory", "ln -nfs #{paths.shared}/pids #{paths.active_release}/tmp/pids"],
358
363
  ["Symlink other shared config files", "find #{paths.shared_config} -type f -not -name 'database.yml' -exec ln -s {} #{paths.active_release_config} \\;"],
359
364
  ["Symlink database.yml if needed", "if [ -f \"#{paths.shared_config}/database.yml\" ]; then ln -nfs #{paths.shared_config}/database.yml #{paths.active_release_config}/database.yml; fi"],
@@ -46,7 +46,7 @@ module EY
46
46
  if config.disable_maintenance_page?
47
47
  disable
48
48
  elsif exist?
49
- shell.notice "[Attention] Maintenance page is still up.\nYou must remove it manually using `ey web enable`."
49
+ shell.info "[Attention] Maintenance page is still up.\nYou must remove it manually using `ey web enable`."
50
50
  end
51
51
  end
52
52
 
@@ -7,7 +7,7 @@ module EY
7
7
  module LegacyHelpers
8
8
  def self.legacy_path_helper(name, new_name)
9
9
  define_method(name) do |*a|
10
- paths.send(new_name).to_s
10
+ paths.send(new_name, *a).to_s
11
11
  end
12
12
  end
13
13
 
@@ -4,9 +4,9 @@ module EY
4
4
  def compile_assets
5
5
  return unless app_needs_assets?
6
6
  rails_version = bundled_rails_version
7
- roles :app_master, :app, :solo do
7
+ roles config.asset_roles do
8
8
  keep_existing_assets
9
- cmd = "cd #{paths.active_release} && PATH=#{paths.binstubs}:$PATH #{config.framework_envs} rake assets:precompile"
9
+ cmd = "cd #{paths.active_release} && PATH=#{paths.binstubs}:$PATH #{config.framework_envs} rake assets:precompile RAILS_GROUPS=assets"
10
10
 
11
11
  if rails_version
12
12
  shell.status "Precompiling assets for rails v#{rails_version}"
@@ -45,6 +45,11 @@ module EY
45
45
  @to_checkout = branch?(@opts_ref) ? "origin/#{@opts_ref}" : @opts_ref
46
46
  end
47
47
 
48
+ def gc_repository_cache
49
+ shell.status "Garbage collecting cached git repository to reduce disk usage."
50
+ run("#{git} gc")
51
+ end
52
+
48
53
  def create_revision_file_command(dir)
49
54
  %Q{#{git} show --pretty=format:"%H" | head -1 > "#{dir}/REVISION"}
50
55
  end
@@ -31,7 +31,13 @@ module EY
31
31
 
32
32
  if deploy_file
33
33
  shell.status "Loading deployment task overrides from #{deploy_file}"
34
- instance_eval(deploy_file.read)
34
+ begin
35
+ instance_eval(deploy_file.read)
36
+ rescue Exception => e
37
+ shell.fatal "Exception while loading #{deploy_file}"
38
+ shell.fatal [e.to_s, e.backtrace].join("\n")
39
+ raise
40
+ end
35
41
  end
36
42
  end
37
43
 
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '2.0.3'
3
+ VERSION = '2.0.4'
4
4
  end
5
5
  end
@@ -31,6 +31,7 @@ describe "the EY::Serverside::Deploy API" do
31
31
  def cleanup_old_releases() @call_order << 'cleanup_old_releases' end
32
32
  def enable_maintenance_page() @call_order << 'enable_maintenance_page' end
33
33
  def disable_maintenance_page() @call_order << 'disable_maintenance_page' end
34
+ def gc_repository_cache() @call_order << 'gc_repository_cache' end
34
35
  end
35
36
 
36
37
  config = EY::Serverside::Deploy::Configuration.new({
@@ -64,7 +65,8 @@ describe "the EY::Serverside::Deploy API" do
64
65
  symlink
65
66
  restart
66
67
  disable_maintenance_page
67
- cleanup_old_releases)
68
+ cleanup_old_releases
69
+ gc_repository_cache)
68
70
  end
69
71
 
70
72
  describe "task overrides" do
@@ -111,5 +113,13 @@ describe "the EY::Serverside::Deploy API" do
111
113
  deploy.require_custom_tasks
112
114
  deploy.value.should == "base + derived"
113
115
  end
116
+
117
+ it "records exceptions raised from the instance eval in the log" do
118
+ write_eydeploy 'eydeploy.rb', "raise 'Imma blow up'"
119
+ lambda { @deploy.require_custom_tasks }.should raise_error
120
+ log = @log_path.read
121
+ log.should =~ /Exception while loading .*eydeploy\.rb/
122
+ log.should include('Imma blow up')
123
+ end
114
124
  end
115
125
  end
@@ -0,0 +1,6 @@
1
+ source :rubygems
2
+
3
+ gem 'rake'
4
+ gem 'pg'
5
+ gem 'ey_config'
6
+ gem 'rails'
@@ -0,0 +1,90 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ actionmailer (3.2.3)
5
+ actionpack (= 3.2.3)
6
+ mail (~> 2.4.4)
7
+ actionpack (3.2.3)
8
+ activemodel (= 3.2.3)
9
+ activesupport (= 3.2.3)
10
+ builder (~> 3.0.0)
11
+ erubis (~> 2.7.0)
12
+ journey (~> 1.0.1)
13
+ rack (~> 1.4.0)
14
+ rack-cache (~> 1.2)
15
+ rack-test (~> 0.6.1)
16
+ sprockets (~> 2.1.2)
17
+ activemodel (3.2.3)
18
+ activesupport (= 3.2.3)
19
+ builder (~> 3.0.0)
20
+ activerecord (3.2.3)
21
+ activemodel (= 3.2.3)
22
+ activesupport (= 3.2.3)
23
+ arel (~> 3.0.2)
24
+ tzinfo (~> 0.3.29)
25
+ activeresource (3.2.3)
26
+ activemodel (= 3.2.3)
27
+ activesupport (= 3.2.3)
28
+ activesupport (3.2.3)
29
+ i18n (~> 0.6)
30
+ multi_json (~> 1.0)
31
+ arel (3.0.2)
32
+ builder (3.0.0)
33
+ erubis (2.7.0)
34
+ ey_config (0.0.5)
35
+ hike (1.2.1)
36
+ i18n (0.6.0)
37
+ journey (1.0.3)
38
+ json (1.6.6)
39
+ mail (2.4.4)
40
+ i18n (>= 0.4.0)
41
+ mime-types (~> 1.16)
42
+ treetop (~> 1.4.8)
43
+ mime-types (1.18)
44
+ multi_json (1.3.2)
45
+ pg (0.13.2)
46
+ polyglot (0.3.3)
47
+ rack (1.4.1)
48
+ rack-cache (1.2)
49
+ rack (>= 0.4)
50
+ rack-ssl (1.3.2)
51
+ rack
52
+ rack-test (0.6.1)
53
+ rack (>= 1.0)
54
+ rails (3.2.3)
55
+ actionmailer (= 3.2.3)
56
+ actionpack (= 3.2.3)
57
+ activerecord (= 3.2.3)
58
+ activeresource (= 3.2.3)
59
+ activesupport (= 3.2.3)
60
+ bundler (~> 1.0)
61
+ railties (= 3.2.3)
62
+ railties (3.2.3)
63
+ actionpack (= 3.2.3)
64
+ activesupport (= 3.2.3)
65
+ rack-ssl (~> 1.3.2)
66
+ rake (>= 0.8.7)
67
+ rdoc (~> 3.4)
68
+ thor (~> 0.14.6)
69
+ rake (0.9.2.2)
70
+ rdoc (3.12)
71
+ json (~> 1.4)
72
+ sprockets (2.1.2)
73
+ hike (~> 1.2)
74
+ rack (~> 1.0)
75
+ tilt (~> 1.1, != 1.3.0)
76
+ thor (0.14.6)
77
+ tilt (1.3.3)
78
+ treetop (1.4.10)
79
+ polyglot
80
+ polyglot (>= 0.3.1)
81
+ tzinfo (0.3.33)
82
+
83
+ PLATFORMS
84
+ ruby
85
+
86
+ DEPENDENCIES
87
+ ey_config
88
+ pg
89
+ rails
90
+ rake
@@ -0,0 +1 @@
1
+ Standard rails31 app with asset compilation enabled.
@@ -0,0 +1,5 @@
1
+ desc 'Precompile yar assetz'
2
+ task 'assets:precompile' do
3
+ sh 'touch precompiled'
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Rails31
2
+ class Application < Rails::Application
3
+ config.assets.enabled = true
4
+ end
5
+ end
@@ -0,0 +1,4 @@
1
+ environments:
2
+ env:
3
+ precompile_assets: true
4
+ asset_roles: :all
@@ -0,0 +1,6 @@
1
+ source :rubygems
2
+
3
+ gem 'rake'
4
+ gem 'pg'
5
+ gem 'ey_config'
6
+ gem 'rails'
@@ -0,0 +1,90 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ actionmailer (3.2.3)
5
+ actionpack (= 3.2.3)
6
+ mail (~> 2.4.4)
7
+ actionpack (3.2.3)
8
+ activemodel (= 3.2.3)
9
+ activesupport (= 3.2.3)
10
+ builder (~> 3.0.0)
11
+ erubis (~> 2.7.0)
12
+ journey (~> 1.0.1)
13
+ rack (~> 1.4.0)
14
+ rack-cache (~> 1.2)
15
+ rack-test (~> 0.6.1)
16
+ sprockets (~> 2.1.2)
17
+ activemodel (3.2.3)
18
+ activesupport (= 3.2.3)
19
+ builder (~> 3.0.0)
20
+ activerecord (3.2.3)
21
+ activemodel (= 3.2.3)
22
+ activesupport (= 3.2.3)
23
+ arel (~> 3.0.2)
24
+ tzinfo (~> 0.3.29)
25
+ activeresource (3.2.3)
26
+ activemodel (= 3.2.3)
27
+ activesupport (= 3.2.3)
28
+ activesupport (3.2.3)
29
+ i18n (~> 0.6)
30
+ multi_json (~> 1.0)
31
+ arel (3.0.2)
32
+ builder (3.0.0)
33
+ erubis (2.7.0)
34
+ ey_config (0.0.5)
35
+ hike (1.2.1)
36
+ i18n (0.6.0)
37
+ journey (1.0.3)
38
+ json (1.6.6)
39
+ mail (2.4.4)
40
+ i18n (>= 0.4.0)
41
+ mime-types (~> 1.16)
42
+ treetop (~> 1.4.8)
43
+ mime-types (1.18)
44
+ multi_json (1.3.2)
45
+ pg (0.13.2)
46
+ polyglot (0.3.3)
47
+ rack (1.4.1)
48
+ rack-cache (1.2)
49
+ rack (>= 0.4)
50
+ rack-ssl (1.3.2)
51
+ rack
52
+ rack-test (0.6.1)
53
+ rack (>= 1.0)
54
+ rails (3.2.3)
55
+ actionmailer (= 3.2.3)
56
+ actionpack (= 3.2.3)
57
+ activerecord (= 3.2.3)
58
+ activeresource (= 3.2.3)
59
+ activesupport (= 3.2.3)
60
+ bundler (~> 1.0)
61
+ railties (= 3.2.3)
62
+ railties (3.2.3)
63
+ actionpack (= 3.2.3)
64
+ activesupport (= 3.2.3)
65
+ rack-ssl (~> 1.3.2)
66
+ rake (>= 0.8.7)
67
+ rdoc (~> 3.4)
68
+ thor (~> 0.14.6)
69
+ rake (0.9.2.2)
70
+ rdoc (3.12)
71
+ json (~> 1.4)
72
+ sprockets (2.1.2)
73
+ hike (~> 1.2)
74
+ rack (~> 1.0)
75
+ tilt (~> 1.1, != 1.3.0)
76
+ thor (0.14.6)
77
+ tilt (1.3.3)
78
+ treetop (1.4.10)
79
+ polyglot
80
+ polyglot (>= 0.3.1)
81
+ tzinfo (0.3.33)
82
+
83
+ PLATFORMS
84
+ ruby
85
+
86
+ DEPENDENCIES
87
+ ey_config
88
+ pg
89
+ rails
90
+ rake
@@ -0,0 +1 @@
1
+ Standard rails31 app with asset compilation enabled.
@@ -0,0 +1,5 @@
1
+ desc 'Precompile yar assetz'
2
+ task 'assets:precompile' do
3
+ sh 'touch precompiled'
4
+ end
5
+
@@ -0,0 +1,5 @@
1
+ module Rails31
2
+ class Application < Rails::Application
3
+ config.assets.enabled = true
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ environments:
2
+ env:
3
+ precompile_assets: true
4
+ asset_roles:
5
+ - :util
@@ -21,6 +21,26 @@ describe "Deploying a Rails 3.1 application" do
21
21
  end
22
22
  end
23
23
 
24
+ context "with asset compilation enabled in ey.yml, but asset_roles is set to only :util" do
25
+ before(:all) do
26
+ deploy_test_application('assets_enabled_util_only')
27
+ end
28
+
29
+ it "precompiles assets" do
30
+ deploy_dir.join('current', 'precompiled').should_not exist
31
+ end
32
+ end
33
+
34
+ context "with asset compilation enabled in ey.yml, and asset_roles is set to :all" do
35
+ before(:all) do
36
+ deploy_test_application('assets_enabled_all')
37
+ end
38
+
39
+ it "precompiles assets" do
40
+ deploy_dir.join('current', 'precompiled').should exist
41
+ end
42
+ end
43
+
24
44
  context "with asset support disabled in its config" do
25
45
  before(:all) do
26
46
  deploy_test_application('assets_disabled')
data/spec/spec_helper.rb CHANGED
@@ -102,8 +102,8 @@ Spec::Runner.configure do |config|
102
102
 
103
103
  def test_shell
104
104
  @test_shell ||= begin
105
- log_path = tmpdir.join("serverside-deploy-#{Time.now.to_i}-#{$$}.log")
106
- EY::Serverside::Shell.new(:verbose => true, :log_path => log_path, :stdout => stdout, :stderr => stderr)
105
+ @log_path = tmpdir.join("serverside-deploy-#{Time.now.to_i}-#{$$}.log")
106
+ EY::Serverside::Shell.new(:verbose => true, :log_path => @log_path, :stdout => stdout, :stderr => stderr)
107
107
  end
108
108
  end
109
109
 
@@ -102,6 +102,10 @@ class EY::Serverside::Strategies::IntegrationSpec
102
102
  "ref: #{revision} - Short log message"
103
103
  end
104
104
 
105
+ def gc_repository_cache
106
+ shell.status "Garbage collecting cached git repository to reduce disk usage."
107
+ end
108
+
105
109
  private
106
110
 
107
111
  def install_git_base
metadata CHANGED
@@ -1,119 +1,122 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
- version: !ruby/object:Gem::Version
4
- version: 2.0.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7
5
5
  prerelease:
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 4
10
+ version: 2.0.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - EY Cloud Team
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-09-24 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rspec
16
- requirement: !ruby/object:Gem::Requirement
17
+
18
+ date: 2012-12-17 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
22
  none: false
18
- requirements:
19
- - - '='
20
- - !ruby/object:Gem::Version
23
+ requirements:
24
+ - - "="
25
+ - !ruby/object:Gem::Version
26
+ hash: 31
27
+ segments:
28
+ - 1
29
+ - 3
30
+ - 2
21
31
  version: 1.3.2
22
- type: :development
23
32
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - '='
28
- - !ruby/object:Gem::Version
29
- version: 1.3.2
30
- - !ruby/object:Gem::Dependency
31
- name: rake
32
- requirement: !ruby/object:Gem::Requirement
33
+ type: :development
34
+ name: rspec
35
+ requirement: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
33
38
  none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 11
43
+ segments:
44
+ - 0
45
+ - 9
46
+ - 2
47
+ - 2
37
48
  version: 0.9.2.2
38
- type: :development
39
49
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
50
+ type: :development
51
+ name: rake
52
+ requirement: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
41
55
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: 0.9.2.2
46
- - !ruby/object:Gem::Dependency
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
63
+ prerelease: false
64
+ type: :development
47
65
  name: rdoc
48
- requirement: !ruby/object:Gem::Requirement
66
+ requirement: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ version_requirements: &id004 !ruby/object:Gem::Requirement
49
69
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ hash: 3
74
+ segments:
75
+ - 0
76
+ version: "0"
55
77
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
78
+ type: :development
63
79
  name: timecop
64
- requirement: !ruby/object:Gem::Requirement
80
+ requirement: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ version_requirements: &id005 !ruby/object:Gem::Requirement
65
83
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :development
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
71
91
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: simplecov
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
92
  type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: engineyard-cloud-client
96
- requirement: !ruby/object:Gem::Requirement
93
+ name: simplecov
94
+ requirement: *id005
95
+ - !ruby/object:Gem::Dependency
96
+ version_requirements: &id006 !ruby/object:Gem::Requirement
97
97
  none: false
98
- requirements:
98
+ requirements:
99
99
  - - ~>
100
- - !ruby/object:Gem::Version
100
+ - !ruby/object:Gem::Version
101
+ hash: 29
102
+ segments:
103
+ - 1
104
+ - 0
105
+ - 5
101
106
  version: 1.0.5
102
- type: :development
103
107
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 1.0.5
108
+ type: :development
109
+ name: engineyard-cloud-client
110
+ requirement: *id006
110
111
  description:
111
112
  email: cloud@engineyard.com
112
- executables:
113
+ executables:
113
114
  - engineyard-serverside
114
115
  extensions: []
116
+
115
117
  extra_rdoc_files: []
116
- files:
118
+
119
+ files:
117
120
  - bin/engineyard-serverside
118
121
  - lib/engineyard-serverside/cli.rb
119
122
  - lib/engineyard-serverside/cli_helpers.rb
@@ -401,11 +404,25 @@ files:
401
404
  - spec/fixtures/repos/assets_enabled/Gemfile.lock
402
405
  - spec/fixtures/repos/assets_enabled/Rakefile
403
406
  - spec/fixtures/repos/assets_enabled/README
407
+ - spec/fixtures/repos/assets_enabled_all/app/assets/empty
408
+ - spec/fixtures/repos/assets_enabled_all/config/application.rb
409
+ - spec/fixtures/repos/assets_enabled_all/config/ey.yml
410
+ - spec/fixtures/repos/assets_enabled_all/Gemfile
411
+ - spec/fixtures/repos/assets_enabled_all/Gemfile.lock
412
+ - spec/fixtures/repos/assets_enabled_all/Rakefile
413
+ - spec/fixtures/repos/assets_enabled_all/README
404
414
  - spec/fixtures/repos/assets_enabled_in_ey_yml/config/ey.yml
405
415
  - spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile
406
416
  - spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile.lock
407
417
  - spec/fixtures/repos/assets_enabled_in_ey_yml/Rakefile
408
418
  - spec/fixtures/repos/assets_enabled_in_ey_yml/README
419
+ - spec/fixtures/repos/assets_enabled_util_only/app/assets/empty
420
+ - spec/fixtures/repos/assets_enabled_util_only/config/application.rb
421
+ - spec/fixtures/repos/assets_enabled_util_only/config/ey.yml
422
+ - spec/fixtures/repos/assets_enabled_util_only/Gemfile
423
+ - spec/fixtures/repos/assets_enabled_util_only/Gemfile.lock
424
+ - spec/fixtures/repos/assets_enabled_util_only/Rakefile
425
+ - spec/fixtures/repos/assets_enabled_util_only/README
409
426
  - spec/fixtures/repos/assets_in_hook/app/assets/empty
410
427
  - spec/fixtures/repos/assets_in_hook/config/application.rb
411
428
  - spec/fixtures/repos/assets_in_hook/deploy/before_compile_assets.rb
@@ -465,32 +482,40 @@ files:
465
482
  - spec/support/integration.rb
466
483
  homepage: http://github.com/engineyard/engineyard-serverside
467
484
  licenses: []
485
+
468
486
  post_install_message:
469
487
  rdoc_options: []
470
- require_paths:
488
+
489
+ require_paths:
471
490
  - lib
472
- required_ruby_version: !ruby/object:Gem::Requirement
491
+ required_ruby_version: !ruby/object:Gem::Requirement
473
492
  none: false
474
- requirements:
475
- - - ! '>='
476
- - !ruby/object:Gem::Version
477
- version: '0'
478
- segments:
493
+ requirements:
494
+ - - ">="
495
+ - !ruby/object:Gem::Version
496
+ hash: 3
497
+ segments:
479
498
  - 0
480
- hash: 3769806345729603200
481
- required_rubygems_version: !ruby/object:Gem::Requirement
499
+ version: "0"
500
+ required_rubygems_version: !ruby/object:Gem::Requirement
482
501
  none: false
483
- requirements:
484
- - - ! '>='
485
- - !ruby/object:Gem::Version
502
+ requirements:
503
+ - - ">="
504
+ - !ruby/object:Gem::Version
505
+ hash: 23
506
+ segments:
507
+ - 1
508
+ - 3
509
+ - 6
486
510
  version: 1.3.6
487
511
  requirements: []
512
+
488
513
  rubyforge_project:
489
514
  rubygems_version: 1.8.24
490
515
  signing_key:
491
516
  specification_version: 3
492
517
  summary: A gem that deploys ruby applications on EY Cloud instances
493
- test_files:
518
+ test_files:
494
519
  - spec/basic_deploy_spec.rb
495
520
  - spec/bundler_deploy_spec.rb
496
521
  - spec/configuration_spec.rb
@@ -534,11 +559,25 @@ test_files:
534
559
  - spec/fixtures/repos/assets_enabled/Gemfile.lock
535
560
  - spec/fixtures/repos/assets_enabled/Rakefile
536
561
  - spec/fixtures/repos/assets_enabled/README
562
+ - spec/fixtures/repos/assets_enabled_all/app/assets/empty
563
+ - spec/fixtures/repos/assets_enabled_all/config/application.rb
564
+ - spec/fixtures/repos/assets_enabled_all/config/ey.yml
565
+ - spec/fixtures/repos/assets_enabled_all/Gemfile
566
+ - spec/fixtures/repos/assets_enabled_all/Gemfile.lock
567
+ - spec/fixtures/repos/assets_enabled_all/Rakefile
568
+ - spec/fixtures/repos/assets_enabled_all/README
537
569
  - spec/fixtures/repos/assets_enabled_in_ey_yml/config/ey.yml
538
570
  - spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile
539
571
  - spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile.lock
540
572
  - spec/fixtures/repos/assets_enabled_in_ey_yml/Rakefile
541
573
  - spec/fixtures/repos/assets_enabled_in_ey_yml/README
574
+ - spec/fixtures/repos/assets_enabled_util_only/app/assets/empty
575
+ - spec/fixtures/repos/assets_enabled_util_only/config/application.rb
576
+ - spec/fixtures/repos/assets_enabled_util_only/config/ey.yml
577
+ - spec/fixtures/repos/assets_enabled_util_only/Gemfile
578
+ - spec/fixtures/repos/assets_enabled_util_only/Gemfile.lock
579
+ - spec/fixtures/repos/assets_enabled_util_only/Rakefile
580
+ - spec/fixtures/repos/assets_enabled_util_only/README
542
581
  - spec/fixtures/repos/assets_in_hook/app/assets/empty
543
582
  - spec/fixtures/repos/assets_in_hook/config/application.rb
544
583
  - spec/fixtures/repos/assets_in_hook/deploy/before_compile_assets.rb