manuscript 0.1.2 → 0.1.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,7 +5,7 @@ module Manuscript
5
5
  validates_presence_of :file_file_name
6
6
 
7
7
  has_attached_file :file,
8
- :path => "./template_files/:id_partition/:basename.:extension",
9
- :url => "/template_files/:id_partition/:basename.:extension"
8
+ :path => "./template_files/:id/:basename.:extension",
9
+ :url => "/template_files/:id/:basename.:extension"
10
10
  end
11
11
  end
@@ -26,6 +26,7 @@ module Manuscript
26
26
  end
27
27
  end
28
28
 
29
+ # Paperclip expects a Rails-specific ActionController::UploadedFile, so fake it with Tempfile hack
29
30
  class Tempfile
30
31
  attr_accessor :original_filename
31
32
  end
data/manuscript.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{manuscript}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["hotink"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manuscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - hotink