From 0ee2ae7143aa9001c4a9fc835a190d26bb055d71 Mon Sep 17 00:00:00 2001 From: Adrij Shikhar Date: Thu, 1 Oct 2020 16:20:45 +0530 Subject: [PATCH] feat: Adds changelog gem and rake task --- CHANGELOG.md | 30 +++++++++++++++++++++++----- Gemfile | 9 +++++++++ Gemfile.lock | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Rakefile | 9 +++++++++ 4 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 Rakefile diff --git a/CHANGELOG.md b/CHANGELOG.md index e1aae11..fcb7d37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,29 @@ -# Change Log +# Changelog -All notable changes to the "darkdev" extension will be documented in this file. +## [Unreleased](https://github.com/adrijshikhar/darkdev/tree/HEAD) -Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +[Full Changelog](https://github.com/adrijshikhar/darkdev/compare/v0.3.3...HEAD) -## [Unreleased] +**Merged pull requests:** -- Initial release +- Update issue templates [\#7](https://github.com/adrijshikhar/darkdev/pull/7) ([adrijshikhar](https://github.com/adrijshikhar)) +- Create CODE\_OF\_CONDUCT.md [\#6](https://github.com/adrijshikhar/darkdev/pull/6) ([adrijshikhar](https://github.com/adrijshikhar)) + +## [v0.3.3](https://github.com/adrijshikhar/darkdev/tree/v0.3.3) (2020-04-16) + +[Full Changelog](https://github.com/adrijshikhar/darkdev/compare/1970a4373dca81a84b6b9d9e38493f2942fc59ea...v0.3.3) + +**Closed issues:** + +- that blue sucks! Fix it xD [\#2](https://github.com/adrijshikhar/darkdev/issues/2) + +**Merged pull requests:** + +- Version update [\#5](https://github.com/adrijshikhar/darkdev/pull/5) ([adrijshikhar](https://github.com/adrijshikhar)) +- Version update [\#4](https://github.com/adrijshikhar/darkdev/pull/4) ([adrijshikhar](https://github.com/adrijshikhar)) +- V0.3.0 [\#3](https://github.com/adrijshikhar/darkdev/pull/3) ([adrijshikhar](https://github.com/adrijshikhar)) +- Configure WhiteSource Bolt for GitHub [\#1](https://github.com/adrijshikhar/darkdev/pull/1) ([whitesource-bolt-for-github[bot]](https://github.com/apps/whitesource-bolt-for-github)) + + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..b4f29a5 --- /dev/null +++ b/Gemfile @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } + +# gem "rails" +gem "github_changelog_generator" +gem "figaro" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..b1231a0 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,56 @@ +GEM + remote: https://rubygems.org/ + specs: + activesupport (6.0.3.3) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + zeitwerk (~> 2.2, >= 2.2.2) + addressable (2.7.0) + public_suffix (>= 2.0.2, < 5.0) + concurrent-ruby (1.1.7) + faraday (1.0.1) + multipart-post (>= 1.2, < 3) + faraday-http-cache (2.2.0) + faraday (>= 0.8) + figaro (1.2.0) + thor (>= 0.14.0, < 2) + github_changelog_generator (1.15.2) + activesupport + faraday-http-cache + multi_json + octokit (~> 4.6) + rainbow (>= 2.2.1) + rake (>= 10.0) + retriable (~> 3.0) + i18n (1.8.5) + concurrent-ruby (~> 1.0) + minitest (5.14.2) + multi_json (1.15.0) + multipart-post (2.1.1) + octokit (4.18.0) + faraday (>= 0.9) + sawyer (~> 0.8.0, >= 0.5.3) + public_suffix (4.0.6) + rainbow (3.0.0) + rake (13.0.1) + retriable (3.1.2) + sawyer (0.8.2) + addressable (>= 2.3.5) + faraday (> 0.8, < 2.0) + thor (1.0.1) + thread_safe (0.3.6) + tzinfo (1.2.7) + thread_safe (~> 0.1) + zeitwerk (2.4.0) + +PLATFORMS + ruby + +DEPENDENCIES + figaro + github_changelog_generator + +BUNDLED WITH + 2.1.4 diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..db6a348 --- /dev/null +++ b/Rakefile @@ -0,0 +1,9 @@ +require 'github_changelog_generator/task' + +TOKEN = ENV["CHANGELOG_GITHUB_TOKEN"] + +GitHubChangelogGenerator::RakeTask.new :changelog do |config| + config.user = 'adrijshikhar' + config.project = 'darkdev' + config.token = TOKEN +end