tinymce-rails-fileupload 0.0.2 → 0.0.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: f9ec41a279d2b024a0f8197134211486a57093e5
4
- data.tar.gz: 375967a154971ac7ce0a8c0bc3fd9207e82443d8
3
+ metadata.gz: e6bcc230626f933fb27f7d2e5cb7339a84dca387
4
+ data.tar.gz: 140a54608affd59218d69c9730e005badd9a4dc8
5
5
  SHA512:
6
- metadata.gz: 03e33ab710d461e3bd45d35798e7c8a69f3e5eb3917cdc136422783334905b858447c8297b269b0d86c27c8d4e8d1a9da2b1e4ff041ede255a8d098d2757b034
7
- data.tar.gz: 04b6ca38f94878f8874288717423afa0495840df448fe6f3bbc926ef0d9f6d00a1170661ddc1ab520c22d0632bdded3e51e739263c7556005553f87b87cc525c
6
+ metadata.gz: 92911357daaf90c23d4f2f30552de0ada58eacbcc4a7395f7d158028058b334aa89f42fee52489e5d40cda746f8b285bcd6e64d9a7e1bd81cd17e3e8554293ea
7
+ data.tar.gz: 685aa42155b3e48c1d817f4a81025e0290e9407c0f17c3bd52d16bd15cc32bb9dc46e40163d46e6bbf0639b78b46b92f6c3d1d4653ad071bf6154ef7879c8b62
@@ -1,3 +1,7 @@
1
+ # 0.0.2 / 2015-03-23
2
+
3
+ * Fixed test app. README update.
4
+
1
5
  # 0.0.1 / 2015-03-23
2
6
 
3
7
  * Initial release
data/README.md CHANGED
@@ -6,6 +6,10 @@ It makes no assumption on how you store the files, it simply POSTs data to a URL
6
6
 
7
7
  This plugin started as a copy of [tinymce-rails-imageupload](https://github.com/PerfectlyNormal/tinymce-rails-imageupload).
8
8
 
9
+ ## Demo
10
+
11
+ A small app demonstrating a working setup with Rails 4 is available [here](https://github.com/dreyercalitz/tinymce-rails-fileupload-demo).
12
+
9
13
  ## Requirements
10
14
 
11
15
  * Rails >= 4.0
@@ -53,8 +57,6 @@ The JSON has to be returned with a content type of "text/html" to work.
53
57
  Example:
54
58
 
55
59
  class TinymceAssetsController < ApplicationController
56
- respond_to :json
57
-
58
60
  def create
59
61
  document = Document.create(document_params)
60
62
 
@@ -62,8 +64,7 @@ Example:
62
64
  document: {
63
65
  url: document.file.url,
64
66
  title: document.title
65
- },
66
- target: params[:target].to_s
67
+ }
67
68
  }, layout: false, content_type: "text/html"
68
69
  end
69
70
 
@@ -79,7 +80,7 @@ Inserted HTML is just `<a href="..." title="...">Link text</a>`.
79
80
 
80
81
  ## Contributing
81
82
 
82
- 1. Fork it ( https://github.com/[my-github-username]/tinymce-rails-documentupload/fork )
83
+ 1. Fork it ( https://github.com/[my-github-username]/tinymce-rails-fileupload/fork )
83
84
  2. Create your feature branch (`git checkout -b my-new-feature`)
84
85
  3. Commit your changes (`git commit -am 'Add some feature'`)
85
86
  4. Push to the branch (`git push origin my-new-feature`)
@@ -1,7 +1,7 @@
1
1
  module Tinymce
2
2
  module Rails
3
3
  module Fileupload
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinymce-rails-fileupload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dreyer Calitz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-23 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -89,7 +89,7 @@ files:
89
89
  - lib/tinymce/rails/fileupload.rb
90
90
  - lib/tinymce/rails/fileupload/rails.rb
91
91
  - lib/tinymce/rails/fileupload/version.rb
92
- homepage: ''
92
+ homepage: https://github.com/dreyercalitz/tinymce-rails-fileupload
93
93
  licenses:
94
94
  - MIT
95
95
  metadata: {}