activestorage-office-previewer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/activestorage-office-previewer.gemspec +1 -1
- data/lib/activestorage-office-previewer.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb2633b0fd31335bd0fcbabbbfe7590b447318daeb9d22feca28def28e60112f
|
4
|
+
data.tar.gz: 7345d84431c78e9e38cc6cc59a8ad8d4b5e6c71b536de98afc25b462ad5e3ffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8603d032eee709fe61206b72792801d3589243fe45e7f13850125627c87d643c0a38a35a879d4d42b16cb9fc57805e5e25b0619285dfd80b34dede642711d2ef
|
7
|
+
data.tar.gz: 0daa00476ac6d3434505675c42e4801fc4f9d7c3055c0e53d13c114dc9e588e5654675e96bd7b3cab69031344172ea2c237cd05211b6d3cab31d33a7ccf4fec9
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "activestorage-office-previewer"
|
3
|
-
s.version = "0.1.
|
3
|
+
s.version = "0.1.1"
|
4
4
|
s.authors = "George Claghorn"
|
5
5
|
s.email = "george@basecamp.com"
|
6
6
|
s.summary = "Active Storage previewer for Microsoft Office files based on LibreOffice"
|
@@ -3,5 +3,8 @@ require "active_storage/previewer/office_previewer"
|
|
3
3
|
|
4
4
|
if defined?(Rails)
|
5
5
|
require "active_storage/engine"
|
6
|
-
|
6
|
+
|
7
|
+
class ActiveStorage::Engine
|
8
|
+
config.active_storage.previewers += [ ActiveStorage::Previewer::OfficePreviewer ]
|
9
|
+
end
|
7
10
|
end
|