simple_form_attachments 0.1.3 → 0.1.4

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: f228ea0dc010f11ba09788c183bdbd51f2ec0613
4
- data.tar.gz: cefb2f0c1701b48b3cd59643b43a67c64c016401
3
+ metadata.gz: 74a11d481a4b6e6d5daeb8f6a8697ba3b69def39
4
+ data.tar.gz: 65cabde4f41be15dfb70a8fbeeccfbebd7073cd6
5
5
  SHA512:
6
- metadata.gz: b3fda4e229fb99299de056aa9c6410eae5f5f3219795b66002d9cf2b27487024757253797bd7ea4b15b1c3d2583e9f951386434dc65214075356b464c070d16a
7
- data.tar.gz: 4ff3d65bd6e536c67290f0972af90ebcf3b2794924a4bf75c49cb854fd73bb767f8939afec1af85cb21d531ddf0314142d6737b16dfd53308e46c8d079d35b73
6
+ metadata.gz: feaffc38ee21adf116ad6a38eb6693f549caddb6d4b643c9be2f5cb0c91c324249a9af2ec00272819f975ba20fa9b999335c0348e4bf8ac4c640af0c416881ba
7
+ data.tar.gz: 863ebc5d6192ebe315f576f57b996d72ecafb7f94a5b3e1a5620ecbd441f703e8fe5d5c35c09ee0b2aee646fbba4bdf2618bcfb0687d4041a2e849e16f735e10
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_attachments (0.1.3)
4
+ simple_form_attachments (0.1.4)
5
5
  jquery-ui-rails
6
6
  rails (>= 4.2)
7
7
  rails-assets-blueimp-file-upload (>= 9.6.0)
@@ -188,7 +188,7 @@ GEM
188
188
  temple (~> 0.7.3)
189
189
  tilt (>= 1.3.3, < 2.1)
190
190
  slop (3.6.0)
191
- sprockets (3.3.5)
191
+ sprockets (3.4.0)
192
192
  rack (> 1, < 3)
193
193
  sprockets-rails (2.3.3)
194
194
  actionpack (>= 3.0)
@@ -106,7 +106,8 @@
106
106
  done: (e, data) =>
107
107
  @set_logs(e, data) if @options.debug
108
108
  console.log data.result.html if @options.debug
109
- data.context.replaceWith data.result.html
109
+ $result = $(data.result.html).addClass('uploaded')
110
+ data.context.replaceWith $result
110
111
 
111
112
  stop: (e, data) =>
112
113
  @set_logs(e, data) if @options.debug
@@ -1,3 +1,3 @@
1
1
  module SimpleFormAttachments
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
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.1.3
4
+ version: 0.1.4
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-10-04 00:00:00.000000000 Z
12
+ date: 2015-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails