cloudally 0.1.3 → 0.2.0

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: 68a94c91f6e5622ce7e6bec6df252666c423e26b713ee198833ee61c653fee61
4
- data.tar.gz: a3e801fc1226015b89f5223f019272bf7a9a53820787f397d0ea6dfdafbe4801
3
+ metadata.gz: 5780ac88974b8f9bd7fe6d49e500340da172ad2565be04fc469462bcf9a13d53
4
+ data.tar.gz: dc651c10d423ca8e3da8b3fc0db36678cd90a789598ed2bd402534da62d6d6c6
5
5
  SHA512:
6
- metadata.gz: c2b4077a590dd0fba1788cf845396ef793944a1c032003fd5e84bc84102f34132494f5ff3c85aba33958ab0aa2a09951d867b5081031021c2c7ce6e7bd620471
7
- data.tar.gz: c96283aa619293b887fc5299db06dbda3c613196de65504230ab8a692fff4359ae020d2a19d67c56ed235474f11492c5af6c52a9d9a22276524355bb4a869965
6
+ metadata.gz: 6bee671a9cef8053845f521d84c1bc0f135b6d19c2936088343e0c7c6c7927a7be439be30d317ec571104788425c6bc2114a80f98fdea21b075bfd6df88e4883
7
+ data.tar.gz: 5337ea5ef199d840a1febdf9eb7ce401984d90c25ecab0e67c7a9f69dd8b3d8c62b5afb59c1fdbe2b0d430e394b7ce60af050447e07ad3e76091bc4cfd0367c1
data/CHANGELOG.md CHANGED
@@ -11,3 +11,6 @@
11
11
 
12
12
  ## [0.1.3] - 2024-01-30
13
13
  - Fix defect in request paging to return all pages when no block is given
14
+
15
+ ## [0.2.0] - 2024-01-30
16
+ - json return for entities
@@ -8,6 +8,7 @@ module CloudAlly
8
8
  attr_reader :attributes
9
9
 
10
10
  def initialize attributes
11
+ @_raw = attributes
11
12
  @attributes = attributes.clone.transform_keys(&:to_s)
12
13
  end
13
14
 
@@ -45,6 +46,10 @@ module CloudAlly
45
46
  super
46
47
  end
47
48
  end
49
+
50
+ def to_json options={}
51
+ @_raw.to_json
52
+ end
48
53
  end
49
54
 
50
55
  # Perform an HTTP GET request and return entity
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudAlly
4
- VERSION = '0.1.3'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudally
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janco Tanis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-30 00:00:00.000000000 Z
11
+ date: 2024-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday