create_changelog 1.3.1 → 1.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee4d6a862549a122e47311e28210893f4a37cc1d
4
- data.tar.gz: 11a032d1d6705094838346f0e5e3c875fb619496
3
+ metadata.gz: c0e465bd87a2712b3ba1e1cea4a4718532d4b14b
4
+ data.tar.gz: ff192efec820f0b35290636ca13ae65c2acf65c3
5
5
  SHA512:
6
- metadata.gz: 56db6e02d66a4616a232a7e9dbed824546b7bc8143df921723161158c4e5333700b00921766b12f73d73aca6a0990987249383eb851e68c2d269a3c3424d894b
7
- data.tar.gz: 6297b071daa7820fd209c231f7a1fb36b90fe8cb00a939f4a31ece50c8f9519368e2cd3d7be52b36d17eaba5ab6be4945e3f1ba2a5dabfdcc9e53db292a2e26e
6
+ metadata.gz: 943fe31a361515180fe73c3b3f2d1f90f81ccefc7d0fc9360390314191f6cd3f3055d124821fea346f6c38345765f10b12b64efaa76b3446a9ac0197291bfd22
7
+ data.tar.gz: e6776a95a60206705a18fcde1c87c5e96be9e5bf53e96f95530fe24f96060358b81be9ad3d99cc00c358c40b4c22bcb16b7a49f853fc8193344d651abad5068b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,27 @@
1
+ Version 1.3.2 (2015-06-24)
2
+ ========================================================================
3
+
4
+ - FIX: Properly sort and identify latest tags (tags are sorted as version numbers).
5
+
6
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
7
+
8
+
9
+ Version 1.3.1 (2015-06-24)
10
+ ========================================================================
11
+
12
+ - CHANGED: Added author and license information to program banner.
13
+ - FIX: Do not crash on --no-recent if there aren't indeed recent changes.
14
+ - NEW: Check if Git is installed and issue error message if it isn't.
15
+
16
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
17
+
18
+
1
19
  Version 1.3.0 (2015-01-21)
2
20
  ========================================================================
3
21
 
22
+ Version 1.3.0 adds a test suite that enables quality control during
23
+ development, and fixes a number of bugs that appeared during testing.
24
+
4
25
  - CHANGE: Omit empty lines at end of changelog.
5
26
  - FIX: Do not crash if Git repository is empty.
6
27
  - FIX: Do not produce any output if no changelog information found.
data/lib/tag_list.rb CHANGED
@@ -64,7 +64,7 @@ class TagList
64
64
  def build_list
65
65
  tags = []
66
66
  tags << get_initial_commit
67
- tags += `git tag`.split("\n").map { |s| s.rstrip }
67
+ tags += `git tag --sort v:refname`.split("\n").map { |s| s.rstrip }
68
68
  tags << "HEAD" if @include_head
69
69
  tags.reverse
70
70
  end
data/lib/tag_list.rb~ CHANGED
@@ -64,7 +64,7 @@ class TagList
64
64
  def build_list
65
65
  tags = []
66
66
  tags << get_initial_commit
67
- tags += `git tag`.split("\n").map { |s| s.rstrip }
67
+ tags += `git tag | sort -V`.split("\n").map { |s| s.rstrip }
68
68
  tags << "HEAD" if @include_head
69
69
  tags.reverse
70
70
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CreateChangelog
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
data/lib/version.rb~ CHANGED
@@ -1,3 +1,3 @@
1
1
  module CreateChangelog
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: create_changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kraus
@@ -122,7 +122,7 @@ licenses:
122
122
  - Apache License version 2
123
123
  metadata: {}
124
124
  post_install_message: |
125
- create_changelog version 1.3.1 has been installed.
125
+ create_changelog version 1.3.2 has been installed.
126
126
  For usage information, type ccl -h
127
127
  rdoc_options: []
128
128
  require_paths: