BBenezech-papermill 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -6,6 +6,14 @@ Try the demo to see for yourself.
6
6
  See papermill_module.rb for a complete list of available options.
7
7
  These options can be application wide, for a class, or set at the last moment for the helper.
8
8
 
9
+ You'll need something like this in your environment.rb
10
+ config.gem 'rsl-stringex', :lib => 'stringex', :source => 'http://gems.github.com'
11
+ config.gem 'paperclip'
12
+ config.gem 'authlogic'
13
+ config.gem 'mime-types', :lib => 'mime/types'
14
+ config.gem 'ryanb-acts-as-list', :lib => 'acts_as_list', :source => 'http://gems.github.com'
15
+ config.gem 'BBenezech-papermill', :lib => 'papermill', :source => 'http://gems.github.com'
16
+
9
17
  In your model:
10
18
 
11
19
  papermill :assets
@@ -50,7 +58,7 @@ You'll need rails 2.2, since their are calls to I18n.t. But it shouldn't be too
50
58
  === Demo :
51
59
 
52
60
  You can use the custom template generator to get an example application up and running in no time.
53
-
61
+
54
62
  rails -m http://gist.github.com/177714.txt papermill-example
55
63
 
56
64
  === Translation:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -1,3 +1,6 @@
1
+ require "acts_as_list"
2
+ require "paperclip"
3
+
1
4
  class PapermillAsset < ActiveRecord::Base
2
5
  acts_as_list :scope => 'assetable_key=\'#{assetable_key.simple_sql_sanitizer}\' AND assetable_id=#{assetable_id} AND assetable_type=\'#{assetable_type}\''
3
6
 
data/papermill.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{papermill}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Benoit B\303\251n\303\251zech"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BBenezech-papermill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"