tinymce_aws_file_upload 0.1.0 → 0.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: 624dc53bb7d8fa0998aee0c9a82317dcf7d0e5fd
4
- data.tar.gz: be0f5938cefab1974566b50763eb519b1b2f8324
3
+ metadata.gz: 61a42a0b871cc720f950426a2a1c3344720bd20b
4
+ data.tar.gz: 606b678c386240fe1d2921fbfb1cd171f146bd96
5
5
  SHA512:
6
- metadata.gz: 52f0997445aceb85a6b9f64a7e84b4960d27a971ce0049ad73f0b9e66558b25ffe247a350a1e88f584cbb49e1c349ee834eb8e10f644df3857498a0b1289c243
7
- data.tar.gz: 5007a9de680b393a58a3ec1a45bc651bc8cf1b3a95ae1d8fb057e2a6e3e25e087bbe0517cd1059cc56d3c25cd5d456cc60fc4dc3164ffa67e9c40e166e3eb36d
6
+ metadata.gz: 4291f5a38311de8ea394384c645dffa48c0de5d9df04f79c71c8d0db68e2ef93ea2803a85314587e51bd6afd0b587f45b5abd33d424f506b448d77bc59c20324
7
+ data.tar.gz: 488b55ab4756d2bca64a0909664bb976b2f63109cfef80ac439af99b10480ff39ff3b7afb58f06b9a92af9e8b45e42baf6240ff7c34e8524a0bb873701516a04
data/README.md CHANGED
@@ -47,6 +47,10 @@ root.initTinyMCE('class')
47
47
  ```
48
48
  where class is a class you should add to all textareas which you want to add the Tinymce rich text editor.
49
49
 
50
+ ### Loading
51
+
52
+ If the function root.start_loading() and root.stop_loading() exists, those will be called when the file starts uploading and when it ends, respectively.
53
+
50
54
  ## Contributing
51
55
 
52
56
  1. Fork it ( http://github.com/arielschvartz/tinymce_aws_file_upload/fork )
@@ -10,7 +10,7 @@ root.set_amazon_direct_upload = (elem) ->
10
10
  input.change ->
11
11
  $file = $(this)[0].files[0]
12
12
  $.ajax
13
- url: '/signed_urls',
13
+ url: '/tinymce_aws_file_upload/signed_urls',
14
14
  type: 'get',
15
15
  dataType: 'json',
16
16
  data:
data/config/routes.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  Rails.application.routes.draw do
2
- get 'signed_urls' => 'tinymce_aws_file_upload/signed_urls#index'
2
+ get 'tinymce_aws_file_upload/signed_urls' => 'tinymce_aws_file_upload/signed_urls#index', as: :signed_urls
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module TinymceAwsFileUpload
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinymce_aws_file_upload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Schvartz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-10 00:00:00.000000000 Z
11
+ date: 2014-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.2.2
126
+ rubygems_version: 2.4.2
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: TinyMCE AWS file upload