promotion 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -1
- data/ext/promotion/extconf.rb +4 -0
- metadata +14 -11
data/CHANGELOG
CHANGED
data/ext/promotion/extconf.rb
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
# Working directory is the ext/promotion/ folder
|
3
3
|
|
4
4
|
# generate Makefile to install binaries
|
5
|
+
# Its a sysadmin tool after all, so we'll pretend not to see Eric Hodel
|
6
|
+
# frowning on the (ab)use of extconf.rb
|
5
7
|
source = "../../bin"
|
6
8
|
target = "/usr/local"
|
7
9
|
makeContents=<<-EOT
|
@@ -19,3 +21,5 @@ EOT
|
|
19
21
|
makefile = File.new("Makefile", "w")
|
20
22
|
makefile.puts(makeContents)
|
21
23
|
makefile.close()
|
24
|
+
# Note that there is no provision for uninstalling these binaries
|
25
|
+
# If the gem is uninstalled, the binaries need to be deleted manually
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 9
|
10
|
+
version: 1.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Kernahan
|
@@ -20,14 +20,14 @@ dependencies: []
|
|
20
20
|
|
21
21
|
description: "\t\tThe Promotion tool is designed to make it easy and quick to deploy an application\n\
|
22
22
|
\t\tinto production. Originally built for use with OpenBSD, it can be used on an *nix\n\
|
23
|
-
\t\tsystem by adjusting a few paths (in
|
23
|
+
\t\tsystem by adjusting a few paths (in config.rb).\n\n\
|
24
24
|
\t\tTo deploy or install an application you just need to copy a few files into place, right?\n\
|
25
25
|
\t\tWell, the folders need to be there first of course, oh and the permissions need to be set,\n\
|
26
26
|
\t\tand I guess we need the right users set up before file ownerships can be set correctly,\n\
|
27
27
|
\t\twhich means we need groups before that ... ok, so there is more to it than copying a few files.\n\n\
|
28
28
|
\t\tThere are also system-wide settings that may need to be modified to support an application,\n\
|
29
|
-
\t\tsuch as environment variables in
|
30
|
-
\t\tstartup scripts in
|
29
|
+
\t\tsuch as environment variables in /etc/profile, /etc/sudoers,\n\
|
30
|
+
\t\tstartup scripts in /etc/rc.conf.local, and /var/cron/tabs/* cron jobs.\n\n\
|
31
31
|
\t\tPromotion handles all of this based on an XML deployment descriptor for each application,\n\
|
32
32
|
\t\tallowing rapid, reliable redeployment with a single line command. It also manages database\n\
|
33
33
|
\t\tschema migration.\n"
|
@@ -36,8 +36,8 @@ executables: []
|
|
36
36
|
|
37
37
|
extensions:
|
38
38
|
- ext/promotion/extconf.rb
|
39
|
-
extra_rdoc_files:
|
40
|
-
|
39
|
+
extra_rdoc_files:
|
40
|
+
- README
|
41
41
|
files:
|
42
42
|
- bin/promote
|
43
43
|
- bin/evolve
|
@@ -62,9 +62,12 @@ files:
|
|
62
62
|
homepage: http://rubygems.org/gems/promotion
|
63
63
|
licenses: []
|
64
64
|
|
65
|
-
post_install_message: "\n Executables have been installed in /usr/local/sbin:\n promote\n evolve\n devolve\n mkdeploy\n "
|
66
|
-
rdoc_options:
|
67
|
-
|
65
|
+
post_install_message: "\n Executables have been installed in /usr/local/sbin:\n promote\n evolve\n devolve\n mkdeploy\n These are not automatically removed by uninstalling the gem.\n "
|
66
|
+
rdoc_options:
|
67
|
+
- --title
|
68
|
+
- Promotion
|
69
|
+
- --main
|
70
|
+
- README
|
68
71
|
require_paths:
|
69
72
|
- lib
|
70
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|