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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a33977bb24c7a89382dbab79fc7c2711b8c2a78e9fad5ee6e772219f261f5f67
4
- data.tar.gz: '0593c3cc8b6d01d48994b8d02d7447f96b485b41d15e8d80b33eed01bd6b1c8e'
3
+ metadata.gz: eb2633b0fd31335bd0fcbabbbfe7590b447318daeb9d22feca28def28e60112f
4
+ data.tar.gz: 7345d84431c78e9e38cc6cc59a8ad8d4b5e6c71b536de98afc25b462ad5e3ffb
5
5
  SHA512:
6
- metadata.gz: a8a4248278c81b4631bf453d0ecd74b153e12ecc58df1d1a250451c0d9eab31700eb66e02b7cd033bab538062e0465fc77f16687293c78e1e5371d3afe677e27
7
- data.tar.gz: 307b7c2b958bc914a0d3f9a28b789a6a2301111832d1522439c7170e748a4081cf1f5d3aa1720b66f228f44c9f940dffc101042ea1748f26d674def3cd7a65df
6
+ metadata.gz: 8603d032eee709fe61206b72792801d3589243fe45e7f13850125627c87d643c0a38a35a879d4d42b16cb9fc57805e5e25b0619285dfd80b34dede642711d2ef
7
+ data.tar.gz: 0daa00476ac6d3434505675c42e4801fc4f9d7c3055c0e53d13c114dc9e588e5654675e96bd7b3cab69031344172ea2c237cd05211b6d3cab31d33a7ccf4fec9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activestorage-office-previewer (0.1.0)
4
+ activestorage-office-previewer (0.1.1)
5
5
  activestorage (>= 6.0.0)
6
6
 
7
7
  GEM
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "activestorage-office-previewer"
3
- s.version = "0.1.0"
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
- Rails.application.config.active_storage.previewers += [ ActiveStorage::Previewer::OfficePreviewer ]
6
+
7
+ class ActiveStorage::Engine
8
+ config.active_storage.previewers += [ ActiveStorage::Previewer::OfficePreviewer ]
9
+ end
7
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activestorage-office-previewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Claghorn