rails_kindeditor 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -2,7 +2,14 @@
2
2
 
3
3
  == Installation
4
4
 
5
- gem install rails_kindeditor
5
+ add this to your Gemfile
6
+
7
+ gem "carrierwave", "~> 0.5.4"
8
+ gem "rails_kindeditor"
9
+
10
+ Run "bundle" command.
11
+
12
+ bundle
6
13
 
7
14
  After you install rails_kindeditor and add it to your Gemfile, you need to run the generator:
8
15
 
@@ -16,11 +23,6 @@ The generator will copy migration to your application. When you are done, rememb
16
23
 
17
24
  rake db:migrate
18
25
 
19
- Don't forget add this to your Gemfile
20
-
21
- gem "carrierwave", "~> 0.5.4"
22
- gem "rails_kindeditor"
23
-
24
26
  == Usage
25
27
 
26
28
  Basically include <%= include_kindeditor_if_needed %> under the <head> element of your in your layout file:
@@ -34,7 +34,7 @@ class Kindeditor::AssetsController < ApplicationController
34
34
  else
35
35
  "id"
36
36
  end
37
- @images = Image.where("file_type LIKE '%image%'").order(order).all
37
+ @images = Kindeditor::Image.where("file_type LIKE '%image%'").order(order).all
38
38
  @json = []
39
39
  for image in @images
40
40
  temp = %Q{{"filesize":#{image.file_size},
@@ -1,4 +1,4 @@
1
1
  module RailsKindeditor
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_kindeditor
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease:
5
- version: 0.0.2
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 3
10
+ version: 0.0.3
6
11
  platform: ruby
7
12
  authors:
8
13
  - Macrow
@@ -10,8 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-06-12 00:00:00 +08:00
14
- default_executable:
18
+ date: 2011-08-15 00:00:00 Z
15
19
  dependencies:
16
20
  - !ruby/object:Gem::Dependency
17
21
  name: carrierwave
@@ -21,6 +25,11 @@ dependencies:
21
25
  requirements:
22
26
  - - ~>
23
27
  - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ - 5
32
+ - 4
24
33
  version: 0.5.4
25
34
  type: :runtime
26
35
  version_requirements: *id001
@@ -229,7 +238,6 @@ files:
229
238
  - lib/rails_kindeditor/helper.rb
230
239
  - lib/rails_kindeditor/version.rb
231
240
  - rails_kindeditor.gemspec
232
- has_rdoc: true
233
241
  homepage: ""
234
242
  licenses: []
235
243
 
@@ -243,17 +251,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
251
  requirements:
244
252
  - - ">="
245
253
  - !ruby/object:Gem::Version
254
+ hash: 3
255
+ segments:
256
+ - 0
246
257
  version: "0"
247
258
  required_rubygems_version: !ruby/object:Gem::Requirement
248
259
  none: false
249
260
  requirements:
250
261
  - - ">="
251
262
  - !ruby/object:Gem::Version
263
+ hash: 3
264
+ segments:
265
+ - 0
252
266
  version: "0"
253
267
  requirements: []
254
268
 
255
269
  rubyforge_project: rails_kindeditor
256
- rubygems_version: 1.6.2
270
+ rubygems_version: 1.8.6
257
271
  signing_key:
258
272
  specification_version: 3
259
273
  summary: kindeditor for rails3