git-changes 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -1
- data/bin/git-changes +1 -1
- data/{git-changelog.gemspec → git-changes.gemspec} +2 -1
- data/lib/git-changes.rb +3 -0
- data/lib/{git-changelog → git-changes}/cli.rb +0 -0
- data/lib/{git-changelog → git-changes}/parser.rb +0 -0
- data/lib/{git-changelog → git-changes}/version.rb +1 -1
- data/test/{git-changelog.txt → git-changes.txt} +0 -0
- data/test/test_git-changelog.rb +2 -2
- metadata +23 -12
- data/lib/git-changelog.rb +0 -3
data/Gemfile
CHANGED
data/bin/git-changes
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "git-
|
3
|
+
require "git-changes/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "git-changes"
|
@@ -20,4 +20,5 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
s.add_development_dependency("ruby-debug")
|
22
22
|
s.add_development_dependency("rake")
|
23
|
+
s.add_development_dependency("bundler")
|
23
24
|
end
|
data/lib/git-changes.rb
ADDED
File without changes
|
File without changes
|
File without changes
|
data/test/test_git-changelog.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'test/unit'
|
2
|
-
require 'git-
|
2
|
+
require 'git-changes'
|
3
3
|
require 'stringio'
|
4
4
|
|
5
5
|
class GitChangeLogTest < Test::Unit::TestCase
|
@@ -13,7 +13,7 @@ class GitChangeLogTest < Test::Unit::TestCase
|
|
13
13
|
input = File.open(fixture_path('git-log.txt'),'r')
|
14
14
|
parser = Git::Changelog::Parser.new(input)
|
15
15
|
out = capture_stdout{ parser.generate_changelog }
|
16
|
-
assert_equal File.read(fixture_path('git-
|
16
|
+
assert_equal File.read(fixture_path('git-changes.txt')), out
|
17
17
|
ensure
|
18
18
|
input.close if input
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-changes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ default_executable:
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ruby-debug
|
17
|
-
requirement: &
|
17
|
+
requirement: &2152579480 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2152579480
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rake
|
28
|
-
requirement: &
|
28
|
+
requirement: &2152579060 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,18 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2152579060
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: bundler
|
39
|
+
requirement: &2152578640 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :development
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *2152578640
|
37
48
|
description: It taks the output from git-log, parses it, and output with the standard
|
38
49
|
format of changelog.
|
39
50
|
email:
|
@@ -50,12 +61,12 @@ files:
|
|
50
61
|
- README.md
|
51
62
|
- Rakefile
|
52
63
|
- bin/git-changes
|
53
|
-
- git-
|
54
|
-
- lib/git-
|
55
|
-
- lib/git-
|
56
|
-
- lib/git-
|
57
|
-
- lib/git-
|
58
|
-
- test/git-
|
64
|
+
- git-changes.gemspec
|
65
|
+
- lib/git-changes.rb
|
66
|
+
- lib/git-changes/cli.rb
|
67
|
+
- lib/git-changes/parser.rb
|
68
|
+
- lib/git-changes/version.rb
|
69
|
+
- test/git-changes.txt
|
59
70
|
- test/git-log.txt
|
60
71
|
- test/test_git-changelog.rb
|
61
72
|
has_rdoc: true
|
@@ -84,6 +95,6 @@ signing_key:
|
|
84
95
|
specification_version: 3
|
85
96
|
summary: Generate a changelog based on git log.
|
86
97
|
test_files:
|
87
|
-
- test/git-
|
98
|
+
- test/git-changes.txt
|
88
99
|
- test/git-log.txt
|
89
100
|
- test/test_git-changelog.rb
|
data/lib/git-changelog.rb
DELETED