statusable 0.4.0 → 0.4.1
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/statusable/has_statuses.rb +7 -0
- data/lib/statusable/railtie.rb +2 -0
- data/lib/statusable/version.rb +1 -1
- 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: 47b494f50bfb5227bdc81b7b94b6401aacfbca8b9feb76a9ab05778aee68eccd
|
4
|
+
data.tar.gz: 53dad8c7f78793022eeeb65319178bf77214ad681cb10db7fcdb92ca34ac1a13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 514eaadc11e7e6556f1baab28a92fff17b060c701d61f83d82bdab267f4dec27d1038b8620d1fdcf488bbe80daf7641dfd96a4d0a44988c656e2721a7fcebb4d
|
7
|
+
data.tar.gz: f20b7697fe30031dfb688d08f0a2c7b1031c03be687d5183d593013b7ba49099d165d5b15e912834afeeb9815842ddb984ed91e7e6611270fccc74c6ce99bd24
|
@@ -10,9 +10,15 @@ module Statusable::HasStatuses
|
|
10
10
|
extend ActiveSupport::Concern
|
11
11
|
|
12
12
|
class_methods do # rubocop:disable Metrics/BlockLength
|
13
|
+
# :reek:TooManyStatements
|
14
|
+
# :reek:LongParameterList
|
15
|
+
# :reek:BooleanParameter
|
16
|
+
# :reek:ControlParameter
|
17
|
+
# :reek:DuplicateMethodCall
|
13
18
|
# rubocop:disable Metrics/AbcSize
|
14
19
|
# rubocop:disable Metrics/MethodLength
|
15
20
|
# rubocop:disable Naming/PredicateName
|
21
|
+
|
16
22
|
def has_statuses(
|
17
23
|
*args,
|
18
24
|
col_name: "status",
|
@@ -354,6 +360,7 @@ module Statusable::HasStatuses
|
|
354
360
|
end
|
355
361
|
end
|
356
362
|
end
|
363
|
+
|
357
364
|
# rubocop:enable Naming/PredicateName
|
358
365
|
# rubocop:enable Metrics/MethodLength
|
359
366
|
# rubocop:enable Metrics/AbcSize
|
data/lib/statusable/railtie.rb
CHANGED
data/lib/statusable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statusable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul DobbinSchmaltz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|