ruby_api_pack_cloudways 0.1.0.pre.1 → 0.1.0.pre.3
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 +36 -36
- data/Rakefile +6 -6
- data/lib/ruby_api_pack_cloudways/api/cw_lists.rb +30 -30
- data/lib/ruby_api_pack_cloudways/api/cw_server.rb +12 -12
- data/lib/ruby_api_pack_cloudways/connection/cw_connect.rb +31 -31
- data/lib/ruby_api_pack_cloudways/connection/cw_token.rb +46 -46
- data/lib/ruby_api_pack_cloudways/cw_client.rb +22 -23
- data/lib/ruby_api_pack_cloudways/version.rb +3 -3
- data/lib/ruby_api_pack_cloudways.rb +6 -7
- metadata +15 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5d5c0dbd540fefe913e29f48ec5b2b4d13ec85defba36dc543bdb919f0bba69
|
4
|
+
data.tar.gz: f5c0c3726f3633a98d401a070885ed9b554c6d6e39d71d6119082b38907605ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fcf9c96ec828c8756960021f3b349c52ded473df0b7f4535bd3dd669fc2a33de2a4a506c61b93fc1ce2a878e593befed1e8be82c48d7d30445314c927e28ea4
|
7
|
+
data.tar.gz: 83dc4c10e916dfe74ddf293fd781fde36c94ec3b77839ba65c58cb28cc25b7f6607e883f1f8df8ff497ea8591a1c3b7238fb9aeb8886cec7158deb1baa3cdb79
|
data/README.md
CHANGED
@@ -1,36 +1,36 @@
|
|
1
|
-
### Ruby API Wrapper - Cloudways
|
2
|
-
|
3
|
-
Early Release. Beta 5.
|
4
|
-
|
5
|
-
Easily connect to your Cloudways account through their API.
|
6
|
-
|
7
|
-
* Secure OAuth Cloudways API Authentication
|
8
|
-
|
9
|
-
#### Step 1 - Add to your application
|
10
|
-
|
11
|
-
gem 'ruby_api_pack_cloudways'
|
12
|
-
bundle install
|
13
|
-
|
14
|
-
#### Controller Example
|
15
|
-
|
16
|
-
# Load Gems & Files
|
17
|
-
require "ruby_api_pack_cloudways"
|
18
|
-
|
19
|
-
def index
|
20
|
-
@provider_list = RubyApiPackCloudways::Api::CwLists.cw_provider_list
|
21
|
-
end
|
22
|
-
|
23
|
-
|
24
|
-
#### Example on Index File
|
25
|
-
|
26
|
-
<% @provider_list.each do |provider| %>
|
27
|
-
|
28
|
-
<%= provider["name"] %>
|
29
|
-
|
30
|
-
<% end %>
|
31
|
-
|
32
|
-
|
33
|
-
#### Variables
|
34
|
-
|
35
|
-
PHCDEV_API_CLOUDWAYS_EMAIL = Your Cloudways Email Login
|
36
|
-
PHCDEV_API_CLOUDWAYS_KEY = API Key Provided by Cloudways
|
1
|
+
### Ruby API Wrapper - Cloudways
|
2
|
+
|
3
|
+
Early Release. Beta 5.
|
4
|
+
|
5
|
+
Easily connect to your Cloudways account through their API.
|
6
|
+
|
7
|
+
* Secure OAuth Cloudways API Authentication
|
8
|
+
|
9
|
+
#### Step 1 - Add to your application
|
10
|
+
|
11
|
+
gem 'ruby_api_pack_cloudways'
|
12
|
+
bundle install
|
13
|
+
|
14
|
+
#### Controller Example
|
15
|
+
|
16
|
+
# Load Gems & Files
|
17
|
+
require "ruby_api_pack_cloudways"
|
18
|
+
|
19
|
+
def index
|
20
|
+
@provider_list = RubyApiPackCloudways::Api::CwLists.cw_provider_list
|
21
|
+
end
|
22
|
+
|
23
|
+
|
24
|
+
#### Example on Index File
|
25
|
+
|
26
|
+
<% @provider_list.each do |provider| %>
|
27
|
+
|
28
|
+
<%= provider["name"] %>
|
29
|
+
|
30
|
+
<% end %>
|
31
|
+
|
32
|
+
|
33
|
+
#### Variables
|
34
|
+
|
35
|
+
PHCDEV_API_CLOUDWAYS_EMAIL = Your Cloudways Email Login
|
36
|
+
PHCDEV_API_CLOUDWAYS_KEY = API Key Provided by Cloudways
|
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
require "rspec/core/rake_task"
|
3
|
-
|
4
|
-
RSpec::Core::RakeTask.new(:spec)
|
5
|
-
|
6
|
-
task :default => :spec
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
3
|
+
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
5
|
+
|
6
|
+
task :default => :spec
|
@@ -1,31 +1,31 @@
|
|
1
|
-
module RubyApiPackCloudways
|
2
|
-
module Api
|
3
|
-
class CwLists
|
4
|
-
|
5
|
-
# List - Providers
|
6
|
-
def self.cw_provider_list
|
7
|
-
providers_list = Connection::CwConnect.new(CW_API_URL, "/providers")
|
8
|
-
return Oj.load(providers_list.cloudways_api_connection.body)["providers"]
|
9
|
-
end
|
10
|
-
|
11
|
-
# List - Server Sizes
|
12
|
-
def self.cw_server_size_list
|
13
|
-
server_sizes_list = Connection::CwConnect.new(CW_API_URL, "/server_sizes")
|
14
|
-
return Oj.load(server_sizes_list.cloudways_api_connection.body)["sizes"]
|
15
|
-
end
|
16
|
-
|
17
|
-
# List - App
|
18
|
-
def self.cw_app_list
|
19
|
-
app_list = Connection::CwConnect.new(CW_API_URL, "/apps")
|
20
|
-
return Oj.load(app_list.cloudways_api_connection.body)["apps"]
|
21
|
-
end
|
22
|
-
|
23
|
-
# List - Package
|
24
|
-
def self.cw_package_list
|
25
|
-
package_list = Connection::CwConnect.new(CW_API_URL, "/packages")
|
26
|
-
return Oj.load(package_list.cloudways_api_connection.body)["packages"]
|
27
|
-
end
|
28
|
-
|
29
|
-
end
|
30
|
-
end
|
1
|
+
module RubyApiPackCloudways
|
2
|
+
module Api
|
3
|
+
class CwLists
|
4
|
+
|
5
|
+
# List - Providers
|
6
|
+
def self.cw_provider_list
|
7
|
+
providers_list = Connection::CwConnect.new(CW_API_URL, "/providers")
|
8
|
+
return Oj.load(providers_list.cloudways_api_connection.body)["providers"]
|
9
|
+
end
|
10
|
+
|
11
|
+
# List - Server Sizes
|
12
|
+
def self.cw_server_size_list
|
13
|
+
server_sizes_list = Connection::CwConnect.new(CW_API_URL, "/server_sizes")
|
14
|
+
return Oj.load(server_sizes_list.cloudways_api_connection.body)["sizes"]
|
15
|
+
end
|
16
|
+
|
17
|
+
# List - App
|
18
|
+
def self.cw_app_list
|
19
|
+
app_list = Connection::CwConnect.new(CW_API_URL, "/apps")
|
20
|
+
return Oj.load(app_list.cloudways_api_connection.body)["apps"]
|
21
|
+
end
|
22
|
+
|
23
|
+
# List - Package
|
24
|
+
def self.cw_package_list
|
25
|
+
package_list = Connection::CwConnect.new(CW_API_URL, "/packages")
|
26
|
+
return Oj.load(package_list.cloudways_api_connection.body)["packages"]
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
31
31
|
end
|
@@ -1,13 +1,13 @@
|
|
1
|
-
module RubyApiPackCloudways
|
2
|
-
module Api
|
3
|
-
class CwServer
|
4
|
-
|
5
|
-
# List - Servers
|
6
|
-
def self.cw_server_list
|
7
|
-
cw_api_list_server = Connection::CwConnect.new(CW_API_URL, "/server")
|
8
|
-
return Oj.load(cw_api_list_server.cloudways_api_connection.body)["servers"]
|
9
|
-
end
|
10
|
-
|
11
|
-
end
|
12
|
-
end
|
1
|
+
module RubyApiPackCloudways
|
2
|
+
module Api
|
3
|
+
class CwServer
|
4
|
+
|
5
|
+
# List - Servers
|
6
|
+
def self.cw_server_list
|
7
|
+
cw_api_list_server = Connection::CwConnect.new(CW_API_URL, "/server")
|
8
|
+
return Oj.load(cw_api_list_server.cloudways_api_connection.body)["servers"]
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
12
|
+
end
|
13
13
|
end
|
@@ -1,32 +1,32 @@
|
|
1
|
-
module RubyApiPackCloudways
|
2
|
-
module Connection
|
3
|
-
class CwConnect
|
4
|
-
|
5
|
-
# Connection - Attributes
|
6
|
-
attr_accessor :cw_api_url_base, :cw_api_path
|
7
|
-
|
8
|
-
# Connection - Init
|
9
|
-
def initialize(cw_api_url_base, cw_api_path)
|
10
|
-
@cw_api_url_base = cw_api_url_base
|
11
|
-
@cw_api_path = cw_api_path
|
12
|
-
end
|
13
|
-
|
14
|
-
# Connection - API Connection Call
|
15
|
-
def cloudways_api_connection
|
16
|
-
|
17
|
-
cw_api_get_token_connection_request = Connection::CwToken.new(CW_API_URL, CW_API_PATH_TOKEN, CW_API_EMAIL, CW_API_KEY)
|
18
|
-
cw_api_get_token_connection_response = cw_api_get_token_connection_request.cw_api_token
|
19
|
-
|
20
|
-
cw_api_connetion_response = Faraday.new(url: @cw_api_url_base) do |cw_api_connection|
|
21
|
-
cw_api_connection.request :oauth2, cw_api_get_token_connection_response, token_type: :bearer
|
22
|
-
cw_api_connection.response :logger
|
23
|
-
cw_api_connection.adapter Faraday.default_adapter
|
24
|
-
end
|
25
|
-
|
26
|
-
return cw_api_connetion_response.get @cw_api_url_base + @cw_api_path
|
27
|
-
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|
31
|
-
end
|
1
|
+
module RubyApiPackCloudways
|
2
|
+
module Connection
|
3
|
+
class CwConnect
|
4
|
+
|
5
|
+
# Connection - Attributes
|
6
|
+
attr_accessor :cw_api_url_base, :cw_api_path
|
7
|
+
|
8
|
+
# Connection - Init
|
9
|
+
def initialize(cw_api_url_base, cw_api_path)
|
10
|
+
@cw_api_url_base = cw_api_url_base
|
11
|
+
@cw_api_path = cw_api_path
|
12
|
+
end
|
13
|
+
|
14
|
+
# Connection - API Connection Call
|
15
|
+
def cloudways_api_connection
|
16
|
+
|
17
|
+
cw_api_get_token_connection_request = Connection::CwToken.new(CW_API_URL, CW_API_PATH_TOKEN, CW_API_EMAIL, CW_API_KEY)
|
18
|
+
cw_api_get_token_connection_response = cw_api_get_token_connection_request.cw_api_token
|
19
|
+
|
20
|
+
cw_api_connetion_response = Faraday.new(url: @cw_api_url_base) do |cw_api_connection|
|
21
|
+
cw_api_connection.request :oauth2, cw_api_get_token_connection_response, token_type: :bearer
|
22
|
+
cw_api_connection.response :logger
|
23
|
+
cw_api_connection.adapter Faraday.default_adapter
|
24
|
+
end
|
25
|
+
|
26
|
+
return cw_api_connetion_response.get @cw_api_url_base + @cw_api_path
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
end
|
32
32
|
end
|
@@ -1,47 +1,47 @@
|
|
1
|
-
module RubyApiPackCloudways
|
2
|
-
module Connection
|
3
|
-
class CwToken
|
4
|
-
|
5
|
-
# Cloudways - Token - Attributes
|
6
|
-
attr_accessor :cw_api_url_base, :cw_url_path_auth, :cw_user_email, :cw_user_key
|
7
|
-
|
8
|
-
# Cloudways - Token - Init
|
9
|
-
def initialize(cw_api_url_base, cw_url_path_auth, cw_user_email, cw_user_key)
|
10
|
-
@cw_api_url_base = cw_api_url_base
|
11
|
-
@cw_url_path_auth = cw_url_path_auth
|
12
|
-
@cw_user_email = cw_user_email
|
13
|
-
@cw_user_key = cw_user_key
|
14
|
-
end
|
15
|
-
|
16
|
-
# Cloudways - Token - Connection
|
17
|
-
def cw_api_token_connection
|
18
|
-
|
19
|
-
# Cloudways - Token - Connection via Faraday
|
20
|
-
Faraday.new url: @cw_api_url_base + @cw_url_path_auth do |cw_token_connection|
|
21
|
-
cw_token_connection.request :url_encoded
|
22
|
-
cw_token_connection.response :logger
|
23
|
-
cw_token_connection.adapter Faraday.default_adapter
|
24
|
-
end
|
25
|
-
|
26
|
-
end
|
27
|
-
|
28
|
-
# Cloudways - Token - Request
|
29
|
-
def cw_api_token
|
30
|
-
|
31
|
-
# Cloudways - Token - Request From Above Connection Method
|
32
|
-
cloudways_token_request = cw_api_token_connection.post do |cw_token_request|
|
33
|
-
cw_token_request.headers["Content-Type"] = "application/x-www-form-urlencoded"
|
34
|
-
cw_token_request.body = {
|
35
|
-
email: @cw_user_email,
|
36
|
-
api_key: @cw_user_key
|
37
|
-
}
|
38
|
-
end
|
39
|
-
|
40
|
-
# Cloudways - Token - Request Isolate and Get Token from Response via OJ
|
41
|
-
return cw_api_token = Oj.load(cloudways_token_request.body)["access_token"]
|
42
|
-
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|
46
|
-
end
|
1
|
+
module RubyApiPackCloudways
|
2
|
+
module Connection
|
3
|
+
class CwToken
|
4
|
+
|
5
|
+
# Cloudways - Token - Attributes
|
6
|
+
attr_accessor :cw_api_url_base, :cw_url_path_auth, :cw_user_email, :cw_user_key
|
7
|
+
|
8
|
+
# Cloudways - Token - Init
|
9
|
+
def initialize(cw_api_url_base, cw_url_path_auth, cw_user_email, cw_user_key)
|
10
|
+
@cw_api_url_base = cw_api_url_base
|
11
|
+
@cw_url_path_auth = cw_url_path_auth
|
12
|
+
@cw_user_email = cw_user_email
|
13
|
+
@cw_user_key = cw_user_key
|
14
|
+
end
|
15
|
+
|
16
|
+
# Cloudways - Token - Connection
|
17
|
+
def cw_api_token_connection
|
18
|
+
|
19
|
+
# Cloudways - Token - Connection via Faraday
|
20
|
+
Faraday.new url: @cw_api_url_base + @cw_url_path_auth do |cw_token_connection|
|
21
|
+
cw_token_connection.request :url_encoded
|
22
|
+
cw_token_connection.response :logger
|
23
|
+
cw_token_connection.adapter Faraday.default_adapter
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
# Cloudways - Token - Request
|
29
|
+
def cw_api_token
|
30
|
+
|
31
|
+
# Cloudways - Token - Request From Above Connection Method
|
32
|
+
cloudways_token_request = cw_api_token_connection.post do |cw_token_request|
|
33
|
+
cw_token_request.headers["Content-Type"] = "application/x-www-form-urlencoded"
|
34
|
+
cw_token_request.body = {
|
35
|
+
email: @cw_user_email,
|
36
|
+
api_key: @cw_user_key
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
# Cloudways - Token - Request Isolate and Get Token from Response via OJ
|
41
|
+
return cw_api_token = Oj.load(cloudways_token_request.body)["access_token"]
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
end
|
47
47
|
end
|
@@ -1,24 +1,23 @@
|
|
1
|
-
# Variables
|
2
|
-
CW_API_URL = "https://api.cloudways.com/api/v1"
|
3
|
-
CW_API_PATH_TOKEN = "/oauth/access_token"
|
4
|
-
CW_API_EMAIL = ENV["PHCDEV_API_CLOUDWAYS_EMAIL"]
|
5
|
-
CW_API_KEY = ENV["PHCDEV_API_CLOUDWAYS_KEY"]
|
6
|
-
|
7
|
-
module RubyApiPackCloudways
|
8
|
-
class CwClient
|
9
|
-
|
10
|
-
# Load Required Gems
|
11
|
-
require "faraday"
|
12
|
-
require "
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
require_relative "connection/
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
require_relative "api/
|
21
|
-
|
22
|
-
|
23
|
-
end
|
1
|
+
# Variables
|
2
|
+
CW_API_URL = "https://api.cloudways.com/api/v1"
|
3
|
+
CW_API_PATH_TOKEN = "/oauth/access_token"
|
4
|
+
CW_API_EMAIL = ENV["PHCDEV_API_CLOUDWAYS_EMAIL"]
|
5
|
+
CW_API_KEY = ENV["PHCDEV_API_CLOUDWAYS_KEY"]
|
6
|
+
|
7
|
+
module RubyApiPackCloudways
|
8
|
+
class CwClient
|
9
|
+
|
10
|
+
# Load Required Gems
|
11
|
+
require "faraday"
|
12
|
+
require "oj"
|
13
|
+
|
14
|
+
# Load Main Files
|
15
|
+
require_relative "connection/cw_token"
|
16
|
+
require_relative "connection/cw_connect"
|
17
|
+
|
18
|
+
# Load API Files
|
19
|
+
require_relative "api/cw_lists"
|
20
|
+
require_relative "api/cw_server"
|
21
|
+
|
22
|
+
end
|
24
23
|
end
|
@@ -1,3 +1,3 @@
|
|
1
|
-
module RubyApiPackCloudways
|
2
|
-
VERSION = "0.1.0.pre.
|
3
|
-
end
|
1
|
+
module RubyApiPackCloudways
|
2
|
+
VERSION = "0.1.0.pre.3"
|
3
|
+
end
|
@@ -1,7 +1,6 @@
|
|
1
|
-
require "ruby_api_pack_cloudways/version"
|
2
|
-
|
3
|
-
module RubyApiPackCloudways
|
4
|
-
class Error < StandardError; end
|
5
|
-
|
6
|
-
|
7
|
-
end
|
1
|
+
require "ruby_api_pack_cloudways/version"
|
2
|
+
|
3
|
+
module RubyApiPackCloudways
|
4
|
+
class Error < StandardError; end
|
5
|
+
require_relative "ruby_api_pack_cloudways/cw_client"
|
6
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_api_pack_cloudways
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -31,9 +31,6 @@ dependencies:
|
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '13.0'
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 13.0.3
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -41,79 +38,62 @@ dependencies:
|
|
41
38
|
- - "~>"
|
42
39
|
- !ruby/object:Gem::Version
|
43
40
|
version: '13.0'
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 13.0.3
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: oj
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
45
|
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '3.
|
47
|
+
version: '3.13'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
51
|
requirements:
|
58
52
|
- - "~>"
|
59
53
|
- !ruby/object:Gem::Version
|
60
|
-
version: '3.
|
54
|
+
version: '3.13'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: httparty
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
64
58
|
requirements:
|
65
59
|
- - "~>"
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0.
|
61
|
+
version: 0.20.0
|
68
62
|
type: :runtime
|
69
63
|
prerelease: false
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
66
|
- - "~>"
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version: 0.
|
68
|
+
version: 0.20.0
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: faraday
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
78
72
|
requirements:
|
79
73
|
- - "~>"
|
80
74
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
82
|
-
type: :runtime
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.3'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: faraday_middleware
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '1.0'
|
75
|
+
version: '2.5'
|
96
76
|
type: :runtime
|
97
77
|
prerelease: false
|
98
78
|
version_requirements: !ruby/object:Gem::Requirement
|
99
79
|
requirements:
|
100
80
|
- - "~>"
|
101
81
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
82
|
+
version: '2.5'
|
103
83
|
- !ruby/object:Gem::Dependency
|
104
84
|
name: rspec
|
105
85
|
requirement: !ruby/object:Gem::Requirement
|
106
86
|
requirements:
|
107
87
|
- - "~>"
|
108
88
|
- !ruby/object:Gem::Version
|
109
|
-
version: '3.
|
89
|
+
version: '3.10'
|
110
90
|
type: :development
|
111
91
|
prerelease: false
|
112
92
|
version_requirements: !ruby/object:Gem::Requirement
|
113
93
|
requirements:
|
114
94
|
- - "~>"
|
115
95
|
- !ruby/object:Gem::Version
|
116
|
-
version: '3.
|
96
|
+
version: '3.10'
|
117
97
|
description: Ruby API wrapper to use with Cloudways API. Can be used alone or part
|
118
98
|
of the larger PHCDevworks Ruby API Pack.
|
119
99
|
email:
|
@@ -154,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
134
|
- !ruby/object:Gem::Version
|
155
135
|
version: 1.3.1
|
156
136
|
requirements: []
|
157
|
-
rubygems_version: 3.
|
137
|
+
rubygems_version: 3.0.3.1
|
158
138
|
signing_key:
|
159
139
|
specification_version: 4
|
160
140
|
summary: API Pack for Cloudways
|