htmlToPdf 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e87acfd095798dcf77c4796013a8c3c778f89146
4
- data.tar.gz: 7dd6383e2889fd9e365c10ee74eb0ef4dc664027
3
+ metadata.gz: 87f586f8c287a23d1eb5d14e07f689451e55dc4b
4
+ data.tar.gz: b5ca4f5dd391b3e58648c9406e483272063be16f
5
5
  SHA512:
6
- metadata.gz: 6d6e3b9e3ac5765e01ef93d38be90838f34d7dad298ec95349de23ad11ab8c914054c433d20b5d08056de0f9cb110ae8e65b5a6c96f83d40dbd2defc7f83daed
7
- data.tar.gz: 3587aee1fbcd310c681650b60fef81abe89a6a8ac731c3b9499c5c86db76fc20cd99172252f18b9f62b5ff5f696b3b67c19b18b10132a2585f15ae106e2f43de
6
+ metadata.gz: dd2f4e77c777aa64614787f2a49b802b22c97de8037bb64c7f78c459ec3079fc4fed1cca0f1c7b3bb555b314597c1c2318ab43c20a4038d4d764d5e6dddb53f8
7
+ data.tar.gz: d9db24f417685c92fbc3e749bdc45fa1b76e8c07507b83617392250bd15947762526adec4195fa75be110b1f1528784dfba851ff1ad8b5d5e19d6c6bda776c71
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- htmlToPdf (0.0.5)
4
+ htmlToPdf (0.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -10,7 +10,7 @@ module HtmlToPdf
10
10
  _source_file = File.join(Rails.root, 'tmp', "#{Time.now.to_i.to_s}.html")
11
11
  _destination_file = File.join(Rails.root, 'tmp', "#{@name}.pdf")
12
12
  _html = render_to_string(:action => "#{action_name}", :formats => 'html', :layout => @layout )
13
- if File.exists?('../public/assets')
13
+ if File.exists?('public/assets')
14
14
  file_content = _html.gsub(/\/assets/, "../public/assets")
15
15
  else
16
16
  file_content = _html.gsub(/\/assets/, "../app/assets/stylesheets")
@@ -1,3 +1,3 @@
1
1
  module HtmlToPdf
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmlToPdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ram Laxman Yadav
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-08 00:00:00.000000000 Z
11
+ date: 2014-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler