inplace_editing 0.2.0 → 0.2.1

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f84872e5235d8573b8d8e14ad609a734f19c136
4
- data.tar.gz: 0a8bbb3f59c143ec2fa8b814a41c9d5e01180225
3
+ metadata.gz: 73e98fbb4a6e023ca57353533b3545e5e2e25420
4
+ data.tar.gz: 14924155f2e49bddb8872bdca27d78ae11238825
5
5
  SHA512:
6
- metadata.gz: 478a8c79dae580791237d0660b4d54a4b746894d7c7d2edd8d78ff1604b29dd9f318165d79332ab3552dd33fb7b7afed92e8c39711e7f183d105f1ca0f42e1ba
7
- data.tar.gz: 9da3ba4f6843bea3ddb477583956206c110f1030fd9d359d06b967092e531f8e0030ab2c11b9e6eb24d25362e86fc8eb91970a620f2995abfef35d2eb0661063
6
+ metadata.gz: 8f2e114f399bf5c12ac2b60a1020abcef6ed561891a9ed2f2715759299790a93d1b26dd8d2f95cfd893079c593ad9c1872c8f691dd8e7ec55f327c8bb77f7b87
7
+ data.tar.gz: a1c28f910ec63b858f709f7a0e1cf2df4cc25a48b586df4d5f2821b0a6ec145f7ada64454c6a63e9ecb693c4ba32fd31d0df388fe5c7228056be5c903e49b445
data/.gitignore CHANGED
@@ -7,3 +7,5 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+
11
+ .gem
@@ -1,5 +1,5 @@
1
1
  - image_src = localized_object[property] ? localized_object.send(property.to_s + '_url') : local_assigns[:default_value]
2
- = simple_form_for(localized_object, html: { class: 'inplace_editor inplace_editor_image' :multipart => true, novalidate: true }, :format => :json, :remote => true, authenticity_token: true) do |f|
2
+ = simple_form_for(localized_object, html: { class: 'inplace_editor inplace_editor_image', :multipart => true, novalidate: true }, :format => :json, :remote => true, authenticity_token: true) do |f|
3
3
  = f.input_field property, as: :file, label: "Trocar Imagem", style: 'display:none'
4
4
  = f.input property.to_s + "_cache", as: :hidden
5
5
  .image-container
@@ -1,3 +1,3 @@
1
1
  module InplaceEditing
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inplace_editing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrique Rangel