hetznercloud 1.7.1 → 1.7.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 186a93045de45b6cf305dda61558933994de8a109e319e2c5fe6454f56be667f
4
- data.tar.gz: b36eb396bb305052e67e5eda6b2f21a615013cdedcb57d8eceaae0ead59ca421
3
+ metadata.gz: 7a3bc8bc5dfc3e5154ae94a877dbdc8c355c93b027f986ca3725c0866bece1f8
4
+ data.tar.gz: 6b43309988c2d4839fec5b9698381f263cff0a3789f6b4caaefae4d810b5ad2d
5
5
  SHA512:
6
- metadata.gz: d2ff10c4bae59a8e32695d52546d3ca42121578ea79468e046d61d162d6e3055edcc2608ae2acb3fe99717f74a78ab4fe6fab89233ca2160e94a0fc99788d791
7
- data.tar.gz: 3bd2eb8a1960b9a417e0405d0f5653d56542a1d282308972f39d50451bd67c3dc3f7f5e36c358c315e6146babe2b390490f211c27de65a02a0615fd17570d351
6
+ metadata.gz: dd662a4a50655993945562054fa50ea8f3773df37098aee24e67357874682214c35a1bfbcb373e577d1478f9ffb877de0cee9d2cbe7afeacd0e3be5fefa89ff0
7
+ data.tar.gz: b68871da40e599c2b91388d020065c57aba4cd6b037cccaeeca4a9dd43d18071a39cf7b01c7ba0531c6c80ff2460bca82e5d7335499ed3feb5f7e128e6a64654
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## HCloud v1.7.2 (2023-10-16)
4
+
5
+ - Add `deprecation` attribute to `ISO`
6
+
3
7
  ## HCloud v1.7.1 (2023-07-25)
4
8
 
5
9
  - Add deprecation warning for `HCloud::Action.all`
@@ -9,6 +9,14 @@ module HCloud
9
9
  # HCloud::Datacenter.all
10
10
  # # => [#<HCloud::Datacenter id: 2, ...>, ...]
11
11
  #
12
+ # == Sort datacenters
13
+ #
14
+ # HCloud::Datacenter.sort(name: :desc)
15
+ # # => [#<HCloud::Datacenter id: 1, ...>, ...]
16
+ #
17
+ # HCloud::Datacenter.sort(:id, name: :asc)
18
+ # # => [#<HCloud::Datacenter id: 1, ...>, ...]
19
+ #
12
20
  # == Search datacenters
13
21
  #
14
22
  # HCloud::Datacenter.where(name: "fsn1-dc8")
@@ -28,7 +28,9 @@ module HCloud
28
28
 
29
29
  attribute :architecture
30
30
  attribute :type
31
+
31
32
  attribute :deprecated, :datetime
33
+ attribute :deprecation, :deprecation
32
34
 
33
35
  def deprecated?
34
36
  deprecated.present?
@@ -9,6 +9,14 @@ module HCloud
9
9
  # HCloud::Location.all
10
10
  # # => [#<HCloud::Location id: 1, ...>, ...]
11
11
  #
12
+ # == Sort locations
13
+ #
14
+ # HCloud::Location.sort(name: :desc)
15
+ # # => [#<HCloud::Location id: 1, ...>, ...]
16
+ #
17
+ # HCloud::Location.sort(:id, name: :asc)
18
+ # # => [#<HCloud::Location id: 1, ...>, ...]
19
+ #
12
20
  # == Search locations
13
21
  #
14
22
  # HCloud::Location.where(name: "fsn1")
@@ -4,7 +4,7 @@ module HCloud
4
4
  module Version
5
5
  MAJOR = 1
6
6
  MINOR = 7
7
- PATCH = 1
7
+ PATCH = 2
8
8
  PRE = nil
9
9
 
10
10
  VERSION = [MAJOR, MINOR, PATCH].compact.join(".")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hetznercloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Dejonckheere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel