From 5d26024b2697f63410198f45cfc8164362e694b2 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Thu, 9 Mar 2023 14:20:56 +0100 Subject: [PATCH 1/7] Add ruby 3.2 and ruby head to GitHub Actions --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8712247..abb28fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,12 +11,14 @@ jobs: fail-fast: false matrix: ruby: - - jruby-9.1.17.0 + - "jruby-9.1.17.0" - "2.7" - "3.0" - "3.1" + - "3.2" + - "head" - runs-on: 'ubuntu-latest' + runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v2 From a0a9d727e788aa0fbd32ae65fc491f20418ac5c5 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Thu, 9 Mar 2023 14:23:18 +0100 Subject: [PATCH 2/7] Dependabot: enable and update GitHub Actions --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1230149 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" From 80a6a49264d2b9b6bafc81ee672cba3153036180 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Thu, 9 Mar 2023 16:00:09 +0100 Subject: [PATCH 3/7] Enable bundler cache for ruby GitHub Action --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abb28fd..6040bfc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,6 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Setup project - run: bundle install + bundler-cache: true - name: Run test run: bundle exec rake From 54d0a195a9bab008ad49ab3a837b4a60efacc5c0 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Thu, 9 Mar 2023 16:01:19 +0100 Subject: [PATCH 4/7] Run tests by cron --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6040bfc..874d426 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,14 @@ name: CI + on: - - push - - pull_request + push: + branches: + - main + pull_request: + branches: + - main + schedule: + - cron: "0 21 * * 6" jobs: build: From 7c93403fef67c9cf035ecf2011e5d7ce3b47951e Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Fri, 10 Mar 2023 10:49:50 +0100 Subject: [PATCH 5/7] Change links from master to main --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 445fef6..16567f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Terrapin [![Build Status](https://secure.travis-ci.org/thoughtbot/terrapin.png?branch=master)](http://travis-ci.org/thoughtbot/terrapin) +# Terrapin [![Build Status](https://secure.travis-ci.org/thoughtbot/terrapin.png?branch=main)](http://travis-ci.org/thoughtbot/terrapin) Run shell commands safely, even with user-supplied values @@ -218,5 +218,5 @@ The names and logos for thoughtbot are trademarks of thoughtbot, inc. Copyright 2011-2018 Jon Yurek and thoughtbot, inc. This is free software, and may be redistributed under the terms specified in the -[LICENSE](https://github.com/thoughtbot/terrapin/blob/master/LICENSE) +[LICENSE](https://github.com/thoughtbot/terrapin/blob/main/LICENSE) file. From 1467b69c0ae5a16a26e1400667a2c09236f8ca81 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Fri, 10 Mar 2023 10:52:23 +0100 Subject: [PATCH 6/7] Fix travis badge for retina (png->svg) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16567f2..d4f75cf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Terrapin [![Build Status](https://secure.travis-ci.org/thoughtbot/terrapin.png?branch=main)](http://travis-ci.org/thoughtbot/terrapin) +# Terrapin [![Build Status](https://secure.travis-ci.org/thoughtbot/terrapin.svg?branch=main)](http://travis-ci.org/thoughtbot/terrapin) Run shell commands safely, even with user-supplied values From 05bcb97b27411ebcda5040b6060c6af53037ac56 Mon Sep 17 00:00:00 2001 From: Elisa Verna Date: Mon, 24 Apr 2023 10:19:49 -0500 Subject: [PATCH 7/7] update climate control --- terrapin.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terrapin.gemspec b/terrapin.gemspec index 04dc0ac..0653d67 100644 --- a/terrapin.gemspec +++ b/terrapin.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ["lib"] - s.add_dependency("climate_control") + s.add_dependency("climate_control", "1.2.0") s.add_development_dependency("rspec") s.add_development_dependency("rake") s.add_development_dependency("activesupport", ">= 3.0.0", "< 5.0")