webtranslateit-version_fu 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/version_fu/version_fu.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f20efe6a4f64a157665f9e4f6983f678029043502e533b8df2f4519bd30eeee3
|
|
4
|
+
data.tar.gz: 71e01c4f400f3fa6f257602d69098fdbaf8b932498f5debfaf58a82e1972fc7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 = {}, &
|
|
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(&
|
|
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.
|
|
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-
|
|
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: '
|
|
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: '
|
|
217
|
+
version: '0'
|
|
218
218
|
requirements: []
|
|
219
|
-
rubygems_version: 3.3.
|
|
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.
|