reform-rails 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 754bad405b747f3fb7e2ea5bfb46ca9e32262eb0f17c85d9804312da30adaa6f
4
- data.tar.gz: 1a5643a5b733a4f536964e4ea33b5a38ee645cd752696d337a97cb824b72f442
3
+ metadata.gz: 7d315dbb4f57ba5ca99e97471777bc21c1a1825107b8c134b57806711b57df61
4
+ data.tar.gz: 3d796966db787d3c58093252543edb5c0ef1c7ab02dad056b5ca3c6ed10a4844
5
5
  SHA512:
6
- metadata.gz: f9f24f96751b877f6dd57da25502dbf7bdc23362e255ff78b677c18c3d51a3ffdc2b30ea101831fb2ce8a2b8e1cef665e968cd57c7394e0d897e8a8d2054eab3
7
- data.tar.gz: 129b85d74bcb7c45552991b0d76af9f4955119a9a57fb44d56620970ef935f8a8df3667db1b5088c5836c1c0f8c72367c8d80a9876448e21019cf5a3026de66d
6
+ metadata.gz: ae19a0207cd6e0004777f61d2a9390a00c0571c679f5192c672580b3310b0c199720294f017720aa5dc686f6b66a8e746f68a26ebea0270baa849f0d66db5770
7
+ data.tar.gz: eb1fcac6f076d2f226d71a43af3134c6227dbb7191a4068b9551c28befdfdfd7ca50bef0753ce79876dc0fa940c5c615022679756eef170e510fc7847bb55820
@@ -0,0 +1,28 @@
1
+ name: CI
2
+ on: [push, pull_request]
3
+ jobs:
4
+ test:
5
+ strategy:
6
+ fail-fast: false
7
+ matrix:
8
+ # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
9
+ ruby: [2.5, 2.6, 2.7, '3.0', head]
10
+ rails: ['6.1', '6.0', '5.2']
11
+ mongodb-version: ['4.4']
12
+ exclude:
13
+ - ruby: '3.0'
14
+ rails: 5.2
15
+ - ruby: head
16
+ rails: 5.2
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - uses: supercharge/mongodb-github-action@1.6.0
21
+ with:
22
+ mongodb-version: ${{ matrix.mongodb-version }}
23
+ - uses: ruby/setup-ruby@v1
24
+ with:
25
+ ruby-version: ${{ matrix.ruby }}
26
+ # bundler-cache: true # runs 'bundle install' and caches installed gems automatically
27
+ - run: RAILS_VERSION=${{ matrix.rails }} bundle install
28
+ - run: RAILS_VERSION=${{ matrix.rails }} bundle exec rake
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.2.3
2
+
3
+ * Fix deprecation warning related to `respond_to?`
4
+
1
5
  # 0.2.2
2
6
 
3
7
  * Support ActiveRecord 6.1
@@ -162,8 +162,8 @@ module Reform
162
162
  @amv_errors.send(m, *args, &block) # send all methods to the AMV errors, even privates.
163
163
  end
164
164
 
165
- def respond_to?(method)
166
- @amv_errors.respond_to?(method) ? true : super
165
+ def respond_to?(method, include_all = false)
166
+ @amv_errors.respond_to?(method, include_all) ? true : super
167
167
  end
168
168
 
169
169
  def full_messages
@@ -1,5 +1,5 @@
1
1
  module Reform
2
2
  module Rails
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reform-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-19 00:00:00.000000000 Z
11
+ date: 2021-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reform
@@ -52,10 +52,10 @@ executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - ".github/workflows/ci.yml"
55
56
  - ".gitignore"
56
57
  - ".rubocop.yml"
57
58
  - ".rubocop_todo.yml"
58
- - ".travis.yml"
59
59
  - CHANGES.md
60
60
  - Gemfile
61
61
  - LICENSE.txt
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.2.3
100
+ rubygems_version: 3.0.8
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Automatically load and include all common Rails form features.
data/.travis.yml DELETED
@@ -1,19 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- before_install:
4
- - gem update --system
5
- - gem install bundler
6
- rvm:
7
- - 2.5.5
8
- - 2.6.3
9
- - 2.7
10
- services:
11
- - mongodb
12
- env:
13
- - "RAILS_VERSION=6.1.0"
14
- - "RAILS_VERSION=6.0.0"
15
- - "RAILS_VERSION=5.2.0"
16
- - "RAILS_VERSION=5.1.0"
17
- - "RAILS_VERSION=5.0.0"
18
- matrix:
19
- fast_finish: true