inline_forms 3.0.9 → 3.0.10

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmFlN2MzNzI5ZjEyOWEwMWI4NTUzMjhkMWQ2NTQwZDY2ZjhkMmY1YQ==
4
+ ZjY4N2RhYTYzYWU1YjE0NTNmMTgxMWE1M2M3MzcxNDViNmM0NjI0YQ==
5
5
  data.tar.gz: !binary |-
6
- NzIyNmM5MDdhNTJiMWM1NjI3ZTY5ZjU1NWEyNWJhNWQyNGE3YzE5OA==
6
+ YTQ3MzJiZDUyNmU4Y2RjMDgxMzg2YTdhZjI5NmJlMjUzYzBlMGQ4ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2MwNmZkYjI4MWE3N2NhN2UxODZlNTc4NzQ4OTY2MTYwNzcyYWM5NDM0NTFh
10
- NjEwMDExM2ZjMDk3ZTZiNzA5YjYzNzVjMzhiNWI4NWQ2NWE1YjBmOGYxOGY0
11
- YzU1YWYxMDIzOGE1ZDBjZTRkOGM4MzkyMWQyM2EyYTJkMDY5N2U=
9
+ NmM4YWEyMWRkMzAxNmEwNWQyMzc0MjcxNjI0ZjNkNWMxNzliN2NlZTBhYTRl
10
+ OWE2YzFjZjk0ZjViMWM2YWRiNzE1ZDc5OTZiY2Q1NWY5ODZlOTY3MzQ2ZjMw
11
+ MDdjMjVmYzAzOGEwODFiNWZjOTgxMzQzM2IwMmEzNTQ5MDJmM2I=
12
12
  data.tar.gz: !binary |-
13
- MGEyOTUwMjlkOWYwNTgwZmQ2MmY2MjBkNzAyZTgwN2ZiNTZjMTBiMjVmMWEx
14
- ZTdiOWIxYmY3ZWYzMDkyZmMzZGYwYmYwNjU0NzE4NGUyN2Y3ODkxNDcxNjRj
15
- YWI3YWVhYTM0YmYzODhhZmEwN2UyMjZjOGUxMzM2YzgzMzdmZDI=
13
+ YTMwZDE4YjljYjk1NDg5YzA5N2ZiZjc5NjY3N2YzYTczNGM1MDYzNjM3ZjE3
14
+ MTM0OTQyYjM4ZjBhNjE5MDkwODNmNjY4N2VhYmFhOTcxNjQ0ZTkzNDdkYmEx
15
+ YWVlYmQ1Njk0NjQ1MGM3MDlhOTlhOWZlNzMyMDJiNGZlOGZhZWU=
@@ -2,7 +2,7 @@
2
2
  InlineForms::SPECIAL_COLUMN_TYPES[:text_field]=:string
3
3
 
4
4
  def text_field_show(object, attribute)
5
- link_to_inline_edit object, attribute, (object[attribute].nil? || object[attribute].empty?) ? "<i class='fi-plus'></i>".html_safe : object[attribute]
5
+ link_to_inline_edit object, attribute, object[attribute].blank? ? "<i class='fi-plus'></i>".html_safe : object[attribute]
6
6
  end
7
7
 
8
8
  def text_field_edit(object, attribute)
@@ -12,4 +12,3 @@ end
12
12
  def text_field_update(object, attribute)
13
13
  object.send :write_attribute, attribute.to_sym, params[attribute.to_sym]
14
14
  end
15
-
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "3.0.9"
3
+ VERSION = "3.0.10"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-01 00:00:00.000000000 Z
11
+ date: 2014-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rvm