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 CHANGED
Binary file
@@ -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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arturo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.7.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
metadata.gz.sig CHANGED
Binary file