kosa8 0.3.0 → 0.3.1
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 +4 -4
- data/README.md +1 -1
- data/lib/kosa8/cloud.rb +1 -1
- data/lib/kosa8/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08b5f504643a5faa4c88bbccaea1a60ca60d91a5c2e1a846e014d6a2a91019ea'
|
|
4
|
+
data.tar.gz: 2ad6b1df0b4223436d67994ddb21f6323479a5923573c0dafab8bb03f9a2551a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ed7181a597817332ac84fd9d6fc53afce2d8cd2c093dab59d1bd8b1550d21f918161cdf019f31d699592e696f67a50ab9268d41c921425642927a85030c02c4
|
|
7
|
+
data.tar.gz: 7d317bbd4ac4f54f287640c95c212bd88f7d416a090a7dde47dad22dd48554dd228193703033706d12a9752c5586ceb18ee5330f066d294fc53801961f611a0c
|
data/README.md
CHANGED
|
@@ -126,7 +126,7 @@ A new organization runs nothing until a payment method is on file; until
|
|
|
126
126
|
then creating a sandbox raises `Kosa8::PaymentRequiredError` (`code`
|
|
127
127
|
`payment_required`), whose message says what to do. Every error from the
|
|
128
128
|
cloud carries its stable `code`. The address is `KOSA8_CLOUD_URL` (default
|
|
129
|
-
`https://api.kosa8.
|
|
129
|
+
`https://api.kosa8.com`, https only except localhost); `cloud.me` and
|
|
130
130
|
`cloud.usage` show the org and this month's bill estimate.
|
|
131
131
|
|
|
132
132
|
## Development
|
data/lib/kosa8/cloud.rb
CHANGED
|
@@ -27,7 +27,7 @@ module Kosa8
|
|
|
27
27
|
# Errors are the SDK's usual typed errors; each carries the cloud's stable
|
|
28
28
|
# +code+ (for example payment_required, quota_exceeded). Standard library only.
|
|
29
29
|
class Cloud
|
|
30
|
-
DEFAULT_URL = "https://api.kosa8.
|
|
30
|
+
DEFAULT_URL = "https://api.kosa8.com"
|
|
31
31
|
KEY_PREFIX = "k8c_live_"
|
|
32
32
|
LOCAL_HOSTS = %w[localhost 127.0.0.1 ::1].freeze
|
|
33
33
|
|
data/lib/kosa8/version.rb
CHANGED