promotion 1.4.6 → 1.4.7
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 +5 -2
- data/lib/promotion/generator.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
== Version 1.4.7
|
|
2
|
+
- Preserve empty lines in config files
|
|
3
|
+
|
|
1
4
|
== Verison 1.4.6
|
|
2
|
-
- Made generator/rcconf respect previously-defined pkg_scripts
|
|
5
|
+
- Made generator/rcconf respect previously-defined pkg_scripts
|
|
3
6
|
|
|
4
7
|
== Version 1.4.5
|
|
5
|
-
- Fixed defect whereby a user with multiple groups would not be created
|
|
8
|
+
- Fixed defect whereby a user with multiple groups would not be created
|
|
6
9
|
|
|
7
10
|
== Version 1.4.4
|
|
8
11
|
- Allow for database asking for a password
|
data/lib/promotion/generator.rb
CHANGED
|
@@ -57,7 +57,7 @@ module Generator
|
|
|
57
57
|
# Returns a string of the new content for the file up to the +marker+
|
|
58
58
|
def self.original_contents_for(sym)
|
|
59
59
|
begin
|
|
60
|
-
originalContents = IO.readlines(Files.const_get(sym),
|
|
60
|
+
originalContents = IO.readlines(Files.const_get(sym), nil)[0].split(Marker)[0]
|
|
61
61
|
rescue
|
|
62
62
|
originalContents = ""
|
|
63
63
|
end
|
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: 9
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 1.4.
|
|
9
|
+
- 7
|
|
10
|
+
version: 1.4.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Richard Kernahan
|