rubypitaya 2.9.2 → 2.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea061a423e6810b67f1a1256c58ca9f37b1f0494abe0808f999a3b1b4db2a955
|
4
|
+
data.tar.gz: ca8eb926d63d2331911e835c9d06e167092dea7be8f5e7433530ae50a9bea674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72ca0233433069c86b70fb0235bb7dcd47441cac23bf994019456f16a130b60e0f6801ed4d1fe1c3bfa12cce4c6f3bab7821fe49fd4167bef2f6a11a5bc62f8c
|
7
|
+
data.tar.gz: 77a113fb20486be58a6403c421553955dd8e451f76d2ae4ab788f4ffeefb04d10a99f9e7f72a9d3a5eb00e484076d226008afa5365068c4a9a87e80f279efd7d
|
@@ -70,7 +70,7 @@ GEM
|
|
70
70
|
rspec-support (~> 3.8.0)
|
71
71
|
rspec-support (3.8.3)
|
72
72
|
ruby2_keywords (0.0.2)
|
73
|
-
rubypitaya (2.9.
|
73
|
+
rubypitaya (2.9.3)
|
74
74
|
activerecord (= 6.0.2)
|
75
75
|
etcdv3 (= 0.10.2)
|
76
76
|
eventmachine (= 1.2.7)
|
@@ -108,7 +108,7 @@ DEPENDENCIES
|
|
108
108
|
listen (= 3.2.1)
|
109
109
|
pry (= 0.12.2)
|
110
110
|
rspec (= 3.8.0)
|
111
|
-
rubypitaya (= 2.9.
|
111
|
+
rubypitaya (= 2.9.3)
|
112
112
|
|
113
113
|
BUNDLED WITH
|
114
114
|
1.17.2
|
@@ -4,6 +4,8 @@ KUBE_NAMESPACE ?= [put-your-namespace-here]
|
|
4
4
|
KUBE_DEPLOYMENT_SERVER ?= rubypitaya
|
5
5
|
KUBECONTEXT ?= ''
|
6
6
|
|
7
|
+
## + Server Commands
|
8
|
+
|
7
9
|
## Run ruby pitaya metagame project
|
8
10
|
run:
|
9
11
|
@docker-compose run --service-ports --rm rubypitaya bundle exec rubypitaya run
|
@@ -12,14 +14,6 @@ run:
|
|
12
14
|
build:
|
13
15
|
@docker-compose build
|
14
16
|
|
15
|
-
## Kill all containers
|
16
|
-
kill:
|
17
|
-
@docker rm -f $$(docker-compose ps -aq)
|
18
|
-
|
19
|
-
## Run tests
|
20
|
-
test:
|
21
|
-
@docker-compose run --service-ports --rm rubypitaya bundle exec rspec
|
22
|
-
|
23
17
|
## Run ruby irb console
|
24
18
|
console:
|
25
19
|
@docker-compose run --service-ports --rm rubypitaya-console bundle exec ruby ./bin/console
|
@@ -28,6 +22,21 @@ console:
|
|
28
22
|
bash:
|
29
23
|
@docker-compose run --service-ports --rm rubypitaya bash
|
30
24
|
|
25
|
+
## Run tests
|
26
|
+
test:
|
27
|
+
@docker-compose run --service-ports --rm rubypitaya bundle exec rspec
|
28
|
+
|
29
|
+
## Kill all containers
|
30
|
+
kill:
|
31
|
+
@docker rm -f $$(docker-compose ps -aq)
|
32
|
+
|
33
|
+
## Update gems dependencies on Gemfile.lock
|
34
|
+
update-dependencies:
|
35
|
+
@rm -f Gemfile.lock
|
36
|
+
@docker run --rm -v "$(PWD)":/usr/src/app -w /usr/src/app ruby:2.6.6 bundle install
|
37
|
+
|
38
|
+
## + Improve metagame
|
39
|
+
|
31
40
|
## Create new migrgation. NAME=[migration-name]
|
32
41
|
create-migration:
|
33
42
|
@docker-compose run --service-ports --rm rubypitaya-console bundle exec rubypitaya create-migration $(NAME)
|
@@ -36,6 +45,8 @@ create-migration:
|
|
36
45
|
add-plugin:
|
37
46
|
@docker-compose run --service-ports --rm rubypitaya-console bundle exec rubypitaya add-plugin $(GIT)
|
38
47
|
|
48
|
+
## + Database Commands
|
49
|
+
|
39
50
|
## Create database
|
40
51
|
db-create:
|
41
52
|
@docker-compose run --service-ports --rm rubypitaya bundle exec rake db:create
|
@@ -60,10 +71,7 @@ db-drop:
|
|
60
71
|
db-reset:
|
61
72
|
@docker-compose run --service-ports --rm rubypitaya bundle exec rake db:reset
|
62
73
|
|
63
|
-
##
|
64
|
-
generate-gemfilelock:
|
65
|
-
@rm -f Gemfile.lock
|
66
|
-
@docker run --rm -v "$(PWD)":/usr/src/app -w /usr/src/app ruby:2.6.6 bundle install
|
74
|
+
## + Deployment commands
|
67
75
|
|
68
76
|
## Build image to production environment
|
69
77
|
prod-build-image:
|
@@ -82,7 +90,6 @@ prod-deploy-image:
|
|
82
90
|
.PHONY: show-help
|
83
91
|
show-help:
|
84
92
|
@echo "$$(tput bold)Commands:$$(tput sgr0)"
|
85
|
-
@echo
|
86
93
|
@sed -n -e "/^## / { \
|
87
94
|
h; \
|
88
95
|
s/.*//; \
|
@@ -97,14 +104,16 @@ show-help:
|
|
97
104
|
s/\\n/ /g; \
|
98
105
|
p; \
|
99
106
|
}" ${MAKEFILE_LIST} \
|
100
|
-
| LC_ALL='C' sort --ignore-case \
|
101
107
|
| awk -F '---' \
|
102
108
|
-v ncol=$$(tput cols) \
|
103
|
-
-v indent=
|
109
|
+
-v indent=19 \
|
104
110
|
-v col_on="$$(tput setaf 6)" \
|
105
111
|
-v col_off="$$(tput sgr0)" \
|
106
112
|
'{ \
|
107
113
|
printf "%s%*s%s ", col_on, -indent, $$1, col_off; \
|
114
|
+
if (length($$1) == 0) { \
|
115
|
+
printf "\n"; \
|
116
|
+
} \
|
108
117
|
n = split($$2, words, " "); \
|
109
118
|
line_length = ncol - indent; \
|
110
119
|
for (i = 1; i <= n; i++) { \
|
@@ -117,3 +126,6 @@ show-help:
|
|
117
126
|
} \
|
118
127
|
printf "\n"; \
|
119
128
|
}'
|
129
|
+
|
130
|
+
|
131
|
+
|
data/lib/rubypitaya/version.rb
CHANGED
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.9.
|
4
|
+
version: 2.9.3
|
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: 2020-12-
|
11
|
+
date: 2020-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|