webtranslateit-version_fu 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/version_fu/version_fu.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c76d609d2c1c1d6b6bdaff7ab902a99938edf87773366c386c4fa2a6d9b8591
|
4
|
+
data.tar.gz: '093b2c5ed47ad9592d9b1b60a32d0563185c3731d84d136a8be85f85b1be69eb'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e46e397312e7398a23e77d9057fefbea4b295fe18e592aa6b54c2d9b8ba98213e0b79c03e09e7106f141d1a03ba3c919af8c0c53a60c832a3a7386d94457a7a4
|
7
|
+
data.tar.gz: 4eab4e004e505c962770ca1895588fef00089932c302a720a6c510823ce76bceec9c2a9adf308659ad77405723f51a3d78cf5628f2b1590a1e626b79e08c9c76
|
@@ -21,7 +21,9 @@ module VersionFu
|
|
21
21
|
|
22
22
|
self.versioned_class_name = options[:class_name] || 'Version'
|
23
23
|
self.versioned_foreign_key = options[:foreign_key] || to_s.foreign_key
|
24
|
+
# rubocop:todo Layout/LineLength
|
24
25
|
self.versioned_table_name = options[:table_name] || "#{table_name_prefix}#{base_class.name.demodulize.underscore}_versions#{table_name_suffix}"
|
26
|
+
# rubocop:enable Layout/LineLength
|
25
27
|
self.version_column = options[:version_column] || 'version'
|
26
28
|
|
27
29
|
# Setup versions association
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webtranslateit-version_fu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan McKible
|
@@ -43,7 +43,7 @@ files:
|
|
43
43
|
- init.rb
|
44
44
|
- lib/version_fu.rb
|
45
45
|
- lib/version_fu/version_fu.rb
|
46
|
-
homepage:
|
46
|
+
homepage: https://github.com/webtranslateit/version_fu
|
47
47
|
licenses:
|
48
48
|
- MIT
|
49
49
|
metadata:
|