way_of_working 2.1.0 → 2.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/CHANGELOG.md +27 -1
- data/CLAUDE.md +48 -0
- data/CODE_OF_CONDUCT.md +55 -104
- data/CONTRIBUTING.md +4 -4
- data/README.md +68 -24
- data/exe/way_of_working +6 -1
- data/lib/way_of_working/audit/github/auditor.rb +3 -0
- data/lib/way_of_working/audit/github/generators/exec.rb +63 -12
- data/lib/way_of_working/audit/github/rules/base.rb +29 -4
- data/lib/way_of_working/audit/github/rules/registry.rb +8 -0
- data/lib/way_of_working/changelog/keepachangelog/generators/init.rb +1 -1
- data/lib/way_of_working/changelog/keepachangelog/github_audit_rule.rb +1 -1
- data/lib/way_of_working/changelog/keepachangelog.rb +2 -6
- data/lib/way_of_working/cli.rb +13 -0
- data/lib/way_of_working/code_of_conduct/contributor_covenant/generators/init.rb +33 -3
- data/lib/way_of_working/code_of_conduct/contributor_covenant/github_audit_rule.rb +3 -2
- data/lib/way_of_working/code_of_conduct/contributor_covenant/templates/CODE_OF_CONDUCT.md.tt +55 -105
- data/lib/way_of_working/code_of_conduct/contributor_covenant/templates/docs/way_of_working/code-of-conduct.md +21 -20
- data/lib/way_of_working/code_of_conduct/contributor_covenant.rb +3 -7
- data/lib/way_of_working/completion.rb +60 -0
- data/lib/way_of_working/config.rb +45 -0
- data/lib/way_of_working/decision_record/madr/github_audit_rule.rb +0 -13
- data/lib/way_of_working/decision_record/madr/templates/docs/way_of_working/decision-records.md +1 -1
- data/lib/way_of_working/decision_record/madr.rb +2 -6
- data/lib/way_of_working/inclusive_language/alex/generators/init.rb +25 -0
- data/lib/way_of_working/inclusive_language/alex/github_audit_rule.rb +12 -5
- data/lib/way_of_working/inclusive_language/alex/templates/.github/workflows/inclusive-language.yml +1 -1
- data/lib/way_of_working/inclusive_language/alex.rb +4 -6
- data/lib/way_of_working/pull_request_template/hdi.rb +2 -6
- data/lib/way_of_working/readme_badge/generators/init.rb +11 -1
- data/lib/way_of_working/readme_badge.rb +2 -6
- data/lib/way_of_working/sub_commands/base.rb +12 -0
- data/lib/way_of_working/sub_commands/config.rb +25 -0
- data/lib/way_of_working/sub_commands/init.rb +1 -1
- data/lib/way_of_working/version.rb +1 -1
- data/lib/way_of_working/versioning/semver/github_audit_rule.rb +0 -11
- data/lib/way_of_working/versioning/semver.rb +2 -6
- data/lib/way_of_working.rb +18 -11
- data/way_of_working.gemspec +2 -1
- metadata +23 -9
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'yaml'
|
|
4
|
+
require 'pathname'
|
|
5
|
+
|
|
6
|
+
module WayOfWorking
|
|
7
|
+
# Reads and writes ~/.config/way_of_working/config.yaml (or
|
|
8
|
+
# $XDG_CONFIG_HOME/way_of_working/config.yaml), so values like a code of
|
|
9
|
+
# conduct contact method can be set once and reused across CLI invocations
|
|
10
|
+
# instead of being passed as an option every time. Keys are dotted paths
|
|
11
|
+
# namespaced by feature (e.g. "code_of_conduct.contact_method") so future
|
|
12
|
+
# features (e.g. a security contact) can coexist.
|
|
13
|
+
module Config
|
|
14
|
+
class << self
|
|
15
|
+
def path
|
|
16
|
+
Pathname.new(ENV.fetch('XDG_CONFIG_HOME', File.join(Dir.home, '.config'))).
|
|
17
|
+
join('way_of_working', 'config.yaml')
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def get(dotted_key)
|
|
21
|
+
dotted_key.to_s.split('.').reduce(load_file) { |node, key| node.is_a?(Hash) ? node[key] : nil }
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def set(dotted_key, value)
|
|
25
|
+
keys = dotted_key.to_s.split('.')
|
|
26
|
+
data = load_file
|
|
27
|
+
keys[0..-2].reduce(data) { |node, key| node[key] ||= {} }[keys[-1]] = value
|
|
28
|
+
save_file(data)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
private
|
|
32
|
+
|
|
33
|
+
def load_file
|
|
34
|
+
return {} unless path.exist?
|
|
35
|
+
|
|
36
|
+
YAML.safe_load_file(path) || {}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def save_file(data)
|
|
40
|
+
path.dirname.mkpath
|
|
41
|
+
path.write(YAML.dump(data))
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -27,19 +27,6 @@ module WayOfWorking
|
|
|
27
27
|
|
|
28
28
|
@errors << 'No 0000-use-markdown-any-decision-records.md Decision Record found'
|
|
29
29
|
end
|
|
30
|
-
|
|
31
|
-
private
|
|
32
|
-
|
|
33
|
-
def repo_file_contains_source_file?(path)
|
|
34
|
-
repo_file_contains?(path, File.read(self.class.source_root.join(path)))
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
def repo_file_contains?(path, text)
|
|
38
|
-
remote_content = repo_file_contents(path)
|
|
39
|
-
return false if remote_content.nil?
|
|
40
|
-
|
|
41
|
-
remote_content.include?(text)
|
|
42
|
-
end
|
|
43
30
|
end
|
|
44
31
|
|
|
45
32
|
::WayOfWorking::Audit::Github::Rules::Registry.register(
|
|
@@ -3,12 +3,8 @@
|
|
|
3
3
|
require_relative 'madr/generators/init'
|
|
4
4
|
require_relative 'madr/generators/new'
|
|
5
5
|
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
require 'way_of_working/audit/github/rules/registry'
|
|
9
|
-
require_relative 'madr/github_audit_rule'
|
|
10
|
-
rescue LoadError # rubocop:disable Lint/SuppressedException
|
|
11
|
-
end
|
|
6
|
+
# Register the GitHub audit rule (the registry is bundled with this gem)
|
|
7
|
+
require_relative 'madr/github_audit_rule'
|
|
12
8
|
|
|
13
9
|
module WayOfWorking
|
|
14
10
|
module DecisionRecord
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'thor'
|
|
4
|
+
require 'way_of_working/git/repo_reader'
|
|
4
5
|
|
|
5
6
|
module WayOfWorking
|
|
6
7
|
module InclusiveLanguage
|
|
@@ -8,6 +9,8 @@ module WayOfWorking
|
|
|
8
9
|
module Generators
|
|
9
10
|
# This generator adds the alexrc file
|
|
10
11
|
class Init < Thor::Group
|
|
12
|
+
BADGE_HOLDER_END_TAG = "<!-- Way of Working: Badge Holder End -->\n"
|
|
13
|
+
|
|
11
14
|
include Thor::Actions
|
|
12
15
|
|
|
13
16
|
source_root WayOfWorking.root.join('lib', 'way_of_working', 'inclusive_language', 'alex', 'templates')
|
|
@@ -27,6 +30,28 @@ module WayOfWorking
|
|
|
27
30
|
def copy_way_of_working_documentation
|
|
28
31
|
copy_file 'docs/way_of_working/inclusive-language.md'
|
|
29
32
|
end
|
|
33
|
+
|
|
34
|
+
# Adds the workflow status badge to the README badge panel created by `init readme_badge`
|
|
35
|
+
def add_badge_to_readme
|
|
36
|
+
readme = File.join(destination_root, 'README.md')
|
|
37
|
+
return unless File.exist?(readme) && File.read(readme).include?(BADGE_HOLDER_END_TAG)
|
|
38
|
+
return unless github_url
|
|
39
|
+
|
|
40
|
+
actions_url = "#{github_url}/actions/workflows/inclusive-language.yml"
|
|
41
|
+
insert_into_file 'README.md', "[](#{actions_url})\n",
|
|
42
|
+
before: BADGE_HOLDER_END_TAG
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
private
|
|
46
|
+
|
|
47
|
+
# Returns e.g. https://github.com/org/repo, or nil if there is no GitHub remote
|
|
48
|
+
def github_url
|
|
49
|
+
remote_url = ::WayOfWorking::Git::RepoReader.new(::Git.open(destination_root)).likely_upstream_remote_url
|
|
50
|
+
repo = remote_url&.match(%r{github\.com[:/]([^/]+/[^/]+?)/?\z})&.[](1)
|
|
51
|
+
"https://github.com/#{repo}" if repo
|
|
52
|
+
rescue ArgumentError
|
|
53
|
+
nil
|
|
54
|
+
end
|
|
30
55
|
end
|
|
31
56
|
end
|
|
32
57
|
end
|
|
@@ -6,13 +6,20 @@ module WayOfWorking
|
|
|
6
6
|
module InclusiveLanguage
|
|
7
7
|
# The namespace for plugin
|
|
8
8
|
module Alex
|
|
9
|
-
# This rule checks
|
|
9
|
+
# This rule checks the repo has the Inclusive Language files verbatim and the README badge.
|
|
10
10
|
class GithubAuditRule < ::WayOfWorking::Audit::Github::Rules::Base
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
SOURCE_FILES = %w[
|
|
12
|
+
.github/workflows/inclusive-language.yml
|
|
13
|
+
.alexignore
|
|
14
|
+
.alexrc
|
|
15
|
+
docs/way_of_working/inclusive-language.md
|
|
16
|
+
].freeze
|
|
17
|
+
|
|
18
|
+
source_root WayOfWorking.root.join('lib', 'way_of_working', 'inclusive_language', 'alex', 'templates')
|
|
13
19
|
|
|
14
|
-
|
|
15
|
-
|
|
20
|
+
def validate
|
|
21
|
+
SOURCE_FILES.each do |path|
|
|
22
|
+
@errors << "#{path} is missing or does not match the template" unless repo_file_contains_source_file?(path)
|
|
16
23
|
end
|
|
17
24
|
|
|
18
25
|
@errors << 'Default branch is named "master"' if @repo.default_branch == 'master'
|
|
@@ -3,12 +3,8 @@
|
|
|
3
3
|
require_relative 'alex/generators/exec'
|
|
4
4
|
require_relative 'alex/generators/init'
|
|
5
5
|
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
require 'way_of_working/audit/github/rules/registry'
|
|
9
|
-
require_relative 'alex/github_audit_rule'
|
|
10
|
-
rescue LoadError # rubocop:disable Lint/SuppressedException
|
|
11
|
-
end
|
|
6
|
+
# Register the GitHub audit rule (the registry is bundled with this gem)
|
|
7
|
+
require_relative 'alex/github_audit_rule'
|
|
12
8
|
|
|
13
9
|
module WayOfWorking
|
|
14
10
|
module InclusiveLanguage
|
|
@@ -42,6 +38,8 @@ module WayOfWorking
|
|
|
42
38
|
|
|
43
39
|
This will create:
|
|
44
40
|
.alexrc
|
|
41
|
+
|
|
42
|
+
and add the workflow badge to the README badge panel, if present
|
|
45
43
|
LONGDESC
|
|
46
44
|
end
|
|
47
45
|
end
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative 'hdi/generators/init'
|
|
4
4
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
require 'way_of_working/audit/github/rules/registry'
|
|
8
|
-
require_relative 'hdi/github_audit_rule'
|
|
9
|
-
rescue LoadError # rubocop:disable Lint/SuppressedException
|
|
10
|
-
end
|
|
5
|
+
# Register the GitHub audit rule (the registry is bundled with this gem)
|
|
6
|
+
require_relative 'hdi/github_audit_rule'
|
|
11
7
|
|
|
12
8
|
module WayOfWorking
|
|
13
9
|
module PullRequestTemplate
|
|
@@ -6,6 +6,7 @@ require 'way_of_working/readme_badge/paths'
|
|
|
6
6
|
module WayOfWorking
|
|
7
7
|
module ReadmeBadge
|
|
8
8
|
module Generators
|
|
9
|
+
MAIN_HOLDER_START_TAG = '<!-- Way of Working: Main Badge Holder Start -->'
|
|
9
10
|
HOLDER_END_TAG = "<!-- Way of Working: Badge Holder End -->\n"
|
|
10
11
|
|
|
11
12
|
# This generator adds the alexrc file
|
|
@@ -19,9 +20,18 @@ module WayOfWorking
|
|
|
19
20
|
end
|
|
20
21
|
|
|
21
22
|
def insert_badge_holder_into_readme
|
|
23
|
+
# Thor only skips an insert whose exact text (version included) is already there,
|
|
24
|
+
# so refresh the existing badge instead of stacking a new holder.
|
|
25
|
+
readme = File.join(destination_root, 'README.md')
|
|
26
|
+
if behavior == :invoke && File.read(readme).include?(MAIN_HOLDER_START_TAG)
|
|
27
|
+
return gsub_file('README.md', /^#{MAIN_HOLDER_START_TAG}\n.*$/) do
|
|
28
|
+
"#{MAIN_HOLDER_START_TAG}\n#{main_badge}"
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
22
32
|
content = <<~MARKDOWN + HOLDER_END_TAG
|
|
23
33
|
|
|
24
|
-
|
|
34
|
+
#{MAIN_HOLDER_START_TAG}
|
|
25
35
|
#{main_badge}
|
|
26
36
|
<!-- Way of Working: Additional Badge Holder Start -->
|
|
27
37
|
MARKDOWN
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative 'readme_badge/generators/init'
|
|
4
4
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
require 'way_of_working/audit/github/rules/registry'
|
|
8
|
-
require_relative 'readme_badge/github_audit_rule'
|
|
9
|
-
rescue LoadError # rubocop:disable Lint/SuppressedException
|
|
10
|
-
end
|
|
5
|
+
# Register the GitHub audit rule (the registry is bundled with this gem)
|
|
6
|
+
require_relative 'readme_badge/github_audit_rule'
|
|
11
7
|
|
|
12
8
|
module WayOfWorking
|
|
13
9
|
module SubCommands
|
|
@@ -7,10 +7,22 @@ module WayOfWorking
|
|
|
7
7
|
# This base class enables subcommands to work correctly with help. See:
|
|
8
8
|
# https://github.com/rails/thor/wiki/Subcommands#subcommands-that-work-correctly-with-help
|
|
9
9
|
class Base < Thor
|
|
10
|
+
def self.exit_on_failure?
|
|
11
|
+
true
|
|
12
|
+
end
|
|
13
|
+
|
|
10
14
|
def self.banner(command, _namespace = nil, _subcommand = false)
|
|
11
15
|
"#{basename} #{subcommand_prefix} #{command.usage}"
|
|
12
16
|
end
|
|
13
17
|
|
|
18
|
+
# Thor's register doesn't copy a Thor::Group's class_options onto the
|
|
19
|
+
# wrapper command, so they're missing from help. See:
|
|
20
|
+
# https://github.com/rails/thor/issues/661
|
|
21
|
+
def self.register(klass, subcommand_name, usage, description, options = {})
|
|
22
|
+
super
|
|
23
|
+
commands[subcommand_name].options = klass.class_options if klass <= Thor::Group
|
|
24
|
+
end
|
|
25
|
+
|
|
14
26
|
def self.subcommand_prefix
|
|
15
27
|
name.gsub(/.*::/, '').gsub(/^[A-Z]/) { |match| match[0].downcase }.
|
|
16
28
|
gsub(/[A-Z]/) { |match| "-#{match[0].downcase}" }
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative 'base'
|
|
4
|
+
require_relative '../config'
|
|
5
|
+
|
|
6
|
+
module WayOfWorking
|
|
7
|
+
module SubCommands
|
|
8
|
+
# This class defines the "config" parent command, for persisting values (like a
|
|
9
|
+
# code of conduct contact method) in ~/.config/way_of_working/config.yaml so
|
|
10
|
+
# they don't need to be passed as CLI options every time
|
|
11
|
+
class Config < Base
|
|
12
|
+
desc 'get [KEY]', 'Reads a value from the way_of_working config file'
|
|
13
|
+
def get(key)
|
|
14
|
+
value = ::WayOfWorking::Config.get(key)
|
|
15
|
+
say(value.nil? ? "#{key} is not set" : value.to_s)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
desc 'set [KEY] [VALUE]', 'Writes a value to the way_of_working config file'
|
|
19
|
+
def set(key, value)
|
|
20
|
+
::WayOfWorking::Config.set(key, value)
|
|
21
|
+
say "Saved #{key} to #{::WayOfWorking::Config.path}"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -8,7 +8,7 @@ module WayOfWorking
|
|
|
8
8
|
class Init < Base
|
|
9
9
|
desc 'all --contact-method [CONTACT METHOD]',
|
|
10
10
|
'This adds all of the available Way of Working components to this project'
|
|
11
|
-
method_option :contact_method
|
|
11
|
+
method_option :contact_method
|
|
12
12
|
def all
|
|
13
13
|
invoke_all
|
|
14
14
|
end
|
|
@@ -18,17 +18,6 @@ module WayOfWorking
|
|
|
18
18
|
|
|
19
19
|
private
|
|
20
20
|
|
|
21
|
-
def repo_file_contains_source_file?(path)
|
|
22
|
-
repo_file_contains?(path, File.read(self.class.source_root.join(path)))
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def repo_file_contains?(path, text)
|
|
26
|
-
remote_content = repo_file_contents(path)
|
|
27
|
-
return false if remote_content.nil?
|
|
28
|
-
|
|
29
|
-
remote_content.include?(text)
|
|
30
|
-
end
|
|
31
|
-
|
|
32
21
|
def validate_repo_file_contains_source_file(*paths)
|
|
33
22
|
paths.each do |path|
|
|
34
23
|
if repo_file_contents(path).nil?
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative 'semver/generators/init'
|
|
4
4
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
require 'way_of_working/audit/github/rules/registry'
|
|
8
|
-
require_relative 'semver/github_audit_rule'
|
|
9
|
-
rescue LoadError # rubocop:disable Lint/SuppressedException
|
|
10
|
-
end
|
|
5
|
+
# Register the GitHub audit rule (the registry is bundled with this gem)
|
|
6
|
+
require_relative 'semver/github_audit_rule'
|
|
11
7
|
|
|
12
8
|
module WayOfWorking
|
|
13
9
|
module Versioning
|
data/lib/way_of_working.rb
CHANGED
|
@@ -12,17 +12,24 @@ loader = Zeitwerk::Loader.for_gem
|
|
|
12
12
|
# from Zeitwerk's file-to-constant expectations so downstream apps can
|
|
13
13
|
# `require 'way_of_working/tasks'` from their Rakefile.
|
|
14
14
|
loader.ignore(File.expand_path('way_of_working/tasks.rb', __dir__))
|
|
15
|
-
# github_audit_rule.rb
|
|
16
|
-
#
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
loader.ignore(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
# github_audit_rule.rb files are loaded explicitly by their feature file (see
|
|
16
|
+
# readme_badge.rb) and register themselves on load, so keep them out of
|
|
17
|
+
# Zeitwerk's eager-load walk. Eager-loading them would register every rule,
|
|
18
|
+
# not just those of the features the user required.
|
|
19
|
+
loader.ignore("#{__dir__}/way_of_working/**/github_audit_rule.rb")
|
|
20
|
+
# Opt-in built-in feature entrypoints reopen the sub commands and register
|
|
21
|
+
# their generators at load time. Exclude them from Zeitwerk so eager loading
|
|
22
|
+
# (e.g. a Rails app in production) does not enable features the host never
|
|
23
|
+
# required. They are only loaded by an explicit `require`.
|
|
24
|
+
%w[
|
|
25
|
+
audit/github
|
|
26
|
+
changelog/keepachangelog
|
|
27
|
+
code_of_conduct/contributor_covenant
|
|
28
|
+
decision_record/madr
|
|
29
|
+
inclusive_language/alex
|
|
30
|
+
pull_request_template/hdi
|
|
31
|
+
versioning/semver
|
|
32
|
+
].each { |feature| loader.ignore(File.expand_path("way_of_working/#{feature}.rb", __dir__)) }
|
|
26
33
|
loader.setup
|
|
27
34
|
|
|
28
35
|
# This is the namespace for everything associated with the Way of Working
|
data/way_of_working.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = 'RubyGem for the HDI way of working.'
|
|
12
12
|
# spec.description = "TODO: Write a longer description or delete this line."
|
|
13
|
-
spec.homepage = 'https://
|
|
13
|
+
spec.homepage = 'https://github.com/HealthDataInsight/way_of_working#readme'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
15
|
spec.required_ruby_version = '>= 3.1'
|
|
16
16
|
|
|
@@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
|
|
|
38
38
|
# For more information and examples about making a new gem, check out our
|
|
39
39
|
# guide at: https://bundler.io/guides/creating_gem.html
|
|
40
40
|
spec.add_dependency 'activesupport'
|
|
41
|
+
spec.add_dependency 'base64' # bundled (not default) gem from Ruby 3.4; used by the audit rules
|
|
41
42
|
spec.add_dependency 'faraday-multipart', '~> 1.0'
|
|
42
43
|
spec.add_dependency 'faraday-retry', '~> 2.2'
|
|
43
44
|
spec.add_dependency 'git', '~> 1.13'
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: way_of_working
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Gentry
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
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: activesupport
|
|
@@ -24,6 +23,20 @@ dependencies:
|
|
|
24
23
|
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: base64
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
27
40
|
- !ruby/object:Gem::Dependency
|
|
28
41
|
name: faraday-multipart
|
|
29
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -136,7 +149,6 @@ dependencies:
|
|
|
136
149
|
- - "~>"
|
|
137
150
|
- !ruby/object:Gem::Version
|
|
138
151
|
version: 2.6.18
|
|
139
|
-
description:
|
|
140
152
|
email:
|
|
141
153
|
- 52189+timgentry@users.noreply.github.com
|
|
142
154
|
executables:
|
|
@@ -145,6 +157,7 @@ extensions: []
|
|
|
145
157
|
extra_rdoc_files: []
|
|
146
158
|
files:
|
|
147
159
|
- CHANGELOG.md
|
|
160
|
+
- CLAUDE.md
|
|
148
161
|
- CODE_OF_CONDUCT.md
|
|
149
162
|
- CONTRIBUTING.md
|
|
150
163
|
- LICENSE.txt
|
|
@@ -168,6 +181,8 @@ files:
|
|
|
168
181
|
- lib/way_of_working/code_of_conduct/contributor_covenant/github_audit_rule.rb
|
|
169
182
|
- lib/way_of_working/code_of_conduct/contributor_covenant/templates/CODE_OF_CONDUCT.md.tt
|
|
170
183
|
- lib/way_of_working/code_of_conduct/contributor_covenant/templates/docs/way_of_working/code-of-conduct.md
|
|
184
|
+
- lib/way_of_working/completion.rb
|
|
185
|
+
- lib/way_of_working/config.rb
|
|
171
186
|
- lib/way_of_working/configuration.rb
|
|
172
187
|
- lib/way_of_working/decision_record/madr.rb
|
|
173
188
|
- lib/way_of_working/decision_record/madr/generators/init.rb
|
|
@@ -202,6 +217,7 @@ files:
|
|
|
202
217
|
- lib/way_of_working/readme_badge/templates/README.md
|
|
203
218
|
- lib/way_of_working/readme_badge/templates/docs/way_of_working/readme-badges.md.tt
|
|
204
219
|
- lib/way_of_working/sub_commands/base.rb
|
|
220
|
+
- lib/way_of_working/sub_commands/config.rb
|
|
205
221
|
- lib/way_of_working/sub_commands/exec.rb
|
|
206
222
|
- lib/way_of_working/sub_commands/init.rb
|
|
207
223
|
- lib/way_of_working/sub_commands/new.rb
|
|
@@ -212,16 +228,15 @@ files:
|
|
|
212
228
|
- lib/way_of_working/versioning/semver/github_audit_rule.rb
|
|
213
229
|
- lib/way_of_working/versioning/semver/templates/docs/way_of_working/versioning.md
|
|
214
230
|
- way_of_working.gemspec
|
|
215
|
-
homepage: https://
|
|
231
|
+
homepage: https://github.com/HealthDataInsight/way_of_working#readme
|
|
216
232
|
licenses:
|
|
217
233
|
- MIT
|
|
218
234
|
metadata:
|
|
219
235
|
allowed_push_host: https://rubygems.org
|
|
220
236
|
rubygems_mfa_required: 'true'
|
|
221
|
-
homepage_uri: https://
|
|
237
|
+
homepage_uri: https://github.com/HealthDataInsight/way_of_working#readme
|
|
222
238
|
source_code_uri: https://github.com/HealthDataInsight/way_of_working
|
|
223
239
|
changelog_uri: https://github.com/HealthDataInsight/way_of_working/blob/main/CHANGELOG.md
|
|
224
|
-
post_install_message:
|
|
225
240
|
rdoc_options: []
|
|
226
241
|
require_paths:
|
|
227
242
|
- lib
|
|
@@ -236,8 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
236
251
|
- !ruby/object:Gem::Version
|
|
237
252
|
version: '0'
|
|
238
253
|
requirements: []
|
|
239
|
-
rubygems_version: 3.
|
|
240
|
-
signing_key:
|
|
254
|
+
rubygems_version: 3.6.9
|
|
241
255
|
specification_version: 4
|
|
242
256
|
summary: RubyGem for the HDI way of working.
|
|
243
257
|
test_files: []
|