BBenezech-papermill 0.5.4 → 0.5.5

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
@@ -40,8 +40,8 @@ See papermill_module.rb for the complete list of options.
40
40
 
41
41
  === Once you've installed the gem, generate a migration and copy a couple of static assets:
42
42
 
43
+ # copy static assets and generate a migration
43
44
  $ ./script/generate papermill PapermillMigration
44
- # will generate a migration named PapermillMigration and copy a couple of static assets
45
45
  $ rake db:migrate
46
46
 
47
47
  === In your assetable model:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.4
1
+ 0.5.5
@@ -1,4 +1,4 @@
1
- <%- dom_id = dom_id(asset) -%>
1
+ <%- dom_id = "papermill_asset_#{asset.id}" -%>
2
2
  <%- delete_link = %{<a onclick="if(confirm('#{escape_javascript I18n.t("delete-confirmation", :scope => :papermill, :resource => asset.name)}')){ $.ajax({async:true, beforeSend:function(request){$('##{dom_id}').hide();}, dataType:'script', error:function(request){$('##{dom_id}').show();}, type:'delete', url:'#{papermill_url(asset)}'})}; return false;" href="#" class="delete"><img title="#{escape_javascript t("delete", :scope => "papermill", :ressource => asset.name)}" src="/images/papermill/delete.png" alt="delete"/></a>} %>
3
3
 
4
4
  <li id="<%= dom_id %>" onDblClick="popup(jQuery(this).attr('rel')); return false;" rel="<%= edit_papermill_url(asset) %>" title="<%= t("#{thumbnail_style ? "thumbnail-" : ""}edit-title", :scope => "papermill", :ressource => asset.name) %>">
@@ -1,4 +1,4 @@
1
- gem 'paperclip'
1
+ gem 'BBenezech-papermill', :lib => 'papermill'
2
2
 
3
3
  generate :papermill, "PapermillMigration"
4
4
  generate :scaffold, "article title:string"
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.5.4"
8
+ s.version = "0.5.5"
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"]
@@ -61,7 +61,7 @@ Gem::Specification.new do |s|
61
61
  s.homepage = %q{http://github.com/BBenezech/papermill}
62
62
  s.rdoc_options = ["--charset=UTF-8"]
63
63
  s.require_paths = ["lib"]
64
- s.rubygems_version = %q{1.3.4}
64
+ s.rubygems_version = %q{1.3.5}
65
65
  s.summary = %q{Paperclip Swfupload UploadHelper wrapper}
66
66
  s.test_files = [
67
67
  "test/papermill_test.rb",
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.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"