engineyard-serverside 1.3.4.jruby.2 → 1.3.4

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.
@@ -1,3 +1,3 @@
1
1
  module EY
2
- VERSION = '1.3.4.jruby.2'
2
+ VERSION = '1.3.4'
3
3
  end
@@ -6,6 +6,8 @@ module EY::Strategies::IntegrationSpec
6
6
  def update_repository_cache
7
7
  cached_copy = File.join(c.shared_path, 'cached-copy')
8
8
 
9
+ FileUtils.mkdir_p(File.join(c.shared_path, 'config'))
10
+
9
11
  FileUtils.mkdir_p(cached_copy)
10
12
  Dir.chdir(cached_copy) do
11
13
  `echo "this is my file; there are many like it, but this one is mine" > file`
@@ -74,11 +76,15 @@ describe "deploying an application" do
74
76
  end
75
77
 
76
78
  def run(cmd)
77
- # $stderr.puts(cmd)
79
+ #$stderr.puts(cmd)
78
80
  @commands << cmd
79
81
  super
80
82
  end
81
83
 
84
+ def restart
85
+ FileUtils.touch("#{c.release_path}/restart")
86
+ end
87
+
82
88
  # we're probably running this spec under bundler, but a real
83
89
  # deploy does not
84
90
  def bundle
@@ -128,7 +134,7 @@ describe "deploying an application" do
128
134
  end
129
135
 
130
136
  it "restarts the app servers" do
131
- File.exist?(File.join(@deploy_dir, 'current', 'tmp', 'restart.txt')).should be_true
137
+ File.exist?(File.join(@deploy_dir, 'current', 'restart')).should be_true
132
138
  end
133
139
 
134
140
  it "runs 'bundle install' with --deployment" do
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
3
  version: !ruby/object:Gem::Version
4
- hash: 619539233
5
- prerelease: true
4
+ hash: 19
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
9
  - 4
10
- - jruby
11
- - 2
12
- version: 1.3.4.jruby.2
10
+ version: 1.3.4
13
11
  platform: ruby
14
12
  authors:
15
13
  - EY Cloud Team
@@ -17,7 +15,7 @@ autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2010-09-24 00:00:00 -07:00
18
+ date: 2010-09-28 00:00:00 -07:00
21
19
  default_executable: engineyard-serverside
22
20
  dependencies: []
23
21
 
@@ -273,14 +271,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
273
271
  required_rubygems_version: !ruby/object:Gem::Requirement
274
272
  none: false
275
273
  requirements:
276
- - - ">"
274
+ - - ">="
277
275
  - !ruby/object:Gem::Version
278
- hash: 25
276
+ hash: 3
279
277
  segments:
280
- - 1
281
- - 3
282
- - 1
283
- version: 1.3.1
278
+ - 0
279
+ version: "0"
284
280
  requirements: []
285
281
 
286
282
  rubyforge_project: