promotion 2.1.2 → 2.1.3

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: 9bf88f13fcc095c22030382a2bb8b6fa4a37cf26
4
- data.tar.gz: fa852e050da47ad6a84d20d435ecdfa594482661
3
+ metadata.gz: 210915ed8f82ce5efadbd0a96b231b1f9d155d71
4
+ data.tar.gz: 51b5f1dff4abf10530a8fa80ba551ee11ba219b6
5
5
  SHA512:
6
- metadata.gz: 39c06a147b7079befebe4ad92aaa8b45d5bda4734f4d05222b3f851e63584cd0530cd420750d5258e7f3d2b96a9310491dd12fe3b1f13b506ede0705ae5de034
7
- data.tar.gz: 44d6a8d872c89fa163d6757d2727956d28278e94643cb4f8494bc62b4d31a07ba80f170062b325010e4b6aabc430835a712968b15fb108d76061dddb2554f87f
6
+ metadata.gz: ad90e5093899e7452bca92aeb4215356ff878ddc1af8b3f6b754b42452c7be3ca74a12aa15cabd10823f8187f18a89624f4ff7a0188c093093af2844839c1102
7
+ data.tar.gz: 7addcddbbd3e7d9e09c9b2d42cfb0b9f3044c21167e99f1878d662dff9a531ba19648831145ff5578c41597c6721881d15d8a1783915bd979ac4a062644ed9ba
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == Version 2.1.3
2
+ - Improving reporting on /etc/rc.conf.local
3
+
1
4
  == Version 2.1.2
2
5
  - Made more resilient against missing files
3
6
 
@@ -24,14 +24,12 @@ module Rcconf
24
24
  pkgScripts << name
25
25
  }
26
26
  }
27
- if proposals.size > 0
27
+ if proposals.size > 0 or contents.join("\n") !~ /pkg_scripts.*#{pkgScripts.join(" ")}/
28
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
29
+ puts("\npkg_scripts=\"#{pkgScripts.join(" ")}\" ")
33
30
  puts("")
34
31
  end
32
+
35
33
  end
36
34
 
37
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Kernahan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-14 00:00:00.000000000 Z
11
+ date: 2013-11-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "\t\tThe Promotion tool is designed to make it easy and quick to deploy
14
14
  an application\n\t\tinto production. Originally built for use with OpenBSD, it can