rh-activerecord-diff
Advanced tools
Sorry, the diff of this file is not supported yet
| name: Ruby Gem | ||
| on: | ||
| workflow_run: | ||
| workflows: | ||
| - Ruby | ||
| types: | ||
| - completed | ||
| branches: [ main ] | ||
| workflow_dispatch: | ||
@@ -19,19 +14,18 @@ jobs: | ||
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Set up Ruby 2.6 | ||
| uses: actions/setup-ruby@v1 | ||
| with: | ||
| ruby-version: 2.6.x | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Ruby | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: "3.1" | ||
| - name: Publish to RubyGems | ||
| run: | | ||
| mkdir -p $HOME/.gem | ||
| touch $HOME/.gem/credentials | ||
| chmod 0600 $HOME/.gem/credentials | ||
| printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials | ||
| gem build *.gemspec | ||
| gem push *.gem | ||
| env: | ||
| GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" | ||
| - name: Publish to RubyGems | ||
| run: | | ||
| mkdir -p $HOME/.gem | ||
| touch $HOME/.gem/credentials | ||
| chmod 0600 $HOME/.gem/credentials | ||
| printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials | ||
| gem build *.gemspec | ||
| gem push *.gem | ||
| env: | ||
| GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" |
@@ -10,7 +10,23 @@ name: Ruby | ||
| jobs: | ||
| test_2_6: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| gemfile: ['activerecord_5.2', 'activerecord_6.0', 'activerecord_6.1'] | ||
| ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4'] | ||
| gemfile: ['activerecord_5.2', 'activerecord_6.0', 'activerecord_6.1', 'activerecord_7.0', 'activerecord_7.1'] | ||
| exclude: | ||
| - ruby: '2.6' | ||
| gemfile: 'activerecord_7.0' | ||
| - ruby: '2.6' | ||
| gemfile: 'activerecord_7.1' | ||
| - ruby: '3.0' | ||
| gemfile: 'activerecord_5.2' | ||
| - ruby: '3.1' | ||
| gemfile: 'activerecord_5.2' | ||
| - ruby: '3.2' | ||
| gemfile: 'activerecord_5.2' | ||
| - ruby: '3.3' | ||
| gemfile: 'activerecord_5.2' | ||
| - ruby: '3.4' | ||
| gemfile: 'activerecord_5.2' | ||
| env: | ||
@@ -24,42 +40,5 @@ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | ||
| with: | ||
| ruby-version: '2.6' | ||
| ruby-version: ${{ matrix.ruby }} | ||
| bundler-cache: true | ||
| - name: Run tests | ||
| run: bundle exec rake | ||
| test_2_7: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| gemfile: ['activerecord_5.2', 'activerecord_6.0', 'activerecord_6.1', 'activerecord_7.0'] | ||
| env: | ||
| BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Set up Ruby | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: '2.7' | ||
| bundler-cache: true | ||
| - name: Run tests | ||
| run: bundle exec rake | ||
| test_3_x: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| ruby-version: ['3.0', '3.1'] | ||
| gemfile: ['activerecord_6.0', 'activerecord_6.1', 'activerecord_7.0'] | ||
| env: | ||
| BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Set up Ruby | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: ${{ matrix.ruby-version }} | ||
| bundler-cache: true | ||
| - name: Run tests | ||
| run: bundle exec rake |
+5
-1
@@ -9,2 +9,6 @@ /.bundle/ | ||
| /tmp/ | ||
| .ruby-version | ||
| .ruby-version | ||
| /gemfiles/*.gemfile.lock | ||
| /gemfiles/.bundle | ||
| *.sqlite3 | ||
| Gemfile.lock |
+0
-4
@@ -5,6 +5,2 @@ source "https://rubygems.org" | ||
| gem 'rake', '~> 12.0' | ||
| gem 'activerecord', '>= 5.2.0' | ||
| gem 'sqlite3', '~> 1.4' | ||
| gemspec |
| module ActiveRecord | ||
| module Diff | ||
| VERSION = "2.0.1.1" | ||
| VERSION = "2.0.2" | ||
| end | ||
| end |
@@ -6,4 +6,4 @@ require_relative 'lib/active_record/diff/version' | ||
| spec.version = ActiveRecord::Diff::VERSION | ||
| spec.authors = ["patorash"] | ||
| spec.email = ["chariderpato@gmail.com"] | ||
| spec.authors = ["patorash", "tokai3594"] | ||
| spec.email = ["chariderpato@gmail.com", "t-shinohara@rhizome-e.com"] | ||
@@ -31,4 +31,10 @@ spec.summary = %q{Simple ActiveRecord diff functionality} | ||
| spec.add_dependency('activerecord', '< 7.1.0','>= 5.2.0') | ||
| spec.add_dependency('activerecord', '< 7.2.0','>= 5.2.0') | ||
| spec.add_development_dependency('concurrent-ruby', '1.3.4') | ||
| spec.add_development_dependency('mutex_m', '~> 0.1') | ||
| spec.add_development_dependency('base64', '~> 0.1') | ||
| spec.add_development_dependency('bigdecimal', '~> 3.0' ) | ||
| spec.add_development_dependency('rake', '~> 13.0') | ||
| spec.add_development_dependency('sqlite3', '< 3.0', '>= 1.4.0') | ||
| end |
-41
| PATH | ||
| remote: . | ||
| specs: | ||
| rh-activerecord-diff (2.0.1) | ||
| activerecord (>= 5.2.0) | ||
| GEM | ||
| remote: https://rubygems.org/ | ||
| specs: | ||
| activemodel (6.1.4.1) | ||
| activesupport (= 6.1.4.1) | ||
| activerecord (6.1.4.1) | ||
| activemodel (= 6.1.4.1) | ||
| activesupport (= 6.1.4.1) | ||
| activesupport (6.1.4.1) | ||
| concurrent-ruby (~> 1.0, >= 1.0.2) | ||
| i18n (>= 1.6, < 2) | ||
| minitest (>= 5.1) | ||
| tzinfo (~> 2.0) | ||
| zeitwerk (~> 2.3) | ||
| concurrent-ruby (1.1.9) | ||
| i18n (1.8.11) | ||
| concurrent-ruby (~> 1.0) | ||
| minitest (5.14.4) | ||
| rake (12.3.3) | ||
| sqlite3 (1.4.2) | ||
| tzinfo (2.0.4) | ||
| concurrent-ruby (~> 1.0) | ||
| zeitwerk (2.5.1) | ||
| PLATFORMS | ||
| ruby | ||
| DEPENDENCIES | ||
| activerecord (>= 5.2.0) | ||
| rake (~> 12.0) | ||
| rh-activerecord-diff! | ||
| sqlite3 (~> 1.4) | ||
| BUNDLED WITH | ||
| 2.2.33 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet