New Upstream Release - ruby-rspec-temp-dir
Ready changes
Summary
Merged new upstream version: 1.1.1 (was: 1.1.0).
Resulting package
Built on 2022-05-15T15:11 (took 3m29s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-releases ruby-rspec-temp-dir
Lintian Result
Diff
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..23cd038
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,113 @@
+name: test
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ types:
+ - opened
+ - synchronize
+ - reopened
+ schedule:
+ - cron: "0 10 * * 5" # JST 19:00 (Fri)
+
+env:
+ CI: "true"
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+
+ container: ${{ matrix.ruby }}
+
+ strategy:
+ fail-fast: false
+
+ matrix:
+ ruby:
+ - ruby:2.0
+ - ruby:2.1
+ - ruby:2.2
+ - ruby:2.3
+ - ruby:2.4
+ - ruby:2.5
+ - ruby:2.6
+ - ruby:2.7
+ - ruby:3.0
+ - rubylang/ruby:master-nightly-bionic
+ include:
+ - ruby: rubylang/ruby:master-nightly-bionic
+ allow_failures: "true"
+
+ steps:
+ - uses: actions/checkout@v2
+
+
+ - name: Cache vendor/bundle
+ uses: actions/cache@v1
+ id: cache_gem
+ with:
+ path: vendor/bundle
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
+ restore-keys: |
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
+
+ - name: bundle update
+ run: |
+ set -xe
+ bundle config path vendor/bundle
+ bundle update --jobs $(nproc) --retry 3
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
+
+ - name: Setup Code Climate Test Reporter
+ uses: aktions/codeclimate-test-reporter@v1
+ with:
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
+ command: before-build
+ if: matrix.ruby >= 'ruby:2.4'
+ continue-on-error: true
+
+ - name: Run test
+ run: |
+ set -xe
+ bundle exec rspec
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
+
+ - name: Teardown Code Climate Test Reporter
+ uses: aktions/codeclimate-test-reporter@v1
+ with:
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
+ command: after-build
+ if: matrix.ruby >= 'ruby:2.4' && always()
+ continue-on-error: true
+
+ - name: Slack Notification (not success)
+ uses: lazy-actions/slatify@master
+ if: "! success()"
+ continue-on-error: true
+ with:
+ job_name: ${{ format('*build* ({0})', matrix.ruby) }}
+ type: ${{ job.status }}
+ icon_emoji: ":octocat:"
+ url: ${{ secrets.SLACK_WEBHOOK }}
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ notify:
+ needs:
+ - test
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Slack Notification (success)
+ uses: lazy-actions/slatify@master
+ if: always()
+ continue-on-error: true
+ with:
+ job_name: '*build*'
+ type: ${{ job.status }}
+ icon_emoji: ":octocat:"
+ url: ${{ secrets.SLACK_WEBHOOK }}
+ token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 4ea1fe5..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-language: ruby
-rvm:
-- 2.0
-- 2.1
-- 2.2
-- 2.3
-- 2.4
-- 2.5
-- ruby-head
-cache: bundler
-bundler_args: "--jobs=2"
-before_install:
-- gem update --system --no-document
-- gem install bundler --no-document
-before_script:
-- export CODECLIMATE_REPO_TOKEN=329887587f83c7ce5a1ab75f426c00830ba5ffac290c90bc486713c88baea900
-- export COVERAGE=true
-script:
-- bundle exec rspec
-- bundle exec codeclimate-test-reporter
-branches:
- only:
- - master
-notifications:
- email: false
- slack:
- secure: FWlvqeogBihUPkAQh/2t9ajZXFEe6CXMxcHeH9uY/7GPPBX0e4gUf4RU0xt7Ep3eloa1dtYIGj4UCcE5wZGG6oDdXVTGCp+NDdfKcBCjHyncbynS475m8N4oGTyNJ7LiS7ksL1vjdixO+pJb+EZYHR+RI86M2aaaLRhQ8feOVCU=
-matrix:
- allow_failures:
- - rvm: ruby-head
-sudo: false
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 67e32e6..10341fc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,12 @@
# Changelog
## master
-[full changelog](http://github.com/sue445/rspec-temp_dir/compare/v1.1.0...master)
+[full changelog](http://github.com/sue445/rspec-temp_dir/compare/v1.1.1...master)
+
+## v1.1.1
+[full changelog](http://github.com/sue445/rspec-temp_dir/compare/v1.1.0...v1.1.1)
+
+* Enable MFA requirement for gem releasing
+ * https://github.com/sue445/rspec-temp_dir/pull/35
## v1.1.0
[full changelog](http://github.com/sue445/rspec-temp_dir/compare/v1.0.0...v1.1.0)
diff --git a/Gemfile b/Gemfile
index 79a7527..392e83f 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,3 +2,23 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in rspec-temp_dir.gemspec
gemspec
+
+if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.0")
+ # NOTE: rake v13.0.0+ requires Ruby 2.2.0+
+ gem "rake", "< 13.0.0"
+end
+
+if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
+ # NOTE: json 2.6.0+ requires Ruby 2.3.0+
+ gem "json", "< 2.6.0"
+end
+
+if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.4.0")
+ # NOTE: simplecov-html v0.11.0+ requires Ruby ~> 2.4
+ gem "simplecov-html", "< 0.11.0"
+end
+
+if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
+ # NOTE: docile v1.4.0+ requires Ruby 2.5.0+
+ gem "docile", "< 1.4.0"
+end
diff --git a/README.md b/README.md
index 4f52b75..1a10463 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ create automatically temporary directory at each examples
This is inspired by Junit [TemporaryFolder](http://junit.org/junit4/javadoc/4.12/org/junit/rules/TemporaryFolder.html)
[![Gem Version](https://badge.fury.io/rb/rspec-temp_dir.svg)](http://badge.fury.io/rb/rspec-temp_dir)
-[![Build Status](https://travis-ci.org/sue445/rspec-temp_dir.svg)](https://travis-ci.org/sue445/rspec-temp_dir)
+[![Build Status](https://github.com/sue445/rspec-temp_dir/workflows/test/badge.svg?branch=master)](https://github.com/sue445/rspec-temp_dir/actions?query=workflow%3Atest)
[![Code Climate](https://codeclimate.com/github/sue445/rspec-temp_dir.png)](https://codeclimate.com/github/sue445/rspec-temp_dir)
[![Coverage Status](https://img.shields.io/coveralls/sue445/rspec-temp_dir.svg)](https://coveralls.io/r/sue445/rspec-temp_dir)
diff --git a/debian/changelog b/debian/changelog
index d0a17e0..dd33090 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-rspec-temp-dir (1.1.1-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk> Sun, 15 May 2022 15:08:32 -0000
+
ruby-rspec-temp-dir (1.1.0-2) unstable; urgency=medium
* Source-only upload for migration to testing
diff --git a/lib/rspec/temp_dir/version.rb b/lib/rspec/temp_dir/version.rb
index 0439b10..1d27bcf 100644
--- a/lib/rspec/temp_dir/version.rb
+++ b/lib/rspec/temp_dir/version.rb
@@ -1,5 +1,5 @@
module Rspec
module TempDir
- VERSION = "1.1.0"
+ VERSION = "1.1.1"
end
end
diff --git a/rspec-temp_dir.gemspec b/rspec-temp_dir.gemspec
index 2c93940..08d07c2 100644
--- a/rspec-temp_dir.gemspec
+++ b/rspec-temp_dir.gemspec
@@ -13,6 +13,11 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/sue445/rspec-temp_dir"
spec.license = "MIT"
+ spec.metadata["homepage_uri"] = spec.homepage
+ spec.metadata["source_code_uri"] = spec.homepage
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
+ spec.metadata["rubygems_mfa_required"] = "true"
+
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
@@ -23,7 +28,6 @@ Gem::Specification.new do |spec|
spec.add_dependency "rspec", ">= 3.0"
spec.add_development_dependency "bundler"
- spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
spec.add_development_dependency "coveralls"
spec.add_development_dependency "rake"
spec.add_development_dependency "simplecov"
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ad5c42b..5f070c9 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -15,7 +15,7 @@
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
-if ENV["COVERAGE"]
+if ENV["CI"]
require "simplecov"
require "coveralls"
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.1/lib/rspec/temp_dir.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.1/lib/rspec/temp_dir/uses_temp_dir.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.1/lib/rspec/temp_dir/version.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.1/lib/rspec/temp_dir/within_temp_dir.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/specifications/rspec-temp_dir-1.1.1.gemspec
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.0/lib/rspec/temp_dir.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.0/lib/rspec/temp_dir/uses_temp_dir.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.0/lib/rspec/temp_dir/version.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/gems/rspec-temp_dir-1.1.0/lib/rspec/temp_dir/within_temp_dir.rb -rw-r--r-- root/root /usr/share/rubygems-integration/all/specifications/rspec-temp_dir-1.1.0.gemspec
No differences were encountered in the control files