webtranslateit-version_fu 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/init.rb +2 -0
- data/lib/version_fu/version_fu.rb +9 -1
- data/lib/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: dafcb6fbac6a29c995843f7b2f4c00e783c0113f023bf1e44ff23a22bb0310fc
|
4
|
+
data.tar.gz: 86893427c50b80b1e8b90e7faa194b55f4e536381c8f188652994eee45d829bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3a3a50cbe3ff4dee0a30c61a423064fbd4b8444d6093e5d9841595d2cfb224415216402ffa25690809526eb377dd9a7503fee6b341919b37c53188b9c92da3b
|
7
|
+
data.tar.gz: 2d879688ec5ce222825cda0d1dfcf3fc3d715c119a8e38acdab3586e963096f71e3c2610e0a6f5e1561096a881d302ed136e4922e8b7dd27fa6a4cf759395490
|
data/Rakefile
CHANGED
data/init.rb
CHANGED
@@ -1,10 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module VersionFu
|
2
4
|
def self.included(base)
|
3
5
|
base.extend ClassMethods
|
4
6
|
end
|
5
7
|
|
6
8
|
module ClassMethods
|
7
|
-
|
9
|
+
# rubocop:todo Metrics/PerceivedComplexity
|
10
|
+
# rubocop:todo Metrics/MethodLength
|
11
|
+
# rubocop:todo Metrics/AbcSize
|
12
|
+
def version_fu(options = {}, &) # rubocop:todo Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/MethodLength, Metrics/PerceivedComplexity
|
8
13
|
return if included_modules.include? VersionFu::InstanceMethods
|
9
14
|
|
10
15
|
__send__ :include, VersionFu::InstanceMethods
|
@@ -77,6 +82,9 @@ module VersionFu
|
|
77
82
|
ActiveRecord::Base.logger.warn 'Version Table not found'
|
78
83
|
end
|
79
84
|
end
|
85
|
+
# rubocop:enable Metrics/AbcSize
|
86
|
+
# rubocop:enable Metrics/MethodLength
|
87
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
80
88
|
|
81
89
|
def versioned_class
|
82
90
|
const_get versioned_class_name
|
data/lib/version_fu.rb
CHANGED
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.6.
|
4
|
+
version: 1.6.1
|
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-
|
11
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|