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 +1 -1
- data/VERSION +1 -1
- data/app/views/papermill/_asset.html.erb +1 -1
- data/installation-template.txt +1 -1
- data/papermill.gemspec +2 -2
- metadata +1 -1
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.
|
|
1
|
+
0.5.5
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<%- dom_id =
|
|
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) %>">
|
data/installation-template.txt
CHANGED
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.
|
|
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.
|
|
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",
|