arturo 1.6.1 → 1.7.0
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.
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +5 -0
- data/app/helpers/arturo/features_helper.rb +0 -9
- metadata +1 -1
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## v1.7.0
|
|
2
|
+
|
|
3
|
+
`Arturo::FeaturesHelper#error_messages_for` has been removed. This only affects
|
|
4
|
+
people who have written their own feature-management pages that use this helper.
|
|
5
|
+
|
|
1
6
|
## v1.6.1
|
|
2
7
|
|
|
3
8
|
`Arturo::FeaturesHelper#error_messages_for` has been deprecated in favor of
|
|
@@ -37,15 +37,6 @@ module Arturo
|
|
|
37
37
|
content_tag(:output, value, { 'for' => id, 'class' => 'deployment_percentage no_js' })
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
def error_messages_for(feature, attribute, *args, &block)
|
|
41
|
-
if feature.kind_of?(Arturo::Feature)
|
|
42
|
-
warn 'Arturo::FeaturesHelper#error_messages_for has been deprecated; use #error_messages_for_feature.'
|
|
43
|
-
error_messages_for_feature(feature, attribute)
|
|
44
|
-
else
|
|
45
|
-
super
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
|
|
49
40
|
def error_messages_for_feature(feature, attribute)
|
|
50
41
|
if feature.errors[attribute].any?
|
|
51
42
|
content_tag(:ul, :class => 'errors') do
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|