You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActiveSupport::Deprecation.warn("#{method_name} is stored as a symbol. Please set and save it again using #{method_name}= on your Spina::Account model to store it as a string. You can do this from the UI by saving your account preferences.")
26
+
Spina.deprecator.warn("#{method_name} is stored as a symbol. Please set and save it again using #{method_name}= on your Spina::Account model to store it as a string. You can do this from the UI by saving your account preferences.")
Copy file name to clipboardExpand all lines: lib/spina.rb
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -90,18 +90,18 @@ def config
90
90
config_obj=config_original
91
91
92
92
defconfig_obj.tailwind_purge_content
93
-
ActiveSupport::Deprecation.warn("config.tailwind_purge_content has been renamed to config.tailwind_content")
93
+
deprecator.warn("config.tailwind_purge_content has been renamed to config.tailwind_content")
94
94
tailwind_content
95
95
end
96
96
97
97
defconfig_obj.tailwind_purge_content=(paths)
98
-
ActiveSupport::Deprecation.warn("config.tailwind_purge_content has been renamed to config.tailwind_content")
98
+
deprecator.warn("config.tailwind_purge_content has been renamed to config.tailwind_content")
99
99
self.tailwind_content=paths
100
100
end
101
101
102
102
defconfig_obj.embedded_image_size=(image_size)
103
103
ifimage_size.is_a?String
104
-
ActiveSupport::Deprecation.warn("Spina embedded_image_size should be set to an array of arguments to be passed to the :resize_to_limit ImageProcessing macro. https://github.com/janko/image_processing/blob/master/doc/minimagick.md#resize_to_limit")
104
+
deprecator.warn("Spina embedded_image_size should be set to an array of arguments to be passed to the :resize_to_limit ImageProcessing macro. https://github.com/janko/image_processing/blob/master/doc/minimagick.md#resize_to_limit")
ActiveSupport::Deprecation.warn("using app/decorators is deprecated in favor of app/overrides. Read more about overriding Spina at spinacms.com/guides")
24
+
Spina.deprecator.warn("using app/decorators is deprecated in favor of app/overrides. Read more about overriding Spina at spinacms.com/guides")
0 commit comments