deployml 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/ChangeLog.md +7 -0
- data/LICENSE.txt +1 -3
- data/README.md +3 -4
- data/Rakefile +3 -2
- data/deployml.gemspec +7 -2
- data/gemspec.yml +4 -4
- data/lib/deployml/project.rb +4 -4
- data/lib/deployml/servers/apache.rb +1 -1
- data/lib/deployml/servers/mongrel.rb +1 -1
- data/lib/deployml/servers/thin.rb +1 -1
- data/lib/deployml/version.rb +1 -1
- data/spec/spec_helper.rb +1 -2
- metadata +10 -44
data/.gemtest
ADDED
File without changes
|
data/ChangeLog.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
### 0.4.2 / 2011-04-11
|
2
|
+
|
3
|
+
* Require rprogram ~> 0.2.
|
4
|
+
* Fixed a typo in `gemspec.yml` which crashed the Psych YAML parser.
|
5
|
+
* Fixed typos in documentation.
|
6
|
+
* Opt into [test.rubygems.org](http://test.rubygems.org/)
|
7
|
+
|
1
8
|
### 0.4.1 / 2010-12-08
|
2
9
|
|
3
10
|
* Added support for Ruby 1.8.6.
|
data/LICENSE.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
Copyright (c) 2010 Hal Brodigan
|
1
|
+
Copyright (c) 2010-2011 Hal Brodigan
|
3
2
|
|
4
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
5
4
|
a copy of this software and associated documentation files (the
|
@@ -19,4 +18,3 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
19
18
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
20
19
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
21
20
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
-
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
* [Source](http://github.com/postmodern/deployml)
|
4
4
|
* [Issues](http://github.com/postmodern/deployml/issues)
|
5
5
|
* [Documentation](http://rubydoc.info/gems/deployml/frames)
|
6
|
-
*
|
6
|
+
* [Email](mailto:postmodern.mod3 at gmail.com)
|
7
7
|
|
8
8
|
## Description
|
9
9
|
|
@@ -117,7 +117,7 @@ List available tasks:
|
|
117
117
|
|
118
118
|
* [ruby](http://www.ruby-lang.org/) >= 1.8.6
|
119
119
|
* [addressable](http://addressable.rubyforge.org/) ~> 2.2.0
|
120
|
-
* [rprogram](http://github.com/postmodern/rprogram) ~> 0.2
|
120
|
+
* [rprogram](http://github.com/postmodern/rprogram) ~> 0.2
|
121
121
|
* [thor](http://github.com/wycats/thor) ~> 0.14.3
|
122
122
|
|
123
123
|
## Install
|
@@ -126,7 +126,6 @@ List available tasks:
|
|
126
126
|
|
127
127
|
## Copyright
|
128
128
|
|
129
|
-
Copyright (c) 2010 Hal Brodigan
|
129
|
+
Copyright (c) 2010-2011 Hal Brodigan
|
130
130
|
|
131
131
|
See {file:LICENSE.txt} for license information.
|
132
|
-
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
|
4
4
|
begin
|
5
|
-
gem 'ore-tasks', '~> 0.
|
5
|
+
gem 'ore-tasks', '~> 0.4'
|
6
6
|
require 'ore/tasks'
|
7
7
|
|
8
8
|
Ore::Tasks.new
|
@@ -12,7 +12,7 @@ rescue LoadError => e
|
|
12
12
|
end
|
13
13
|
|
14
14
|
begin
|
15
|
-
gem 'rspec', '~> 2.
|
15
|
+
gem 'rspec', '~> 2.4'
|
16
16
|
require 'rspec/core/rake_task'
|
17
17
|
|
18
18
|
RSpec::Core::RakeTask.new
|
@@ -21,6 +21,7 @@ rescue LoadError => e
|
|
21
21
|
abort "Please run `gem install rspec` to install RSpec."
|
22
22
|
end
|
23
23
|
end
|
24
|
+
task :test => :spec
|
24
25
|
task :default => :spec
|
25
26
|
|
26
27
|
begin
|
data/deployml.gemspec
CHANGED
@@ -5,6 +5,11 @@ begin
|
|
5
5
|
# custom logic here
|
6
6
|
end
|
7
7
|
rescue NameError
|
8
|
-
|
9
|
-
|
8
|
+
begin
|
9
|
+
require 'ore/specification'
|
10
|
+
retry
|
11
|
+
rescue LoadError
|
12
|
+
STDERR.puts "The 'deployml.gemspec' file requires Ore."
|
13
|
+
STDERR.puts "Run `gem install ore-core` to install Ore."
|
14
|
+
end
|
10
15
|
end
|
data/gemspec.yml
CHANGED
@@ -10,14 +10,14 @@ email: postmodern.mod3@gmail.com
|
|
10
10
|
homepage: http://github.com/postmodern/deployml
|
11
11
|
has_yard: true
|
12
12
|
|
13
|
-
required_ruby_version: >= 1.8.6
|
13
|
+
required_ruby_version: ">= 1.8.6"
|
14
14
|
|
15
15
|
dependencies:
|
16
16
|
addressable: ~> 2.2.0
|
17
|
-
rprogram: ~> 0.2
|
17
|
+
rprogram: ~> 0.2
|
18
18
|
thor: ~> 0.14.3
|
19
19
|
|
20
20
|
development_dependencies:
|
21
|
-
ore-tasks: ~> 0.
|
22
|
-
rspec: ~> 2.
|
21
|
+
ore-tasks: ~> 0.4
|
22
|
+
rspec: ~> 2.4
|
23
23
|
yard: ~> 0.6.0
|
data/lib/deployml/project.rb
CHANGED
@@ -72,7 +72,7 @@ module DeploYML
|
|
72
72
|
end
|
73
73
|
|
74
74
|
#
|
75
|
-
#
|
75
|
+
# Convenience method for accessing the development environment.
|
76
76
|
#
|
77
77
|
# @return [Environment]
|
78
78
|
# The development environment.
|
@@ -84,7 +84,7 @@ module DeploYML
|
|
84
84
|
end
|
85
85
|
|
86
86
|
#
|
87
|
-
#
|
87
|
+
# Convenience method for accessing the staging environment.
|
88
88
|
#
|
89
89
|
# @return [Environment]
|
90
90
|
# The staging environment.
|
@@ -96,7 +96,7 @@ module DeploYML
|
|
96
96
|
end
|
97
97
|
|
98
98
|
#
|
99
|
-
#
|
99
|
+
# Convenience method for accessing the production environment.
|
100
100
|
#
|
101
101
|
# @return [Environment]
|
102
102
|
# The production environment.
|
@@ -265,7 +265,7 @@ module DeploYML
|
|
265
265
|
# Infers the configuration from the project root directory.
|
266
266
|
#
|
267
267
|
# @return [Hash{Symbol => Object}]
|
268
|
-
# The
|
268
|
+
# The inferred configuration.
|
269
269
|
#
|
270
270
|
# @since 0.4.1
|
271
271
|
#
|
@@ -3,7 +3,7 @@ require 'deployml/exceptions/invalid_config'
|
|
3
3
|
module DeploYML
|
4
4
|
module Servers
|
5
5
|
#
|
6
|
-
# Provides methods for starting,
|
6
|
+
# Provides methods for starting, stopping and restarting the
|
7
7
|
# [Apache](http://httpd.apache.org/) web server.
|
8
8
|
#
|
9
9
|
module Apache
|
@@ -4,7 +4,7 @@ require 'deployml/options/mongrel'
|
|
4
4
|
module DeploYML
|
5
5
|
module Servers
|
6
6
|
#
|
7
|
-
# Provides methods for configuring, starting,
|
7
|
+
# Provides methods for configuring, starting, stopping and restarting
|
8
8
|
# the [Mongrel](https://github.com/fauna/mongrel) web server.
|
9
9
|
#
|
10
10
|
module Mongrel
|
@@ -4,7 +4,7 @@ require 'deployml/options/thin'
|
|
4
4
|
module DeploYML
|
5
5
|
module Servers
|
6
6
|
#
|
7
|
-
# Provides methods for configuring, starting,
|
7
|
+
# Provides methods for configuring, starting, stopping and restarting
|
8
8
|
# the [Thin](http://code.macournoyer.com/thin/) web server.
|
9
9
|
#
|
10
10
|
module Thin
|
data/lib/deployml/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deployml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 1
|
9
|
-
version: 0.4.1
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.2
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Postmodern
|
@@ -14,8 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
18
|
-
default_executable: deployml
|
13
|
+
date: 2011-04-11 00:00:00 Z
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: addressable
|
@@ -25,10 +20,6 @@ dependencies:
|
|
25
20
|
requirements:
|
26
21
|
- - ~>
|
27
22
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 2
|
30
|
-
- 2
|
31
|
-
- 0
|
32
23
|
version: 2.2.0
|
33
24
|
type: :runtime
|
34
25
|
version_requirements: *id001
|
@@ -40,11 +31,7 @@ dependencies:
|
|
40
31
|
requirements:
|
41
32
|
- - ~>
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
- 0
|
45
|
-
- 2
|
46
|
-
- 0
|
47
|
-
version: 0.2.0
|
34
|
+
version: "0.2"
|
48
35
|
type: :runtime
|
49
36
|
version_requirements: *id002
|
50
37
|
- !ruby/object:Gem::Dependency
|
@@ -55,10 +42,6 @@ dependencies:
|
|
55
42
|
requirements:
|
56
43
|
- - ~>
|
57
44
|
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
- 14
|
61
|
-
- 3
|
62
45
|
version: 0.14.3
|
63
46
|
type: :runtime
|
64
47
|
version_requirements: *id003
|
@@ -70,11 +53,7 @@ dependencies:
|
|
70
53
|
requirements:
|
71
54
|
- - ~>
|
72
55
|
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
- 0
|
75
|
-
- 3
|
76
|
-
- 0
|
77
|
-
version: 0.3.0
|
56
|
+
version: "0.4"
|
78
57
|
type: :development
|
79
58
|
version_requirements: *id004
|
80
59
|
- !ruby/object:Gem::Dependency
|
@@ -85,11 +64,7 @@ dependencies:
|
|
85
64
|
requirements:
|
86
65
|
- - ~>
|
87
66
|
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
- 2
|
90
|
-
- 2
|
91
|
-
- 0
|
92
|
-
version: 2.2.0
|
67
|
+
version: "2.4"
|
93
68
|
type: :development
|
94
69
|
version_requirements: *id005
|
95
70
|
- !ruby/object:Gem::Dependency
|
@@ -100,15 +75,12 @@ dependencies:
|
|
100
75
|
requirements:
|
101
76
|
- - ~>
|
102
77
|
- !ruby/object:Gem::Version
|
103
|
-
segments:
|
104
|
-
- 0
|
105
|
-
- 6
|
106
|
-
- 0
|
107
78
|
version: 0.6.0
|
108
79
|
type: :development
|
109
80
|
version_requirements: *id006
|
110
81
|
description: DeploYML is a simple deployment solution that uses a single YAML file, Git and SSH.
|
111
|
-
email:
|
82
|
+
email:
|
83
|
+
- postmodern.mod3@gmail.com
|
112
84
|
executables:
|
113
85
|
- deployml
|
114
86
|
extensions: []
|
@@ -119,6 +91,7 @@ extra_rdoc_files:
|
|
119
91
|
- ChangeLog.md
|
120
92
|
files:
|
121
93
|
- .document
|
94
|
+
- .gemtest
|
122
95
|
- .rspec
|
123
96
|
- .yardopts
|
124
97
|
- ChangeLog.md
|
@@ -170,7 +143,6 @@ files:
|
|
170
143
|
- spec/project_spec.rb
|
171
144
|
- spec/remote_shell_spec.rb
|
172
145
|
- spec/spec_helper.rb
|
173
|
-
has_rdoc: yard
|
174
146
|
homepage: http://github.com/postmodern/deployml
|
175
147
|
licenses:
|
176
148
|
- MIT
|
@@ -184,23 +156,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
184
156
|
requirements:
|
185
157
|
- - ">="
|
186
158
|
- !ruby/object:Gem::Version
|
187
|
-
segments:
|
188
|
-
- 1
|
189
|
-
- 8
|
190
|
-
- 6
|
191
159
|
version: 1.8.6
|
192
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
161
|
none: false
|
194
162
|
requirements:
|
195
163
|
- - ">="
|
196
164
|
- !ruby/object:Gem::Version
|
197
|
-
segments:
|
198
|
-
- 0
|
199
165
|
version: "0"
|
200
166
|
requirements: []
|
201
167
|
|
202
168
|
rubyforge_project: deployml
|
203
|
-
rubygems_version: 1.
|
169
|
+
rubygems_version: 1.7.2
|
204
170
|
signing_key:
|
205
171
|
specification_version: 3
|
206
172
|
summary: A simple deployment solution that works.
|