promotion 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG +3 -0
  2. data/bin/devolve +4 -3
  3. data/bin/evolve +3 -3
  4. data/bin/promote +0 -1
  5. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == Version 1.4.2
2
+ - Fixed d/evolve scripts to use configured Staging folder
3
+
1
4
  == Version 1.4.1
2
5
  - Change the default behavior of Newsyslog to not zip and not add rotation messages
3
6
 
data/bin/devolve CHANGED
@@ -1,7 +1,5 @@
1
- #!/usr/local/bin/ruby -I/usr/local/
1
+ #!/usr/local/bin/ruby
2
2
  # This script devolves the database
3
- require 'rubygems'
4
- require 'promotion'
5
3
  require 'getoptlong'
6
4
  #______________________
7
5
  # Set usage
@@ -41,6 +39,9 @@ unless targetVersion >= 1000
41
39
  puts(usage)
42
40
  exit 1
43
41
  end
42
+
43
+ require 'rubygems'
44
+ require 'promotion'
44
45
  unless File.directory?(File.expand_path(appname, Folders::Staging))
45
46
  puts("The application #{appname} was not found in the staging area #{Folders::Staging}")
46
47
  puts("Aborting")
data/bin/evolve CHANGED
@@ -1,7 +1,5 @@
1
- #!/usr/local/bin/ruby -I/usr/local/
1
+ #!/usr/local/bin/ruby
2
2
  # This script evolves the database
3
- require 'rubygems'
4
- require 'promotion'
5
3
  require 'getoptlong'
6
4
  #______________________
7
5
  # Set usage
@@ -43,6 +41,8 @@ if ARGV.length > 1
43
41
  end
44
42
  end
45
43
 
44
+ require 'rubygems'
45
+ require 'promotion'
46
46
  unless File.directory?(File.expand_path(appname, Folders::Staging))
47
47
  puts("The application #{appname} was not found in the staging area #{Folders::Staging}")
48
48
  puts("Aborting")
data/bin/promote CHANGED
@@ -23,7 +23,6 @@ opts = GetoptLong.new(
23
23
  [ "--help", "-h", GetoptLong::NO_ARGUMENT ]
24
24
  )
25
25
  config = nil
26
- configFilename = nil
27
26
  opts.each do |opt, arg|
28
27
  case opt
29
28
  when "--help"
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: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 1
10
- version: 1.4.1
9
+ - 2
10
+ version: 1.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Kernahan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-10-03 00:00:00 Z
18
+ date: 2012-11-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: log4r