TicGit-ng 1.0.2.2 → 1.0.2.3

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/bin/ticgitweb CHANGED
@@ -13,7 +13,7 @@
13
13
  # which is important when testing multiple branches of development.
14
14
  $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
15
15
 
16
- %w(rubygems sinatra git ticgit haml sass).each do |dependency|
16
+ %w(rubygems sinatra git ticgit-ng haml sass).each do |dependency|
17
17
  begin
18
18
  require dependency
19
19
  rescue LoadError => e
@@ -24,7 +24,7 @@ end
24
24
  # !! TODO : if ARGV[1] is a path to a git repo, use that
25
25
  # otherwise, look in ~/.ticgit
26
26
 
27
- $ticgit = TicGit.open('.')
27
+ $ticgit = TicGitNG.open('.')
28
28
 
29
29
  get('/_stylesheet.css') { Sass::Engine.new(File.read(__FILE__).gsub(/.*__END__/m, '')).render }
30
30
 
@@ -1,3 +1,3 @@
1
1
  module TicGitNG
2
- VERSION = '1.0.2.2'
2
+ VERSION = '1.0.2.3'
3
3
  end
data/lib/ticgit-ng.rb CHANGED
@@ -39,7 +39,6 @@ module TicGitNG
39
39
  autoload :VERSION, 'ticgit-ng/version'
40
40
  autoload :Comment, 'ticgit-ng/comment'
41
41
  autoload :Ticket, 'ticgit-ng/ticket'
42
- autoload :Sync, 'ticgit-ng/sync'
43
42
 
44
43
  # options
45
44
  # :logger => Logger.new(STDOUT)
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: 83
4
+ hash: 81
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 2
10
- - 2
11
- version: 1.0.2.2
10
+ - 3
11
+ version: 1.0.2.3
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-05 00:00:00 -04:00
20
+ date: 2011-04-09 00:00:00 -04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -66,9 +66,7 @@ files:
66
66
  - lib/ticgit-ng/base.rb
67
67
  - lib/ticgit-ng/ticket.rb
68
68
  - lib/ticgit-ng/cli.rb
69
- - lib/ticgit-ng/sync/github_issues.rb
70
69
  - lib/ticgit-ng/version.rb
71
- - lib/ticgit-ng/sync.rb
72
70
  - lib/ticgit-ng/command/assign.rb
73
71
  - lib/ticgit-ng/command/state.rb
74
72
  - lib/ticgit-ng/command/new.rb
@@ -1,44 +0,0 @@
1
- require 'octokit'
2
-
3
- module TicGitNG
4
- module Sync
5
- module Github_Issues
6
- #list all tickets
7
- #called from lib/ticgit-ng/sync.rb, used to get all tickets
8
- def index
9
- end
10
-
11
- #get all info for one ticket
12
- #
13
- def show
14
- end
15
-
16
- #create new ticket
17
- def create
18
- end
19
-
20
- #alter an existing ticket
21
- def update
22
- end
23
-
24
- #delete existing ticket
25
- #this should not need to be called very often, if at all
26
- def destroy
27
- end
28
- end
29
- #Class used to interface with Octokit (Github Issues)
30
- class Github_Bugtracker
31
- def initialize(options={})
32
- raise "Gitub_Bugtracker.new requires {:username=>'' and either :token or :password}" unless
33
- options.include? :username and (options.include? :token || options.include? :password)
34
-
35
- if options.include? :token
36
- @client=Octokit::Client.new( {:login=>options[:username], :token=>options[:token]} )
37
- else
38
- @client=Octokit::Client.new( {:login=>options[:username], :password=>options[:password]} )
39
- end
40
- end
41
-
42
- end
43
- end
44
- end
@@ -1,5 +0,0 @@
1
- module TicGitNG
2
- module Sync
3
-
4
- end
5
- end