qube_sync 0.1.1 → 0.1.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: b30a43b194aa2be7793bca91ff0af376f35cd0a7a663bcac2cd1297aeddb4cdf
4
- data.tar.gz: 6866965f28ddb4a2712b14b37db0230b6d21c5c75885f0bc9910cb5f620ffd4a
3
+ metadata.gz: ac47c600fd4fe36b5b433be9db8e5b8023b13b244409302ee1cd9b2a6923e389
4
+ data.tar.gz: 5019d72bb579c4b76bdb464dd042d1efb656aac01c56984f1183db42a4583382
5
5
  SHA512:
6
- metadata.gz: 046c0dd373ee5c9addf3005be16f5279a33f193be25c47d5c45e922d854d7239c10ce12d2529fbc1b60e65fa8ee13d78b4c845450a4273f06fba8960ba406792
7
- data.tar.gz: 524e5fb52176085ff61bbd02b79a6765ed53621f6e5b981fb9b26f9c640ff1e4789b7b3ff6511cfaf8fcfd5e6bde6969301ec56fab6bca28c312ba2fa2e04c18
6
+ metadata.gz: 203411e2029dca6db28aa884d909f80d536e1bc38b3b04398c78fc6f5ec92be8c295170025ed7b58f54e115dfe90e437b3602c92618468ce6b6a27ffb76fbff0
7
+ data.tar.gz: dd7fc7efa18f3432abf1e535690ef313a3e33be30d196d0c3686545c58abbc4a9cbbf007c733895da62aed966c45b9dc2f004f8afb6ae01c1ffa4ab183f4d04f
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # QUBESync
2
2
 
3
- The QUBESync API is very simple, so this gem is not necessary if you need to use older versions of Ruby or if you prefer to write your own API client. However, if you are using Ruby 2.6 or later and you want to save time, this gem can help you.
3
+ A simple wrapper around the QUBE Sync API.
4
4
 
5
5
  ## Installation
6
6
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QubeSync
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
data/lib/qube_sync.rb CHANGED
@@ -116,8 +116,7 @@ module QubeSync
116
116
  end
117
117
 
118
118
  def generate_password(connection_id)
119
- password = SecureRandom.hex(16)
120
- response = post("connections/#{connection_id}/password", { password: password })
119
+ response = post("connections/#{connection_id}/password")
121
120
  response.dig("data", "password") or raise "Password not found: #{response.pretty_inspect}"
122
121
  end
123
122
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qube_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garrett Lancaster
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-02-04 00:00:00.000000000 Z
11
+ date: 2025-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday