slim2pdf 0.0.10 → 0.2.0
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 +4 -4
- data/.github/workflows/ruby.yml +35 -0
- data/.ruby-version +1 -0
- data/README.md +2 -2
- data/lib/slim2pdf/version.rb +1 -1
- data/slim2pdf.gemspec +1 -1
- metadata +7 -9
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8349648a54c96975c52602f3030f5bd4f4c9b4f817d68c9e2e989a46047d3527
|
|
4
|
+
data.tar.gz: 2eb4dcad18710451c30f77fad5a27ec1fc87ed2d0427bd03be7cb0a9a5da2dbc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1abbcd16ac62804c840c32bbdccbd203378bbcb497178173ccfd2c587049cc5e110b4e9bed130905794279d30e0a3d7a6f94c1bbeced6c9a0120f83d8106a44
|
|
7
|
+
data.tar.gz: 6485edd2f9256b4520259047c116c50a90d822a3bc7a392cae6b48da9c550900dc62e1423c0cd14165e31e8faa8633909eef40e6490004b6ac9e0317e177e1dc
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
+
# They are provided by a third-party and are governed by
|
|
3
|
+
# separate terms of service, privacy policy, and support
|
|
4
|
+
# documentation.
|
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
+
|
|
8
|
+
name: Ruby
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches: [ "master" ]
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [ "master" ]
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
test:
|
|
21
|
+
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
strategy:
|
|
24
|
+
matrix:
|
|
25
|
+
ruby-version: ['3.2', '3.3', '3.4']
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v5
|
|
29
|
+
- name: Set up Ruby
|
|
30
|
+
uses: ruby/setup-ruby@v1
|
|
31
|
+
with:
|
|
32
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
33
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
34
|
+
- name: Run tests
|
|
35
|
+
run: bundle exec rake
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.3.10
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Slim2pdf [](https://codeclimate.com/github/macuk/slim2pdf)
|
|
1
|
+
# Slim2pdf [](https://codeclimate.com/github/macuk/slim2pdf)
|
|
2
2
|
|
|
3
3
|
Slim2pdf renders [slim template](http://slim-lang.com/) with data hash and saves the results as pdf file.
|
|
4
4
|
|
|
@@ -105,7 +105,7 @@ end
|
|
|
105
105
|
|
|
106
106
|
See: [doc/examples/invoices](https://github.com/macuk/slim2pdf/tree/master/doc/examples/invoices)
|
|
107
107
|
|
|
108
|
-
##
|
|
108
|
+
## Debugging
|
|
109
109
|
|
|
110
110
|
### Setting logger
|
|
111
111
|
|
data/lib/slim2pdf/version.rb
CHANGED
data/slim2pdf.gemspec
CHANGED
|
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.add_development_dependency "minitest"
|
|
24
24
|
spec.add_development_dependency "simplecov"
|
|
25
25
|
|
|
26
|
-
spec.add_dependency 'slim', '~>
|
|
26
|
+
spec.add_dependency 'slim', '~> 5.0'
|
|
27
27
|
spec.add_dependency "wkhtmltopdf-binary", "0.12.3"
|
|
28
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slim2pdf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Piotr Macuk
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -72,14 +71,14 @@ dependencies:
|
|
|
72
71
|
requirements:
|
|
73
72
|
- - "~>"
|
|
74
73
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
74
|
+
version: '5.0'
|
|
76
75
|
type: :runtime
|
|
77
76
|
prerelease: false
|
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
78
|
requirements:
|
|
80
79
|
- - "~>"
|
|
81
80
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '
|
|
81
|
+
version: '5.0'
|
|
83
82
|
- !ruby/object:Gem::Dependency
|
|
84
83
|
name: wkhtmltopdf-binary
|
|
85
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -102,8 +101,9 @@ executables: []
|
|
|
102
101
|
extensions: []
|
|
103
102
|
extra_rdoc_files: []
|
|
104
103
|
files:
|
|
104
|
+
- ".github/workflows/ruby.yml"
|
|
105
105
|
- ".gitignore"
|
|
106
|
-
- ".
|
|
106
|
+
- ".ruby-version"
|
|
107
107
|
- Gemfile
|
|
108
108
|
- LICENSE.txt
|
|
109
109
|
- README.md
|
|
@@ -131,7 +131,6 @@ homepage: ''
|
|
|
131
131
|
licenses:
|
|
132
132
|
- MIT
|
|
133
133
|
metadata: {}
|
|
134
|
-
post_install_message:
|
|
135
134
|
rdoc_options: []
|
|
136
135
|
require_paths:
|
|
137
136
|
- lib
|
|
@@ -146,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
146
145
|
- !ruby/object:Gem::Version
|
|
147
146
|
version: '0'
|
|
148
147
|
requirements: []
|
|
149
|
-
rubygems_version: 3.
|
|
150
|
-
signing_key:
|
|
148
|
+
rubygems_version: 3.7.2
|
|
151
149
|
specification_version: 4
|
|
152
150
|
summary: Slim template to pdf file conversion tool.
|
|
153
151
|
test_files:
|