simple_form_attachments 1.1.0 → 1.1.1

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: 412212d4fd609e4906ebdc757f94f7515ef94974
4
- data.tar.gz: 6486cebcbfa4c1c2f0c72cb9256aa879b5c51597
3
+ metadata.gz: 8d839aa59bd84966151f233afc97e9be5a683ad4
4
+ data.tar.gz: 6562b905bb9a1dec931dadd1b6ca93623bce77b0
5
5
  SHA512:
6
- metadata.gz: 959f0e518a6ee4714fd1e28cdff54be3049bf501762ede196967c1fe6ba23e9a86629877fd28d1ce54d460f80b55dafa53f7aca7f4290171a61ae6266f5c6bcb
7
- data.tar.gz: 64c0ce4ac7ae6ef7272041c919aad73ec7049cb7a0c55f8d4a613d2e5a779f19d9598e98e386e622c4abad5da9b92de80d8ee413d0f99581ce7c5cb9675e74ae
6
+ metadata.gz: bd0f5d4b16aaa846d9380ca598fd162718645db303d331142c3dff6951622ca8f8b6f258ec5651ebb7d4e8538412f681e79f31d606ad033277d6987afe078011
7
+ data.tar.gz: f054b9223c22904ee33a9af2234fbee9c7af9ac05ceed8dfb942242ad411f4eedeec402afa7cfa6dad15258b61ff1b51254d25df2afae919d43063bfa34a1130
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  test/dummy/log
2
2
  test/dummy/tmp
3
3
  test/dummy/public/system
4
- pkg
4
+ pkg
5
+ .DS_Store
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_attachments (1.1.0)
4
+ simple_form_attachments (1.1.1)
5
5
  jquery-ui-rails (>= 5.0, < 7.0)
6
6
  mongoid (> 4.0)
7
7
  rails (>= 4.2)
@@ -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: File.join('simple_form_attachments', attachment_fields.object.to_partial_path), format: :html, layout: File.join('layouts', 'simple_form_attachments', 'attachment_layout'),
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,
@@ -1,3 +1,3 @@
1
1
  module SimpleFormAttachments
2
- VERSION = '1.1.0'.freeze
2
+ VERSION = '1.1.1'.freeze
3
3
  end
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.0
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-18 00:00:00.000000000 Z
12
+ date: 2017-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails