scrivito_pdf_widget 1.1.0 → 1.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 703e17464cd79a5336c7316d28d77129a8b571b0
4
- data.tar.gz: da8c2d2ab78941c486882ea0fdbb1e4c13bcd7f0
3
+ metadata.gz: 042d7da0348e776f95e92219d5638a4e01b5a63f
4
+ data.tar.gz: 30ce1a23b0b936385d6ffab351fa3879da933326
5
5
  SHA512:
6
- metadata.gz: 209365c511090f1fbb0e19572373562638dea5467f898998b722ab9ab09e032c9c5abee0fbd8d15ca73d4b99b25ca5be611d042a7b939489e3d1b7331659ce6b
7
- data.tar.gz: 8685f06cbb7b1677397d3c2f53a6e78c5dbe812fa6b7a41e51384594ca5af09a72e291bb4dede0934079dc4066d5d70a2190f9207e4ce849329a9d87bb3f8d32
6
+ metadata.gz: f99b06c4a6c6080623ca6e3b51b4796038139e45dcf9cbde3ea847cd7564d7247e28e11dbbf06e512598eb2753d7bd7d22fbb175f38d5659001db280a71d7c4c
7
+ data.tar.gz: 6d5954d7c06207902bde686c5ee50f03e663d7622de372d7b46b11c1942c0defe8d178a4dab7bf607b66540c28cb6b493a51584abdc69775d4f10909dcc77015
@@ -1,4 +1,2 @@
1
- //= require scrivito_pdf_widget/pdf
2
- //= require scrivito_pdf_widget/jquery.viewer
3
- //= require scrivito_pdf_widget/widget
1
+ //= require scrivito_pdf_widget/application
4
2
  //= require scrivito_pdf_widget/editing
@@ -1,15 +1,3 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // the compiled file.
9
- //
10
- // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
- // GO AFTER THE REQUIRES BELOW.
12
- //
13
1
  //= require ./pdf
14
2
  //= require ./jquery.viewer
15
3
  //= require ./widget
@@ -2,6 +2,6 @@
2
2
  This attribute are used as meta information for semantic web. It is based on <a href="http://schema.org/MediaObject">http://schema.org/MediaObject</a>.
3
3
  </div>
4
4
 
5
- <%= scrivito_details_for 'Description' do %>
5
+ <%= scrivito_details_for t('scrivito_pdf_widget.details.description', default: 'Description') do %>
6
6
  <%= scrivito_tag(:div, @obj, :description) %>
7
7
  <% end %>
@@ -1,9 +1,9 @@
1
- <%= scrivito_details_for 'PDF' do %>
1
+ <%= scrivito_details_for t('scrivito_pdf_widget.details.pdf', default: 'PDF') do %>
2
2
  <%= scrivito_tag(:div, widget, :pdf) %>
3
3
  <% end %>
4
4
 
5
5
  <% if widget.pdf.present? %>
6
- <%= scrivito_details_for 'Description' do %>
6
+ <%= scrivito_details_for t('scrivito_pdf_widget.details.description', default: 'Description') do %>
7
7
  <%= scrivito_tag(:div, widget.pdf, :description) %>
8
8
  <% end %>
9
9
  <% end %>
@@ -1,3 +1,3 @@
1
- <%= scrivito_thumbnail 'PDF', image_tag("widget_preview_pdf.png") do %>
2
- Display a PDF on your page.
3
- <% end %>
1
+ <%= scrivito_thumbnail t('scrivito_pdf_widget.thumbnail.title', default: 'PDF'), image_tag("widget_preview_pdf.png") do %>
2
+ <%= t('scrivito_pdf_widget.thumbnail.description', default: 'Display a PDF on your page') %>
3
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoPdfWidget
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_pdf_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-10 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler