git-chlog 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd4344829226d0ef8ee4b1114eaa0e51f42f28d0
4
- data.tar.gz: c8bca581e886d709df04b2381dbf8936f3548424
3
+ metadata.gz: ced6c8068bbe3bfa1fd0fcf9411caeab2051a786
4
+ data.tar.gz: cc753e6f48e3a7effb1de6db584d1d2840a8191c
5
5
  SHA512:
6
- metadata.gz: d933a5420529b961a21f04dabeb35aeef17216f807df696d5a9e6f21f2aa5429119909b6aac78597a73e8ab8a34be5af5fdf1e822ce69f657cb05c16a780e2c9
7
- data.tar.gz: e05b442fbdb33afed083aa6e3eafbf4ec4a73f9aadb018becc1845a26e79dd172dbd724e27d90480cc0c30923dddf52359af6d07592df05e83b6fe30ac406b4f
6
+ metadata.gz: 918487a3457cd5bfe0f430239b74e79fa51dc2f329936b357c500712ab389b1e945ba59c7c29b6d23e74a79482789ee524275f09442b13f3bdee6467579e722d
7
+ data.tar.gz: ac382b36440a0fee507a4d8ea86f3d7c7c9e5090a532e29b6a96b669de3baecbaaf0da423b1220d37436d26c7d453b15f92f2585f823f9af3dd9cad1f18560e0
@@ -1,4 +1,9 @@
1
1
  # Change Log
2
+ ## [v0.2.1](https://github.com/teohm/git-chlog/tree/v0.2.1)
3
+
4
+ [Full Changelog](https://github.com/teohm/git-chlog/compare/v0.2.0...v0.2.1)
5
+ * 2017-11-03 - Downgrade regexp syntax to be compatible with ruby <2.4 [#7](https://github.com/teohm/git-chlog/pull/7)
6
+
2
7
  ## [v0.2.0](https://github.com/teohm/git-chlog/tree/v0.2.0)
3
8
 
4
9
  [Full Changelog](https://github.com/teohm/git-chlog/compare/v0.1.0...v0.2.0)
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # Git::Chlog
1
+ # git-chlog
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/git/chlog`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ A custom git command `git chlog` to print changelog containing a list of merged pull-requests grouped by tags.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ [See CHANGELOG example](https://github.com/teohm/git-chlog/blob/master/CHANGELOG.md) generated by `git chlog`.
6
6
 
7
7
  ## Installation
8
8
 
@@ -22,7 +22,16 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ ```sh
26
+ git chlog > CHANGELOG.md
27
+ ```
28
+
29
+ ### Prepare new release
30
+ To prepare new release, you want to update changelog before creating new git tag. You can specify to-be-released tag name, it'll group new merged pull-requests under this tag name:
31
+
32
+ ```sh
33
+ git chlog --prepare-release=v2.29.0 > CHANGELOG.md
34
+ ```
26
35
 
27
36
  ## Development
28
37
 
@@ -26,7 +26,7 @@ module CodeHosting
26
26
  attr_reader :repo_name
27
27
 
28
28
  def self.matching_repo_url?(repo_url)
29
- /github\.com/.match?(repo_url)
29
+ !(/github\.com/.match(repo_url).nil?)
30
30
  end
31
31
 
32
32
  def initialize(github_repo_url)
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Huiming Teo"]
10
10
  spec.email = ["teohuiming@gmail.com"]
11
11
 
12
- spec.summary = %q{Print changelog for PR-based git repo.}
13
- spec.description = %q{This gem provides a git custom command `git chlog` to print changelog with a list of merged pull-requests grouped by tags in a git repository.}
12
+ spec.summary = %q{Generate changelog for any PR-based Git repository}
13
+ spec.description = %q{A git custom command `git chlog` to print changelog with a list of merged pull-requests grouped by tags from any git repository.}
14
14
  spec.homepage = "https://github.com/teohm/git-chlog"
15
15
  spec.license = "MIT"
16
16
 
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Chlog
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-chlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huiming Teo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-02 00:00:00.000000000 Z
11
+ date: 2017-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,8 +52,8 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: This gem provides a git custom command `git chlog` to print changelog
56
- with a list of merged pull-requests grouped by tags in a git repository.
55
+ description: A git custom command `git chlog` to print changelog with a list of merged
56
+ pull-requests grouped by tags from any git repository.
57
57
  email:
58
58
  - teohuiming@gmail.com
59
59
  executables:
@@ -104,5 +104,5 @@ rubyforge_project:
104
104
  rubygems_version: 2.6.13
105
105
  signing_key:
106
106
  specification_version: 4
107
- summary: Print changelog for PR-based git repo.
107
+ summary: Generate changelog for any PR-based Git repository
108
108
  test_files: []