simple_form_attachments 0.1.2 → 0.1.3

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: db69b98f356fc23ec406f4a46dbdd54226caf547
4
- data.tar.gz: 93164e01fb99075461cbb3f664c7de259f860d05
3
+ metadata.gz: f228ea0dc010f11ba09788c183bdbd51f2ec0613
4
+ data.tar.gz: cefb2f0c1701b48b3cd59643b43a67c64c016401
5
5
  SHA512:
6
- metadata.gz: 3a8caeedf281a7bb1b989c410896b585108b1dda35e4eb1df20343897fffd34b486a7c1caed2e78ff32f8869b137b933849b16b7ae3a57fed5ffde2d6551618f
7
- data.tar.gz: 63e4f52d55bc312c77519e3129e9f2d906affe85b8a7ef550fdfad17cfffc51a1b07f10f12c75079882f8be2df6ed36eb02d1006bcb0e40b093354cc0d472c73
6
+ metadata.gz: b3fda4e229fb99299de056aa9c6410eae5f5f3219795b66002d9cf2b27487024757253797bd7ea4b15b1c3d2583e9f951386434dc65214075356b464c070d16a
7
+ data.tar.gz: 4ff3d65bd6e536c67290f0972af90ebcf3b2794924a4bf75c49cb854fd73bb767f8939afec1af85cb21d531ddf0314142d6737b16dfd53308e46c8d079d35b73
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_attachments (0.1.2)
4
+ simple_form_attachments (0.1.3)
5
5
  jquery-ui-rails
6
6
  rails (>= 4.2)
7
7
  rails-assets-blueimp-file-upload (>= 9.6.0)
@@ -152,7 +152,7 @@
152
152
  get_disabled_submit_text: -> @$element.data('disabled-submit-text')
153
153
  get_file_input: -> @$element.find('input.file')
154
154
  get_form: -> @$element.parents('form').first()
155
- get_form_submit: -> @get_form().find('input[type="submit"]')
155
+ get_form_submit: -> @get_form().find('input[type="submit"]').first()
156
156
  get_max_number_of_files: -> @$element.data('max-number-of-files')
157
157
  get_number_of_files: ->
158
158
  @get_attachment_list().children('tr').not('.has_error').length
@@ -1,3 +1,3 @@
1
1
  module SimpleFormAttachments
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
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.2
4
+ version: 0.1.3
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-01 00:00:00.000000000 Z
12
+ date: 2015-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails