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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4cd53b266de26d3e819cdfedba39ced10517813e4aed918c7bb9eb243a1c9e2
4
- data.tar.gz: 4e9e75201da0c3a21da12f1c162f078c71fc393e4e350837fd39beca00dc83db
3
+ metadata.gz: '0963b01092150e79cbf300a7431858238be834bb8c20a433614ed1077079108c'
4
+ data.tar.gz: d723c91babe0517162622c82a5b9574f29e5bb2cce2ae495684585539c6f6d2c
5
5
  SHA512:
6
- metadata.gz: 519df9e86e1f3bf3616c24ff3684b5be431a4261e9b2521afa807ae8ae15f23913552bb543b664559242d5f74bb23b4d6aff34bc2cda1fdf2e8d0086c77cd8c9
7
- data.tar.gz: 145b56aea60a069fb70b29d7e46774f9f72f05ff50b10df6579d34760939f19c4ff44d7df7ebf089d9c32f2f1d3a3b4beb11b37dc6844d9514b9eb71cfc024ec
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
@@ -1,3 +1,11 @@
1
+ ### next
2
+
3
+ * TODO: Replace this bullet point with an actual description of a change.
4
+
5
+ ### 1.5.0
6
+
7
+ * Added support for Gem release automation
8
+
1
9
  ### 1.4.0
2
10
 
3
11
  * Bundler >= 2.3 is from now on required as minimal version (#10)
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 `bin/setup` to install dependencies. Then, run
221
- `rake spec` to run the tests. You can also run `bin/console` for an interactive
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
- To install this gem onto your local machine, run `bundle exec rake install`. To
229
- release a new version, update the version number in `version.rb`, and then run
230
- `bundle exec rake release`, which will create a git tag for the version, push
231
- git commits and tags, and push the `.gem` file to
232
- [rubygems.org](https://rubygems.org).
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. This project is intended to be a safe,
238
- welcoming space for collaboration, and contributors are expected to adhere to
239
- the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
240
-
241
- ## License
242
-
243
- The gem is available as open source under the terms of the [MIT
244
- License](http://opensource.org/licenses/MIT).
245
-
246
- ## Code of Conduct
247
-
248
- Everyone interacting in the Immoscout project’s codebases, issue trackers, chat
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.
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Immoscout
5
5
  # The version of the +immoscout+ gem
6
- VERSION = '1.4.0'
6
+ VERSION = '1.5.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
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.0
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-01-18 00:00:00.000000000 Z
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.8
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: []