htmltoword 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/htmltoword/action_controller.rb +1 -1
- data/lib/htmltoword/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0deb2026e95be6bde1c5af01b676e231dea63c0
|
4
|
+
data.tar.gz: 94971919c3ad4bfae9dadf00a1d810828f33140c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19f266330f3e4c953f108b01e960517e8b00c3937de7a1ad9f443f6a7bbca2abc94678a0c2926bb8905fe04708ec8665014edb73605e3b68826b098443176d7e
|
7
|
+
data.tar.gz: 93d0cf96fc81fa058ba6eda905152352d6b3c9dfbef4473c03cbf900c512af00ab9d8244dfa271df77a2a2b6d649b38e76ad292e793c582e44a61b03a260fc8c
|
@@ -6,7 +6,7 @@ unless defined? Mime::DOCX
|
|
6
6
|
end
|
7
7
|
|
8
8
|
ActionController::Renderers.add :docx do |filename, options|
|
9
|
-
formats
|
9
|
+
formats << :docx unless formats.include?(:docx) || Rails.version < '3.2'
|
10
10
|
|
11
11
|
# This is ugly and should be solved with regular file utils
|
12
12
|
if options[:template] == action_name
|
data/lib/htmltoword/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htmltoword
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Frandsen, Cristina Matonte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
requirements: []
|
172
172
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.4.
|
173
|
+
rubygems_version: 2.4.8
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: This simple gem allows you to create MS Word docx documents from simple html
|