papermill 1.0.0 → 1.0.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/README.rdoc CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  Asset management made easy. Now in pre-1.0.0 release!
4
4
 
5
- == IE6 Problems
5
+ == News..
6
+
7
+ 1.0.0 Release, finally!
8
+ Things should be more stable now.
6
9
 
7
10
  I can't make it work with IE6, there seems to be a jQuery problem. SWFUpload and jQuery should both work fine with it, but anyway, it dies with strange errors that I don't understand. Any help appreciated...
8
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/lib/extensions.rb CHANGED
@@ -53,6 +53,6 @@ end
53
53
 
54
54
  module StringToUrlNotFound
55
55
  def to_url
56
- gsub(/[^a-zA-Z0-9]/, "-").gsub(/-+/, "-").gsub(/^-|-$/, "")
56
+ gsub(/[^a-zA-Z0-9]/, "-").gsub(/-+/, "-").gsub(/^-|-$/, "").downcase
57
57
  end
58
58
  end
@@ -96,7 +96,7 @@ class PapermillAsset < ActiveRecord::Base
96
96
  private
97
97
 
98
98
  def set_real_file_name
99
- self.file_file_name = @real_file_name if @real_file_name
99
+ self.file.instance_write(:file_name, @real_file_name) if @real_file_name
100
100
  end
101
101
 
102
102
  def set_position
@@ -4,7 +4,7 @@
4
4
  # Papermill::OPTIONS constant needs to be set before PapermillAsset is loaded, and PapermillAsset cannot be lazy-loaded
5
5
  module Papermill
6
6
 
7
- # All these options will be used as defaults. You can change them :
7
+ # All the options setted here will be used as defaults. You can set them :
8
8
  #
9
9
  # * here
10
10
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: papermill
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-15 00:00:00 +01:00
12
+ date: 2009-11-16 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  requirements: []
111
111
 
112
112
  rubyforge_project:
113
- rubygems_version: 1.3.4
113
+ rubygems_version: 1.3.5
114
114
  signing_key:
115
115
  specification_version: 3
116
116
  summary: Paperclip Swfupload UploadHelper wrapper