simple_form_attachments 1.1.0 → 1.1.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 +4 -4
- data/.gitignore +2 -1
- data/CHANGELOG.md +7 -3
- data/Gemfile.lock +1 -1
- data/lib/simple_form_attachments/attachment_input.rb +1 -1
- data/lib/simple_form_attachments/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d839aa59bd84966151f233afc97e9be5a683ad4
|
|
4
|
+
data.tar.gz: 6562b905bb9a1dec931dadd1b6ca93623bce77b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd0f5d4b16aaa846d9380ca598fd162718645db303d331142c3dff6951622ca8f8b6f258ec5651ebb7d4e8538412f681e79f31d606ad033277d6987afe078011
|
|
7
|
+
data.tar.gz: f054b9223c22904ee33a9af2234fbee9c7af9ac05ceed8dfb942242ad411f4eedeec402afa7cfa6dad15258b61ff1b51254d25df2afae919d43063bfa34a1130
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
* FIX: use `to_simple_form_partial_path` in the input builder, [PR #19](https://github.com/tomasc/simple_form_attachments/pull/19), thanks @asgerb
|
|
6
|
+
|
|
3
7
|
## 1.1.0
|
|
4
8
|
|
|
5
|
-
* support jQuery UI `~> 6`, [PR #15](https://github.com/tomasc/simple_form_attachments/pull/15), thanks @asgerb
|
|
9
|
+
* CHANGE: support jQuery UI `~> 6`, [PR #15](https://github.com/tomasc/simple_form_attachments/pull/15), thanks @asgerb
|
|
6
10
|
|
|
7
11
|
## 1.0.0
|
|
8
12
|
|
|
9
|
-
* css classes scoped in the `simple_form_attachments` namespace
|
|
10
|
-
* markup changed from `table` to `div` for more flexibility
|
|
13
|
+
* CHANGE: css classes scoped in the `simple_form_attachments` namespace
|
|
14
|
+
* CHANGE: markup changed from `table` to `div` for more flexibility
|
data/Gemfile.lock
CHANGED
|
@@ -234,7 +234,7 @@ module SimpleFormAttachments
|
|
|
234
234
|
template.content_tag :div, class: container_classes do
|
|
235
235
|
@builder.simple_fields_for attribute_name do |attachment_fields|
|
|
236
236
|
template.render(
|
|
237
|
-
partial:
|
|
237
|
+
partial: attachment_fields.object.to_simple_form_partial_path, format: :html, layout: File.join('layouts', 'simple_form_attachments', 'attachment_layout'),
|
|
238
238
|
locals: {
|
|
239
239
|
attachment: attachment_fields.object,
|
|
240
240
|
fields: attachment_fields,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_form_attachments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomas Celizna
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-09-
|
|
12
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|