engineyard-serverside 1.3.3 → 1.3.4.jruby.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/engineyard-serverside/deploy.rb +11 -14
- data/lib/engineyard-serverside/version.rb +1 -1
- data/spec/real_deploy_spec.rb +5 -4
- data/spec/restart_spec.rb +24 -10
- metadata +197 -193
@@ -82,11 +82,15 @@ module EY
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def conditionally_enable_maintenance_page
|
85
|
-
if c.migrate? ||
|
85
|
+
if c.migrate? || required_downtime_stack?
|
86
86
|
enable_maintenance_page
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
+
def required_downtime_stack?
|
91
|
+
%w[ nginx_mongrel glassfish ].include? c.stack
|
92
|
+
end
|
93
|
+
|
90
94
|
def disable_maintenance_page
|
91
95
|
@maintenance_up = false
|
92
96
|
roles :app_master, :app, :solo do
|
@@ -113,23 +117,15 @@ module EY
|
|
113
117
|
@restart_failed = true
|
114
118
|
info "~> Restarting app servers"
|
115
119
|
roles :app_master, :app, :solo do
|
116
|
-
restart_command
|
117
|
-
when "nginx_unicorn"
|
118
|
-
pidfile = "/var/run/engineyard/unicorn_#{c.app}.pid"
|
119
|
-
condition = "[ -e #{pidfile} ] && [ ! -d /proc/`cat #{pidfile}` ]"
|
120
|
-
run("if #{condition}; then rm -f #{pidfile}; fi")
|
121
|
-
run("/engineyard/bin/app_#{c.app} deploy")
|
122
|
-
when "nginx_mongrel"
|
123
|
-
sudo("monit restart all -g #{c.app}")
|
124
|
-
when "nginx_passenger"
|
125
|
-
run("touch #{c.current_path}/tmp/restart.txt")
|
126
|
-
else
|
127
|
-
raise "Unknown stack #{c.stack}; restart failed!"
|
128
|
-
end
|
120
|
+
run(restart_command)
|
129
121
|
end
|
130
122
|
@restart_failed = false
|
131
123
|
end
|
132
124
|
|
125
|
+
def restart_command
|
126
|
+
"/engineyard/bin/app_#{c.app} deploy"
|
127
|
+
end
|
128
|
+
|
133
129
|
# task
|
134
130
|
def bundle
|
135
131
|
if File.exist?("#{c.release_path}/Gemfile")
|
@@ -211,6 +207,7 @@ module EY
|
|
211
207
|
"mkdir -p #{release_to_link}/config",
|
212
208
|
"ln -nfs #{c.shared_path}/system #{release_to_link}/public/system",
|
213
209
|
"ln -nfs #{c.shared_path}/pids #{release_to_link}/tmp/pids",
|
210
|
+
"find #{c.shared_path}/config -type f -exec ln -s {} #{release_to_link}/config \\;",
|
214
211
|
"ln -nfs #{c.shared_path}/config/database.yml #{release_to_link}/config/database.yml",
|
215
212
|
"ln -nfs #{c.shared_path}/config/mongrel_cluster.yml #{release_to_link}/config/mongrel_cluster.yml",
|
216
213
|
].each do |cmd|
|
data/spec/real_deploy_spec.rb
CHANGED
@@ -110,11 +110,12 @@ describe "deploying an application" do
|
|
110
110
|
|
111
111
|
# run a deploy
|
112
112
|
config = EY::Deploy::Configuration.new({
|
113
|
-
"strategy"
|
113
|
+
"strategy" => "IntegrationSpec",
|
114
114
|
"deploy_to" => @deploy_dir,
|
115
|
-
"group"
|
116
|
-
"stack"
|
117
|
-
"migrate"
|
115
|
+
"group" => `id -gn`.strip,
|
116
|
+
"stack" => 'nginx_passenger',
|
117
|
+
"migrate" => "ruby -e 'puts ENV[\"PATH\"]' > #{@deploy_dir}/path-when-migrating",
|
118
|
+
'app' => 'foo'
|
118
119
|
})
|
119
120
|
|
120
121
|
$0 = File.expand_path(File.join(File.dirname(__FILE__), '..', 'bin', 'engineyard-serverside'))
|
data/spec/restart_spec.rb
CHANGED
@@ -1,18 +1,22 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/spec_helper'
|
2
2
|
|
3
|
-
|
3
|
+
class TestRestartDeploy < EY::Deploy
|
4
|
+
attr_reader :call_order
|
5
|
+
def initialize(*a)
|
6
|
+
super
|
7
|
+
@call_order = []
|
8
|
+
end
|
4
9
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
10
|
+
def require_custom_tasks() @call_order << 'require_custom_tasks' end
|
11
|
+
def restart() @call_order << 'restart' end
|
12
|
+
def enable_maintenance_page() @call_order << 'enable_maintenance_page' end
|
13
|
+
def disable_maintenance_page() @call_order << 'disable_maintenance_page' end
|
14
|
+
end
|
15
|
+
|
16
|
+
describe "EY::Deploy#restart_with_maintenance_page" do
|
11
17
|
|
12
|
-
|
13
|
-
def restart() @call_order << 'restart' end
|
18
|
+
class TestRestartWithMaintenancePage < TestRestartDeploy
|
14
19
|
def conditionally_enable_maintenance_page() @call_order << 'conditionally_enable_maintenance_page' end
|
15
|
-
def disable_maintenance_page() @call_order << 'disable_maintenance_page' end
|
16
20
|
end
|
17
21
|
|
18
22
|
it "puts up the maintenance page if necessary, restarts, and takes down the maintenance page" do
|
@@ -26,3 +30,13 @@ describe "EY::Deploy#restart_with_maintenance_page" do
|
|
26
30
|
)
|
27
31
|
end
|
28
32
|
end
|
33
|
+
|
34
|
+
describe "glassfish stack" do
|
35
|
+
|
36
|
+
it "requires a maintenance page" do
|
37
|
+
config = EY::Deploy::Configuration.new(:stack => 'glassfish')
|
38
|
+
deployer = TestRestartDeploy.new(config)
|
39
|
+
deployer.restart_with_maintenance_page
|
40
|
+
deployer.call_order.should include('enable_maintenance_page')
|
41
|
+
end
|
42
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-serverside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 619539233
|
5
|
+
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
|
9
|
+
- 4
|
10
|
+
- jruby
|
11
|
+
- 2
|
12
|
+
version: 1.3.4.jruby.2
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- EY Cloud Team
|
@@ -15,7 +17,7 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2010-09-
|
20
|
+
date: 2010-09-24 00:00:00 -07:00
|
19
21
|
default_executable: engineyard-serverside
|
20
22
|
dependencies: []
|
21
23
|
|
@@ -29,227 +31,227 @@ extra_rdoc_files: []
|
|
29
31
|
|
30
32
|
files:
|
31
33
|
- bin/engineyard-serverside
|
32
|
-
- lib/engineyard-serverside/bundle_installer.rb
|
33
|
-
- lib/engineyard-serverside/cli.rb
|
34
|
-
- lib/engineyard-serverside/configuration.rb
|
35
|
-
- lib/engineyard-serverside/default_maintenance_page.html
|
36
|
-
- lib/engineyard-serverside/deploy.rb
|
37
|
-
- lib/engineyard-serverside/deploy_hook.rb
|
38
|
-
- lib/engineyard-serverside/lockfile_parser.rb
|
39
|
-
- lib/engineyard-serverside/logged_output.rb
|
40
|
-
- lib/engineyard-serverside/server.rb
|
41
|
-
- lib/engineyard-serverside/strategies/git.rb
|
42
|
-
- lib/engineyard-serverside/task.rb
|
43
|
-
- lib/engineyard-serverside/version.rb
|
44
34
|
- lib/engineyard-serverside.rb
|
45
|
-
- lib/vendor/
|
46
|
-
- lib/vendor/dataflow/dataflow/equality.rb
|
47
|
-
- lib/vendor/dataflow/dataflow/future_queue.rb
|
48
|
-
- lib/vendor/dataflow/dataflow/port.rb
|
49
|
-
- lib/vendor/dataflow/dataflow.rb
|
50
|
-
- lib/vendor/dataflow/examples/barrier.rb
|
51
|
-
- lib/vendor/dataflow/examples/data_driven.rb
|
52
|
-
- lib/vendor/dataflow/examples/dataflow_http_gets.rb
|
53
|
-
- lib/vendor/dataflow/examples/flow.rb
|
54
|
-
- lib/vendor/dataflow/examples/future_http_gets.rb
|
55
|
-
- lib/vendor/dataflow/examples/future_queue.rb
|
56
|
-
- lib/vendor/dataflow/examples/instance_variables.rb
|
57
|
-
- lib/vendor/dataflow/examples/laziness.rb
|
58
|
-
- lib/vendor/dataflow/examples/local_variables.rb
|
59
|
-
- lib/vendor/dataflow/examples/messages.rb
|
60
|
-
- lib/vendor/dataflow/examples/port_http_gets.rb
|
61
|
-
- lib/vendor/dataflow/examples/port_send.rb
|
62
|
-
- lib/vendor/dataflow/examples/ring.rb
|
35
|
+
- lib/vendor/open4/lib/open4.rb
|
63
36
|
- lib/vendor/dataflow/HISTORY
|
64
|
-
- lib/vendor/dataflow/LICENSE
|
65
37
|
- lib/vendor/dataflow/Rakefile
|
66
|
-
- lib/vendor/dataflow/
|
38
|
+
- lib/vendor/dataflow/dataflow/port.rb
|
39
|
+
- lib/vendor/dataflow/dataflow/future_queue.rb
|
40
|
+
- lib/vendor/dataflow/dataflow/actor.rb
|
41
|
+
- lib/vendor/dataflow/dataflow/equality.rb
|
42
|
+
- lib/vendor/dataflow/spec/inspect_spec.rb
|
43
|
+
- lib/vendor/dataflow/spec/port_spec.rb
|
67
44
|
- lib/vendor/dataflow/spec/actor_spec.rb
|
45
|
+
- lib/vendor/dataflow/spec/spec.opts
|
46
|
+
- lib/vendor/dataflow/spec/need_later_spec.rb
|
47
|
+
- lib/vendor/dataflow/spec/equality_spec.rb
|
48
|
+
- lib/vendor/dataflow/spec/flow_spec.rb
|
49
|
+
- lib/vendor/dataflow/spec/spec_helper.rb
|
50
|
+
- lib/vendor/dataflow/spec/by_need_spec.rb
|
68
51
|
- lib/vendor/dataflow/spec/anonymous_variables_spec.rb
|
69
52
|
- lib/vendor/dataflow/spec/barrier_spec.rb
|
70
|
-
- lib/vendor/dataflow/spec/
|
53
|
+
- lib/vendor/dataflow/spec/future_queue_spec.rb
|
71
54
|
- lib/vendor/dataflow/spec/dataflow_spec.rb
|
72
|
-
- lib/vendor/dataflow/spec/equality_spec.rb
|
73
|
-
- lib/vendor/dataflow/spec/flow_spec.rb
|
74
55
|
- lib/vendor/dataflow/spec/forker_spec.rb
|
75
|
-
- lib/vendor/dataflow/
|
76
|
-
- lib/vendor/dataflow/
|
77
|
-
- lib/vendor/dataflow/
|
78
|
-
- lib/vendor/dataflow/
|
79
|
-
- lib/vendor/dataflow/
|
80
|
-
- lib/vendor/dataflow/
|
81
|
-
- lib/vendor/
|
82
|
-
- lib/vendor/
|
83
|
-
- lib/vendor/
|
84
|
-
- lib/vendor/
|
85
|
-
- lib/vendor/
|
86
|
-
- lib/vendor/
|
87
|
-
- lib/vendor/
|
88
|
-
- lib/vendor/
|
89
|
-
- lib/vendor/
|
90
|
-
- lib/vendor/
|
91
|
-
- lib/vendor/json_pure/
|
92
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat
|
93
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat
|
94
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat
|
95
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat
|
96
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat
|
97
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat
|
98
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log
|
99
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat
|
100
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat
|
101
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log
|
102
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log
|
103
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat
|
104
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat
|
105
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log
|
106
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat
|
107
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat
|
108
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log
|
109
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat
|
110
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat
|
111
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
|
112
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
|
113
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
|
114
|
-
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
|
115
|
-
- lib/vendor/json_pure/benchmarks/generator2_benchmark.rb
|
116
|
-
- lib/vendor/json_pure/benchmarks/generator_benchmark.rb
|
117
|
-
- lib/vendor/json_pure/benchmarks/ohai.json
|
118
|
-
- lib/vendor/json_pure/benchmarks/ohai.ruby
|
119
|
-
- lib/vendor/json_pure/benchmarks/parser2_benchmark.rb
|
120
|
-
- lib/vendor/json_pure/benchmarks/parser_benchmark.rb
|
121
|
-
- lib/vendor/json_pure/bin/edit_json.rb
|
122
|
-
- lib/vendor/json_pure/bin/prettify_json.rb
|
123
|
-
- lib/vendor/json_pure/CHANGES
|
124
|
-
- lib/vendor/json_pure/COPYING
|
125
|
-
- lib/vendor/json_pure/data/example.json
|
126
|
-
- lib/vendor/json_pure/data/index.html
|
127
|
-
- lib/vendor/json_pure/data/prototype.js
|
128
|
-
- lib/vendor/json_pure/ext/json/ext/generator/extconf.rb
|
129
|
-
- lib/vendor/json_pure/ext/json/ext/generator/generator.c
|
130
|
-
- lib/vendor/json_pure/ext/json/ext/generator/generator.h
|
131
|
-
- lib/vendor/json_pure/ext/json/ext/parser/extconf.rb
|
132
|
-
- lib/vendor/json_pure/ext/json/ext/parser/parser.c
|
133
|
-
- lib/vendor/json_pure/ext/json/ext/parser/parser.h
|
134
|
-
- lib/vendor/json_pure/ext/json/ext/parser/parser.rl
|
135
|
-
- lib/vendor/json_pure/GPL
|
136
|
-
- lib/vendor/json_pure/install.rb
|
137
|
-
- lib/vendor/json_pure/lib/json/add/core.rb
|
138
|
-
- lib/vendor/json_pure/lib/json/add/rails.rb
|
139
|
-
- lib/vendor/json_pure/lib/json/Array.xpm
|
140
|
-
- lib/vendor/json_pure/lib/json/common.rb
|
141
|
-
- lib/vendor/json_pure/lib/json/editor.rb
|
56
|
+
- lib/vendor/dataflow/LICENSE
|
57
|
+
- lib/vendor/dataflow/README.textile
|
58
|
+
- lib/vendor/dataflow/examples/future_http_gets.rb
|
59
|
+
- lib/vendor/dataflow/examples/data_driven.rb
|
60
|
+
- lib/vendor/dataflow/examples/port_send.rb
|
61
|
+
- lib/vendor/dataflow/examples/ring.rb
|
62
|
+
- lib/vendor/dataflow/examples/flow.rb
|
63
|
+
- lib/vendor/dataflow/examples/dataflow_http_gets.rb
|
64
|
+
- lib/vendor/dataflow/examples/future_queue.rb
|
65
|
+
- lib/vendor/dataflow/examples/local_variables.rb
|
66
|
+
- lib/vendor/dataflow/examples/laziness.rb
|
67
|
+
- lib/vendor/dataflow/examples/barrier.rb
|
68
|
+
- lib/vendor/dataflow/examples/port_http_gets.rb
|
69
|
+
- lib/vendor/dataflow/examples/messages.rb
|
70
|
+
- lib/vendor/dataflow/examples/instance_variables.rb
|
71
|
+
- lib/vendor/dataflow/dataflow.rb
|
72
|
+
- lib/vendor/json_pure/lib/json.rb
|
142
73
|
- lib/vendor/json_pure/lib/json/ext.rb
|
74
|
+
- lib/vendor/json_pure/lib/json/Array.xpm
|
143
75
|
- lib/vendor/json_pure/lib/json/FalseClass.xpm
|
144
|
-
- lib/vendor/json_pure/lib/json/Hash.xpm
|
145
|
-
- lib/vendor/json_pure/lib/json/json.xpm
|
146
76
|
- lib/vendor/json_pure/lib/json/Key.xpm
|
147
|
-
- lib/vendor/json_pure/lib/json/
|
77
|
+
- lib/vendor/json_pure/lib/json/common.rb
|
148
78
|
- lib/vendor/json_pure/lib/json/Numeric.xpm
|
79
|
+
- lib/vendor/json_pure/lib/json/json.xpm
|
149
80
|
- lib/vendor/json_pure/lib/json/pure/generator.rb
|
150
81
|
- lib/vendor/json_pure/lib/json/pure/parser.rb
|
151
|
-
- lib/vendor/json_pure/lib/json/
|
82
|
+
- lib/vendor/json_pure/lib/json/Hash.xpm
|
152
83
|
- lib/vendor/json_pure/lib/json/String.xpm
|
153
|
-
- lib/vendor/json_pure/lib/json/TrueClass.xpm
|
154
84
|
- lib/vendor/json_pure/lib/json/version.rb
|
155
|
-
- lib/vendor/json_pure/lib/json.rb
|
156
|
-
- lib/vendor/json_pure/
|
157
|
-
- lib/vendor/json_pure/
|
158
|
-
- lib/vendor/json_pure/
|
159
|
-
- lib/vendor/json_pure/
|
160
|
-
- lib/vendor/json_pure/
|
161
|
-
- lib/vendor/json_pure/tests/
|
162
|
-
- lib/vendor/json_pure/tests/
|
163
|
-
- lib/vendor/json_pure/tests/
|
164
|
-
- lib/vendor/json_pure/tests/
|
165
|
-
- lib/vendor/json_pure/tests/fixtures/
|
85
|
+
- lib/vendor/json_pure/lib/json/add/core.rb
|
86
|
+
- lib/vendor/json_pure/lib/json/add/rails.rb
|
87
|
+
- lib/vendor/json_pure/lib/json/editor.rb
|
88
|
+
- lib/vendor/json_pure/lib/json/pure.rb
|
89
|
+
- lib/vendor/json_pure/lib/json/TrueClass.xpm
|
90
|
+
- lib/vendor/json_pure/lib/json/NilClass.xpm
|
91
|
+
- lib/vendor/json_pure/tests/test_json_generate.rb
|
92
|
+
- lib/vendor/json_pure/tests/test_json.rb
|
93
|
+
- lib/vendor/json_pure/tests/test_json_unicode.rb
|
94
|
+
- lib/vendor/json_pure/tests/test_json_rails.rb
|
95
|
+
- lib/vendor/json_pure/tests/fixtures/pass3.json
|
96
|
+
- lib/vendor/json_pure/tests/fixtures/fail28.json
|
166
97
|
- lib/vendor/json_pure/tests/fixtures/fail2.json
|
167
|
-
- lib/vendor/json_pure/tests/fixtures/
|
168
|
-
- lib/vendor/json_pure/tests/fixtures/
|
169
|
-
- lib/vendor/json_pure/tests/fixtures/
|
98
|
+
- lib/vendor/json_pure/tests/fixtures/fail5.json
|
99
|
+
- lib/vendor/json_pure/tests/fixtures/fail8.json
|
100
|
+
- lib/vendor/json_pure/tests/fixtures/pass16.json
|
101
|
+
- lib/vendor/json_pure/tests/fixtures/pass2.json
|
170
102
|
- lib/vendor/json_pure/tests/fixtures/fail23.json
|
171
|
-
- lib/vendor/json_pure/tests/fixtures/
|
172
|
-
- lib/vendor/json_pure/tests/fixtures/
|
173
|
-
- lib/vendor/json_pure/tests/fixtures/
|
174
|
-
- lib/vendor/json_pure/tests/fixtures/
|
103
|
+
- lib/vendor/json_pure/tests/fixtures/fail12.json
|
104
|
+
- lib/vendor/json_pure/tests/fixtures/pass15.json
|
105
|
+
- lib/vendor/json_pure/tests/fixtures/fail20.json
|
106
|
+
- lib/vendor/json_pure/tests/fixtures/fail19.json
|
175
107
|
- lib/vendor/json_pure/tests/fixtures/fail3.json
|
176
108
|
- lib/vendor/json_pure/tests/fixtures/fail4.json
|
177
|
-
- lib/vendor/json_pure/tests/fixtures/
|
109
|
+
- lib/vendor/json_pure/tests/fixtures/fail13.json
|
110
|
+
- lib/vendor/json_pure/tests/fixtures/fail21.json
|
111
|
+
- lib/vendor/json_pure/tests/fixtures/fail14.json
|
112
|
+
- lib/vendor/json_pure/tests/fixtures/fail10.json
|
178
113
|
- lib/vendor/json_pure/tests/fixtures/fail6.json
|
179
|
-
- lib/vendor/json_pure/tests/fixtures/fail7.json
|
180
|
-
- lib/vendor/json_pure/tests/fixtures/fail8.json
|
181
|
-
- lib/vendor/json_pure/tests/fixtures/fail9.json
|
182
114
|
- lib/vendor/json_pure/tests/fixtures/pass1.json
|
183
|
-
- lib/vendor/json_pure/tests/fixtures/
|
184
|
-
- lib/vendor/json_pure/tests/fixtures/pass16.json
|
185
|
-
- lib/vendor/json_pure/tests/fixtures/pass17.json
|
186
|
-
- lib/vendor/json_pure/tests/fixtures/pass2.json
|
115
|
+
- lib/vendor/json_pure/tests/fixtures/fail11.json
|
187
116
|
- lib/vendor/json_pure/tests/fixtures/pass26.json
|
188
|
-
- lib/vendor/json_pure/tests/fixtures/
|
189
|
-
- lib/vendor/json_pure/tests/
|
117
|
+
- lib/vendor/json_pure/tests/fixtures/fail22.json
|
118
|
+
- lib/vendor/json_pure/tests/fixtures/fail9.json
|
119
|
+
- lib/vendor/json_pure/tests/fixtures/fail1.json
|
120
|
+
- lib/vendor/json_pure/tests/fixtures/fail7.json
|
121
|
+
- lib/vendor/json_pure/tests/fixtures/pass17.json
|
122
|
+
- lib/vendor/json_pure/tests/fixtures/fail27.json
|
123
|
+
- lib/vendor/json_pure/tests/fixtures/fail24.json
|
124
|
+
- lib/vendor/json_pure/tests/fixtures/fail25.json
|
125
|
+
- lib/vendor/json_pure/tests/fixtures/fail18.json
|
190
126
|
- lib/vendor/json_pure/tests/test_json_addition.rb
|
191
127
|
- lib/vendor/json_pure/tests/test_json_encoding.rb
|
192
128
|
- lib/vendor/json_pure/tests/test_json_fixtures.rb
|
193
|
-
- lib/vendor/json_pure/
|
194
|
-
- lib/vendor/json_pure/
|
195
|
-
- lib/vendor/json_pure/
|
129
|
+
- lib/vendor/json_pure/VERSION
|
130
|
+
- lib/vendor/json_pure/data/prototype.js
|
131
|
+
- lib/vendor/json_pure/data/index.html
|
132
|
+
- lib/vendor/json_pure/data/example.json
|
196
133
|
- lib/vendor/json_pure/TODO
|
197
|
-
- lib/vendor/json_pure/
|
134
|
+
- lib/vendor/json_pure/Rakefile
|
135
|
+
- lib/vendor/json_pure/benchmarks/generator_benchmark.rb
|
136
|
+
- lib/vendor/json_pure/benchmarks/generator2_benchmark.rb
|
137
|
+
- lib/vendor/json_pure/benchmarks/parser2_benchmark.rb
|
138
|
+
- lib/vendor/json_pure/benchmarks/ohai.ruby
|
139
|
+
- lib/vendor/json_pure/benchmarks/parser_benchmark.rb
|
140
|
+
- lib/vendor/json_pure/benchmarks/ohai.json
|
141
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat
|
142
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat
|
143
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log
|
144
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat
|
145
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat
|
146
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
|
147
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log
|
148
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
|
149
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat
|
150
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat
|
151
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat
|
152
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
|
153
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat
|
154
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat
|
155
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat
|
156
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat
|
157
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat
|
158
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
|
159
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat
|
160
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log
|
161
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat
|
162
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log
|
163
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat
|
164
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat
|
165
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log
|
166
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat
|
167
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log
|
168
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat
|
169
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log
|
170
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat
|
171
|
+
- lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat
|
172
|
+
- lib/vendor/json_pure/ext/json/ext/generator/generator.h
|
173
|
+
- lib/vendor/json_pure/ext/json/ext/generator/generator.c
|
174
|
+
- lib/vendor/json_pure/ext/json/ext/generator/extconf.rb
|
175
|
+
- lib/vendor/json_pure/ext/json/ext/parser/parser.h
|
176
|
+
- lib/vendor/json_pure/ext/json/ext/parser/parser.rl
|
177
|
+
- lib/vendor/json_pure/ext/json/ext/parser/extconf.rb
|
178
|
+
- lib/vendor/json_pure/ext/json/ext/parser/parser.c
|
179
|
+
- lib/vendor/json_pure/bin/prettify_json.rb
|
180
|
+
- lib/vendor/json_pure/bin/edit_json.rb
|
181
|
+
- lib/vendor/json_pure/CHANGES
|
182
|
+
- lib/vendor/json_pure/README
|
183
|
+
- lib/vendor/json_pure/install.rb
|
184
|
+
- lib/vendor/json_pure/GPL
|
185
|
+
- lib/vendor/json_pure/COPYING
|
198
186
|
- lib/vendor/json_pure/tools/server.rb
|
199
|
-
- lib/vendor/json_pure/
|
200
|
-
- lib/vendor/
|
201
|
-
- lib/vendor/
|
202
|
-
- lib/vendor/
|
187
|
+
- lib/vendor/json_pure/tools/fuzz.rb
|
188
|
+
- lib/vendor/escape/lib/escape.rb
|
189
|
+
- lib/vendor/escape/Readme
|
190
|
+
- lib/vendor/escape/doc_include/template/qualitysmith.rb
|
203
191
|
- lib/vendor/thor/CHANGELOG.rdoc
|
204
|
-
- lib/vendor/thor/lib/thor
|
192
|
+
- lib/vendor/thor/lib/thor.rb
|
193
|
+
- lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb
|
194
|
+
- lib/vendor/thor/lib/thor/core_ext/file_binary_read.rb
|
195
|
+
- lib/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
|
196
|
+
- lib/vendor/thor/lib/thor/group.rb
|
197
|
+
- lib/vendor/thor/lib/thor/util.rb
|
205
198
|
- lib/vendor/thor/lib/thor/actions/directory.rb
|
206
|
-
- lib/vendor/thor/lib/thor/actions/empty_directory.rb
|
207
199
|
- lib/vendor/thor/lib/thor/actions/file_manipulation.rb
|
208
200
|
- lib/vendor/thor/lib/thor/actions/inject_into_file.rb
|
201
|
+
- lib/vendor/thor/lib/thor/actions/create_file.rb
|
202
|
+
- lib/vendor/thor/lib/thor/actions/empty_directory.rb
|
203
|
+
- lib/vendor/thor/lib/thor/error.rb
|
209
204
|
- lib/vendor/thor/lib/thor/actions.rb
|
205
|
+
- lib/vendor/thor/lib/thor/rake_compat.rb
|
206
|
+
- lib/vendor/thor/lib/thor/shell/basic.rb
|
207
|
+
- lib/vendor/thor/lib/thor/shell/color.rb
|
208
|
+
- lib/vendor/thor/lib/thor/parser.rb
|
210
209
|
- lib/vendor/thor/lib/thor/base.rb
|
211
|
-
- lib/vendor/thor/lib/thor/core_ext/file_binary_read.rb
|
212
|
-
- lib/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
|
213
|
-
- lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb
|
214
|
-
- lib/vendor/thor/lib/thor/error.rb
|
215
|
-
- lib/vendor/thor/lib/thor/group.rb
|
216
210
|
- lib/vendor/thor/lib/thor/invocation.rb
|
217
|
-
- lib/vendor/thor/lib/thor/
|
218
|
-
- lib/vendor/thor/lib/thor/
|
211
|
+
- lib/vendor/thor/lib/thor/version.rb
|
212
|
+
- lib/vendor/thor/lib/thor/shell.rb
|
219
213
|
- lib/vendor/thor/lib/thor/parser/option.rb
|
214
|
+
- lib/vendor/thor/lib/thor/parser/arguments.rb
|
215
|
+
- lib/vendor/thor/lib/thor/parser/argument.rb
|
220
216
|
- lib/vendor/thor/lib/thor/parser/options.rb
|
221
|
-
- lib/vendor/thor/lib/thor/parser.rb
|
222
|
-
- lib/vendor/thor/lib/thor/rake_compat.rb
|
223
217
|
- lib/vendor/thor/lib/thor/runner.rb
|
224
|
-
- lib/vendor/thor/lib/thor/shell/basic.rb
|
225
|
-
- lib/vendor/thor/lib/thor/shell/color.rb
|
226
|
-
- lib/vendor/thor/lib/thor/shell.rb
|
227
218
|
- lib/vendor/thor/lib/thor/task.rb
|
228
|
-
- lib/vendor/thor/lib/thor/util.rb
|
229
|
-
- lib/vendor/thor/lib/thor/version.rb
|
230
|
-
- lib/vendor/thor/lib/thor.rb
|
231
|
-
- lib/vendor/thor/LICENSE
|
232
|
-
- lib/vendor/thor/README.rdoc
|
233
219
|
- lib/vendor/thor/thor.gemspec
|
234
220
|
- lib/vendor/thor/Thorfile
|
221
|
+
- lib/vendor/thor/README.rdoc
|
222
|
+
- lib/vendor/thor/LICENSE
|
223
|
+
- lib/vendor/thor/bin/rake2thor
|
224
|
+
- lib/vendor/thor/bin/thor
|
225
|
+
- lib/engineyard-serverside/server.rb
|
226
|
+
- lib/engineyard-serverside/cli.rb
|
227
|
+
- lib/engineyard-serverside/logged_output.rb
|
228
|
+
- lib/engineyard-serverside/strategies/git.rb
|
229
|
+
- lib/engineyard-serverside/bundle_installer.rb
|
230
|
+
- lib/engineyard-serverside/deploy.rb
|
231
|
+
- lib/engineyard-serverside/configuration.rb
|
232
|
+
- lib/engineyard-serverside/version.rb
|
233
|
+
- lib/engineyard-serverside/deploy_hook.rb
|
234
|
+
- lib/engineyard-serverside/lockfile_parser.rb
|
235
|
+
- lib/engineyard-serverside/default_maintenance_page.html
|
236
|
+
- lib/engineyard-serverside/task.rb
|
235
237
|
- LICENSE
|
236
|
-
- spec/
|
238
|
+
- spec/support/lockfiles/1.0.0.rc.1-with-bundler
|
239
|
+
- spec/support/lockfiles/1.0-no-bundler
|
240
|
+
- spec/support/lockfiles/0.9-no-bundler
|
241
|
+
- spec/support/lockfiles/not-a-lockfile
|
242
|
+
- spec/support/lockfiles/0.9-with-bundler
|
237
243
|
- spec/deploy_hook_spec.rb
|
238
|
-
- spec/fixtures/gitrepo/foo
|
239
|
-
- spec/fixtures/gitrepo.tar.gz
|
240
|
-
- spec/fixtures/invalid_hook.rb
|
241
|
-
- spec/fixtures/valid_hook.rb
|
242
244
|
- spec/git_strategy_spec.rb
|
243
245
|
- spec/lockfile_parser_spec.rb
|
244
246
|
- spec/real_deploy_spec.rb
|
247
|
+
- spec/spec_helper.rb
|
248
|
+
- spec/custom_deploy_spec.rb
|
249
|
+
- spec/fixtures/invalid_hook.rb
|
250
|
+
- spec/fixtures/gitrepo.tar.gz
|
251
|
+
- spec/fixtures/valid_hook.rb
|
252
|
+
- spec/fixtures/gitrepo/foo
|
245
253
|
- spec/restart_spec.rb
|
246
254
|
- spec/server_spec.rb
|
247
|
-
- spec/spec_helper.rb
|
248
|
-
- spec/support/lockfiles/0.9-no-bundler
|
249
|
-
- spec/support/lockfiles/0.9-with-bundler
|
250
|
-
- spec/support/lockfiles/1.0-no-bundler
|
251
|
-
- spec/support/lockfiles/1.0.0.rc.1-with-bundler
|
252
|
-
- spec/support/lockfiles/not-a-lockfile
|
253
255
|
has_rdoc: true
|
254
256
|
homepage: http://github.com/engineyard/engineyard-serverside
|
255
257
|
licenses: []
|
@@ -271,12 +273,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
271
273
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
274
|
none: false
|
273
275
|
requirements:
|
274
|
-
- - "
|
276
|
+
- - ">"
|
275
277
|
- !ruby/object:Gem::Version
|
276
|
-
hash:
|
278
|
+
hash: 25
|
277
279
|
segments:
|
278
|
-
-
|
279
|
-
|
280
|
+
- 1
|
281
|
+
- 3
|
282
|
+
- 1
|
283
|
+
version: 1.3.1
|
280
284
|
requirements: []
|
281
285
|
|
282
286
|
rubyforge_project:
|
@@ -285,20 +289,20 @@ signing_key:
|
|
285
289
|
specification_version: 3
|
286
290
|
summary: A gem that deploys ruby applications on EY Cloud instances
|
287
291
|
test_files:
|
288
|
-
- spec/
|
292
|
+
- spec/support/lockfiles/1.0.0.rc.1-with-bundler
|
293
|
+
- spec/support/lockfiles/1.0-no-bundler
|
294
|
+
- spec/support/lockfiles/0.9-no-bundler
|
295
|
+
- spec/support/lockfiles/not-a-lockfile
|
296
|
+
- spec/support/lockfiles/0.9-with-bundler
|
289
297
|
- spec/deploy_hook_spec.rb
|
290
|
-
- spec/fixtures/gitrepo/foo
|
291
|
-
- spec/fixtures/gitrepo.tar.gz
|
292
|
-
- spec/fixtures/invalid_hook.rb
|
293
|
-
- spec/fixtures/valid_hook.rb
|
294
298
|
- spec/git_strategy_spec.rb
|
295
299
|
- spec/lockfile_parser_spec.rb
|
296
300
|
- spec/real_deploy_spec.rb
|
301
|
+
- spec/spec_helper.rb
|
302
|
+
- spec/custom_deploy_spec.rb
|
303
|
+
- spec/fixtures/invalid_hook.rb
|
304
|
+
- spec/fixtures/gitrepo.tar.gz
|
305
|
+
- spec/fixtures/valid_hook.rb
|
306
|
+
- spec/fixtures/gitrepo/foo
|
297
307
|
- spec/restart_spec.rb
|
298
308
|
- spec/server_spec.rb
|
299
|
-
- spec/spec_helper.rb
|
300
|
-
- spec/support/lockfiles/0.9-no-bundler
|
301
|
-
- spec/support/lockfiles/0.9-with-bundler
|
302
|
-
- spec/support/lockfiles/1.0-no-bundler
|
303
|
-
- spec/support/lockfiles/1.0.0.rc.1-with-bundler
|
304
|
-
- spec/support/lockfiles/not-a-lockfile
|