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.
- data/History.txt +5 -0
- data/Rakefile +1 -1
- data/lib/bones/plugins/git.rb +7 -0
- metadata +4 -4
data/History.txt
CHANGED
data/Rakefile
CHANGED
data/lib/bones/plugins/git.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
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.
|
|
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.
|
|
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
|