screenkit 0.0.15 → 0.0.17

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
  SHA256:
3
- metadata.gz: 5046dd700d6f01eba17a3661706bbca3cb9863b606ecbbbea25c3eddcdc61d07
4
- data.tar.gz: 5850190db9f71456c00c758153fcf299471e47825eb32d9680d5621d6d6e28be
3
+ metadata.gz: 76ba7f1d252391598585c54d01d2fef5e02a1d954e287cb696bf54590a08707e
4
+ data.tar.gz: ba5404dcbb1d0a9bfca31ceab4e72e31ba1153f09c05d9fc75a0ee516296e503
5
5
  SHA512:
6
- metadata.gz: 71596d697f47938a58655926d29cacb8538716a3fd4a77e179e35b8b6eb0f6435ae7c1ce60517508df486887705fceb06d7de085ce4b3488f806fb4b0c58a978
7
- data.tar.gz: 2d9cbedb5885895ea06c371a05051d15b24177a344d7456dfa1b4d9a99f1422126a1affdb3ef66c40ffa62b5196687b84b57bde4b747d6a4c6c4229db702c0d3
6
+ metadata.gz: 996be5bafa6f54ab1f58ec3043b40b8fa9f950ac3592d5d206cd846e40584236cdf4585d25c0b7673533ed55fab1c4e54b197dfd5b860b238dd9ca4e512efb06
7
+ data.tar.gz: 8e0d62d4d5ac1bdb89b22689eacb98b4533ed3fc17960088aa3d4cc8a1291c100c581e69ee8610ee81026433c8f1e0c212ca1db6b99b8182fc93c3006752aacc
@@ -26,7 +26,7 @@ jobs:
26
26
  steps:
27
27
  - uses: actions/checkout@v6
28
28
 
29
- - uses: actions/cache@v4
29
+ - uses: actions/cache@v5
30
30
  with:
31
31
  path: vendor/bundle
32
32
  key: >
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@v4
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@v4
68
+ uses: actions/cache/restore@v5
69
69
  with:
70
70
  path: output/${{ inputs.episode }}-*/videos/*.mp4
71
71
  key: ${{ env.VIDEO_CACHE_KEY }}
@@ -86,7 +86,7 @@ runs:
86
86
  fnando/screenkit:latest \
87
87
  episode export \
88
88
  --dir="${{ env.EPISODE_DIR }}" \
89
- ${{ inputs.match != '' && format('--match {0}', inputs.match) || '' }} \
89
+ ${{ inputs.match != '' && format('--match-segment {0}', inputs.match) || '' }} \
90
90
  ${{ inputs.overwrite == 'true' && '--overwrite' || '--no-overwrite' }} \
91
91
  ${{ inputs.tts_preset != '' && format('--tts-preset {0}', inputs.tts_preset) || '' }} \
92
92
  ${{ inputs.tts_api_key != '' && format('--tts-api-key {0}', inputs.tts_api_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@v4
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@v4
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@v5
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.concurrency
153
+ concurrency: tts_engine&.concurrency
154
154
  ).run(&:export_voiceover)
155
155
 
156
156
  log_elapsed("Generated voiceover in %{elapsed}", elapsed)
@@ -557,9 +557,7 @@ module ScreenKit
557
557
  end
558
558
 
559
559
  def mute_sound_path
560
- @mute_sound_path ||= ScreenKit.root_dir.join(
561
- "screenkit/resources/mute.mp3"
562
- )
560
+ @mute_sound_path ||= ScreenKit.resources_dir.join("mute.mp3")
563
561
  end
564
562
 
565
563
  def backtrack
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScreenKit
4
- VERSION = "0.0.15"
4
+ VERSION = "0.0.17"
5
5
  end
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.15
4
+ version: 0.0.17
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.15
425
- changelog_uri: https://github.com/fnando/screenkit/tree/v0.0.15/CHANGELOG.md
426
- documentation_uri: https://github.com/fnando/screenkit/tree/v0.0.15/README.md
427
- license_uri: https://github.com/fnando/screenkit/tree/v0.0.15/LICENSE.md
424
+ source_code_uri: https://github.com/fnando/screenkit/tree/v0.0.17
425
+ changelog_uri: https://github.com/fnando/screenkit/tree/v0.0.17/CHANGELOG.md
426
+ documentation_uri: https://github.com/fnando/screenkit/tree/v0.0.17/README.md
427
+ license_uri: https://github.com/fnando/screenkit/tree/v0.0.17/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.0
442
+ rubygems_version: 4.0.3
443
443
  specification_version: 4
444
444
  summary: Terminal to screencast, simplified
445
445
  test_files: []