simple_form_attachments 0.0.8 → 0.0.9

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: 641098bbed0b28eacffea6d69007491d936aba5e
4
- data.tar.gz: b2ebb0e99a9f59cc5a8fdeea46e9023215dc75c8
3
+ metadata.gz: 20fff88df741e411c95ed3fedf922493973e648f
4
+ data.tar.gz: f794f357a9e3c1182bf16395f1c1b9559ebc04b9
5
5
  SHA512:
6
- metadata.gz: a073e8106193027b138823d9711591f0bad7298c0a475ce6c3a59a9c4e7134b0a619b09ee95c4c0cbc02f69dc2c2da3b017f7f578ed3ad2d1ee290edb04253a9
7
- data.tar.gz: dbc9c146a9c34a107042284ef9ccfe58c4687287c14fca9677f49298eb64cb6d87c3704c095f44c29ab788ead665f49f05f5554d7579651877b77620b0b8dd05
6
+ metadata.gz: 0f559414630de4992c5ad1a4ea18f8f47d7e23c30c7f48ed63156d6195a28e4cedc924019b6b7bcb413fb9ce7ef18bea593272d931abc28912dc6ededeba32fb
7
+ data.tar.gz: 18348f0b5fbbc40d441535d0667239e0cfe389c7e387eab25eaafa719b27a2a3dc038193cb70910b968a2f18eca417d98fbc65f058d3fe4731a6e5c133b4aca3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_attachments (0.0.8)
4
+ simple_form_attachments (0.0.9)
5
5
  jquery-ui-rails
6
6
  rails (>= 4.2)
7
7
  rails-assets-blueimp-file-upload (>= 9.6.0)
@@ -37,7 +37,7 @@ module SimpleFormAttachments
37
37
  accepts_nested_attributes_for accessor_name
38
38
 
39
39
  define_method "mark_#{accessor_name}_permanent" do
40
- self.send(accessor_name).update(temporary: false) if self.send(accessor_name)
40
+ self.send(accessor_name).update_all(temporary: false) if self.send(accessor_name)
41
41
  end
42
42
  end
43
43
 
@@ -1,3 +1,3 @@
1
1
  module SimpleFormAttachments
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
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: 0.0.8
4
+ version: 0.0.9
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: 2015-07-26 00:00:00.000000000 Z
12
+ date: 2015-08-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails