vmpooler 2.5.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vmpooler/api/helpers.rb +1 -2
- data/lib/vmpooler/api/v3.rb +1761 -0
- data/lib/vmpooler/api.rb +2 -4
- data/lib/vmpooler/dns/base.rb +81 -0
- data/lib/vmpooler/dns.rb +91 -0
- data/lib/vmpooler/pool_manager.rb +99 -21
- data/lib/vmpooler/providers/base.rb +8 -0
- data/lib/vmpooler/public/lib/dashboard.js +3 -3
- data/lib/vmpooler/util/parsing.rb +0 -20
- data/lib/vmpooler/version.rb +1 -1
- data/lib/vmpooler.rb +4 -1
- metadata +5 -5
- data/lib/vmpooler/api/reroute.rb +0 -89
- data/lib/vmpooler/api/v1.rb +0 -1757
- data/lib/vmpooler/api/v2.rb +0 -505
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfe402b5631b6e688652f35e2c037262a2ffac519b20056cb77568f42a91276f
|
4
|
+
data.tar.gz: 05543eaca4e5fc1503b8cef7cb0d97acdc3967a4548442a7d062b7f462322062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca532eca7480d11d6e754e13aa7c417fe7fd8da3e72e850a07408ac9f2ff6160dd9c243656b68923de1eca1c7d48a34b31415646176963e356102dca422d85a1
|
7
|
+
data.tar.gz: 75e33d5896da53c96aa2190da5920d733610084bd229525b5938c3ce32527ab65c44229bc5cd13b560a19def10f6e297eb7f258ae5d02496adedd5bbe7ec96b3
|
data/lib/vmpooler/api/helpers.rb
CHANGED
@@ -181,8 +181,7 @@ module Vmpooler
|
|
181
181
|
/^\d{4}-\d{2}-\d{2}$/ === date_str
|
182
182
|
end
|
183
183
|
|
184
|
-
|
185
|
-
def hostname_shorten(hostname, domain=nil)
|
184
|
+
def hostname_shorten(hostname)
|
186
185
|
hostname[/[^.]+/]
|
187
186
|
end
|
188
187
|
|