semaphore_client 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cbdffea03bdde1e71ce4a1c8fa405c991f2e647
|
4
|
+
data.tar.gz: 19369febcf2a814a2bbe3957145c54a50bedf9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65bf323d5ebc4a0a0b84eb7bcf6a7a5cb286b4b1daa39acb62c62c4b728062de3ddeb7089aa296a0a82bf013d83214c7bdd6fe5e2e29550d67247c1bd4d62e4c
|
7
|
+
data.tar.gz: c425095d9bd9be4cb3e2cad84a2bf3921339a2c9fa5d003c81fcf7fc1a0cee3f2160d88e80a91531267da586ff6169f778766ec691017cf904b8f51aef1f6098
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
class SemaphoreClient
|
2
2
|
module Model
|
3
3
|
class Org
|
4
|
-
attr_reader :
|
4
|
+
attr_reader :id, :name, :url, :projects_url, :secrets_url, :users_url, :teams_url, :username, :created_at, :updated_at
|
5
5
|
|
6
6
|
def self.load(attributes)
|
7
7
|
new.load(attributes)
|
@@ -14,16 +14,16 @@ class SemaphoreClient
|
|
14
14
|
def load(attributes)
|
15
15
|
attributes = symbolize_keys(attributes)
|
16
16
|
|
17
|
-
@projects_url = attributes[:projects_url] if attributes.key?(:projects_url)
|
18
|
-
@teams_url = attributes[:teams_url] if attributes.key?(:teams_url)
|
19
|
-
@name = attributes[:name] if attributes.key?(:name)
|
20
|
-
@secrets_url = attributes[:secrets_url] if attributes.key?(:secrets_url)
|
21
|
-
@username = attributes[:username] if attributes.key?(:username)
|
22
|
-
@updated_at = attributes[:updated_at] if attributes.key?(:updated_at)
|
23
17
|
@id = attributes[:id] if attributes.key?(:id)
|
18
|
+
@name = attributes[:name] if attributes.key?(:name)
|
24
19
|
@url = attributes[:url] if attributes.key?(:url)
|
20
|
+
@projects_url = attributes[:projects_url] if attributes.key?(:projects_url)
|
21
|
+
@secrets_url = attributes[:secrets_url] if attributes.key?(:secrets_url)
|
25
22
|
@users_url = attributes[:users_url] if attributes.key?(:users_url)
|
23
|
+
@teams_url = attributes[:teams_url] if attributes.key?(:teams_url)
|
24
|
+
@username = attributes[:username] if attributes.key?(:username)
|
26
25
|
@created_at = attributes[:created_at] if attributes.key?(:created_at)
|
26
|
+
@updated_at = attributes[:updated_at] if attributes.key?(:updated_at)
|
27
27
|
|
28
28
|
self
|
29
29
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class SemaphoreClient
|
2
2
|
module Model
|
3
3
|
class Project
|
4
|
-
attr_reader :id, :name, :users_url, :
|
4
|
+
attr_reader :id, :name, :users_url, :secrets_url, :env_vars_url, :config_files_url, :updated_at, :created_at
|
5
5
|
|
6
6
|
def self.load(attributes)
|
7
7
|
new.load(attributes)
|
@@ -17,7 +17,7 @@ class SemaphoreClient
|
|
17
17
|
@id = attributes[:id] if attributes.key?(:id)
|
18
18
|
@name = attributes[:name] if attributes.key?(:name)
|
19
19
|
@users_url = attributes[:users_url] if attributes.key?(:users_url)
|
20
|
-
@
|
20
|
+
@secrets_url = attributes[:secrets_url] if attributes.key?(:secrets_url)
|
21
21
|
@env_vars_url = attributes[:env_vars_url] if attributes.key?(:env_vars_url)
|
22
22
|
@config_files_url = attributes[:config_files_url] if attributes.key?(:config_files_url)
|
23
23
|
@updated_at = attributes[:updated_at] if attributes.key?(:updated_at)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class SemaphoreClient
|
2
2
|
module Model
|
3
3
|
class Secret
|
4
|
-
attr_reader :
|
4
|
+
attr_reader :id, :url, :projects_url, :teams_url, :env_vars_url, :config_files_url, :created_at, :updated_at
|
5
5
|
attr_accessor :name, :description
|
6
6
|
|
7
7
|
def self.load(attributes)
|
@@ -15,16 +15,16 @@ class SemaphoreClient
|
|
15
15
|
def load(attributes)
|
16
16
|
attributes = symbolize_keys(attributes)
|
17
17
|
|
18
|
+
@name = attributes[:name] if attributes.key?(:name)
|
18
19
|
@description = attributes[:description] if attributes.key?(:description)
|
20
|
+
@id = attributes[:id] if attributes.key?(:id)
|
21
|
+
@url = attributes[:url] if attributes.key?(:url)
|
19
22
|
@projects_url = attributes[:projects_url] if attributes.key?(:projects_url)
|
20
23
|
@teams_url = attributes[:teams_url] if attributes.key?(:teams_url)
|
21
|
-
@name = attributes[:name] if attributes.key?(:name)
|
22
|
-
@config_files_url = attributes[:config_files_url] if attributes.key?(:config_files_url)
|
23
|
-
@updated_at = attributes[:updated_at] if attributes.key?(:updated_at)
|
24
24
|
@env_vars_url = attributes[:env_vars_url] if attributes.key?(:env_vars_url)
|
25
|
-
@
|
26
|
-
@url = attributes[:url] if attributes.key?(:url)
|
25
|
+
@config_files_url = attributes[:config_files_url] if attributes.key?(:config_files_url)
|
27
26
|
@created_at = attributes[:created_at] if attributes.key?(:created_at)
|
27
|
+
@updated_at = attributes[:updated_at] if attributes.key?(:updated_at)
|
28
28
|
|
29
29
|
self
|
30
30
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class SemaphoreClient
|
2
2
|
module Model
|
3
3
|
class Team
|
4
|
-
attr_reader :
|
4
|
+
attr_reader :id, :url, :users_url, :projects_url, :secrets_url, :updated_at, :created_at
|
5
5
|
attr_accessor :name, :permission, :description
|
6
6
|
|
7
7
|
def self.load(attributes)
|
@@ -15,15 +15,15 @@ class SemaphoreClient
|
|
15
15
|
def load(attributes)
|
16
16
|
attributes = symbolize_keys(attributes)
|
17
17
|
|
18
|
-
@description = attributes[:description] if attributes.key?(:description)
|
19
|
-
@projects_url = attributes[:projects_url] if attributes.key?(:projects_url)
|
20
|
-
@permission = attributes[:permission] if attributes.key?(:permission)
|
21
18
|
@name = attributes[:name] if attributes.key?(:name)
|
22
|
-
@
|
19
|
+
@permission = attributes[:permission] if attributes.key?(:permission)
|
20
|
+
@description = attributes[:description] if attributes.key?(:description)
|
23
21
|
@id = attributes[:id] if attributes.key?(:id)
|
24
22
|
@url = attributes[:url] if attributes.key?(:url)
|
25
|
-
@shared_configs_url = attributes[:shared_configs_url] if attributes.key?(:shared_configs_url)
|
26
23
|
@users_url = attributes[:users_url] if attributes.key?(:users_url)
|
24
|
+
@projects_url = attributes[:projects_url] if attributes.key?(:projects_url)
|
25
|
+
@secrets_url = attributes[:secrets_url] if attributes.key?(:secrets_url)
|
26
|
+
@updated_at = attributes[:updated_at] if attributes.key?(:updated_at)
|
27
27
|
@created_at = attributes[:created_at] if attributes.key?(:created_at)
|
28
28
|
|
29
29
|
self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semaphore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jovan Ivanović
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|