bones-git 1.0.0 → 1.1.0

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.
@@ -1,3 +1,8 @@
1
+ == 1.1.0 / 2009-11-13
2
+
3
+ * 1 minor enhancement
4
+ * Adding a history command to retrieve log messages since last release
5
+
1
6
  == 1.0.0 / 2009-11-07
2
7
 
3
8
  * 1 major enhancement
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ Bones {
12
12
  authors 'Tim Pease'
13
13
  email 'tim.pease@gmail.com'
14
14
  url 'http://github.com/TwP/bones-git'
15
- version '1.0.0'
15
+ version '1.1.0'
16
16
  ignore_file '.gitignore'
17
17
 
18
18
  depend_on 'bones'
@@ -26,6 +26,13 @@ module Bones::Plugins::Git
26
26
  puts Git.open('.').tags.map {|t| t.name}.reverse
27
27
  end
28
28
 
29
+ desc 'Show all log messages since the last release'
30
+ task :changes => 'git:prereqs' do |t|
31
+ tag = Git.open('.').tags.map {|t| t.name}.last
32
+ range = tag ? "#{tag}..HEAD" : ''
33
+ system "git log --oneline #{range}"
34
+ end
35
+
29
36
  desc 'Create a new tag in the git repository'
30
37
  task :create_tag => 'git:prereqs' do |t|
31
38
  v = ENV['VERSION'] or abort 'Must supply VERSION=x.y.z'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bones-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-07 00:00:00 -07:00
12
+ date: 2009-11-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 3.0.0
23
+ version: 3.0.1
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: git
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 3.0.0
43
+ version: 3.0.1
44
44
  version:
45
45
  description: |-
46
46
  The git package for Mr Bones provides tasks to incorporate git actions into