rails_kindeditor 0.2.0 → 0.2.1
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.
- data/lib/rails_kindeditor/helper.rb +1 -1
- data/lib/rails_kindeditor/version.rb +1 -1
- metadata +49 -27
|
@@ -6,7 +6,7 @@ module RailsKindeditor
|
|
|
6
6
|
if ::Rails.version < "3.1.0"
|
|
7
7
|
path = "/javascripts"
|
|
8
8
|
else # Rails3.1+
|
|
9
|
-
path = ""
|
|
9
|
+
path = "#{request.protocol}#{request.host_with_port}"
|
|
10
10
|
end
|
|
11
11
|
if config.perform_caching && ::Rails.version < "3.1.0"
|
|
12
12
|
output << javascript_include_tag("#{path}/kindeditor/kindeditor-min.js", "#{path}/kindeditor/kindeditor-init.js", :cache => "kindeditor/kindeditor-cache")
|
metadata
CHANGED
|
@@ -1,33 +1,45 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_kindeditor
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 2
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.2.1
|
|
6
11
|
platform: ruby
|
|
7
|
-
authors:
|
|
12
|
+
authors:
|
|
8
13
|
- Macrow
|
|
9
14
|
autorequire:
|
|
10
15
|
bindir: bin
|
|
11
16
|
cert_chain: []
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
|
|
18
|
+
date: 2011-10-02 00:00:00 Z
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
15
21
|
name: carrierwave
|
|
16
|
-
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
17
24
|
none: false
|
|
18
|
-
requirements:
|
|
19
|
-
- -
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
|
|
25
|
+
requirements:
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
hash: 3
|
|
29
|
+
segments:
|
|
30
|
+
- 0
|
|
31
|
+
version: "0"
|
|
22
32
|
type: :runtime
|
|
23
|
-
|
|
24
|
-
version_requirements: *70149513636480
|
|
33
|
+
version_requirements: *id001
|
|
25
34
|
description: Kindeditor(4.x) for Rails3, including image and file upload with carrierwave.
|
|
26
35
|
email: Macrow_wh@163.com
|
|
27
36
|
executables: []
|
|
37
|
+
|
|
28
38
|
extensions: []
|
|
39
|
+
|
|
29
40
|
extra_rdoc_files: []
|
|
30
|
-
|
|
41
|
+
|
|
42
|
+
files:
|
|
31
43
|
- .gitignore
|
|
32
44
|
- Gemfile
|
|
33
45
|
- README.rdoc
|
|
@@ -245,28 +257,38 @@ files:
|
|
|
245
257
|
- lib/rails_kindeditor/helper.rb
|
|
246
258
|
- lib/rails_kindeditor/version.rb
|
|
247
259
|
- rails_kindeditor.gemspec
|
|
248
|
-
homepage:
|
|
260
|
+
homepage: ""
|
|
249
261
|
licenses: []
|
|
262
|
+
|
|
250
263
|
post_install_message:
|
|
251
264
|
rdoc_options: []
|
|
252
|
-
|
|
265
|
+
|
|
266
|
+
require_paths:
|
|
253
267
|
- lib
|
|
254
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
268
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
269
|
none: false
|
|
256
|
-
requirements:
|
|
257
|
-
- -
|
|
258
|
-
- !ruby/object:Gem::Version
|
|
259
|
-
|
|
260
|
-
|
|
270
|
+
requirements:
|
|
271
|
+
- - ">="
|
|
272
|
+
- !ruby/object:Gem::Version
|
|
273
|
+
hash: 3
|
|
274
|
+
segments:
|
|
275
|
+
- 0
|
|
276
|
+
version: "0"
|
|
277
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
278
|
none: false
|
|
262
|
-
requirements:
|
|
263
|
-
- -
|
|
264
|
-
- !ruby/object:Gem::Version
|
|
265
|
-
|
|
279
|
+
requirements:
|
|
280
|
+
- - ">="
|
|
281
|
+
- !ruby/object:Gem::Version
|
|
282
|
+
hash: 3
|
|
283
|
+
segments:
|
|
284
|
+
- 0
|
|
285
|
+
version: "0"
|
|
266
286
|
requirements: []
|
|
287
|
+
|
|
267
288
|
rubyforge_project: rails_kindeditor
|
|
268
289
|
rubygems_version: 1.8.6
|
|
269
290
|
signing_key:
|
|
270
291
|
specification_version: 3
|
|
271
292
|
summary: Kindeditor(4.x) for Rails3
|
|
272
293
|
test_files: []
|
|
294
|
+
|