mix-rails-writer 0.16.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,10 @@ class Writer::ImageUploader < CarrierWave::Uploader::Base
21
21
  "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
22
22
  end
23
23
 
24
+ def cache_dir
25
+ "system/uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
26
+ end
27
+
24
28
  # Provide a default URL as a default if there hasn't been a file uploaded:
25
29
  # def default_url
26
30
  # # For Rails 3.1+ asset pipeline compatibility:
@@ -1,7 +1,7 @@
1
1
  module MixRailsWriter
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 16
4
+ MINOR = 22
5
5
  TINY = 0
6
6
  PRE = nil
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mix-rails-writer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.22.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-27 00:00:00.000000000 Z
12
+ date: 2013-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -35,26 +35,26 @@ executables: []
35
35
  extensions: []
36
36
  extra_rdoc_files: []
37
37
  files:
38
- - app/assets/stylesheets/writer/posts/index.scss
39
- - app/views/admix/posts/_form_fields.html.haml
40
- - app/views/admix/posts/_table_actions.html.haml
41
- - app/views/admix/posts/_thumb_image.html.haml
42
- - app/views/admix/posts/_show.html.haml
43
- - app/views/templates/news/index.html.haml
44
- - app/controllers/posts_controller.rb
38
+ - app/uploaders/writer/image_uploader.rb
45
39
  - app/controllers/admix/posts_controller.rb
46
40
  - app/controllers/admix/news_controller.rb
41
+ - app/controllers/posts_controller.rb
47
42
  - app/controllers/news_controller.rb
43
+ - app/assets/stylesheets/writer/posts/index.scss
48
44
  - app/models/admix/news_datagrid.rb
49
45
  - app/models/post.rb
50
46
  - app/models/news.rb
51
- - app/uploaders/writer/image_uploader.rb
52
- - config/routes.rb
47
+ - app/views/admix/posts/_show.html.haml
48
+ - app/views/admix/posts/_thumb_image.html.haml
49
+ - app/views/admix/posts/_table_actions.html.haml
50
+ - app/views/admix/posts/_form_fields.html.haml
51
+ - app/views/templates/news/index.html.haml
53
52
  - config/locales/writer.pt-BR.yml
53
+ - config/routes.rb
54
+ - lib/tasks/writer_tasks.rake
54
55
  - lib/mix-rails-writer/version.rb
55
56
  - lib/mix-rails-writer/engine.rb
56
57
  - lib/mix-rails-writer.rb
57
- - lib/tasks/writer_tasks.rake
58
58
  - MIT-LICENSE
59
59
  - Rakefile
60
60
  - README.rdoc
@@ -72,7 +72,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  segments:
74
74
  - 0
75
- hash: 1406497715625077510
75
+ hash: -3584435384187046350
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  none: false
78
78
  requirements:
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  segments:
83
83
  - 0
84
- hash: 1406497715625077510
84
+ hash: -3584435384187046350
85
85
  requirements: []
86
86
  rubyforge_project:
87
87
  rubygems_version: 1.8.24