pixelpress 0.2.1 → 0.2.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 +4 -4
- data/.github/workflows/publish.yml +16 -0
- data/.github/workflows/test.yml +15 -0
- data/.ruby-version +1 -0
- data/lib/pixelpress/instance_invocation.rb +2 -2
- data/lib/pixelpress/renderers/test_renderer.rb +1 -1
- data/lib/pixelpress/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24eff3a06b1b330d3a9618581272a409bc112f644d8b5a94d4d03f7170ffc0a9
|
4
|
+
data.tar.gz: ae9057f69cc37d850d919f9857a91f8471935fce34d304230fc777fba5ad0e6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3942b17edb046e095dd4dcac758690eedc5211875a8fd61b7f99e1d347f126d3e0f2f8a3835896136ed218d454bae5a38219ea4a692953d54268701cbb2269f9
|
7
|
+
data.tar.gz: e623bd0e8dcc209df47b7c9f8241e2ca2848b9449338f8511d9050da0e5b02b75e7edfbd8c6326451dda197a9f57eccb19066e492276b0302ef81cd547e59f00
|
@@ -0,0 +1,16 @@
|
|
1
|
+
name: Publish to RubyGems
|
2
|
+
on:
|
3
|
+
release:
|
4
|
+
types: [created]
|
5
|
+
jobs:
|
6
|
+
gem:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v2
|
10
|
+
- name: Set up Ruby
|
11
|
+
uses: ruby/setup-ruby@v1
|
12
|
+
- run: sed -i "s/0.0.1/$(echo $GITHUB_REF_NAME | cut -c 2-)/" lib/pixelpress/version.rb
|
13
|
+
- name: Publish gem
|
14
|
+
uses: dawidd6/action-publish-gem@v1
|
15
|
+
with:
|
16
|
+
api_key: ${{secrets.RUBYGEMS_API_KEY}}
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.1.3
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module Pixelpress
|
2
2
|
module InstanceInvocation
|
3
|
-
def method_missing(m, *args, &block)
|
3
|
+
def method_missing(m, *args, **kwargs, &block)
|
4
4
|
return super unless respond_to_missing?(m)
|
5
5
|
instance = new
|
6
6
|
instance.instance_variable_set :@template_name, m.to_s
|
7
|
-
instance.send(m, *args)
|
7
|
+
instance.send(m, *args, **kwargs, &block)
|
8
8
|
instance.document
|
9
9
|
end
|
10
10
|
|
data/lib/pixelpress/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pixelpress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -59,8 +59,11 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".github/workflows/publish.yml"
|
63
|
+
- ".github/workflows/test.yml"
|
62
64
|
- ".gitignore"
|
63
65
|
- ".rspec"
|
66
|
+
- ".ruby-version"
|
64
67
|
- Gemfile
|
65
68
|
- LICENSE.txt
|
66
69
|
- README.md
|
@@ -113,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
116
|
- !ruby/object:Gem::Version
|
114
117
|
version: '0'
|
115
118
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
119
|
+
rubygems_version: 3.3.26
|
117
120
|
signing_key:
|
118
121
|
specification_version: 4
|
119
122
|
summary: PDF printer
|