projmgr 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/LICENSE +1 -1
  2. data/Rakefile +4 -0
  3. data/bin/projmgr +11 -6
  4. data/lib/projmgr.rb +2 -2
  5. data/projmgr.gemspec +1 -0
  6. metadata +8 -8
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Jacob Hammack, Hammackj LLC
1
+ Copyright (c) 2010-2011 Jacob Hammack, Hammackj LLC
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/Rakefile CHANGED
@@ -8,3 +8,7 @@ end
8
8
  task :release => :build do
9
9
  system "gem push projmgr-#{ProjMgr::VERSION}.gem"
10
10
  end
11
+
12
+ task :clean do
13
+ system "rm *.gem"
14
+ end
data/bin/projmgr CHANGED
@@ -2,8 +2,11 @@
2
2
  # encoding: utf-8
3
3
 
4
4
  # projmgr - A source code control managment tool
5
+ # Jacob Hammack <jacob.hammack@hammackj.com>
6
+ # http://www.hammackj.com
5
7
  #
6
- # hammackj - 12-27-2010 - Version 0.0.1
8
+ # hammackj - 12-27-2010 - Version 0.0.1
9
+ # hammackj - 01-05-2011 - Version 0.0.2
7
10
  #
8
11
 
9
12
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '/../lib'))
@@ -11,6 +14,7 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '/../lib'))
11
14
  $stdout.sync = true
12
15
  $stderr.sync = true
13
16
 
17
+ require 'rubygems'
14
18
  require 'projmgr'
15
19
 
16
20
  module ProjMgr
@@ -30,10 +34,10 @@ module ProjMgr
30
34
  #
31
35
  def main
32
36
  Choice.options do
33
- banner "ProjMgr - v#{VERSION}"
37
+ banner "#{APP_NAME} - v#{VERSION}"
34
38
  header 'Jacob Hammack'
35
39
  header 'http://hammackj.com'
36
- header 'Usage: projmgr [OPTIONS]'
40
+ header 'Usage: #{APP_NAME} [OPTIONS]'
37
41
  header ''
38
42
 
39
43
  option :check_local_changes do
@@ -54,8 +58,9 @@ module ProjMgr
54
58
  action do
55
59
  if File.exists?(File.expand_path(CONFIG_FILE)) == false
56
60
  File.open(File.expand_path(CONFIG_FILE), 'w+') do |f|
57
- f.write("projectname: \n\tname: \n\tpath: \n\ttype: \n\n")
58
- f.write("projectname: \n\tname: \n\tpath: \n\ttype: \n")
61
+ 3.times do
62
+ f.write("projectname: \n\tname: \n\tpath: \n\ttype: \n\n")
63
+ end
59
64
  end
60
65
 
61
66
  puts "[*] An empty #{CONFIG_FILE} has been created. Please edit and fill in the correct values."
@@ -81,7 +86,7 @@ module ProjMgr
81
86
  long '--version'
82
87
  desc 'Show version'
83
88
  action do
84
- puts "ProjMgr - v#{VERSION}"
89
+ puts "#{APP_NAME} - v#{VERSION}"
85
90
  exit
86
91
  end
87
92
  end
data/lib/projmgr.rb CHANGED
@@ -1,10 +1,10 @@
1
1
 
2
2
  module ProjMgr
3
- VERSION = "0.0.1"
3
+ APP_NAME = "projmgr"
4
+ VERSION = "0.0.2"
4
5
  CONFIG_FILE = "~/.projmgr"
5
6
  end
6
7
 
7
- require 'rubygems'
8
8
  require 'choice'
9
9
  require 'yaml'
10
10
 
data/projmgr.gemspec CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.homepage = "http://github.com/hammackj/projmgr/"
12
12
  s.summary = "ProjMgr"
13
13
  s.description = "ProjMgr is a source code managment tool for automating project managment"
14
+ s.license = "BSD"
14
15
 
15
16
  s.author = "Jacob Hammack"
16
17
  s.email = "jacob.hammack@hammackj.com"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: projmgr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jacob Hammack
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-29 00:00:00 -06:00
18
+ date: 2011-01-04 00:00:00 -06:00
19
19
  default_executable: projmgr
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -73,8 +73,8 @@ files:
73
73
  - bin/projmgr
74
74
  has_rdoc: yard
75
75
  homepage: http://github.com/hammackj/projmgr/
76
- licenses: []
77
-
76
+ licenses:
77
+ - BSD
78
78
  post_install_message:
79
79
  rdoc_options: []
80
80
 
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements: []
104
104
 
105
105
  rubyforge_project: projmgr
106
- rubygems_version: 1.3.7
106
+ rubygems_version: 1.4.1
107
107
  signing_key:
108
108
  specification_version: 3
109
109
  summary: ProjMgr