inline-css-html-converter 0.1.2 → 0.1.3

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: c304d7ab7a751786300e55d17cea937cd78aba29
4
- data.tar.gz: 6046fd3a893aba5d990ac5f100da0b05748d2ed0
3
+ metadata.gz: 5b5873441b4fd5835f7ca34d98326e44422faa89
4
+ data.tar.gz: 90f55345a6c29ee4432fdb97c7de4eb531ed0299
5
5
  SHA512:
6
- metadata.gz: 56ee9a29791f1902c01f83f7b6240920c73459a3c2dfe244d61ff27987dba30b1664d653ecc115fb9e3ea3de9fe12ca31816894f55f852a2a432f8f9076874bc
7
- data.tar.gz: 9314887d10a7e87a15af730b47f3d46fd9f32e1b210552e1bccc7a172af9b5fc76fe9fb8722b3eeacea49d86e49e41c9cc800c1a1f67773e40e60a2be1553625
6
+ metadata.gz: 72bd82a38d585a50c0d08c0fbd56fb343e2c2d3b16961248be525ce6079a320ebaffe5f6b70aa8be7b09d53428ff23774e78d4a417250785dcb17bebf975ad0d
7
+ data.tar.gz: f85de4d84e613ee1e5d0569a02dcc47f654e9a851a028166856ea7f9d6875a6a9d04b8db8bacca733ae4ddb0ee242923939bf84c13a1b014f59606a39d3df8c2
data/README.md CHANGED
@@ -11,6 +11,8 @@ At the moment i use the APi Version 2.0.
11
11
  How it works
12
12
  ===
13
13
 
14
+ The Encoding of the files must be UTF-8 and the FileFormat must be unix.
15
+
14
16
  ```
15
17
  gem 'inline-css-html-converter',
16
18
  git: 'https://github.com/Garllon/inline-css-html-converter.git'
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "inline-css-html-converter"
5
- s.version = "0.1.2"
5
+ s.version = "0.1.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.required_ruby_version = '>= 2.2.2'
@@ -1,3 +1,3 @@
1
1
  module InlineCssHtmlConverter
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -19,8 +19,8 @@ module InlineCssHtmlConverter
19
19
 
20
20
  def perform
21
21
  result = HTTParty.post(call_url,
22
- query: parameters,
23
- verify: false,
22
+ body: parameters.to_json,
23
+ verify: true,
24
24
  headers: { 'Content-Type' => 'application/json' })
25
25
  result['html']
26
26
  end
data/pry.sh ADDED
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+ if [ "$1" == "p" ]; then
3
+ export RACK_ENV=production
4
+ fi
5
+ bundle exec pry -I lib/ -r bundler -r inline-css-html-converter -e 'Pry.start InlineCssHtmlConverter' $@
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline-css-html-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bennet Palluthe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-18 00:00:00.000000000 Z
11
+ date: 2015-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -89,6 +89,7 @@ files:
89
89
  - lib/inline-css-html-converter/errors.rb
90
90
  - lib/inline-css-html-converter/version.rb
91
91
  - lib/inline-css-html-converter/worker.rb
92
+ - pry.sh
92
93
  - spec/spec_helper.rb
93
94
  - spec/worker_spec.rb
94
95
  homepage: https://github.com/Garllon/inline-css-html-converter/blob/master/README.md
@@ -110,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
111
  version: '1.2'
111
112
  requirements: []
112
113
  rubyforge_project:
113
- rubygems_version: 2.4.8
114
+ rubygems_version: 2.4.5.1
114
115
  signing_key:
115
116
  specification_version: 4
116
117
  summary: convert css style to inline html