easy-deployment 0.2.1 → 0.2.2
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.
- data/ChangeLog +11 -0
- data/README.md +5 -0
- data/easy-deployment.gemspec +5 -6
- data/lib/easy-deployment/version.rb +1 -1
- data/lib/easy/deployment/apache.rb +3 -3
- metadata +7 -12
data/ChangeLog
ADDED
data/README.md
CHANGED
data/easy-deployment.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
require File.expand_path('../lib/easy-deployment/version', __FILE__)
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
|
-
gem.authors
|
|
6
|
-
gem.email
|
|
7
|
-
gem.description
|
|
8
|
-
gem.summary = %q{Gem for encapsulating
|
|
9
|
-
gem.homepage
|
|
5
|
+
gem.authors = ["Jeremy Olliver", "Nigel Ramsay", "Shevaun Coker", "Cameron Fowler"]
|
|
6
|
+
gem.email = ["jeremy.olliver@abletech.co.nz", "nigel.ramsay@abletech.co.nz", "shevaun.coker@abletech.co.nz", "cameron.fowler@abletech.co.nz"]
|
|
7
|
+
gem.description = %q{Easy deployment: includes a generator, and capistrano configuration}
|
|
8
|
+
gem.summary = %q{Gem for encapsulating Abletech's deployment practices}
|
|
9
|
+
gem.homepage = "https://github.com/AbleTech/easy-deployment"
|
|
10
10
|
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
@@ -15,7 +15,6 @@ Gem::Specification.new do |gem|
|
|
|
15
15
|
gem.require_paths = ["lib"]
|
|
16
16
|
gem.version = Easy::Deployment::VERSION
|
|
17
17
|
|
|
18
|
-
|
|
19
18
|
gem.add_runtime_dependency 'rails', '>= 3.0.0'
|
|
20
19
|
gem.add_runtime_dependency 'capistrano'
|
|
21
20
|
gem.add_runtime_dependency 'capistrano-ext'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Define some defaults for
|
|
2
|
-
# To load this
|
|
1
|
+
# Define some defaults for Capistrano deploys.
|
|
2
|
+
# To load this Capistrano configuration, require 'easy/deployment/apache' from deploy.rb
|
|
3
3
|
|
|
4
4
|
Capistrano::Configuration.instance(:must_exist).load do
|
|
5
5
|
namespace :apache do
|
|
@@ -9,7 +9,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
9
9
|
run "ln -fs /etc/apache2/sites-available/#{application} /etc/apache2/sites-enabled/#{application}"
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
[:stop, :start, :restart, :graceful].each do |action|
|
|
12
|
+
[:stop, :start, :restart, :graceful, :configtest].each do |action|
|
|
13
13
|
desc (action == :graceful ? "Restart Apache gracefully" : "#{action.to_s.capitalize} Apache")
|
|
14
14
|
task action, :roles => :web do
|
|
15
15
|
run "sudo apache2ctl #{action.to_s}"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy-deployment
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2012-08-
|
|
15
|
+
date: 2012-08-27 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: rails
|
|
@@ -112,16 +112,17 @@ dependencies:
|
|
|
112
112
|
version: '2.0'
|
|
113
113
|
description: ! 'Easy deployment: includes a generator, and capistrano configuration'
|
|
114
114
|
email:
|
|
115
|
-
- jeremy.olliver@
|
|
115
|
+
- jeremy.olliver@abletech.co.nz
|
|
116
116
|
- nigel.ramsay@abletech.co.nz
|
|
117
117
|
- shevaun.coker@abletech.co.nz
|
|
118
|
-
-
|
|
118
|
+
- cameron.fowler@abletech.co.nz
|
|
119
119
|
executables: []
|
|
120
120
|
extensions: []
|
|
121
121
|
extra_rdoc_files: []
|
|
122
122
|
files:
|
|
123
123
|
- .gitignore
|
|
124
124
|
- .rspec
|
|
125
|
+
- ChangeLog
|
|
125
126
|
- Gemfile
|
|
126
127
|
- LICENSE
|
|
127
128
|
- README.md
|
|
@@ -145,7 +146,7 @@ files:
|
|
|
145
146
|
- lib/easy/generators/templates/stage/apache/%application_name%.tt
|
|
146
147
|
- spec/easy_deployment_spec.rb
|
|
147
148
|
- spec/spec_helper.rb
|
|
148
|
-
homepage:
|
|
149
|
+
homepage: https://github.com/AbleTech/easy-deployment
|
|
149
150
|
licenses: []
|
|
150
151
|
post_install_message:
|
|
151
152
|
rdoc_options: []
|
|
@@ -157,24 +158,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
157
158
|
- - ! '>='
|
|
158
159
|
- !ruby/object:Gem::Version
|
|
159
160
|
version: '0'
|
|
160
|
-
segments:
|
|
161
|
-
- 0
|
|
162
|
-
hash: 2263299273763323003
|
|
163
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
162
|
none: false
|
|
165
163
|
requirements:
|
|
166
164
|
- - ! '>='
|
|
167
165
|
- !ruby/object:Gem::Version
|
|
168
166
|
version: '0'
|
|
169
|
-
segments:
|
|
170
|
-
- 0
|
|
171
|
-
hash: 2263299273763323003
|
|
172
167
|
requirements: []
|
|
173
168
|
rubyforge_project:
|
|
174
169
|
rubygems_version: 1.8.24
|
|
175
170
|
signing_key:
|
|
176
171
|
specification_version: 3
|
|
177
|
-
summary: Gem for encapsulating
|
|
172
|
+
summary: Gem for encapsulating Abletech's deployment practices
|
|
178
173
|
test_files:
|
|
179
174
|
- spec/easy_deployment_spec.rb
|
|
180
175
|
- spec/spec_helper.rb
|