webtranslateit-version_fu 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/version_fu/version_fu.rb +2 -2
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3262aa5dd011f04ebde775a689b48c952e476512b1c19e3f041500643835afb
4
- data.tar.gz: 03d770b452ac25ca2796067954281e67c8915b2b917faee433584199f2902f69
3
+ metadata.gz: f20efe6a4f64a157665f9e4f6983f678029043502e533b8df2f4519bd30eeee3
4
+ data.tar.gz: 71e01c4f400f3fa6f257602d69098fdbaf8b932498f5debfaf58a82e1972fc7b
5
5
  SHA512:
6
- metadata.gz: ee0d82ec9331a4b5ab1e04a855e8148698280a953ea93efb861fd5a70177eaeaba93e648179245dab9cdda60b752d433c989b91f8064b31a7779e95aa328f488
7
- data.tar.gz: 929dcafa7d68091290b0f074385679f0b5cb2c7edb26c85e84af1f5ac33aaa5a8463d98c0afb0aeb4fd8ad7945395e509e9d5b4878afffdb3083a832bb1e92ee
6
+ metadata.gz: 057c98b89f19021213dcda4fdca15151c86b01ab71b7f943a8f16da20044874c99e4d3f0faeda2c0a425cce173a9cfd23c2c2bd26376d9bed47bf22ffb89a5cb
7
+ data.tar.gz: ee21c0cd57d0bdaf3b994b64eaa1fb20605bf7f1cdff1b74742b53146020789bf0fe15bc1bcf4477ce7744137e5a4bf19a77bd2e5bd69da3082522354461b65b
@@ -4,7 +4,7 @@ module VersionFu
4
4
  end
5
5
 
6
6
  module ClassMethods
7
- def version_fu(options = {}, &block)
7
+ def version_fu(options = {}, &)
8
8
  return if included_modules.include? VersionFu::InstanceMethods
9
9
 
10
10
  __send__ :include, VersionFu::InstanceMethods
@@ -66,7 +66,7 @@ module VersionFu
66
66
  foreign_key: versioned_foreign_key
67
67
 
68
68
  # Block extension
69
- versioned_class.class_eval(&block) if block_given?
69
+ versioned_class.class_eval(&) if block_given?
70
70
 
71
71
  if versioned_class.table_exists?
72
72
  # Finally setup which columns to version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webtranslateit-version_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan McKible
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -209,14 +209,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  requirements:
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
- version: '2.7'
212
+ version: '3.1'
213
213
  required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  requirements:
215
215
  - - ">="
216
216
  - !ruby/object:Gem::Version
217
- version: '2.7'
217
+ version: '0'
218
218
  requirements: []
219
- rubygems_version: 3.3.13
219
+ rubygems_version: 3.3.7
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Gemified version of the version_fu plugin.