maintenance_tasks 1.8.0 → 1.8.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/app/models/maintenance_tasks/run.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6dbf3120a28de1ce88571561ba3be52d160743d365f862a65573b24fcc64cc24
|
|
4
|
+
data.tar.gz: 87fda9aaf48c7643a85cc542cbda6d89721ea0b656396329abd9a2d4a42cab68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77cc4fad4f591683cb3b6062265c487efb8f15b7f31aca2620730af3b74dd57296f8451d7077256fe2f5718762b8ba3de76e7f1affe2c888c202c585a781a570
|
|
7
|
+
data.tar.gz: 15e9c05f39cc0cc6216b66081ec051eebd4a669e5c5e002672f2028d5a160fa8dd4a9144e726bc455aa7a60b96018c2fe1a572079a9d705d7b299b7762e483df
|
|
@@ -424,7 +424,7 @@ module MaintenanceTasks
|
|
|
424
424
|
end
|
|
425
425
|
|
|
426
426
|
def truncate(attribute_name, value)
|
|
427
|
-
limit =
|
|
427
|
+
limit = self.class.column_for_attribute(attribute_name).limit
|
|
428
428
|
return value unless limit
|
|
429
429
|
value&.first(limit)
|
|
430
430
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: maintenance_tasks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02-
|
|
11
|
+
date: 2022-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|
|
@@ -150,7 +150,7 @@ homepage: https://github.com/Shopify/maintenance_tasks
|
|
|
150
150
|
licenses:
|
|
151
151
|
- MIT
|
|
152
152
|
metadata:
|
|
153
|
-
source_code_uri: https://github.com/Shopify/maintenance_tasks/tree/v1.8.
|
|
153
|
+
source_code_uri: https://github.com/Shopify/maintenance_tasks/tree/v1.8.1
|
|
154
154
|
allowed_push_host: https://rubygems.org
|
|
155
155
|
post_install_message:
|
|
156
156
|
rdoc_options: []
|