pkg-wizard 0.1.22 → 0.1.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -264,7 +264,7 @@ module PKGWizard
264
264
 
265
265
  def self.perform
266
266
  cli = BuildBot.new
267
- cli.banner = "\nUsage: rpmwiz build-bot (options)\n\n"
267
+ cli.banner = "\nUsage: pkgwiz build-bot (options)\n\n"
268
268
  cli.parse_options
269
269
 
270
270
  ## Node.JS log server stuff
@@ -36,10 +36,10 @@ module PKGWizard
36
36
 
37
37
  def self.perform
38
38
  cmd = CreateSrpm.new
39
- cmd.banner = "\nUsage: rpmwiz create-srpm (options)\n\n"
39
+ cmd.banner = "\nUsage: pkgwiz create-srpm (options)\n\n"
40
40
  cmd.parse_options
41
41
  repo = cmd.config[:gitrepo]
42
- workspace = cmd.config[:workspace] || "/tmp/rpmwiz-#{Time.now.to_i}"
42
+ workspace = cmd.config[:workspace] || "/tmp/pkgwiz-#{Time.now.to_i}"
43
43
  FileUtils.mkdir_p(workspace) if not File.exist?(workspace)
44
44
  source_dir = workspace + '/SOURCES'
45
45
 
@@ -22,7 +22,7 @@ module PKGWizard
22
22
  def self.perform
23
23
  $stdout.sync = true
24
24
  cmd = InitEnv.new
25
- cmd.banner = "\nUsage: rpmwiz init-env\n\n"
25
+ cmd.banner = "\nUsage: pkgwiz init-env\n\n"
26
26
  cmd.parse_options
27
27
  if `whoami`.strip.chomp != 'root'
28
28
  $stderr.puts 'Run this command as root.'
@@ -28,12 +28,12 @@ module PKGWizard
28
28
 
29
29
  option :buildbot,
30
30
  :short => '-b URL',
31
- :description => 'rpmwiz build-bot URL',
31
+ :description => 'pkg-wizard build-bot URL',
32
32
  :long => '--buildbot URL'
33
33
 
34
34
  option :buildbot_port,
35
35
  :short => '-p PORT',
36
- :description => 'rpmwiz build-bot PORT (default 80)',
36
+ :description => 'pkg-wizard build-bot PORT (default 4567)',
37
37
  :long => '--buildbot-port PORT',
38
38
  :default => 4567
39
39
 
@@ -49,7 +49,7 @@ module PKGWizard
49
49
 
50
50
  def self.perform
51
51
  cli = RemoteBuild.new
52
- cli.banner = "\nUsage: rpmwiz remote-build (options)\n\n"
52
+ cli.banner = "\nUsage: pkgwiz remote-build (options)\n\n"
53
53
  pkgs = cli.parse_options
54
54
  bbot_host = cli.config[:buildbot]
55
55
  bbot_port = cli.config[:buildbot_port]
data/lib/pkg-wizard.rb CHANGED
@@ -4,7 +4,7 @@ require 'mixlib/cli'
4
4
 
5
5
  module PKGWizard
6
6
 
7
- VERSION = '0.1.22'
7
+ VERSION = '0.1.23'
8
8
 
9
9
  class Distribution
10
10
  def self.detect
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkg-wizard
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 22
10
- version: 0.1.22
9
+ - 23
10
+ version: 0.1.23
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Rubio