TicGit-ng 1.0.2.3 → 1.0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.mkd CHANGED
@@ -29,9 +29,13 @@ Required Ruby Gems: git
29
29
 
30
30
  To install these packages on a Debian system, or a Debian based system like Ubuntu, do
31
31
 
32
- sudo aptitude install git ruby rubygems
32
+ sudo apt-get install git ruby rubygems
33
33
  sudo gem install git
34
34
 
35
+ After installing Gems it is necessary to update the PATH environment variable so that the scripts can be found. Issue the following command to the end of your .bachrc file or equivalent.
36
+
37
+ PATH=$PATH:/var/lib/gems/1.8/bin
38
+
35
39
  **ticgitweb**
36
40
 
37
41
  Required Packages: git, ruby, rubygems
@@ -40,11 +44,9 @@ Required Ruby Gems: git, sinatra, haml, sass
40
44
 
41
45
  To install these packages on a Debian system, or a Debian based system like Ubuntu, do
42
46
 
43
- sudo aptitude install git ruby rubygems
44
- sudo gem install git sinatra haml sass
45
-
46
-
47
-
47
+ sudo apt-get install git ruby rubygems
48
+ sudo gem install git sinatra haml
49
+ sudo gem install sass --pre
48
50
 
49
51
  **A Note about rubygems**
50
52
 
@@ -60,19 +62,22 @@ The git gem requires a git version of 1.6.0.0 or later, but on Debian stable, gi
60
62
 
61
63
  If these annoy you as they do me and you've set up [apt](http://jaqque.sbih.org/kplug/apt-pinning.html) [pinning](http://jeffwelling.github.com//2010/09/05/Apt-Pinning.html), you can do
62
64
 
63
- $ sudo aptitude -t testing install git-core
65
+ sudo apt-get -t testing install git-core
64
66
 
65
67
  And those notices should go away.
66
68
 
69
+ **A Note about Ubuntu**
67
70
 
71
+ NB At the time of writing (Ver 1.0.2.3) there are additional problems with TigGitWeb Ubuntu. The workaround is to add `/var/lib/gems/1.8/gems/TicGit-ng-1.0.2.3/bin` to start of PATH. viz
68
72
 
73
+ PATH=/var/lib/gems/1.8/gems/TicGit-ng-1.0.2.3/bin:$PATH
69
74
 
70
75
  ### Installing ##
71
76
  Installation on a Debian stable system. Note that the command line interface for TicGit-ng can be run from Debian stable, but some of the gems required for the web interface may require you to use [apt](http://jaqque.sbih.org/kplug/apt-pinning.html) [pinning](http://jeffwelling.github.com//2010/09/05/Apt-Pinning.html) to run without errors. See below
72
77
 
73
78
  To install TicGit-ng on your system, you can go one of two ways,
74
79
 
75
- $ gem install TicGit-ng
80
+ $ sudo gem install TicGit-ng
76
81
 
77
82
  or, you can install it from source by downloading this repository building your own gem (see below).
78
83
 
data/bin/ticgitweb CHANGED
@@ -21,6 +21,10 @@ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
21
21
  end
22
22
  end
23
23
 
24
+ #This line is required to resolve this issue
25
+ #https://github.com/jeffWelling/ticgit/issues/22
26
+ enable :run
27
+
24
28
  # !! TODO : if ARGV[1] is a path to a git repo, use that
25
29
  # otherwise, look in ~/.ticgit
26
30
 
data/lib/ticgit-ng/cli.rb CHANGED
@@ -20,10 +20,10 @@ module TicGitNG
20
20
  attr_accessor :out
21
21
 
22
22
  def initialize(args, path = '.', out = $stdout)
23
+ @out = out
23
24
  @args = args.dup
24
25
  @tic = TicGitNG.open(path, :keep_state => true)
25
26
  @options = OpenStruct.new
26
- @out = out
27
27
 
28
28
  @out.sync = true # so that Net::SSH prompts show up
29
29
  rescue NoRepoFound
@@ -9,7 +9,7 @@ module TicGitNG
9
9
  commands.each{|cmd| COMMANDS[cmd] = mod_name }
10
10
  end
11
11
 
12
- register 'Assign', 'Assings a ticket to someone', 'assign'
12
+ register 'Assign', 'Assigns a ticket to someone', 'assign'
13
13
  register 'Attach', 'Attach file to ticket', 'attach'
14
14
  register 'Checkout', 'Checkout a ticket', 'checkout', 'co'
15
15
  register 'Comment', 'Comment on a ticket', 'comment'
@@ -1,3 +1,3 @@
1
1
  module TicGitNG
2
- VERSION = '1.0.2.3'
2
+ VERSION = '1.0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TicGit-ng
3
3
  version: !ruby/object:Gem::Version
4
- hash: 81
4
+ hash: 95
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 2
10
- - 3
11
- version: 1.0.2.3
10
+ - 4
11
+ version: 1.0.2.4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Scott Chacon
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-04-09 00:00:00 -04:00
20
+ date: 2011-04-11 00:00:00 -04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency