pricehubble 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +47 -0
- data/.rubocop.yml +5 -0
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Envfile +0 -3
- data/README.md +21 -8
- data/lib/pricehubble/version.rb +1 -1
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85745808382e5b8d332d66c00b5a15c5b31677d5969655951a987a3c1a877b4d
|
4
|
+
data.tar.gz: 2269357cd88afc29a2dcf145a9a579542d2b33ae88b09cb88771442f960aba9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e647a10162f859a8ea645b0ffc2cb2da064fc0e3802e4f4646b877221e56e2930894ba189d74837ec097a1bb26dd48cce4b343d5e60271d6cb6cdc366f19c14
|
7
|
+
data.tar.gz: e040750996b8266d30174b7c6bf692477b8467aa852791e67b2ab864800b267136deb77a86baeebcc038944bedf4b3492d6e379a70887160e3cbdd7e797f129b
|
@@ -0,0 +1,47 @@
|
|
1
|
+
name: Release
|
2
|
+
run-name: Release ${{ github.event.inputs.VERSION }}
|
3
|
+
|
4
|
+
on:
|
5
|
+
workflow_dispatch:
|
6
|
+
inputs:
|
7
|
+
VERSION:
|
8
|
+
description: The new version to release. (eg. `1.0.0`) Check the
|
9
|
+
changelog for the latest version.
|
10
|
+
|
11
|
+
concurrency:
|
12
|
+
group: '${{ github.event.inputs.VERSION }}'
|
13
|
+
cancel-in-progress: true
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
docs:
|
17
|
+
name: Release the gem
|
18
|
+
runs-on: ubuntu-22.04
|
19
|
+
timeout-minutes: 5
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v3
|
22
|
+
|
23
|
+
- name: Install Ruby 2.5
|
24
|
+
uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: 2.5
|
27
|
+
bundler-cache: true
|
28
|
+
rubygems: '3.3.26'
|
29
|
+
|
30
|
+
- name: Prepare the virtual environment
|
31
|
+
uses: hausgold/actions/ci@master
|
32
|
+
with:
|
33
|
+
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
34
|
+
settings: '${{ github.repository }}'
|
35
|
+
target: ci/gem-test
|
36
|
+
|
37
|
+
- name: Switch to SSH remotes for the Git repository
|
38
|
+
run: git-ssh-remotes
|
39
|
+
|
40
|
+
- name: Enforce version '${{ github.event.inputs.VERSION }}'
|
41
|
+
run: set-gem-version '${{ github.event.inputs.VERSION }}'
|
42
|
+
|
43
|
+
- name: Prepare the Git release commit
|
44
|
+
run: git-release-commit '${{ github.event.inputs.VERSION }}'
|
45
|
+
|
46
|
+
- name: Push the release Git commit/tag and package to the registry
|
47
|
+
run: make release
|
data/.rubocop.yml
CHANGED
@@ -32,6 +32,11 @@ Metrics/BlockLength:
|
|
32
32
|
- lib/pricehubble/client/request/**/*.rb
|
33
33
|
- lib/pricehubble/client/response/**/*.rb
|
34
34
|
|
35
|
+
# Our examples use +pp+ a lot
|
36
|
+
Lint/Debugger:
|
37
|
+
Exclude:
|
38
|
+
- doc/examples/**/*.rb
|
39
|
+
|
35
40
|
# MFA is not yet enabled for our gems yet.
|
36
41
|
Gemspec/RequireMFA:
|
37
42
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at development@hausgold.de. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Envfile
CHANGED
data/README.md
CHANGED
@@ -27,7 +27,9 @@ so feel free to send a pull request.
|
|
27
27
|
- [Advanced Request Examples](#advanced-request-examples)
|
28
28
|
- [Dossiers](#dossiers)
|
29
29
|
- [Development](#development)
|
30
|
+
- [Code of Conduct](#code-of-conduct)
|
30
31
|
- [Contributing](#contributing)
|
32
|
+
- [Releasing](#releasing)
|
31
33
|
|
32
34
|
## Installation
|
33
35
|
|
@@ -423,17 +425,28 @@ pp dossier.link
|
|
423
425
|
|
424
426
|
## Development
|
425
427
|
|
426
|
-
After checking out the repo, run `
|
427
|
-
`
|
428
|
+
After checking out the repo, run `make install` to install dependencies. Then,
|
429
|
+
run `make test` to run the tests. You can also run `make shell-irb` for an
|
428
430
|
interactive prompt that will allow you to experiment.
|
429
431
|
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
432
|
+
## Code of Conduct
|
433
|
+
|
434
|
+
Everyone interacting in the project codebase, issue tracker, chat
|
435
|
+
rooms and mailing lists is expected to follow the [code of
|
436
|
+
conduct](./CODE_OF_CONDUCT.md).
|
435
437
|
|
436
438
|
## Contributing
|
437
439
|
|
438
440
|
Bug reports and pull requests are welcome on GitHub at
|
439
|
-
https://github.com/hausgold/pricehubble.
|
441
|
+
https://github.com/hausgold/pricehubble. Make sure that every pull request adds
|
442
|
+
a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
|
443
|
+
actual pull request.
|
444
|
+
|
445
|
+
## Releasing
|
446
|
+
|
447
|
+
The release process of this Gem is fully automated. You just need to open the
|
448
|
+
Github Actions [Release
|
449
|
+
Workflow](https://github.com/hausgold/pricehubble/actions/workflows/release.yml)
|
450
|
+
and trigger a new run via the **Run workflow** button. Insert the new version
|
451
|
+
number (check the [changelog](./CHANGELOG.md) first for the latest release) and
|
452
|
+
you're done.
|
data/lib/pricehubble/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pricehubble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -341,6 +341,7 @@ extra_rdoc_files: []
|
|
341
341
|
files:
|
342
342
|
- ".editorconfig"
|
343
343
|
- ".github/workflows/documentation.yml"
|
344
|
+
- ".github/workflows/release.yml"
|
344
345
|
- ".github/workflows/test.yml"
|
345
346
|
- ".gitignore"
|
346
347
|
- ".rspec"
|
@@ -349,6 +350,7 @@ files:
|
|
349
350
|
- ".yardopts"
|
350
351
|
- Appraisals
|
351
352
|
- CHANGELOG.md
|
353
|
+
- CODE_OF_CONDUCT.md
|
352
354
|
- Dockerfile
|
353
355
|
- Envfile
|
354
356
|
- Gemfile
|
@@ -420,7 +422,7 @@ files:
|
|
420
422
|
- lib/pricehubble/utils/decision.rb
|
421
423
|
- lib/pricehubble/version.rb
|
422
424
|
- pricehubble.gemspec
|
423
|
-
homepage:
|
425
|
+
homepage:
|
424
426
|
licenses:
|
425
427
|
- MIT
|
426
428
|
metadata:
|
@@ -429,7 +431,7 @@ metadata:
|
|
429
431
|
changelog_uri: https://github.com/hausgold/pricehubble/blob/master/CHANGELOG.md
|
430
432
|
bug_tracker_uri: https://github.com/hausgold/pricehubble/issues
|
431
433
|
documentation_uri: https://www.rubydoc.info/gems/pricehubble
|
432
|
-
post_install_message:
|
434
|
+
post_install_message:
|
433
435
|
rdoc_options: []
|
434
436
|
require_paths:
|
435
437
|
- lib
|
@@ -444,8 +446,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
444
446
|
- !ruby/object:Gem::Version
|
445
447
|
version: '0'
|
446
448
|
requirements: []
|
447
|
-
rubygems_version: 3.3.
|
448
|
-
signing_key:
|
449
|
+
rubygems_version: 3.3.26
|
450
|
+
signing_key:
|
449
451
|
specification_version: 4
|
450
452
|
summary: Ruby client for the PriceHubble REST API
|
451
453
|
test_files: []
|