promotion 1.4.6 → 1.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +5 -2
  2. data/lib/promotion/generator.rb +1 -1
  3. 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
@@ -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),"")[0].split(Marker)[0]
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 6
10
- version: 1.4.6
9
+ - 7
10
+ version: 1.4.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Kernahan