deployto 0.9.0 → 0.9.1
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.
|
@@ -36,7 +36,23 @@ class DeployTool::Target::EfficientCloud
|
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
def upload
|
|
39
|
-
|
|
39
|
+
puts "-----> Packing code tarball..."
|
|
40
|
+
|
|
41
|
+
ignore_regex = [
|
|
42
|
+
/(^|\/).{1,2}$/,
|
|
43
|
+
/(^|\/).git\//,
|
|
44
|
+
/^.deployrc$/,
|
|
45
|
+
/^log\//,
|
|
46
|
+
/(^|\/).DS_Store$/,
|
|
47
|
+
/(^|\/)[^\/]+\.(bundle|o|so|rl|la|a)$/,
|
|
48
|
+
/^vendor\/gems\/[^\/]+\/ext\/lib\//
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
appfiles = Dir.glob('**/*', File::FNM_DOTMATCH)
|
|
52
|
+
appfiles.reject! {|f| File.directory?(f) }
|
|
53
|
+
appfiles.reject! {|f| ignore_regex.map {|r| !f[r] }.include?(false) }
|
|
54
|
+
|
|
55
|
+
# TODO: Shouldn't upload anything that's in gitignore
|
|
40
56
|
|
|
41
57
|
# Construct a temporary zipfile
|
|
42
58
|
tempfile = Tempfile.open("ecli-upload.zip")
|
|
@@ -104,7 +120,7 @@ class DeployTool::Target::EfficientCloud
|
|
|
104
120
|
when "build"
|
|
105
121
|
puts "\n-----> Building/updating virtual machine..."
|
|
106
122
|
when "deploy"
|
|
107
|
-
print "-----> Copying virtual machine to app hosts"
|
|
123
|
+
print "\n-----> Copying virtual machine to app hosts"
|
|
108
124
|
when "publishing"
|
|
109
125
|
print "\n-----> Updating HTTP gateways"
|
|
110
126
|
when "cleanup"
|
data/lib/deploytool/version.rb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module DeployTool
|
|
2
|
-
VERSION = "0.9.
|
|
3
|
-
end
|
|
2
|
+
VERSION = "0.9.1"
|
|
3
|
+
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: deployto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 57
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 9
|
|
9
|
-
-
|
|
10
|
-
version: 0.9.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.9.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Efficient Cloud Ltd
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-08-24 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: inifile
|
|
@@ -104,7 +104,7 @@ dependencies:
|
|
|
104
104
|
type: :runtime
|
|
105
105
|
version_requirements: *id006
|
|
106
106
|
- !ruby/object:Gem::Dependency
|
|
107
|
-
name:
|
|
107
|
+
name: json_pure
|
|
108
108
|
prerelease: false
|
|
109
109
|
requirement: &id007 !ruby/object:Gem::Requirement
|
|
110
110
|
none: false
|
|
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
169
169
|
requirements: []
|
|
170
170
|
|
|
171
171
|
rubyforge_project:
|
|
172
|
-
rubygems_version: 1.8.
|
|
172
|
+
rubygems_version: 1.8.8
|
|
173
173
|
signing_key:
|
|
174
174
|
specification_version: 3
|
|
175
175
|
summary: Multi-platform deployment tool.
|