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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6be38e580ebe86fd332a24f97b1c75a9f5f2ae7
4
- data.tar.gz: e19adf814c82af95c2ed51ea67145c4b622173be
3
+ metadata.gz: a0deb2026e95be6bde1c5af01b676e231dea63c0
4
+ data.tar.gz: 94971919c3ad4bfae9dadf00a1d810828f33140c
5
5
  SHA512:
6
- metadata.gz: 0ab229591820f8846076f63bcf6dbe4eedac8f537247f8fe8d7dd7621862f9461f50d3687d0cc4ea0cb16fa1a6a04449fadb566c1df32cd65aa1aa9676004392
7
- data.tar.gz: 03f99d75484650577e4328a059431eba8e15ca71063fd47d1e492b8a60dccdce44a8c00383b6135c1ea0335f19025b771efba56fb9b56e8f2e3723159355e777
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[0] = :docx unless formats.include?(:docx) || Rails.version < '3.2'
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
@@ -1,3 +1,3 @@
1
1
  module Htmltoword
2
- VERSION = "0.5"
2
+ VERSION = "0.5.1"
3
3
  end
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: '0.5'
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 00:00:00.000000000 Z
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.3
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