gitmine 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Rakefile +15 -15
  2. data/VERSION +1 -1
  3. data/gitmine.gemspec +46 -39
  4. data/lib/gitmine/cli.rb +4 -0
  5. metadata +65 -18
  6. data/.gitignore +0 -22
data/Rakefile CHANGED
@@ -22,21 +22,21 @@ rescue LoadError
22
22
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
23
23
  end
24
24
 
25
- require 'spec/rake/spectask'
26
- Spec::Rake::SpecTask.new(:spec) do |spec|
27
- spec.libs << 'lib' << 'spec'
28
- spec.spec_files = FileList['spec/**/*_spec.rb']
29
- end
30
-
31
- Spec::Rake::SpecTask.new(:rcov) do |spec|
32
- spec.libs << 'lib' << 'spec'
33
- spec.pattern = 'spec/**/*_spec.rb'
34
- spec.rcov = true
35
- end
36
-
37
- task :spec => :check_dependencies
38
-
39
- task :default => :spec
25
+ #require 'spec/rake/spectask'
26
+ #Spec::Rake::SpecTask.new(:spec) do |spec|
27
+ # spec.libs << 'lib' << 'spec'
28
+ # spec.spec_files = FileList['spec/**/*_spec.rb']
29
+ #end
30
+ #
31
+ #Spec::Rake::SpecTask.new(:rcov) do |spec|
32
+ # spec.libs << 'lib' << 'spec'
33
+ # spec.pattern = 'spec/**/*_spec.rb'
34
+ # spec.rcov = true
35
+ #end
36
+ #
37
+ #task :spec => :check_dependencies
38
+ #
39
+ #task :default => :spec
40
40
 
41
41
  require 'rake/rdoctask'
42
42
  Rake::RDocTask.new do |rdoc|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
data/gitmine.gemspec CHANGED
@@ -1,67 +1,65 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gitmine}
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Philippe Creux"]
12
- s.date = %q{2010-12-15}
12
+ s.date = %q{2011-01-05}
13
13
  s.default_executable = %q{gitmine}
14
14
  s.description = %q{Git log with status of associated redmine tickets}
15
15
  s.email = %q{pcreux@gmail.com}
16
16
  s.executables = ["gitmine"]
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE",
19
- "README.rdoc"
19
+ "README.rdoc"
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
- ".gitignore",
24
- ".gitmine.yml",
25
- "Gemfile",
26
- "Gemfile.lock",
27
- "LICENSE",
28
- "README.rdoc",
29
- "Rakefile",
30
- "VERSION",
31
- "autotest/discover.rb",
32
- "bin/gitmine",
33
- "gitmine.gemspec",
34
- "lib/gitmine.rb",
35
- "lib/gitmine/branch.rb",
36
- "lib/gitmine/cli.rb",
37
- "lib/gitmine/colors.rb",
38
- "lib/gitmine/commit.rb",
39
- "lib/gitmine/config.rb",
40
- "lib/gitmine/git.rb",
41
- "lib/gitmine/hudson_job.rb",
42
- "lib/gitmine/issue.rb",
43
- "spec/commit_msg_to_issue_id_spec.rb",
44
- "spec/commit_spec.rb",
45
- "spec/config.yml",
46
- "spec/gitmine_spec.rb",
47
- "spec/issue_spec.rb",
48
- "spec/lib/branch_spec.rb",
49
- "spec/lib/config_spec.rb",
50
- "spec/spec_helper.rb"
23
+ ".gitmine.yml",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE",
27
+ "README.rdoc",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "autotest/discover.rb",
31
+ "bin/gitmine",
32
+ "gitmine.gemspec",
33
+ "lib/gitmine.rb",
34
+ "lib/gitmine/branch.rb",
35
+ "lib/gitmine/cli.rb",
36
+ "lib/gitmine/colors.rb",
37
+ "lib/gitmine/commit.rb",
38
+ "lib/gitmine/config.rb",
39
+ "lib/gitmine/git.rb",
40
+ "lib/gitmine/hudson_job.rb",
41
+ "lib/gitmine/issue.rb",
42
+ "spec/commit_msg_to_issue_id_spec.rb",
43
+ "spec/commit_spec.rb",
44
+ "spec/config.yml",
45
+ "spec/gitmine_spec.rb",
46
+ "spec/issue_spec.rb",
47
+ "spec/lib/branch_spec.rb",
48
+ "spec/lib/config_spec.rb",
49
+ "spec/spec_helper.rb"
51
50
  ]
52
51
  s.homepage = %q{http://github.com/pcreux/gitmine}
53
- s.rdoc_options = ["--charset=UTF-8"]
54
52
  s.require_paths = ["lib"]
55
53
  s.rubygems_version = %q{1.3.7}
56
54
  s.summary = %q{Git log with status of associated redmine tickets}
57
55
  s.test_files = [
58
56
  "spec/commit_msg_to_issue_id_spec.rb",
59
- "spec/commit_spec.rb",
60
- "spec/gitmine_spec.rb",
61
- "spec/issue_spec.rb",
62
- "spec/lib/branch_spec.rb",
63
- "spec/lib/config_spec.rb",
64
- "spec/spec_helper.rb"
57
+ "spec/commit_spec.rb",
58
+ "spec/gitmine_spec.rb",
59
+ "spec/issue_spec.rb",
60
+ "spec/lib/branch_spec.rb",
61
+ "spec/lib/config_spec.rb",
62
+ "spec/spec_helper.rb"
65
63
  ]
66
64
 
67
65
  if s.respond_to? :specification_version then
@@ -69,15 +67,24 @@ Gem::Specification.new do |s|
69
67
  s.specification_version = 3
70
68
 
71
69
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
70
+ s.add_runtime_dependency(%q<httparty>, ["= 0.6.1"])
71
+ s.add_runtime_dependency(%q<grit>, ["= 2.0.0"])
72
+ s.add_runtime_dependency(%q<rspec>, ["= 2.0.0"])
72
73
  s.add_runtime_dependency(%q<httparty>, [">= 0"])
73
74
  s.add_runtime_dependency(%q<grit>, [">= 0"])
74
75
  s.add_development_dependency(%q<rspec>, ["= 2.0.0"])
75
76
  else
77
+ s.add_dependency(%q<httparty>, ["= 0.6.1"])
78
+ s.add_dependency(%q<grit>, ["= 2.0.0"])
79
+ s.add_dependency(%q<rspec>, ["= 2.0.0"])
76
80
  s.add_dependency(%q<httparty>, [">= 0"])
77
81
  s.add_dependency(%q<grit>, [">= 0"])
78
82
  s.add_dependency(%q<rspec>, ["= 2.0.0"])
79
83
  end
80
84
  else
85
+ s.add_dependency(%q<httparty>, ["= 0.6.1"])
86
+ s.add_dependency(%q<grit>, ["= 2.0.0"])
87
+ s.add_dependency(%q<rspec>, ["= 2.0.0"])
81
88
  s.add_dependency(%q<httparty>, [">= 0"])
82
89
  s.add_dependency(%q<grit>, [">= 0"])
83
90
  s.add_dependency(%q<rspec>, ["= 2.0.0"])
data/lib/gitmine/cli.rb CHANGED
@@ -22,6 +22,10 @@ gitmine checkout ISSUE_ID
22
22
  Checkout remote/local branch starting with ISSUE_ID
23
23
  Example: gitmine checkout 1234
24
24
 
25
+ gitmine reviewed ISSUE_ID
26
+ Merge the branch to master, delete remote branch, delete hudson jobs (if any), update redmine issue status
27
+ Example: gitmine reviewed 1234
28
+
25
29
  gitmine delete ISSUE_ID
26
30
  Delete remote branch starting with ISSUE_ID
27
31
  Example: gitmine delete 1234
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitmine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philippe Creux
@@ -15,13 +15,62 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-15 00:00:00 -08:00
18
+ date: 2011-01-05 00:00:00 -08:00
19
19
  default_executable: gitmine
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ type: :runtime
22
24
  name: httparty
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - "="
29
+ - !ruby/object:Gem::Version
30
+ hash: 5
31
+ segments:
32
+ - 0
33
+ - 6
34
+ - 1
35
+ version: 0.6.1
36
+ requirement: *id001
37
+ - !ruby/object:Gem::Dependency
23
38
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
39
+ type: :runtime
40
+ name: grit
41
+ version_requirements: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - "="
45
+ - !ruby/object:Gem::Version
46
+ hash: 15
47
+ segments:
48
+ - 2
49
+ - 0
50
+ - 0
51
+ version: 2.0.0
52
+ requirement: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ prerelease: false
55
+ type: :runtime
56
+ name: rspec
57
+ version_requirements: &id003 !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - "="
61
+ - !ruby/object:Gem::Version
62
+ hash: 15
63
+ segments:
64
+ - 2
65
+ - 0
66
+ - 0
67
+ version: 2.0.0
68
+ requirement: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ prerelease: false
71
+ type: :runtime
72
+ name: httparty
73
+ version_requirements: &id004 !ruby/object:Gem::Requirement
25
74
  none: false
26
75
  requirements:
27
76
  - - ">="
@@ -30,12 +79,12 @@ dependencies:
30
79
  segments:
31
80
  - 0
32
81
  version: "0"
33
- type: :runtime
34
- version_requirements: *id001
82
+ requirement: *id004
35
83
  - !ruby/object:Gem::Dependency
36
- name: grit
37
84
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
85
+ type: :runtime
86
+ name: grit
87
+ version_requirements: &id005 !ruby/object:Gem::Requirement
39
88
  none: false
40
89
  requirements:
41
90
  - - ">="
@@ -44,12 +93,12 @@ dependencies:
44
93
  segments:
45
94
  - 0
46
95
  version: "0"
47
- type: :runtime
48
- version_requirements: *id002
96
+ requirement: *id005
49
97
  - !ruby/object:Gem::Dependency
50
- name: rspec
51
98
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
99
+ type: :development
100
+ name: rspec
101
+ version_requirements: &id006 !ruby/object:Gem::Requirement
53
102
  none: false
54
103
  requirements:
55
104
  - - "="
@@ -60,8 +109,7 @@ dependencies:
60
109
  - 0
61
110
  - 0
62
111
  version: 2.0.0
63
- type: :development
64
- version_requirements: *id003
112
+ requirement: *id006
65
113
  description: Git log with status of associated redmine tickets
66
114
  email: pcreux@gmail.com
67
115
  executables:
@@ -73,7 +121,6 @@ extra_rdoc_files:
73
121
  - README.rdoc
74
122
  files:
75
123
  - .document
76
- - .gitignore
77
124
  - .gitmine.yml
78
125
  - Gemfile
79
126
  - Gemfile.lock
@@ -106,8 +153,8 @@ homepage: http://github.com/pcreux/gitmine
106
153
  licenses: []
107
154
 
108
155
  post_install_message:
109
- rdoc_options:
110
- - --charset=UTF-8
156
+ rdoc_options: []
157
+
111
158
  require_paths:
112
159
  - lib
113
160
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,22 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
- .gitmine.yml.mine