From 09d4310f0fdf3a4105540024000349b67fe45e1d Mon Sep 17 00:00:00 2001 From: ncperry Date: Wed, 7 Feb 2024 15:34:37 -0700 Subject: [PATCH 1/6] versioning: enforce compatibility with multiple ruby versions --- .github/workflows/ci.yaml | 48 +++++++++++++++++++++++++++++++++++++++ Gemfile | 2 +- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..df7f4c7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,48 @@ +name: CI + +on: [pull_request] + +jobs: + ruby-new: + runs-on: ubuntu-latest + environment: test + container: + image: ruby:3.0.6 + + steps: + - uses: actions/checkout@v1 + + - name: Gem cache + id: cache-bundle + uses: actions/cache@v1 + with: + path: vendor/bundle + key: bundle-${{ hashFiles('**/Gemfile.lock') }} + + - name: Bundle install + env: + RAILS_ENV: test + run: | + bundle install + + ruby-old: + runs-on: ubuntu-latest + environment: test + container: + image: ruby:3.0.6 + + steps: + - uses: actions/checkout@v1 + + - name: Gem cache + id: cache-bundle + uses: actions/cache@v1 + with: + path: vendor/bundle + key: bundle-${{ hashFiles('**/Gemfile.lock') }} + + - name: Bundle install + env: + RAILS_ENV: test + run: | + bundle install diff --git a/Gemfile b/Gemfile index 4c5a20b..b4b134a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'http://rubygems.org' -ruby '2.2.3' +ruby '>= 2.2.3' # Specify your gem's dependencies in omniauth-mavenlink.gemspec gemspec From 0f6b7d10b5a5223b6bfae17c492a58471dbd6744 Mon Sep 17 00:00:00 2001 From: ncperry Date: Thu, 8 Feb 2024 09:03:55 -0700 Subject: [PATCH 2/6] docker: devcontainer.json --- .devcontainer/devcontainer.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..f53d131 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,4 @@ +{ + "name": "minimal_ubuntu", + "image": "ruby:3.0.6" +} From d6ac9f82439f85891ca4aa3308a992c50d0cd05a Mon Sep 17 00:00:00 2001 From: ncperry Date: Thu, 8 Feb 2024 09:04:16 -0700 Subject: [PATCH 3/6] ci: maybe it's not worth bundling with multiple versions --- .github/workflows/ci.yaml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index df7f4c7..dab67c4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,29 +3,7 @@ name: CI on: [pull_request] jobs: - ruby-new: - runs-on: ubuntu-latest - environment: test - container: - image: ruby:3.0.6 - - steps: - - uses: actions/checkout@v1 - - - name: Gem cache - id: cache-bundle - uses: actions/cache@v1 - with: - path: vendor/bundle - key: bundle-${{ hashFiles('**/Gemfile.lock') }} - - - name: Bundle install - env: - RAILS_ENV: test - run: | - bundle install - - ruby-old: + bundle-install: runs-on: ubuntu-latest environment: test container: From 886d9f33ef122efbe613e3604fafd05c50a521af Mon Sep 17 00:00:00 2001 From: ncperry Date: Thu, 8 Feb 2024 09:06:23 -0700 Subject: [PATCH 4/6] git-ignore: .idea file --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index dd93460..263863a 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ test/tmp test/version_tmp tmp .pairs +.idea \ No newline at end of file From aad0139bc0fdb6e27e944664fb3098b60c54fc3f Mon Sep 17 00:00:00 2001 From: ncperry Date: Thu, 8 Feb 2024 09:07:12 -0700 Subject: [PATCH 5/6] whitspace: newline for git --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 263863a..081b09c 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,4 @@ test/tmp test/version_tmp tmp .pairs -.idea \ No newline at end of file +.idea From c2c85fd755c413461a15c84f240700148c933adb Mon Sep 17 00:00:00 2001 From: ncperry Date: Thu, 8 Feb 2024 09:49:32 -0700 Subject: [PATCH 6/6] version: update patch number --- lib/omniauth-mavenlink/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/omniauth-mavenlink/version.rb b/lib/omniauth-mavenlink/version.rb index 3cde91d..7e9546a 100644 --- a/lib/omniauth-mavenlink/version.rb +++ b/lib/omniauth-mavenlink/version.rb @@ -1,5 +1,5 @@ module OmniAuth module Mavenlink - VERSION = "0.0.1" + VERSION = "0.0.2" end end