promotion 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 214a4b75734bc05687ab810ec7005c2f8368e790
4
- data.tar.gz: 490f90df28fd390b8bae5aed868016d104ff0f57
3
+ metadata.gz: 9bf88f13fcc095c22030382a2bb8b6fa4a37cf26
4
+ data.tar.gz: fa852e050da47ad6a84d20d435ecdfa594482661
5
5
  SHA512:
6
- metadata.gz: a922af264578c6450ce7ef75590bd4842798f1c5235e65a1e5868610d16d27fcdd4b10800937636e6548a365d5a70c4fbfcba4b1801a18a72d038c64a8168f39
7
- data.tar.gz: eea5f11d0eafd80bf4e65f77fd9692a2d8e5243f4728a03eef56c2e17af69a826e88000a066fd34a8c29eff7074c5f26f7310cfee905fbfd3ed3ba49762e8cfd
6
+ metadata.gz: 39c06a147b7079befebe4ad92aaa8b45d5bda4734f4d05222b3f851e63584cd0530cd420750d5258e7f3d2b96a9310491dd12fe3b1f13b506ede0705ae5de034
7
+ data.tar.gz: 44d6a8d872c89fa163d6757d2727956d28278e94643cb4f8494bc62b4d31a07ba80f170062b325010e4b6aabc430835a712968b15fb108d76061dddb2554f87f
data/CHANGELOG CHANGED
@@ -1,4 +1,4 @@
1
- == Version 2.1.1
1
+ == Version 2.1.2
2
2
  - Made more resilient against missing files
3
3
 
4
4
  == Version 2.1
@@ -24,12 +24,14 @@ module Rcconf
24
24
  pkgScripts << name
25
25
  }
26
26
  }
27
- puts("\nSuggested changes to /etc/rc.conf.local:", proposals.join("\n")) if proposals.size > 0
28
- pkgList = pkgScripts.join(" ")
29
- unless contents.join("\n") =~ /pkg_scripts.*#{pkgList}/
30
- puts("pkg_scripts=\"${pkg_scripts} #{pkgList}\" ")
27
+ if proposals.size > 0
28
+ puts("\nSuggested changes to /etc/rc.conf.local:", proposals.join("\n"))
29
+ pkgList = pkgScripts.join(" ")
30
+ unless pkgScripts.size > 0
31
+ puts("pkg_scripts=\"${pkg_scripts} #{pkgList}\" ")
32
+ end
33
+ puts("")
31
34
  end
32
- puts("") if proposals.size > 0
33
35
  end
34
36
 
35
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Kernahan
@@ -21,10 +21,10 @@ description: "\t\tThe Promotion tool is designed to make it easy and quick to de
21
21
  that may need to be modified to support an application,\n\t\tsuch as environment
22
22
  variables in /etc/profile, /etc/sudoers,\n\t\tstartup scripts in /etc/rc.conf.local,
23
23
  and /var/cron/tabs/* cron jobs.\n\t\tPromotion does not modify these sensitive files,
24
- but it does say what's missing or needs to be changed.\n\n\t\tPromotion handles
25
- all of this based on an XML deployment descriptor for each application,\n\t\tallowing
26
- rapid, reliable redeployment with a single line command. It also manages database\n\t\tschema
27
- migration.\n"
24
+ but it does say how to change them.\n\n\t\tPromotion handles all of this based on
25
+ an XML deployment descriptor for each application,\n\t\tallowing rapid, reliable
26
+ redeployment with a single line command (promote). It also manages database\n\t\tschema
27
+ migration with the evolve/devolve commands.\n"
28
28
  email: dev.promotion@finalstep.com.au
29
29
  executables: []
30
30
  extensions: []
@@ -56,7 +56,7 @@ licenses:
56
56
  - Apache-2.0
57
57
  metadata: {}
58
58
  post_install_message: "\n\n To install the executables (promote, evolve, devolve,
59
- mkdeploy)\n issue the following command:\n\t$ sudo ruby -rubygems -e \"require
59
+ mkdeploy)\n issue the following command:\n\n\t$ sudo ruby -rubygems -e \"require
60
60
  'promotion/install'\"\n\n "
61
61
  rdoc_options:
62
62
  - --title