From c1d28d486fe0114103930acd2a01bfa3929f06d9 Mon Sep 17 00:00:00 2001 From: sugamasao Date: Sat, 17 Jan 2015 10:28:31 +0900 Subject: [PATCH 1/4] fix link tag format Remove Extra Space. --- lib/github_changelog_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator.rb b/lib/github_changelog_generator.rb index 646c20f..dcf2e16 100755 --- a/lib/github_changelog_generator.rb +++ b/lib/github_changelog_generator.rb @@ -321,7 +321,7 @@ module GitHubChangelogGenerator github_site = options[:github_site] || 'https://github.com' # Generate tag name and link - log = "## [#{tag_name}] (#{github_site}/#{@options[:user]}/#{@options[:project]}/tree/#{tag_name})\n" + log = "## [#{tag_name}](#{github_site}/#{@options[:user]}/#{@options[:project]}/tree/#{tag_name})\n" #Generate date string: time_string = tag_time.strftime @options[:format] From e6d0c3d791a0e32fb9ffe47c8d7edd5bcafde63e Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Wed, 21 Jan 2015 19:14:31 +0100 Subject: [PATCH 2/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b7aa89..4d9c39c 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,13 @@ You're almost done! ## Usage **It's really simple**: -- If your **git remote** `origin` refer to your GitHub repo, then just go to your project folder just run: +- If your **git remote** `origin` refer to your GitHub repo, then just go to your project folder and run: github_changelog_generator - or from anywhere: - github_changelog_generator -u github-username -p github-project + github_changelog_generator -u github_username -p github_project As output you will get `CHANGELOG.md` file with *pretty Markdown-formatted* changelog. From d5edb1f6068852033f3752a009a7504fa8738128 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Wed, 21 Jan 2015 19:17:57 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d9c39c..6e50be5 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ You're almost done! github_changelog_generator -u github_username -p github_project -As output you will get `CHANGELOG.md` file with *pretty Markdown-formatted* changelog. +As output you will get `CHANGELOG.md` file with pretty *Markdown-formatted* changelog. ### Params: Type `github_changelog_generator --help` for detailed usage. @@ -57,7 +57,9 @@ And: - Run with key `-t [your-16-digit-token]` - Or set environment variable `CHANGELOG_GITHUB_TOKEN` and specify there your token. - i.e. add to your `~/.bash_profile` or `~/.zshrc` or any other place to load ENV variables string `export CHANGELOG_GITHUB_TOKEN="your-40-digit-github-token"'` + i.e. add to your `~/.bash_profile` or `~/.zshrc` or any other place to load ENV variables string : + + export CHANGELOG_GITHUB_TOKEN="your-40-digit-github-token" So, if you got error like this: >! /Library/Ruby/Gems/2.0.0/gems/github_api-0.12.2/lib/github_api/response/raise_error.rb:14:in `on_complete' From 3e3cc155920b2cfc5262c6e397118abc392bcd96 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Wed, 21 Jan 2015 19:19:23 +0100 Subject: [PATCH 4/4] Update gemspec to version 1.2.6 --- lib/github_changelog_generator/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator/version.rb b/lib/github_changelog_generator/version.rb index 7853856..66e58fa 100644 --- a/lib/github_changelog_generator/version.rb +++ b/lib/github_changelog_generator/version.rb @@ -1,3 +1,3 @@ module GitHubChangelogGenerator - VERSION = '1.2.5' + VERSION = '1.2.6' end