forked from s3krit/changelogerator
-
Notifications
You must be signed in to change notification settings - Fork 0
Allow for multiple labels with the same starting letter on changes.meta #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 5 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
78605c4
allow for multiple items with the same starting letter on meta
joao-paulo-parity 8589e5b
remove unnecessary print
joao-paulo-parity 6bfabdf
bump version for breaking change
joao-paulo-parity 5cec100
fix global meta usage
joao-paulo-parity ec417e3
fix global meta assignments
joao-paulo-parity 7f95009
re-add comment on compute_change_meta
joao-paulo-parity fcbd198
refactor $GITHUB_TOKEN checks
joao-paulo-parity 9341786
refactor $GITHUB_TOKEN checks
joao-paulo-parity a066bd7
bump version to 3.0.5 and add MFA
chevdor 1439f0d
Extract a Label class and add some tests
chevdor 879d391
Add error handling
chevdor 7934dbf
Avoid skipping tests that could run
chevdor c5942aa
set GITHUB_TOKEN=disabled for pull requests on CI
joao-paulo-parity a3c3567
Merge branch 'jp/meta' of github.com:paritytech/changelogerator into …
joao-paulo-parity 1577956
fix if expression
joao-paulo-parity ec43e6a
fix if expression
joao-paulo-parity 0906060
Fix readme
chevdor 54770bd
Remove some polkadot/srtool specifics
chevdor 140602d
update README example
joao-paulo-parity ecc0826
Merge branch 'jp/meta' of github.com:paritytech/changelogerator into …
joao-paulo-parity 4cbf9d6
improve comments
joao-paulo-parity 27d21e2
Add new test
chevdor d3be4b3
Refactoring for better irb support
chevdor 85a1710
Fix so both local and online tests work
chevdor c905262
Add new flag to return the version
chevdor 0de7e51
Fix packaging
chevdor fb98671
disable lint
joao-paulo-parity 9315a1c
Fix location of the gemspec
chevdor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| class Change | ||
| attr_reader :labels | ||
|
|
||
| class Label | ||
| attr_reader :name | ||
|
|
||
| def initialize(name) | ||
| @name = name | ||
| end | ||
| end | ||
|
|
||
| def initialize(labels) | ||
| @labels = labels.map do |label| | ||
| Label.new(label) | ||
| end | ||
| @extra = {} | ||
| end | ||
|
|
||
| def []=(key, value) | ||
| @extra[key] = value | ||
| end | ||
|
|
||
| def meta | ||
| @extra['meta'] | ||
| end | ||
| end |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.