screenkit 0.0.14 → 0.0.16
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-tests.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/action.yml +5 -5
- data/lib/screenkit/exporter/episode.rb +3 -3
- data/lib/screenkit/generators/project/screenkit.yml +5 -0
- data/lib/screenkit/schemas/refs/playwright.json +8 -0
- data/lib/screenkit/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d37cf6ed0a841ead2267f19f288178886754474af1febf974c83896f8714914
|
|
4
|
+
data.tar.gz: 7248f5905f99b2271e981e25266dc87fbb16c626c44f38136e885c7b5d798121
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e99bac59517fa06b23e42e65838da728ab6f33e300a94ceee0dff91ee4ecdd38d1ac04ba6531f4b853a3f85460c9ade5c71fdc64f471b533cad46aa7502e6b75
|
|
7
|
+
data.tar.gz: a74a1ea2e692fd46e09a7bd5598a774e962bd604dd53137a79fce77baeeb0e9dde042804a80b8c37b8aa52561c7a862ec0a3ed023308c4af5005eb4e2d47e768
|
data/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,11 @@ Prefix your message with one of the following:
|
|
|
11
11
|
- [Security] in case of vulnerabilities.
|
|
12
12
|
-->
|
|
13
13
|
|
|
14
|
+
## v0.0.15
|
|
15
|
+
|
|
16
|
+
- [Fixed] Fix reference to wrong configuration object.
|
|
17
|
+
- [Fixed] Add required properties to the inline block callout.
|
|
18
|
+
|
|
14
19
|
## v0.0.14
|
|
15
20
|
|
|
16
21
|
- [Fixed] Fix file redacting when no API key is defined.
|
data/action.yml
CHANGED
|
@@ -56,7 +56,7 @@ runs:
|
|
|
56
56
|
|
|
57
57
|
- name: Restore episode voice cache
|
|
58
58
|
id: cache-voice
|
|
59
|
-
uses: actions/cache/restore@
|
|
59
|
+
uses: actions/cache/restore@v5
|
|
60
60
|
with:
|
|
61
61
|
path: episodes/${{ inputs.episode }}-*/voiceovers
|
|
62
62
|
key: ${{ env.VOICEOVER_CACHE_KEY }}
|
|
@@ -65,7 +65,7 @@ runs:
|
|
|
65
65
|
|
|
66
66
|
- name: Restore videos cache
|
|
67
67
|
id: cache-videos
|
|
68
|
-
uses: actions/cache/restore@
|
|
68
|
+
uses: actions/cache/restore@v5
|
|
69
69
|
with:
|
|
70
70
|
path: output/${{ inputs.episode }}-*/videos/*.mp4
|
|
71
71
|
key: ${{ env.VIDEO_CACHE_KEY }}
|
|
@@ -117,7 +117,7 @@ runs:
|
|
|
117
117
|
|
|
118
118
|
- name: Save episode voiceover cache
|
|
119
119
|
if: steps.screenkit.outputs.result == 'true'
|
|
120
|
-
uses: actions/cache/save@
|
|
120
|
+
uses: actions/cache/save@v5
|
|
121
121
|
with:
|
|
122
122
|
path: episodes/${{ inputs.episode }}-*/voiceovers
|
|
123
123
|
key: ${{ env.VOICEOVER_CACHE_KEY }}
|
|
@@ -125,14 +125,14 @@ runs:
|
|
|
125
125
|
|
|
126
126
|
- name: Save video recordings cache
|
|
127
127
|
if: steps.screenkit.outputs.result == 'true'
|
|
128
|
-
uses: actions/cache/save@
|
|
128
|
+
uses: actions/cache/save@v5
|
|
129
129
|
with:
|
|
130
130
|
path: output/${{ inputs.episode }}-*/videos/*.mp4
|
|
131
131
|
key: ${{ env.VIDEO_CACHE_KEY }}
|
|
132
132
|
enableCrossOsArchive: true
|
|
133
133
|
|
|
134
134
|
- name: Upload output artifacts
|
|
135
|
-
uses: actions/upload-artifact@
|
|
135
|
+
uses: actions/upload-artifact@v6
|
|
136
136
|
if: always()
|
|
137
137
|
with:
|
|
138
138
|
name: output
|
|
@@ -150,7 +150,7 @@ module ScreenKit
|
|
|
150
150
|
list: filtered_segments,
|
|
151
151
|
message: "Exporting voiceovers (%{progress}/%{count})",
|
|
152
152
|
log_path: logfile.create("%{prefix}", :voiceover),
|
|
153
|
-
concurrency: tts_engine
|
|
153
|
+
concurrency: tts_engine&.concurrency
|
|
154
154
|
).run(&:export_voiceover)
|
|
155
155
|
|
|
156
156
|
log_elapsed("Generated voiceover in %{elapsed}", elapsed)
|
|
@@ -548,8 +548,8 @@ module ScreenKit
|
|
|
548
548
|
end
|
|
549
549
|
|
|
550
550
|
def callout_styles
|
|
551
|
-
@callout_styles ||=
|
|
552
|
-
|
|
551
|
+
@callout_styles ||= config.callout_styles
|
|
552
|
+
.deep_merge(config.callout_styles)
|
|
553
553
|
end
|
|
554
554
|
|
|
555
555
|
def output_video_path
|
|
@@ -312,6 +312,11 @@ callout_styles:
|
|
|
312
312
|
style: inline_block
|
|
313
313
|
anchor: [left, bottom]
|
|
314
314
|
margin: 100
|
|
315
|
+
background_color: "#ffffff"
|
|
316
|
+
text_style:
|
|
317
|
+
color: "#000000"
|
|
318
|
+
size: 48
|
|
319
|
+
font_path: open-sans/OpenSans-ExtraBold.ttf
|
|
315
320
|
animation: fade
|
|
316
321
|
in_transition:
|
|
317
322
|
duration: 0.4s
|
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"description": "Color scheme to use when capturing the video.",
|
|
10
10
|
"enum": ["light", "dark"]
|
|
11
|
+
},
|
|
12
|
+
"state_path": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"format": "uri"
|
|
15
|
+
},
|
|
16
|
+
"user_data_path": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "uri"
|
|
11
19
|
}
|
|
12
20
|
}
|
|
13
21
|
}
|
data/lib/screenkit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: screenkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nando Vieira
|
|
@@ -421,10 +421,10 @@ metadata:
|
|
|
421
421
|
rubygems_mfa_required: 'true'
|
|
422
422
|
homepage_uri: https://github.com/fnando/screenkit
|
|
423
423
|
bug_tracker_uri: https://github.com/fnando/screenkit/issues
|
|
424
|
-
source_code_uri: https://github.com/fnando/screenkit/tree/v0.0.
|
|
425
|
-
changelog_uri: https://github.com/fnando/screenkit/tree/v0.0.
|
|
426
|
-
documentation_uri: https://github.com/fnando/screenkit/tree/v0.0.
|
|
427
|
-
license_uri: https://github.com/fnando/screenkit/tree/v0.0.
|
|
424
|
+
source_code_uri: https://github.com/fnando/screenkit/tree/v0.0.16
|
|
425
|
+
changelog_uri: https://github.com/fnando/screenkit/tree/v0.0.16/CHANGELOG.md
|
|
426
|
+
documentation_uri: https://github.com/fnando/screenkit/tree/v0.0.16/README.md
|
|
427
|
+
license_uri: https://github.com/fnando/screenkit/tree/v0.0.16/LICENSE.md
|
|
428
428
|
rdoc_options: []
|
|
429
429
|
require_paths:
|
|
430
430
|
- lib
|
|
@@ -439,7 +439,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
439
439
|
- !ruby/object:Gem::Version
|
|
440
440
|
version: '0'
|
|
441
441
|
requirements: []
|
|
442
|
-
rubygems_version: 4.0.
|
|
442
|
+
rubygems_version: 4.0.3
|
|
443
443
|
specification_version: 4
|
|
444
444
|
summary: Terminal to screencast, simplified
|
|
445
445
|
test_files: []
|