[arch-commits] Commit in ruby-metadata-json-lint/trunk (2 files)

Tim Meusel bastelfreak at gemini.archlinux.org
Sun Aug 15 09:11:42 UTC 2021


    Date: Sunday, August 15, 2021 @ 09:11:42
  Author: bastelfreak
Revision: 998698

update 3.0.0->3.0.1

Modified:
  ruby-metadata-json-lint/trunk/PKGBUILD
  ruby-metadata-json-lint/trunk/disable_rubocop.patch

-----------------------+
 PKGBUILD              |    6 +++---
 disable_rubocop.patch |   17 ++++++++++++++---
 2 files changed, 17 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-15 09:10:25 UTC (rev 998697)
+++ PKGBUILD	2021-08-15 09:11:42 UTC (rev 998698)
@@ -2,7 +2,7 @@
 
 _gemname='metadata-json-lint'
 pkgname="ruby-${_gemname}"
-pkgver=3.0.0
+pkgver=3.0.1
 pkgrel=1
 pkgdesc='Tool to check the validity of Puppet metadata.json files'
 arch=('any')
@@ -12,8 +12,8 @@
 makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
 options=('!emptydirs')
 source=("${url}/archive/${pkgver}/${_gemname}-${pkgver}.tar.gz" 'disable_rubocop.patch' 'dont_call_msl_via-bundler.patch')
-sha512sums=('72783f5b9657d4d7e12bc7ab7eafac62d063b300e40ae242d4b3dd14c54c89454c64660c2049041b7d231f3890e14a6d6c5c4ad39ad03b4f8c0d79e824d48bf9'
-            'd76e58f22ef04f69ddf4cf65b3ce73ca4151d64af3c21e5b0b8cad96eed558632b9510b9f5a7678db1e687cfacded1d4c693d5f3e38ac863286a5d59e1976a43'
+sha512sums=('6e61a409f8eee3246906fcbf5fe3257029524e86837cc22279f67a93009d96af2eeb1fae2c2212de4ecec617edce8826741343c08323007011f95366648a4bff'
+            '479a94337a0d3ec93f017780dedcbfec6173ab1ba3c20c402e889cf51d7309b892bb2c557ee3de4ad8d502742a44cb272420b997c3b90753c22c0a6cd590ca94'
             'ed730430b39554b74586fd47c85581afa289a700a677b5c9189fca06ccedb10b31bdef424f692949ed3fa54b292d7a51bb07d838f80d4bcd1cfe80e6d69e398c')
 
 prepare() {

Modified: disable_rubocop.patch
===================================================================
--- disable_rubocop.patch	2021-08-15 09:10:25 UTC (rev 998697)
+++ disable_rubocop.patch	2021-08-15 09:11:42 UTC (rev 998698)
@@ -1,13 +1,24 @@
 diff --git a/Rakefile b/Rakefile
-index db82161..f2a1362 100644
+index 2969965..b3b271a 100644
 --- a/Rakefile
 +++ b/Rakefile
-@@ -1,8 +1,5 @@
+@@ -1,19 +1,5 @@
  desc 'Run all tests'
 -task :test => %i[rubocop spec test:acceptance]
 -
 -require 'rubocop/rake_task'
--RuboCop::RakeTask.new
+-RuboCop::RakeTask.new(:rubocop) do |task|
+-  # These make the rubocop experience maybe slightly less terrible
+-  task.options = ['-D', '-S', '-E']
+-
+-  # Use Rubocop's Github Actions formatter if possible
+-  if ENV['GITHUB_ACTIONS'] == 'true'
+-    rubocop_spec = Gem::Specification.find_by_name('rubocop')
+-    if Gem::Version.new(rubocop_spec.version) >= Gem::Version.new('1.2')
+-      task.formatters << 'github'
+-    end
+-  end
+-end
 +task :test => %i[spec test:acceptance]
  
  namespace :test do



More information about the arch-commits mailing list