immoscout 1.4.0 → 1.5.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/CHANGELOG.md +8 -0
- data/README.md +22 -24
- data/lib/immoscout/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0963b01092150e79cbf300a7431858238be834bb8c20a433614ed1077079108c'
|
4
|
+
data.tar.gz: d723c91babe0517162622c82a5b9574f29e5bb2cce2ae495684585539c6f6d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5107284073b8c5ef76026e1fa3da07cb82866925a03e980e91fdeb8df63a252309a787b008fe111c7a07eb84f7fb362150f29638222cf4a9b0f8703c60e87e5
|
7
|
+
data.tar.gz: 14739b826ef34d6f0560dd6cc6fe2b708973af48db972298bb4110902b1831ccff4e0c8bc4af9472113c70f6a0a6588ab027677ecf4e5d315c3a5400953abe99
|
@@ -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/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -28,9 +28,9 @@ the well known _ActiveRecord-like_ model methods.
|
|
28
28
|
- [Attachment (Picture & Document)](#attachment-picture--document)
|
29
29
|
- [Overview supported actions](#overview-supported-actions-3)
|
30
30
|
- [Development](#development)
|
31
|
-
- [Contributing](#contributing)
|
32
|
-
- [License](#license)
|
33
31
|
- [Code of Conduct](#code-of-conduct)
|
32
|
+
- [Contributing](#contributing)
|
33
|
+
- [Releasing](#releasing)
|
34
34
|
|
35
35
|
## Installation
|
36
36
|
|
@@ -217,34 +217,32 @@ picture.destroy # attachment destroy!
|
|
217
217
|
|
218
218
|
## Development
|
219
219
|
|
220
|
-
After checking out the repo, run `
|
221
|
-
`
|
222
|
-
prompt that will allow you to experiment.
|
220
|
+
After checking out the repo, run `make install` to install dependencies. Then,
|
221
|
+
run `make test` to run the tests. You can also run `make shell-irb` for an
|
222
|
+
interactive prompt that will allow you to experiment.
|
223
223
|
|
224
224
|
To run specs against the immobilienscout24 sandbox api, you need to create some
|
225
225
|
keys and tokens. Copy the `spec/test_config.yml.example` to
|
226
226
|
`spec/test_config.yml` and fill in your generated values.
|
227
227
|
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
228
|
+
## Code of Conduct
|
229
|
+
|
230
|
+
Everyone interacting in the project codebase, issue tracker, chat
|
231
|
+
rooms and mailing lists is expected to follow the [code of
|
232
|
+
conduct](./CODE_OF_CONDUCT.md).
|
233
233
|
|
234
234
|
## Contributing
|
235
235
|
|
236
236
|
Bug reports and pull requests are welcome on GitHub at
|
237
|
-
https://github.com/hausgold/immoscout.
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
##
|
242
|
-
|
243
|
-
The
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
rooms and mailing lists is expected to follow the [code of
|
250
|
-
conduct](https://github.com/hausgold/immoscout/blob/master/CODE_OF_CONDUCT.md).
|
237
|
+
https://github.com/hausgold/immoscout. Make sure that every pull request adds
|
238
|
+
a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
|
239
|
+
actual pull request.
|
240
|
+
|
241
|
+
## Releasing
|
242
|
+
|
243
|
+
The release process of this Gem is fully automated. You just need to open the
|
244
|
+
Github Actions [Release
|
245
|
+
Workflow](https://github.com/hausgold/immoscout/actions/workflows/release.yml)
|
246
|
+
and trigger a new run via the **Run workflow** button. Insert the new version
|
247
|
+
number (check the [changelog](./CHANGELOG.md) first for the latest release) and
|
248
|
+
you're done.
|
data/lib/immoscout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immoscout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Geissler
|
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: activesupport
|
@@ -346,7 +346,7 @@ dependencies:
|
|
346
346
|
- - ">="
|
347
347
|
- !ruby/object:Gem::Version
|
348
348
|
version: 0.0.1
|
349
|
-
description:
|
349
|
+
description:
|
350
350
|
email:
|
351
351
|
- marcus3006@gmail.com
|
352
352
|
executables: []
|
@@ -355,6 +355,7 @@ extra_rdoc_files: []
|
|
355
355
|
files:
|
356
356
|
- ".editorconfig"
|
357
357
|
- ".github/workflows/documentation.yml"
|
358
|
+
- ".github/workflows/release.yml"
|
358
359
|
- ".github/workflows/test.yml"
|
359
360
|
- ".gitignore"
|
360
361
|
- ".reek"
|
@@ -420,7 +421,7 @@ files:
|
|
420
421
|
- lib/immoscout/models/picture.rb
|
421
422
|
- lib/immoscout/models/publish.rb
|
422
423
|
- lib/immoscout/version.rb
|
423
|
-
homepage:
|
424
|
+
homepage:
|
424
425
|
licenses:
|
425
426
|
- MIT
|
426
427
|
metadata:
|
@@ -429,7 +430,7 @@ metadata:
|
|
429
430
|
changelog_uri: https://github.com/hausgold/immoscout/blob/master/CHANGELOG.md
|
430
431
|
bug_tracker_uri: https://github.com/hausgold/immoscout/issues
|
431
432
|
documentation_uri: https://www.rubydoc.info/gems/immoscout
|
432
|
-
post_install_message:
|
433
|
+
post_install_message:
|
433
434
|
rdoc_options: []
|
434
435
|
require_paths:
|
435
436
|
- lib
|
@@ -444,8 +445,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
444
445
|
- !ruby/object:Gem::Version
|
445
446
|
version: '0'
|
446
447
|
requirements: []
|
447
|
-
rubygems_version: 3.3.
|
448
|
-
signing_key:
|
448
|
+
rubygems_version: 3.3.26
|
449
|
+
signing_key:
|
449
450
|
specification_version: 4
|
450
451
|
summary: Ruby client for the Immobilienscout24 REST API
|
451
452
|
test_files: []
|