promethee 1.4.24 → 1.4.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a597dfe16dab27efd0c0e90fc07e5ec42642023
4
- data.tar.gz: '08e1e470475c6611400ff6933a17f18cabe93040'
3
+ metadata.gz: 2a2e08a77960c37fe075f7cd064a3c70c4afd51f
4
+ data.tar.gz: c7fb6740554d0f10edcf1ac6713b86412b4095c8
5
5
  SHA512:
6
- metadata.gz: aff244c67c8453f09b08af514df1414926ae0f86334bb9c9d11550470d3462eaa8d2f2910ce189b14fd1c7555f2e265993b4e3dc67872f5a083f5639add90e75
7
- data.tar.gz: b3e5fdbb1fbbe0e80e15a72a55176aaa5452b9a95ef1b528158a28f4b869f4e641fdcc90aa6da2425c2e4757dce9ecc2721e496a52bd179fd25b2f6c84513853
6
+ metadata.gz: a525c4dab046de46ad5f2034ef85b9d94f08695a6e81cb3b90602a10ac73a7502af8d5a3f93ecddf96d0992f9ab41a450caee97a56f5dc71b5634ad59f69e592
7
+ data.tar.gz: 9e61ebceaa696124f4f9109a3170ea31b8851702d5c91cc1dde3dd6c77b9516e64299771783a89634fcfee5cfb01b9cd46329695db56e66a8e3615d990c2328c
@@ -6,7 +6,7 @@ module ActionView
6
6
  # https://github.com/rails/rails/blob/bdc581616b760d1e2be3795c6f0f3ab4b1e125a5/actionview/lib/action_view/helpers/tags/text_field.rb
7
7
  class PrometheeEditor < Base
8
8
  def render
9
- @options[:master_data] = object.send @method_name unless object.nil? || @options.include? :value
9
+ @options[:master_data] = object.send @method_name unless object.nil? || @options.key?(:value)
10
10
  ApplicationController.renderer.render partial: 'promethee/edit', locals: @options
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.4.24'
3
+ VERSION = '1.4.25'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.24
4
+ version: 1.4.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos