From b22edd301014cc17fd15b0fa6d99db4ac31b9672 Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Mon, 17 Jun 2019 12:01:59 -0500 Subject: [PATCH] Add whatsnew generation as a rake task Add win platform to the Gemfile.lock --- .gitignore | 1 + Gemfile | 1 + Gemfile.lock | 17 +++++++++++++++++ Rakefile | 6 ++++++ 4 files changed, 25 insertions(+) diff --git a/.gitignore b/.gitignore index b25a33fc130..148990b93bd 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ _config.local.yml .jekyll-metadata +.whatsup.yml *.bat /tmp/ diff --git a/Gemfile b/Gemfile index 3abc37a702f..8c9bcb0ce67 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,7 @@ source 'https://rubygems.org' gem 'devdocs', git: 'https://github.com/magento-devdocs/devdocs-theme.git' gem 'jekyll' +gem 'whatsup_github' gem 'wdm', platform: :mswin diff --git a/Gemfile.lock b/Gemfile.lock index 5c5f6b84129..5c353e74753 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -31,6 +31,8 @@ GEM ffi (>= 1.3.0) eventmachine (1.2.7) exifr (1.3.6) + faraday (0.15.4) + multipart-post (>= 1.2, < 3) ffi (1.10.0) filesize (0.2.0) forwardable-extended (2.6.0) @@ -107,8 +109,12 @@ GEM mercenary (0.3.6) mini_portile2 (2.3.0) minitest (5.11.3) + multipart-post (2.1.1) + netrc (0.11.0) nokogiri (1.8.5) mini_portile2 (~> 2.3.0) + octokit (4.14.0) + sawyer (~> 0.8.0, >= 0.5.3) parallel (1.17.0) pathutil (0.16.2) forwardable-extended (~> 2.6) @@ -126,16 +132,26 @@ GEM sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) + sawyer (0.8.2) + addressable (>= 2.3.5) + faraday (> 0.8, < 2.0) + thor (0.20.3) thread_safe (0.3.6) typhoeus (1.3.1) ethon (>= 0.9.0) tzinfo (1.2.5) thread_safe (~> 0.1) verbal_expressions (0.1.5) + wdm (0.1.1) + whatsup_github (0.0.1) + netrc (~> 0.10) + octokit (~> 4.14) + thor (~> 0.20) yell (2.1.0) PLATFORMS ruby + x86-mswin32 DEPENDENCIES devdocs! @@ -151,6 +167,7 @@ DEPENDENCIES jekyll-titles-from-headings launchy wdm + whatsup_github BUNDLED WITH 1.17.3 diff --git a/Rakefile b/Rakefile index 5f3df991ee1..df6d279425a 100644 --- a/Rakefile +++ b/Rakefile @@ -63,3 +63,9 @@ task init: %w[multirepo:init] desc 'Run checks (image optimization).' task check: %w[check:image_optim] + +desc 'Generate data for the weekly digest.' +task :whatsnew do + print 'Generating data for the weekly digest: $ '.magenta + sh 'whatsup_github' +end