rubypitaya 2.7.1 → 2.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9eb7880dd4445994c53e6f44214153fd926df154bc585c200ae007760d542b6b
4
- data.tar.gz: 93d912fb1d953df4ea7f077887c88e832bf52d9515e93583b7dacd0b860486cd
3
+ metadata.gz: '0801956a1c2919b56c0346bfc1c8c1838960a918534e8a1d1c568187a08684cb'
4
+ data.tar.gz: 1875aaca3ac03c385558cfb491a020c68765e8342cf11f792ccbcc181f555357
5
5
  SHA512:
6
- metadata.gz: 835e30a86c9cdbdc6fe473af6c065b11f8e85cc8cbc9beeaf9a2657b498ab13ac744c9d854ce2421ff13d4339540031763a02ace172785676b53da0e23244566
7
- data.tar.gz: 3b6ac0801420229d445742dc5cb121687c2b60bf960378ea2c741bc4b1cd15ae9eb7f434f886f1b025c568440d4dc879da81b84e55b8f912db857d71236a6775
6
+ metadata.gz: 7a2171a45a971cdebe47f4616c2332af0775f0519b579b16895c2321062bbbff277d9ac7d331348a0b47aa08ab4b8fbc99dc73edee309beb4ecb25b541e8185e
7
+ data.tar.gz: f6d3aa355d457b67c177e44ca67403797c2843c23e1d63b1e5eb53d49bc14bc11af011aee87b1484526599069bb40cac55c332f12d3104a2be7292be86e6e149
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '2.7.1'
3
+ gem 'rubypitaya', '2.7.3'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.12.2'
@@ -69,7 +69,7 @@ GEM
69
69
  rspec-support (~> 3.8.0)
70
70
  rspec-support (3.8.3)
71
71
  ruby2_keywords (0.0.2)
72
- rubypitaya (2.7.1)
72
+ rubypitaya (2.7.3)
73
73
  activerecord (= 6.0.2)
74
74
  etcdv3 (= 0.10.2)
75
75
  eventmachine (= 1.2.7)
@@ -106,7 +106,7 @@ DEPENDENCIES
106
106
  listen (= 3.2.1)
107
107
  pry (= 0.12.2)
108
108
  rspec (= 3.8.0)
109
- rubypitaya (= 2.7.1)
109
+ rubypitaya (= 2.7.3)
110
110
 
111
111
  BUNDLED WITH
112
112
  1.17.2
@@ -1,3 +1,8 @@
1
+ IMAGE_TAG ?= latest
2
+ IMAGE_REGISTRY ?= [put-your-registry-here]
3
+ KUBE_NAMESPACE ?= [put-your-namespace-here]
4
+ KUBE_DEPLOYMENT_SERVER ?= rubypitaya
5
+
1
6
  ## Run ruby pitaya metagame project
2
7
  run:
3
8
  @docker-compose run --service-ports --rm rubypitaya bundle exec rubypitaya run
@@ -48,15 +53,15 @@ generate-gemfilelock:
48
53
 
49
54
  ## Build image to production environment
50
55
  prod-build-image:
51
- @docker build . -f docker/prod/Dockerfile -t [registry-address]:$(IMAGE_TAG)
56
+ @docker build . -f docker/prod/Dockerfile -t $(IMAGE_REGISTRY):$(IMAGE_TAG)
52
57
 
53
58
  ## Push prod image to gitlab
54
59
  prod-push-image:
55
- @docker push [registry-address]:$(IMAGE_TAG)
60
+ @docker push $(IMAGE_REGISTRY):$(IMAGE_TAG)
56
61
 
57
62
  ## Deploy prod image to kubernetes cluster
58
63
  prod-deploy-image:
59
- kubectl -n $(PROD_NAMESPACE) set image deployment rubypitaya rubypitaya=[registry-address]:$(IMAGE_TAG)
64
+ kubectl --context='$(KUBECONTEXT)' -n $(KUBE_NAMESPACE) set image deployment $(KUBE_DEPLOYMENT_SERVER) $(KUBE_DEPLOYMENT_SERVER)=$(IMAGE_REGISTRY):$(IMAGE_TAG)
60
65
 
61
66
  .DEFAULT_GOAL := show-help
62
67
 
@@ -98,6 +103,3 @@ show-help:
98
103
  } \
99
104
  printf "\n"; \
100
105
  }'
101
-
102
-
103
-
@@ -8,6 +8,7 @@ require 'rubypitaya/core/config'
8
8
  require 'rubypitaya/core/session'
9
9
  require 'rubypitaya/core/postman'
10
10
  require 'rubypitaya/core/parameters'
11
+ require 'rubypitaya/core/http_routes'
11
12
  require 'rubypitaya/core/routes_base'
12
13
  require 'rubypitaya/core/status_codes'
13
14
  require 'rubypitaya/core/handler_router'
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '2.7.1'
2
+ VERSION = '2.7.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypitaya
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti