hanamimastery-cli 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f56928a78087f1f81bbfb204a6a7fe99a9699f3d2d5548e6c62dbcb8ced937e
4
- data.tar.gz: 3cde3782ed0e096ebc60646478824f04265c6b8d5ab5438f1355983862fc55c8
3
+ metadata.gz: 6696bc75eb6904f8ebb3f95214fd71f121ede7f0d697bfcdf4c5e1ec21f5f4be
4
+ data.tar.gz: d459168bc60a4a05a7d599ff8854d4f8fc37a9802cddea6693416e2c450f00c5
5
5
  SHA512:
6
- metadata.gz: 57472d81ba5d1a57dbde932ecef22251167504f4cf162bb23e8a04f0b02131e88ad17e1e850a3cecdbd61a13423808c42d7ffb8c886f22157d715c759de48a9f
7
- data.tar.gz: 5b2ecf88571395e9446f01385ee51617040d1ba6d5a0fb4ddf4b7756ba407f365e3a9c7dcba66f49d12a926a1bc4dad654c655a3ca855d9ab30d5f667d3bdc13
6
+ metadata.gz: 260225298932ab666deef2d52d9ccb73899ae160bd9f87cd9ea00f58b9e92fdeb6819cf6951c0daab22e3acd0da2a640a3cec4aad169078df48c97694ca8d834
7
+ data.tar.gz: 1b92617d49411300b10c62193589ad3b0142cd689447d9aa628891344aebe57d23afa23d198394c7f0d91dd91518b1b1a03aede7df122544dc855602aa3a9be9
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.2.0
1
+ ruby 3.2.2
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hanamimastery-cli (0.3.0)
4
+ hanamimastery-cli (0.4.0)
5
5
  commonmarker (~> 1.0.0.pre6)
6
- dry-cli (<= 1.0)
6
+ dry-cli (~> 1.0)
7
7
  dry-configurable (~> 1.0)
8
8
  dry-system (~> 1.0)
9
9
  zeitwerk (~> 2.6)
@@ -80,6 +80,7 @@ GEM
80
80
 
81
81
  PLATFORMS
82
82
  x86_64-darwin-20
83
+ x86_64-darwin-23
83
84
 
84
85
  DEPENDENCIES
85
86
  hanamimastery-cli!
@@ -5,7 +5,6 @@ module Hanamimastery
5
5
  module Commands
6
6
  class Unshot < Dry::CLI::Command
7
7
  desc 'Removes shot marks from a given article (i.e. ""[🎬 01] ")'
8
-
9
8
  argument :episode, type: :integer, required: true, desc: "Episodes ID to unshot"
10
9
 
11
10
  include Deps[
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'commonmarker'
4
-
5
3
  module Hanamimastery
6
4
  module CLI
7
5
  module Transformations
@@ -13,7 +11,7 @@ module Hanamimastery
13
11
  #
14
12
  def call(id, content)
15
13
  image_patern = /\!(\[\[)(.+)(\]\])/
16
- result
14
+ content
17
15
  .gsub(image_pattern, "![#{'\2'.humanize.tr('-', ''))}](#{HOST}/images/episodes/#{id})")
18
16
  end
19
17
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Hanamimastery
4
4
  module CLI
5
- VERSION = "0.3.0"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  end
@@ -11,5 +11,6 @@ module Hanamimastery
11
11
  register 'touch', Commands::Touch
12
12
  register 'unshot', Commands::Unshot
13
13
  register 'pro', Commands::ToPRO
14
+ register 'notion', Commands::ToNotion
14
15
  end
15
16
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanamimastery-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Wilgosz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-07 00:00:00.000000000 Z
11
+ date: 2024-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "<="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "<="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
@@ -83,7 +83,7 @@ dependencies:
83
83
  description: A set of command line utility scripts helping with producing Hanami Mastery
84
84
  content.
85
85
  email:
86
- - sebastian@driggl.com
86
+ - sebastian@hanamimastery.com
87
87
  executables:
88
88
  - hanamimastery
89
89
  extensions: []
@@ -125,6 +125,7 @@ metadata:
125
125
  homepage_uri: https://github.com/hanamimastery/cli
126
126
  source_code_uri: https://github.com/hanamimastery/cli
127
127
  changelog_uri: https://github.com/hanamimastery/cli/tree/main/CHANGELOG.md
128
+ bug_tracker_uri: https://github.com/hanamimastery/cli/issues
128
129
  post_install_message:
129
130
  rdoc_options: []
130
131
  require_paths:
@@ -133,15 +134,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
134
  requirements:
134
135
  - - ">="
135
136
  - !ruby/object:Gem::Version
136
- version: 2.6.0
137
+ version: 3.0.0
137
138
  required_rubygems_version: !ruby/object:Gem::Requirement
138
139
  requirements:
139
140
  - - ">="
140
141
  - !ruby/object:Gem::Version
141
142
  version: '0'
142
143
  requirements: []
143
- rubygems_version: 3.4.12
144
+ rubygems_version: 3.4.22
144
145
  signing_key:
145
146
  specification_version: 4
146
- summary: Command line p
147
+ summary: Command line tools for Hanami Mastery content creation
147
148
  test_files: []