rubypitaya 2.23.0 → 2.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rubypitaya +4 -3
- data/lib/rubypitaya/app-template/Gemfile +1 -1
- data/lib/rubypitaya/app-template/Gemfile.lock +2 -2
- data/lib/rubypitaya/app-template/Makefile +2 -2
- data/lib/rubypitaya/app-template/helm/templates/config-maps/nginx-config.yaml +2 -2
- data/lib/rubypitaya/app-template/helm/templates/deployments/gameserver-nginx.yaml +2 -2
- data/lib/rubypitaya/app-template/helm/templates/deployments/rubypitaya.yaml +6 -6
- data/lib/rubypitaya/app-template/helm/templates/pods/gameserver.yaml +21 -0
- data/lib/rubypitaya/app-template/helm/templates/services/gameserver-nginx.yaml +2 -2
- data/lib/rubypitaya/app-template/helm/templates/services/gameserver.yaml +6 -13
- data/lib/rubypitaya/app-template/helm/values.yaml +2 -1
- data/lib/rubypitaya/core/app/migrations/0000000001_create_user_migration.rb +1 -1
- data/lib/rubypitaya/core/handler_router.rb +7 -4
- data/lib/rubypitaya/core/http_routes.rb +15 -0
- data/lib/rubypitaya/core/spec-helpers/handler_spec_helper.rb +5 -5
- data/lib/rubypitaya/core/templates/template_migration.rb.erb +1 -1
- data/lib/rubypitaya/version.rb +1 -1
- data/lib/rubypitaya.rb +7 -3
- metadata +40 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c289b7e66999cba7c278e77dd8658527cd101218009709e533fe853b5f43250
|
4
|
+
data.tar.gz: 4dd6b6fe78b6c22b30b1a7564a9972da484753c8d8716e4fd5dabd0e0f5ae001
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3faa2a8b0cda879621cb823ae920271477596c556c9938881fcd829e185a7563d6da3492bb7a387c5a58766ce5d8f990dbc1c73bf997a19c3e0eaf5db6153ccc
|
7
|
+
data.tar.gz: ee519fc3028078226cc0e5e01e0b706bd96962481b10ca263e60c28f371b354bd0480b0fa3452e4fc9007ea4f786bbf0ba2ca75c330a6ad72b901cbf9defae9c
|
data/bin/rubypitaya
CHANGED
@@ -67,9 +67,10 @@ def command_add_plugin(argv)
|
|
67
67
|
exit(-1)
|
68
68
|
end
|
69
69
|
|
70
|
-
|
70
|
+
plugin_git_url = argv[1]
|
71
|
+
branch_name = argv[2] || ""
|
71
72
|
|
72
|
-
plugin_name = RubyPitaya::RubyPitaya.add_plugin(
|
73
|
+
plugin_name = RubyPitaya::RubyPitaya.add_plugin(plugin_git_url, branch_name)
|
73
74
|
|
74
75
|
puts "Plugin #{plugin_name} added!"
|
75
76
|
end
|
@@ -94,7 +95,7 @@ def show_help_create_migration
|
|
94
95
|
end
|
95
96
|
|
96
97
|
def show_help_add_plugin
|
97
|
-
puts 'Usage: $ rubypitaya add-plugin [plugin_git_link]'
|
98
|
+
puts 'Usage: $ rubypitaya add-plugin [plugin_git_link] [branch_name:optional]'
|
98
99
|
puts ''
|
99
100
|
end
|
100
101
|
|
@@ -111,7 +111,7 @@ GEM
|
|
111
111
|
rspec-support (~> 3.10.0)
|
112
112
|
rspec-support (3.10.2)
|
113
113
|
ruby2_keywords (0.0.5)
|
114
|
-
rubypitaya (2.
|
114
|
+
rubypitaya (2.26.0)
|
115
115
|
activerecord (= 6.1.3)
|
116
116
|
etcdv3 (= 0.10.2)
|
117
117
|
mongo (= 2.15.0)
|
@@ -152,7 +152,7 @@ DEPENDENCIES
|
|
152
152
|
listen (= 3.4.1)
|
153
153
|
pry (= 0.14.0)
|
154
154
|
rspec (= 3.10.0)
|
155
|
-
rubypitaya (= 2.
|
155
|
+
rubypitaya (= 2.26.0)
|
156
156
|
|
157
157
|
BUNDLED WITH
|
158
158
|
2.1.4
|
@@ -49,9 +49,9 @@ update-dependencies:
|
|
49
49
|
create-migration:
|
50
50
|
@docker-compose run --service-ports --rm rubypitaya-commands bundle exec rubypitaya create-migration $(NAME)
|
51
51
|
|
52
|
-
## Add or update a plugin. GIT=[plugin-http-git-link]
|
52
|
+
## Add or update a plugin. GIT=[plugin-http-git-link] BRANCH=[branch-name:optional]
|
53
53
|
add-plugin:
|
54
|
-
@docker-compose run --service-ports --rm rubypitaya-commands bundle exec rubypitaya add-plugin $(GIT)
|
54
|
+
@docker-compose run --service-ports --rm rubypitaya-commands bundle exec rubypitaya add-plugin $(GIT) $(BRANCH)
|
55
55
|
|
56
56
|
## + Database Commands
|
57
57
|
|
@@ -4,6 +4,6 @@ metadata:
|
|
4
4
|
name: nginx-config
|
5
5
|
data:
|
6
6
|
nginx.conf: "events {\n worker_connections 1024;\n}\n\nstream {\n server
|
7
|
-
{\n listen {{ .Values.gameserver.
|
8
|
-
valid=5s;\n\n proxy_pass gameserver-$server_port.{{ .Values.namespace }}.svc.cluster.local
|
7
|
+
{\n listen {{ .Values.gameserver.externalport.first }}-{{ .Values.gameserver.externalport.last }};\n \n resolver kube-dns.kube-system.svc.cluster.local
|
8
|
+
valid=5s;\n\n proxy_pass gameserver-$server_port.gameserver.{{ .Values.namespace }}.svc.cluster.local:{{ .Values.gameserver.gameport }};\n
|
9
9
|
\ }\n}\n"
|
@@ -21,8 +21,8 @@ spec:
|
|
21
21
|
- name: gameserver-nginx
|
22
22
|
image: nginx:1.18.0
|
23
23
|
ports:
|
24
|
-
{{- $initialValue := int .Values.gameserver.
|
25
|
-
{{- $finalValue := add .Values.gameserver.
|
24
|
+
{{- $initialValue := int .Values.gameserver.externalport.first }}
|
25
|
+
{{- $finalValue := add .Values.gameserver.externalport.last 1 }}
|
26
26
|
{{- $finalValue = int $finalValue }}
|
27
27
|
{{- range untilStep $initialValue $finalValue 1 }}
|
28
28
|
{{- $port := . }}
|
@@ -19,7 +19,7 @@ spec:
|
|
19
19
|
spec:
|
20
20
|
containers:
|
21
21
|
- name: rubypitaya
|
22
|
-
image: {{ .Values.rubypitaya.image.repository }}:{{ .Values.rubypitaya.image.tag }}
|
22
|
+
image: "{{ .Values.rubypitaya.image.repository }}:{{ .Values.rubypitaya.image.tag }}"
|
23
23
|
command: ["bundle", "exec", "rubypitaya", "run"]
|
24
24
|
ports:
|
25
25
|
- containerPort: 4567
|
@@ -48,19 +48,19 @@ spec:
|
|
48
48
|
- name: RUBYPITAYA_HTTP_AUTH_USER
|
49
49
|
value: {{ .Values.http.auth.user | quote }}
|
50
50
|
- name: RUBYPITAYA_HTTP_AUTH_PASS
|
51
|
-
value: {{ .Values.http.auth.
|
51
|
+
value: {{ .Values.http.auth.pass | quote }}
|
52
52
|
- name: MATCHMAKING_CURRENTROOMBLL
|
53
53
|
value: kubernetes
|
54
54
|
- name: MATCHMAKING_ROOMBLL_KUBERNETES_NAMESPACE
|
55
55
|
value: {{ .Values.namespace }}
|
56
56
|
- name: MATCHMAKING_ROOMBLL_KUBERNETES_CONTAINERIMAGE
|
57
|
-
value: {{ .Values.gameserver.image.repository }}:{{ .Values.gameserver.image.tag }}
|
57
|
+
value: "{{ .Values.gameserver.image.repository }}:{{ .Values.gameserver.image.tag }}"
|
58
58
|
- name: MATCHMAKING_ROOMBLL_KUBERNETES_INITIALPORT
|
59
|
-
value: {{ .Values.gameserver.
|
59
|
+
value: {{ .Values.gameserver.externalport.first | quote }}
|
60
60
|
- name: MATCHMAKING_ROOMBLL_KUBERNETES_FINALPORT
|
61
|
-
value: {{ .Values.gameserver.
|
61
|
+
value: {{ .Values.gameserver.externalport.last | quote }}
|
62
62
|
- name: MATCHMAKING_ROOMBLL_KUBERNETES_SERVICEHOST
|
63
|
-
value: {{ .Values.gameserver.servicehost }}
|
63
|
+
value: {{ .Values.gameserver.servicehost | quote }}
|
64
64
|
imagePullSecrets:
|
65
65
|
- name: gitlab-registry
|
66
66
|
serviceAccount: rubypitaya
|
@@ -0,0 +1,21 @@
|
|
1
|
+
apiVersion: v1
|
2
|
+
kind: Pod
|
3
|
+
metadata:
|
4
|
+
name: gameserver-{{ .Values.gameserver.port }}
|
5
|
+
labels:
|
6
|
+
app: rubypitaya
|
7
|
+
component: gameserver
|
8
|
+
spec:
|
9
|
+
hostname: gameserver-{{ .Values.gameserver.port }}
|
10
|
+
subdomain: gameserver
|
11
|
+
containers:
|
12
|
+
- name: gameserver-{{ .Values.gameserver.port }}
|
13
|
+
image: {{ .Values.gameserver.image.repository }}:{{ .Values.connector.image.tag }}
|
14
|
+
ports:
|
15
|
+
- containerPort: {{ .Values.gameserver.gameport }}
|
16
|
+
name: gameserver
|
17
|
+
env:
|
18
|
+
- name: ROOM_ID
|
19
|
+
value: {{ .Values.gameserver.roomid }}
|
20
|
+
- name: PORT
|
21
|
+
value: {{ .Values.gameserver.gameport }}
|
@@ -7,8 +7,8 @@ spec:
|
|
7
7
|
app: gameserver
|
8
8
|
component: gameserver-nginx
|
9
9
|
ports:
|
10
|
-
{{- $initialValue := int .Values.gameserver.
|
11
|
-
{{- $finalValue := add .Values.gameserver.
|
10
|
+
{{- $initialValue := int .Values.gameserver.externalport.first }}
|
11
|
+
{{- $finalValue := add .Values.gameserver.externalport.last 1 }}
|
12
12
|
{{- $finalValue = int $finalValue }}
|
13
13
|
{{- range untilStep $initialValue $finalValue 1 }}
|
14
14
|
{{- $port := . }}
|
@@ -1,20 +1,13 @@
|
|
1
|
-
{{- $initialValue := int .Values.gameserver.port.first }}
|
2
|
-
{{- $finalValue := add .Values.gameserver.port.last 1 }}
|
3
|
-
{{- $finalValue = int $finalValue }}
|
4
|
-
{{- range untilStep $initialValue $finalValue 1 }}
|
5
|
-
{{- $port := . }}
|
6
1
|
apiVersion: v1
|
7
2
|
kind: Service
|
8
3
|
metadata:
|
9
|
-
name: gameserver
|
4
|
+
name: gameserver
|
10
5
|
spec:
|
11
6
|
selector:
|
12
|
-
app:
|
13
|
-
component: gameserver
|
7
|
+
app: rubypitaya
|
8
|
+
component: gameserver
|
14
9
|
ports:
|
15
10
|
- protocol: TCP
|
16
|
-
port: {{
|
17
|
-
targetPort: {{
|
18
|
-
type: ClusterIP
|
19
|
-
---
|
20
|
-
{{- end }}
|
11
|
+
port: {{ .Values.gameserver.gameport }}
|
12
|
+
targetPort: {{ .Values.gameserver.gameport }}
|
13
|
+
type: ClusterIP
|
@@ -6,6 +6,8 @@ module RubyPitaya
|
|
6
6
|
|
7
7
|
class HandlerRouter
|
8
8
|
|
9
|
+
INVALID_ACTION_NAMES = ['initialize', 'set_attributes']
|
10
|
+
|
9
11
|
def initialize()
|
10
12
|
routes_path = Path::ROUTES_FILE_PATH
|
11
13
|
handler_folder_paths = Path::Plugins::HANDLERS_FOLDER_PATHS + [Path::HANDLERS_FOLDER_PATH]
|
@@ -59,13 +61,14 @@ module RubyPitaya
|
|
59
61
|
unless @handler_name_map.include?(handler_name)
|
60
62
|
return {
|
61
63
|
code: StatusCodes::CODE_HANDLER_NOT_FOUND,
|
62
|
-
|
64
|
+
message: "Handler #{handler_name} not found"
|
63
65
|
}
|
64
66
|
end
|
65
|
-
|
67
|
+
if INVALID_ACTION_NAMES.include?(action_name) ||
|
68
|
+
!@handler_name_map[handler_name].public_methods(false).include?(action_name.to_sym)
|
66
69
|
return {
|
67
70
|
code: StatusCodes::CODE_ACTION_NOT_FOUND,
|
68
|
-
|
71
|
+
message: "Handler #{handler_name} action #{action_name} not found"
|
69
72
|
}
|
70
73
|
end
|
71
74
|
|
@@ -81,7 +84,7 @@ module RubyPitaya
|
|
81
84
|
else
|
82
85
|
return {
|
83
86
|
code: StatusCodes::CODE_NOT_AUTHENTICATED,
|
84
|
-
|
87
|
+
message: 'Not authenticated',
|
85
88
|
}
|
86
89
|
end
|
87
90
|
end
|
@@ -1,15 +1,21 @@
|
|
1
1
|
require 'sinatra/base'
|
2
|
+
require 'sinatra/activerecord'
|
2
3
|
require 'rubypitaya/core/parameters'
|
3
4
|
|
4
5
|
module RubyPitaya
|
5
6
|
|
6
7
|
class HttpRoutes < Sinatra::Base
|
8
|
+
register Sinatra::ActiveRecordExtension
|
7
9
|
|
8
10
|
def self.auto_reload
|
9
11
|
require 'sinatra/reloader'
|
10
12
|
register ::Sinatra::Reloader
|
11
13
|
end
|
12
14
|
|
15
|
+
configure do
|
16
|
+
set :show_exceptions, false
|
17
|
+
end
|
18
|
+
|
13
19
|
helpers do
|
14
20
|
def find_template(views, name, engine, &block)
|
15
21
|
views.each { |v| super(v, name, engine, &block) }
|
@@ -20,9 +26,13 @@ module RubyPitaya
|
|
20
26
|
content_type :json
|
21
27
|
|
22
28
|
@bll = settings.bll
|
29
|
+
@log = settings.log
|
23
30
|
@mongo = settings.mongo
|
24
31
|
@setup = settings.setup
|
32
|
+
@redis = settings.redis
|
25
33
|
@config = settings.config
|
34
|
+
@session = nil
|
35
|
+
@postman = nil
|
26
36
|
|
27
37
|
return error_unauthorized unless authorized?(request)
|
28
38
|
|
@@ -34,6 +44,11 @@ module RubyPitaya
|
|
34
44
|
end
|
35
45
|
|
36
46
|
@params = Parameters.new(@params)
|
47
|
+
@params.permit!
|
48
|
+
end
|
49
|
+
|
50
|
+
after do
|
51
|
+
ActiveRecord::Base.clear_active_connections!
|
37
52
|
end
|
38
53
|
|
39
54
|
private
|
@@ -74,23 +74,23 @@ module RubyPitaya
|
|
74
74
|
@@setup.add(*keys, value)
|
75
75
|
end
|
76
76
|
|
77
|
-
def
|
77
|
+
def bll
|
78
78
|
@@bll
|
79
79
|
end
|
80
80
|
|
81
|
-
def
|
81
|
+
def log
|
82
82
|
@@log
|
83
83
|
end
|
84
84
|
|
85
|
-
def
|
85
|
+
def session
|
86
86
|
@@session
|
87
87
|
end
|
88
88
|
|
89
|
-
def
|
89
|
+
def postman
|
90
90
|
@@postman
|
91
91
|
end
|
92
92
|
|
93
|
-
def
|
93
|
+
def redis
|
94
94
|
@@redis_connector.redis
|
95
95
|
end
|
96
96
|
|
data/lib/rubypitaya/version.rb
CHANGED
data/lib/rubypitaya.rb
CHANGED
@@ -38,15 +38,19 @@ module RubyPitaya
|
|
38
38
|
migration_file_name
|
39
39
|
end
|
40
40
|
|
41
|
-
def self.add_plugin(
|
41
|
+
def self.add_plugin(plugin_git_url, branch_name)
|
42
42
|
Dir.mkdir(Path::PLUGINS_FOLDER_PATH) unless File.exists?(Path::PLUGINS_FOLDER_PATH)
|
43
43
|
|
44
|
-
plugin_name =
|
44
|
+
plugin_name = plugin_git_url.scan(/.+\/(.+)\.git/).flatten.first
|
45
45
|
plugin_folder_path = File.join(Path::PLUGINS_FOLDER_PATH, plugin_name)
|
46
46
|
plugin_git_path = File.join(plugin_folder_path, '.git/')
|
47
47
|
|
48
|
+
branch_command = ""
|
49
|
+
branch_command = "--branch #{branch_name}" unless branch_name.blank?
|
50
|
+
|
48
51
|
FileUtils.rm_rf(plugin_folder_path) if File.exists?(plugin_folder_path)
|
49
|
-
|
52
|
+
puts "git -C #{Path::PLUGINS_FOLDER_PATH} clone --depth 1 #{branch_command} #{plugin_git_url}"
|
53
|
+
`git -C #{Path::PLUGINS_FOLDER_PATH} clone --depth 1 #{branch_command} #{plugin_git_url}`
|
50
54
|
FileUtils.rm_rf(plugin_git_path)
|
51
55
|
|
52
56
|
Dir.entries(plugin_folder_path).each do |entry|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubypitaya
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luciano Prestes Cavalcanti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 13.0.
|
33
|
+
version: 13.0.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 13.0.
|
40
|
+
version: 13.0.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nats
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 4.
|
75
|
+
version: 4.4.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 4.
|
82
|
+
version: 4.4.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: etcdv3
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.11.3
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.11.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sinatra
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,70 +114,84 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.4.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.4.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: protobuf
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 3.10.4
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 3.10.4
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: activerecord
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 6.1.4.1
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 6.1.4.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: sinatra-contrib
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 2.1.0
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 2.1.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: sinatra-activerecord
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
171
|
- - '='
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
173
|
+
version: 2.0.23
|
160
174
|
type: :runtime
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
178
|
- - '='
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
180
|
+
version: 2.0.23
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: pry
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
170
184
|
requirements:
|
171
185
|
- - '='
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.14.
|
187
|
+
version: 0.14.1
|
174
188
|
type: :development
|
175
189
|
prerelease: false
|
176
190
|
version_requirements: !ruby/object:Gem::Requirement
|
177
191
|
requirements:
|
178
192
|
- - '='
|
179
193
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.14.
|
194
|
+
version: 0.14.1
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: bundler
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,28 +226,28 @@ dependencies:
|
|
212
226
|
requirements:
|
213
227
|
- - '='
|
214
228
|
- !ruby/object:Gem::Version
|
215
|
-
version: 3.
|
229
|
+
version: 3.7.0
|
216
230
|
type: :development
|
217
231
|
prerelease: false
|
218
232
|
version_requirements: !ruby/object:Gem::Requirement
|
219
233
|
requirements:
|
220
234
|
- - '='
|
221
235
|
- !ruby/object:Gem::Version
|
222
|
-
version: 3.
|
236
|
+
version: 3.7.0
|
223
237
|
- !ruby/object:Gem::Dependency
|
224
238
|
name: cucumber
|
225
239
|
requirement: !ruby/object:Gem::Requirement
|
226
240
|
requirements:
|
227
241
|
- - '='
|
228
242
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
243
|
+
version: 7.0.0
|
230
244
|
type: :development
|
231
245
|
prerelease: false
|
232
246
|
version_requirements: !ruby/object:Gem::Requirement
|
233
247
|
requirements:
|
234
248
|
- - '='
|
235
249
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
250
|
+
version: 7.0.0
|
237
251
|
description: RubyPitaya is an application to create servers using the pitaya protocol.
|
238
252
|
email:
|
239
253
|
- lucianopcbr@gmail.com
|
@@ -279,6 +293,7 @@ files:
|
|
279
293
|
- "./lib/rubypitaya/app-template/helm/templates/deployments/connector.yaml"
|
280
294
|
- "./lib/rubypitaya/app-template/helm/templates/deployments/gameserver-nginx.yaml"
|
281
295
|
- "./lib/rubypitaya/app-template/helm/templates/deployments/rubypitaya.yaml"
|
296
|
+
- "./lib/rubypitaya/app-template/helm/templates/pods/gameserver.yaml"
|
282
297
|
- "./lib/rubypitaya/app-template/helm/templates/role-bindings/rubypitaya.yaml"
|
283
298
|
- "./lib/rubypitaya/app-template/helm/templates/roles/rubypitaya.yaml"
|
284
299
|
- "./lib/rubypitaya/app-template/helm/templates/service-accounts/rubypitaya.yaml"
|