ps-voodoo 0.0.5 → 0.0.6

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/Gemfile.lock CHANGED
@@ -1,13 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ps-voodoo (0.0.1)
4
+ ps-voodoo (0.0.6)
5
+ commander (>= 4.0.4)
6
+ terminal-table (>= 1.4.2)
5
7
 
6
8
  GEM
7
9
  remote: http://rubygems.org/
8
10
  specs:
11
+ commander (4.0.5)
12
+ highline (>= 1.5.0)
13
+ highline (1.6.2)
14
+ terminal-table (1.4.2)
9
15
 
10
16
  PLATFORMS
17
+ ruby
11
18
  x86-mingw32
12
19
 
13
20
  DEPENDENCIES
data/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog #
2
2
 
3
+ ## Version 0.0.6 ##
4
+
5
+ * removed archive prompting for environments without one specified in the configuration
6
+ * removed mail notification verbage from configuration setup
7
+ * added message that an appengine has started running
8
+
9
+
3
10
  ## Version 0.0.5 ##
4
11
 
5
12
  * removed requirement to add .sqr extension when running SQR through VooDoo
@@ -113,7 +113,7 @@ module Voodoo
113
113
  end
114
114
 
115
115
  def get_db_password(name)
116
- username = ENVIRONMENTS[name]['app_username']
116
+ username = ENVIRONMENTS[name]['db_username']
117
117
  ask("Database password for #{username + '@' + name}: ") { |q| q.echo = "*" }
118
118
  end
119
119
 
@@ -9,11 +9,11 @@ module Voodoo
9
9
  settings[:ps_home] = get_path("Local tools directory")
10
10
  settings[:migration_output_dir] = get_path("Default output directory for migration data")
11
11
 
12
- if agree("\nWould you like to define email notification settings? (y/n) ") == true
13
- settings[:mail_server] = ask("SMTP server: ")
14
- settings[:smtp_port] = ask("SMTP port: ") { |q| q.default = "587" }
15
- settings[:email_from] = ask("Email from address: ")
16
- end
12
+ # if agree("\nWould you like to define email notification settings? (y/n) ") == true
13
+ # settings[:mail_server] = ask("SMTP server: ")
14
+ # settings[:smtp_port] = ask("SMTP port: ") { |q| q.default = "587" }
15
+ # settings[:email_from] = ask("Email from address: ")
16
+ # end
17
17
  Voodoo.write_config_file(settings)
18
18
  end
19
19
 
@@ -61,7 +61,7 @@ module Voodoo
61
61
  end
62
62
 
63
63
  # Move output files to archive folder for the target
64
- if agree("Copy output files to archive folder for #{target.name}? ") == true
64
+ if target.migration_archive && agree("Copy output files to archive folder for #{target.name}? ") == true
65
65
  migration.copy_to_archive(target.migration_archive)
66
66
  end
67
67
 
@@ -19,7 +19,6 @@ module Voodoo
19
19
  end
20
20
 
21
21
  migration = get_migration
22
- puts migration.log_folder
23
22
 
24
23
  instance = Voodoo::Sqr.new
25
24
  instance.run(migration, target, sqr_name)
@@ -15,6 +15,7 @@ module Voodoo
15
15
  append(:env_password => target.app_password)
16
16
  append(:r => '1')
17
17
  append(:ae_name => ae_name)
18
+ puts "Running #{ae_name}..."
18
19
  call_executable
19
20
  end
20
21
 
@@ -23,6 +23,7 @@ module Voodoo
23
23
  append(:xmb=> true)
24
24
  append(:xcb=> true)
25
25
  append(:debug=> true)
26
+ puts "Running #{@sqr_name}..."
26
27
  call_executable
27
28
  end
28
29
 
@@ -57,7 +58,6 @@ module Voodoo
57
58
  LOG.debug("Executable is set to #{@executable}")
58
59
  LOG.debug("Command line options are set to #{@command_line_options.join(" ")}")
59
60
 
60
- puts "Running #{@sqr_name}..."
61
61
  f = IO.popen(@executable + " " + @command_line_options.join(" "))
62
62
  f.readlines.each { |line| puts ("#{line.chomp}")}
63
63
  f.close
@@ -1,3 +1,3 @@
1
1
  module Voodoo
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ps-voodoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-22 00:00:00.000000000Z
12
+ date: 2011-09-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: commander
16
- requirement: &18608556 !ruby/object:Gem::Requirement
16
+ requirement: &9782244 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 4.0.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *18608556
24
+ version_requirements: *9782244
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: terminal-table
27
- requirement: &18608244 !ruby/object:Gem::Requirement
27
+ requirement: &9781932 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.4.2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *18608244
35
+ version_requirements: *9781932
36
36
  description: A small command line utility for helping with PeopleSoft administration
37
37
  email:
38
38
  - jrbing@gmail.com
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project: ps-voodoo
96
- rubygems_version: 1.8.7
96
+ rubygems_version: 1.8.8
97
97
  signing_key:
98
98
  specification_version: 3
99
99
  summary: Black magic utility for PeopleSoft administration