htmltoword 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/htmltoword/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fa3068c3f8e782d969f024274e6c7fe0a8a4c71
|
4
|
+
data.tar.gz: 97813785c2a375ed483e2e0514b78c6a7930935d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20a097c3b3dda40aaef5f946b7404a9fb1b3affbc6a40065ddb1bf80f40e33262b9e8c8421839746cfadb35e8e3a4ddec0515b340ff085ec31107c91c128436c
|
7
|
+
data.tar.gz: cf9ee7063de6dc3c0b0cd50c46a4169e22f3d46f9425dc40b47d0978305d8e970437e3ee215aecfddd949a501c49263420b6c1248fb8fa2dcbe35363e0db7042
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Ruby Html to word Gem [![Code Climate](https://codeclimate.com/github/nickfrandsen/htmltoword.png)](https://codeclimate.com/github/nickfrandsen/htmltoword) [![Build Status](https://travis-ci.org/nickfrandsen/htmltoword.png)](https://travis-ci.org/nickfrandsen/htmltoword)
|
2
2
|
|
3
|
+
## OBS: This repository is no longer being maintained. Please take a look at https://github.com/karnov/htmltoword
|
4
|
+
|
3
5
|
This simple gem allows you to create MS Word docx documents from simple html documents. This makes it easy to create dynamic reports and forms that can be downloaded by your users as simple MS Word docx files.
|
4
6
|
|
5
7
|
Add this line to your application's Gemfile:
|
@@ -81,7 +83,7 @@ Example of _my_partial.docx.erb
|
|
81
83
|
# Add mime-type in /config/initializers/mime_types.rb:
|
82
84
|
Mime::Type.register "application/vnd.openxmlformats-officedocument.wordprocessingml.document", :docx
|
83
85
|
|
84
|
-
# Add docx
|
86
|
+
# Add docx responder in your controller
|
85
87
|
def show
|
86
88
|
respond_to do |format|
|
87
89
|
format.docx do
|
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: 0.2.
|
4
|
+
version: 0.2.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:
|
11
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -109,7 +109,7 @@ files:
|
|
109
109
|
- lib/htmltoword/document.rb
|
110
110
|
- lib/htmltoword/htmltoword_helper.rb
|
111
111
|
- lib/htmltoword/version.rb
|
112
|
-
homepage:
|
112
|
+
homepage: https://github.com/karnov/htmltoword
|
113
113
|
licenses:
|
114
114
|
- MIT
|
115
115
|
metadata: {}
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.
|
132
|
+
rubygems_version: 2.4.3
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: This simple gem allows you to create MS Word docx documents from simple html
|