ufujs-rails 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ef345d3307eb01f8d1d9adf799012b00d9e13f4
4
- data.tar.gz: 1f28e5ca4005a65f52ceb2be69de784a75655a35
3
+ metadata.gz: 8da232bc5ba35d81fdb591138b6330ea8d58b62b
4
+ data.tar.gz: 12e080809a800144eaeece49a6927c146c315407
5
5
  SHA512:
6
- metadata.gz: 7f6cd9a9ac4502f8628320834e898ab3c8b87aa6e5195d29715b6ab992ed9676c7be76695d9eeec2a5be475ca90ff9f1393a83c537b45a287e29166d9ccd31d8
7
- data.tar.gz: 466212cd8c15cabd51a043d185060fe086043adad63e713f10122db317a29b79d6210574bce4554e8aa62102e7c98998b40e5cb22ea18a58b5226465fe212515
6
+ metadata.gz: b592bcfd96e6f739a9f1436e7601ce477b7a37665b3b7a22e527767aa2fe7df21702d6b559edcded258756e8ef6c9c4430bca42af564876cc63187e64e99975d
7
+ data.tar.gz: 575e6ecd6f787c93eb41eba059085279515f3eca8622d760a8cf5e029a7432481aef010875f68a9901608af3dbaaaa31dedc0712bccbee3afcfe667c22276775
data/README.md CHANGED
@@ -45,11 +45,11 @@ config.filter_parameters += [:image]
45
45
  Browser Compatibility
46
46
  -
47
47
 
48
- IE10 +
49
- Chrome
50
- Firefox
51
- Opera
52
- Safari
48
+ ![ie10](http://www.browserbadge.com/ie/10/75px)
49
+ ![chrome](http://www.browserbadge.com/chrome/75px)
50
+ ![firefox](http://www.browserbadge.com/firefox/75px)
51
+ ![opera](http://www.browserbadge.com/opera/75px)
52
+ ![safari](http://www.browserbadge.com/safari/5/75px)
53
53
 
54
54
  If you care about IE9 and lower, don't worry I am sure that you will have the white line in your life soon.
55
55
 
@@ -1,6 +1,7 @@
1
1
  $(document).on 'ajax:aborted:file', 'form', (e, inputs) ->
2
2
  j = 1
3
3
  form = $(@)
4
+ setTimeout((-> $.rails.disableFormElements(form)), 50)
4
5
  $.map inputs, (input, i) ->
5
6
  fr = new FileReader()
6
7
  fr.readAsDataURL(input.files[0])
@@ -1,5 +1,5 @@
1
1
  module Ufujs
2
2
  module Rails
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ufujs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Galushka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-02 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.4.5
57
+ rubygems_version: 2.4.5.1
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Dead simple remove file uploader for Rails