gitmine 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +2 -2
  2. data/Gemfile.lock +2 -2
  3. data/README.rdoc +44 -13
  4. data/VERSION +1 -1
  5. data/gitmine.gemspec +8 -8
  6. metadata +14 -14
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'httparty', '0.6.1'
4
- gem 'grit', '2.0.0'
3
+ gem 'httparty', '>=0.6.1'
4
+ gem 'grit', '>=2.0.0'
5
5
 
6
6
  group :development do
7
7
  gem 'rspec', '>=2.0.0'
@@ -22,6 +22,6 @@ PLATFORMS
22
22
  ruby
23
23
 
24
24
  DEPENDENCIES
25
- grit (= 2.0.0)
26
- httparty (= 0.6.1)
25
+ grit (>= 2.0.0)
26
+ httparty (>= 0.6.1)
27
27
  rspec (>= 2.0.0)
@@ -4,31 +4,62 @@ Gitmine displays the last 10 commits of your repo and their associated redmine t
4
4
 
5
5
  == Install
6
6
 
7
- gem install gitmine
7
+ gem install gitmine
8
8
 
9
9
  == Setup
10
10
 
11
11
  Put the config file '.gitmine.yml' at the root of your project. Here is a sample file:
12
12
 
13
- host: 'https://redmine.yourcompany.com
14
- # Api key is required for private projects only.
15
- api_key: 'your_api_key'
13
+ host: 'http://redmine-gitmine.heroku.com/'
14
+ github: 'pcreux/gitmine'
15
+ # Api key is required for private projects only.
16
+ api_key: 'your_api_key'
16
17
 
17
18
  == Usage
18
19
 
19
- * Display the latest 10 commits and there ticket status:
20
+ === gitmine branch BRANCH_NAME
20
21
 
21
- $> gitmine
22
- 8497d68 In Progress Philippe Creux Add branch command. Need refactoring.Issue #10
23
- b0132d2 Closed Philippe Creux Gitmine now works on case sensitive FS. Issue #8
24
- b77fb0c N/A Philippe Creux Add Greg Bell as an awesome contributor.
25
- 9f3e464 N/A Greg Bell Moved CommitMsgToIssueId module into the Gitmine::I
22
+ Create a new branch, push to origin, add github links to gitmine ticket
26
23
 
27
- * Create a new remote branch + a tracking branch + add a note to the associated ticket:
24
+ Example:
28
25
 
29
- $> gitmine branch 10-add-branch
26
+ gitmine branch 1234-my-branch
30
27
 
31
- See here: http://redmine-gitmine.heroku.com/issues/10#note-1
28
+ See here: http://redmine-gitmine.heroku.com/issues/10
29
+
30
+ === gitmine checkout ISSUE_ID
31
+
32
+ Checkout remote/local branch starting with ISSUE_ID
33
+
34
+ Example:
35
+
36
+ gitmine checkout 1234
37
+
38
+ === gitmine reviewed ISSUE_ID
39
+
40
+ Merge the branch to master, delete remote branch, update redmine issue status
41
+
42
+ Example:
43
+
44
+ gitmine reviewed 1234
45
+
46
+ === gitmine delete ISSUE_ID
47
+
48
+ Delete remote branch starting with ISSUE_ID
49
+
50
+ Example:
51
+
52
+ gitmine delete 1234
53
+
54
+ === gitmine log
55
+
56
+ Displays latest 10 commits and the status of their associated Redmine tickets
57
+
58
+ $> gitmine log
59
+ 8497d68 In Progress Philippe Creux Add branch command. Need refactoring.Issue #10
60
+ b0132d2 Closed Philippe Creux Gitmine now works on case sensitive FS. Issue #8
61
+ b77fb0c N/A Philippe Creux Add Greg Bell as an awesome contributor.
62
+ 9f3e464 N/A Greg Bell Moved CommitMsgToIssueId module into the Gitmine::I
32
63
 
33
64
  == Note on Issues
34
65
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.13
1
+ 0.1.14
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gitmine}
8
- s.version = "0.1.13"
8
+ s.version = "0.1.14"
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{2011-03-22}
12
+ s.date = %q{2011-03-25}
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}
@@ -66,17 +66,17 @@ Gem::Specification.new do |s|
66
66
  s.specification_version = 3
67
67
 
68
68
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
69
- s.add_runtime_dependency(%q<httparty>, ["= 0.6.1"])
70
- s.add_runtime_dependency(%q<grit>, ["= 2.0.0"])
69
+ s.add_runtime_dependency(%q<httparty>, [">= 0.6.1"])
70
+ s.add_runtime_dependency(%q<grit>, [">= 2.0.0"])
71
71
  s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
72
72
  else
73
- s.add_dependency(%q<httparty>, ["= 0.6.1"])
74
- s.add_dependency(%q<grit>, ["= 2.0.0"])
73
+ s.add_dependency(%q<httparty>, [">= 0.6.1"])
74
+ s.add_dependency(%q<grit>, [">= 2.0.0"])
75
75
  s.add_dependency(%q<rspec>, [">= 2.0.0"])
76
76
  end
77
77
  else
78
- s.add_dependency(%q<httparty>, ["= 0.6.1"])
79
- s.add_dependency(%q<grit>, ["= 2.0.0"])
78
+ s.add_dependency(%q<httparty>, [">= 0.6.1"])
79
+ s.add_dependency(%q<grit>, [">= 2.0.0"])
80
80
  s.add_dependency(%q<rspec>, [">= 2.0.0"])
81
81
  end
82
82
  end
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: 1
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 13
10
- version: 0.1.13
9
+ - 14
10
+ version: 0.1.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philippe Creux
@@ -15,17 +15,14 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-22 00:00:00 -07:00
18
+ date: 2011-03-25 00:00:00 -07:00
19
19
  default_executable: gitmine
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- type: :runtime
24
- name: httparty
25
22
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
23
  none: false
27
24
  requirements:
28
- - - "="
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  hash: 5
31
28
  segments:
@@ -34,14 +31,14 @@ dependencies:
34
31
  - 1
35
32
  version: 0.6.1
36
33
  requirement: *id001
37
- - !ruby/object:Gem::Dependency
38
34
  prerelease: false
39
35
  type: :runtime
40
- name: grit
36
+ name: httparty
37
+ - !ruby/object:Gem::Dependency
41
38
  version_requirements: &id002 !ruby/object:Gem::Requirement
42
39
  none: false
43
40
  requirements:
44
- - - "="
41
+ - - ">="
45
42
  - !ruby/object:Gem::Version
46
43
  hash: 15
47
44
  segments:
@@ -50,10 +47,10 @@ dependencies:
50
47
  - 0
51
48
  version: 2.0.0
52
49
  requirement: *id002
53
- - !ruby/object:Gem::Dependency
54
50
  prerelease: false
55
- type: :development
56
- name: rspec
51
+ type: :runtime
52
+ name: grit
53
+ - !ruby/object:Gem::Dependency
57
54
  version_requirements: &id003 !ruby/object:Gem::Requirement
58
55
  none: false
59
56
  requirements:
@@ -66,6 +63,9 @@ dependencies:
66
63
  - 0
67
64
  version: 2.0.0
68
65
  requirement: *id003
66
+ prerelease: false
67
+ type: :development
68
+ name: rspec
69
69
  description: Git log with status of associated redmine tickets
70
70
  email: pcreux@gmail.com
71
71
  executables: