engineyard-serverside 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,6 +57,9 @@ module EY
57
57
  verbose_option
58
58
  desc "enable_maintenance", "Enable maintenance page (disables web access)"
59
59
  def enable_maintenance
60
+ options = self.options.dup
61
+ options[:release_path] = Pathname.new("/data/#{options[:app]}/current").realpath.to_s
62
+
60
63
  init_and_propagate(options, 'enable_maintenance') do |servers, config, shell|
61
64
  EY::Serverside::Maintenance.new(servers, config, shell).manually_enable
62
65
  end
@@ -68,6 +71,9 @@ module EY
68
71
  verbose_option
69
72
  desc "disable_maintenance", "Disable maintenance page (enables web access)"
70
73
  def disable_maintenance
74
+ options = self.options.dup
75
+ options[:release_path] = Pathname.new("/data/#{options[:app]}/current").realpath.to_s
76
+
71
77
  init_and_propagate(options, 'disable_maintenance') do |servers, config, shell|
72
78
  EY::Serverside::Maintenance.new(servers, config, shell).manually_disable
73
79
  end
@@ -142,6 +148,9 @@ module EY
142
148
  verbose_option
143
149
  desc "restart", "Restart app servers, conditionally enabling maintenance page"
144
150
  def restart
151
+ options = self.options.dup
152
+ options[:release_path] = Pathname.new("/data/#{options[:app]}/current").realpath.to_s
153
+
145
154
  init_and_propagate(options, 'restart') do |servers, config, shell|
146
155
  EY::Serverside::Deploy.new(servers, config, shell).restart_with_maintenance_page
147
156
  end
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '2.4.0'
3
+ VERSION = '2.4.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - EY Cloud Team
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-06-01 00:00:00.000000000 Z
12
+ date: 2014-06-26 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rspec
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rdoc
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ! '>='
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: timecop
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - '='
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - '='
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: simplecov
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ! '>='
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ! '>='
81
92
  - !ruby/object:Gem::Version
@@ -83,6 +94,7 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: engineyard-cloud-client
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ~>
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ~>
95
108
  - !ruby/object:Gem::Version
@@ -97,6 +110,7 @@ dependencies:
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: engineyard-serverside-adapter
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
115
  - - ~>
102
116
  - !ruby/object:Gem::Version
@@ -104,6 +118,7 @@ dependencies:
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
123
  - - ~>
109
124
  - !ruby/object:Gem::Version
@@ -111,6 +126,7 @@ dependencies:
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: sqlite3
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
131
  - - ! '>='
116
132
  - !ruby/object:Gem::Version
@@ -118,6 +134,7 @@ dependencies:
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
139
  - - ! '>='
123
140
  - !ruby/object:Gem::Version
@@ -125,6 +142,7 @@ dependencies:
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: mime-types
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
147
  - - ~>
130
148
  - !ruby/object:Gem::Version
@@ -132,6 +150,7 @@ dependencies:
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
155
  - - ~>
137
156
  - !ruby/object:Gem::Version
@@ -245,8 +264,6 @@ files:
245
264
  - spec/deploy_hook_spec.rb
246
265
  - spec/deprecation_spec.rb
247
266
  - spec/ey_yml_customized_deploy_spec.rb
248
- - spec/fixtures/gitrepo/bar
249
- - spec/fixtures/gitrepo/foo
250
267
  - spec/fixtures/gitrepo.tar.gz
251
268
  - spec/fixtures/invalid_hook.rb
252
269
  - spec/fixtures/lockfiles/0.9-no-bundler
@@ -419,26 +436,30 @@ files:
419
436
  homepage: http://github.com/engineyard/engineyard-serverside
420
437
  licenses:
421
438
  - MIT
422
- metadata: {}
423
439
  post_install_message:
424
440
  rdoc_options: []
425
441
  require_paths:
426
442
  - lib
427
443
  required_ruby_version: !ruby/object:Gem::Requirement
444
+ none: false
428
445
  requirements:
429
446
  - - ! '>='
430
447
  - !ruby/object:Gem::Version
431
448
  version: '0'
449
+ segments:
450
+ - 0
451
+ hash: 3578750318654777423
432
452
  required_rubygems_version: !ruby/object:Gem::Requirement
453
+ none: false
433
454
  requirements:
434
455
  - - ! '>='
435
456
  - !ruby/object:Gem::Version
436
457
  version: 1.3.6
437
458
  requirements: []
438
459
  rubyforge_project:
439
- rubygems_version: 2.1.10
460
+ rubygems_version: 1.8.23
440
461
  signing_key:
441
- specification_version: 4
462
+ specification_version: 3
442
463
  summary: A gem that deploys ruby applications on EY Cloud instances
443
464
  test_files:
444
465
  - spec/archive_deploy_spec.rb
@@ -449,8 +470,6 @@ test_files:
449
470
  - spec/deploy_hook_spec.rb
450
471
  - spec/deprecation_spec.rb
451
472
  - spec/ey_yml_customized_deploy_spec.rb
452
- - spec/fixtures/gitrepo/bar
453
- - spec/fixtures/gitrepo/foo
454
473
  - spec/fixtures/gitrepo.tar.gz
455
474
  - spec/fixtures/invalid_hook.rb
456
475
  - spec/fixtures/lockfiles/0.9-no-bundler
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YTE4NmI1MTllMTQ3MzM0MjQ5MmJlYjQ5ZTRhYjA4Y2QwM2E0ZWE0NA==
5
- data.tar.gz: !binary |-
6
- MWM0MmQ0YTMxMWRkYzcyZjliZTgwZjI1MGExZTk2ZWY1MWJiMGFkNA==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- ZTNiNWE2NTQyOWM0YTUzM2M5MDBjNjVjYTZlYTU5ZmI1NDE1YTNiYTcwMTli
10
- Y2YwOWU2YzM4ZGU5MjkwMDJjNmFjN2UwNjQzN2I5ODNiMzYwY2YyZmMzNDkx
11
- NTQxMWQyMjdkZTU5ZDZhNmI4ZTMwMmZlYmYxNzcwZGUwYzI0YWM=
12
- data.tar.gz: !binary |-
13
- OWNjOThiOTU1NzNiNjZkNDRlZWM5Y2U3NmE0MWQzMTkwN2U4ODA1MmU0MzBk
14
- Zjc3Yzc2YTVjZWY2OGM0MDBmZmI2OTNkMmQ0ZDg5MGYyYzhmMDc0NGFlYTE2
15
- NzgzZjA2YWRmZmUyYjlmYWFhMWZiNWYyOTE4MGJiYWJhNDlhZjY=
File without changes
File without changes