plan_my_stuff 0.12.0 → 0.13.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 +11 -0
- data/lib/plan_my_stuff/archive.rb +0 -2
- data/lib/plan_my_stuff/base_project.rb +0 -2
- data/lib/plan_my_stuff/issue.rb +0 -5
- data/lib/plan_my_stuff/pipeline.rb +0 -5
- data/lib/plan_my_stuff/reminders.rb +0 -4
- data/lib/plan_my_stuff/version.rb +1 -1
- data/lib/plan_my_stuff.rb +24 -39
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: caa7ca14656d70850ad30923738ffa58177caf5fb91bd14bc6551f547590ca63
|
|
4
|
+
data.tar.gz: 1d4b79cc957efa2c146ffb2a433a90c798680b23da7b8907d9351b5cb041cc09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd8f13707987c75445038cf93240be65897b00c538d3500665738554aa5ee3a6680352a2bb932e1fab41ba24e58985606655bd2f34e042375bc8a7692cde7310
|
|
7
|
+
data.tar.gz: 4b2160e17a7043004f294b7c6ae5c46f25f6a68ed5ca65ec5c3a124bfd34260521d1d07a6d22152e341f1d2ed8d6f1b79e729f6c9d39f8c7c0a907803baa017e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.0
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Internal: gem now autoloads `lib/plan_my_stuff/**` via Zeitwerk
|
|
8
|
+
(already shipped by railties - no new dep). All `require_relative`
|
|
9
|
+
boilerplate in the gem's lib tree is gone. The gem entry retains two
|
|
10
|
+
explicit `require_relative`s for files that fall outside the autoload
|
|
11
|
+
model: `errors.rb` (defines several sibling error classes) and
|
|
12
|
+
`engine.rb` (must register with Rails at load time).
|
|
13
|
+
|
|
3
14
|
## 0.12.0
|
|
4
15
|
|
|
5
16
|
### Added
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require_relative 'base_project_extractions/graphql_hydration'
|
|
4
|
-
|
|
5
3
|
module PlanMyStuff
|
|
6
4
|
# Shared base for GitHub Projects V2 wrappers. Holds attribute definitions, generic find/list/update machinery,
|
|
7
5
|
# hydration, and instance helpers. Concrete subclasses (Project, TestingProject) add their own +create!+ behavior
|
data/lib/plan_my_stuff/issue.rb
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require_relative 'issue_extractions/approvals'
|
|
4
|
-
require_relative 'issue_extractions/links'
|
|
5
|
-
require_relative 'issue_extractions/viewers'
|
|
6
|
-
require_relative 'issue_extractions/waiting'
|
|
7
|
-
|
|
8
3
|
module PlanMyStuff
|
|
9
4
|
# Wraps a GitHub issue with parsed PMS metadata and comments.
|
|
10
5
|
# Class methods provide the public API for CRUD operations.
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require_relative 'pipeline/completed_sweep'
|
|
4
|
-
require_relative 'pipeline/issue_linker'
|
|
5
|
-
require_relative 'pipeline/status'
|
|
6
|
-
require_relative 'pipeline/testing'
|
|
7
|
-
|
|
8
3
|
module PlanMyStuff
|
|
9
4
|
# High-level orchestration layer for the release pipeline.
|
|
10
5
|
#
|
data/lib/plan_my_stuff.rb
CHANGED
|
@@ -1,50 +1,35 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require 'zeitwerk'
|
|
4
|
+
|
|
3
5
|
require 'date'
|
|
4
6
|
|
|
5
7
|
require 'active_support/core_ext/array/wrap'
|
|
6
8
|
require 'active_support/core_ext/object/blank'
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
loader = Zeitwerk::Loader.for_gem
|
|
11
|
+
loader.inflector.inflect(
|
|
12
|
+
'graphql' => 'GraphQL',
|
|
13
|
+
'version' => 'VERSION',
|
|
14
|
+
)
|
|
15
|
+
loader.ignore(
|
|
16
|
+
File.join(__dir__, 'generators'),
|
|
17
|
+
File.join(__dir__, 'tasks'),
|
|
18
|
+
File.join(__dir__, 'plan_my_stuff', 'aws_sns_simulator.rb'),
|
|
19
|
+
File.join(__dir__, 'plan_my_stuff', 'engine.rb'),
|
|
20
|
+
File.join(__dir__, 'plan_my_stuff', 'errors.rb'),
|
|
21
|
+
File.join(__dir__, 'plan_my_stuff', 'test_helpers.rb'),
|
|
22
|
+
File.join(__dir__, 'plan_my_stuff', 'webhook_replayer.rb'),
|
|
23
|
+
)
|
|
24
|
+
loader.setup
|
|
25
|
+
|
|
26
|
+
# errors.rb defines several sibling error classes - load it eagerly rather
|
|
27
|
+
# than rely on autoload-via-lead-constant.
|
|
24
28
|
require_relative 'plan_my_stuff/errors'
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
require_relative 'plan_my_stuff/
|
|
29
|
-
require_relative 'plan_my_stuff/issue_metadata'
|
|
30
|
-
require_relative 'plan_my_stuff/label'
|
|
31
|
-
require_relative 'plan_my_stuff/link'
|
|
32
|
-
require_relative 'plan_my_stuff/markdown'
|
|
33
|
-
require_relative 'plan_my_stuff/metadata_parser'
|
|
34
|
-
require_relative 'plan_my_stuff/notifications'
|
|
35
|
-
require_relative 'plan_my_stuff/pipeline'
|
|
36
|
-
require_relative 'plan_my_stuff/project'
|
|
37
|
-
require_relative 'plan_my_stuff/project_item'
|
|
38
|
-
require_relative 'plan_my_stuff/project_item_metadata'
|
|
39
|
-
require_relative 'plan_my_stuff/project_metadata'
|
|
40
|
-
require_relative 'plan_my_stuff/reminders'
|
|
41
|
-
require_relative 'plan_my_stuff/repo'
|
|
42
|
-
require_relative 'plan_my_stuff/testing_project'
|
|
43
|
-
require_relative 'plan_my_stuff/testing_project_item'
|
|
44
|
-
require_relative 'plan_my_stuff/testing_project_metadata'
|
|
45
|
-
require_relative 'plan_my_stuff/user_resolver'
|
|
46
|
-
require_relative 'plan_my_stuff/verifier'
|
|
47
|
-
require_relative 'plan_my_stuff/version'
|
|
29
|
+
|
|
30
|
+
# Engine must register with Rails at load time, so eagerly require it
|
|
31
|
+
# (and only when Rails is defined - otherwise Rails::Engine is undefined).
|
|
32
|
+
require_relative 'plan_my_stuff/engine' if defined?(Rails)
|
|
48
33
|
|
|
49
34
|
module PlanMyStuff
|
|
50
35
|
class << self
|