rubypitaya 2.15.0 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubypitaya/app-template/Gemfile +6 -6
- data/lib/rubypitaya/app-template/Gemfile.lock +105 -73
- data/lib/rubypitaya/app-template/Makefile +1 -1
- data/lib/rubypitaya/app-template/docker/dev/Dockerfile +1 -1
- data/lib/rubypitaya/app-template/docker/prod/Dockerfile +5 -4
- data/lib/rubypitaya/core/db/migration/0000000001_create_user_migration.rb +1 -1
- data/lib/rubypitaya/core/templates/template_migration.rb.erb +1 -1
- data/lib/rubypitaya/version.rb +1 -1
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4512ea6e0a637413e97896041d88fced36d78df993f3cce20dec3f666948588
|
4
|
+
data.tar.gz: f670294a5072062f87f575ae499c53e196437a6b8fae5025b2b6adfbceba59b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2caa669656cc57910c9cd09d992c802863a86c14ecfc3490a7b0944dd45bfb75b006eadf67bc407eef08fde8166c655d9252ff1743aca4587120efe0eb247ff6
|
7
|
+
data.tar.gz: 148854a900d3aeeed771b31de1e8edbf294a70880836ad6fa18e8d7282a04ac1074f0c9e1962ff97958195aaf2895679ebbbff2dfd32f46c35496e0fe25e6d5d
|
@@ -1,11 +1,11 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
gem 'rubypitaya', '2.
|
3
|
+
gem 'rubypitaya', '2.16.0'
|
4
4
|
|
5
5
|
group :development do
|
6
|
-
gem 'pry', '0.
|
7
|
-
gem 'bundler', '1.
|
8
|
-
gem 'rspec', '3.
|
9
|
-
gem 'listen', '3.
|
10
|
-
gem 'cucumber', '
|
6
|
+
gem 'pry', '0.14.0'
|
7
|
+
gem 'bundler', '2.1.4'
|
8
|
+
gem 'rspec', '3.10.0'
|
9
|
+
gem 'listen', '3.4.1'
|
10
|
+
gem 'cucumber', '5.3.0'
|
11
11
|
end
|
@@ -1,101 +1,131 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://gitlab.com/LucianoPC/ruby-pitaya
|
3
|
+
revision: 9c28f2a16f3140d24f019164a254155f524f2593
|
4
|
+
branch: ruby2.7.2
|
5
|
+
specs:
|
6
|
+
rubypitaya (2.16.0)
|
7
|
+
activerecord (= 6.1.3)
|
8
|
+
etcdv3 (= 0.10.2)
|
9
|
+
eventmachine (= 1.2.7)
|
10
|
+
nats (= 0.11.0)
|
11
|
+
ostruct (= 0.3.3)
|
12
|
+
pg (= 1.2.3)
|
13
|
+
protobuf (= 3.10.0)
|
14
|
+
rake (= 13.0.3)
|
15
|
+
redis (= 4.2.5)
|
16
|
+
sinatra (= 2.1.0)
|
17
|
+
sinatra-contrib (= 2.1.0)
|
18
|
+
|
1
19
|
GEM
|
2
20
|
remote: https://rubygems.org/
|
3
21
|
specs:
|
4
|
-
activemodel (6.
|
5
|
-
activesupport (= 6.
|
6
|
-
activerecord (6.
|
7
|
-
activemodel (= 6.
|
8
|
-
activesupport (= 6.
|
9
|
-
activesupport (6.
|
22
|
+
activemodel (6.1.3)
|
23
|
+
activesupport (= 6.1.3)
|
24
|
+
activerecord (6.1.3)
|
25
|
+
activemodel (= 6.1.3)
|
26
|
+
activesupport (= 6.1.3)
|
27
|
+
activesupport (6.1.3)
|
10
28
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
11
|
-
i18n (>=
|
12
|
-
minitest (
|
13
|
-
tzinfo (~>
|
14
|
-
zeitwerk (~> 2.
|
29
|
+
i18n (>= 1.6, < 2)
|
30
|
+
minitest (>= 5.1)
|
31
|
+
tzinfo (~> 2.0)
|
32
|
+
zeitwerk (~> 2.3)
|
15
33
|
builder (3.2.4)
|
16
34
|
coderay (1.1.3)
|
17
|
-
concurrent-ruby (1.1.
|
18
|
-
cucumber (
|
19
|
-
builder (>= 2.
|
20
|
-
cucumber-core (~>
|
21
|
-
cucumber-
|
22
|
-
|
23
|
-
gherkin (~>
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
35
|
+
concurrent-ruby (1.1.8)
|
36
|
+
cucumber (5.3.0)
|
37
|
+
builder (~> 3.2, >= 3.2.4)
|
38
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
39
|
+
cucumber-create-meta (~> 2.0, >= 2.0.2)
|
40
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
41
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
42
|
+
cucumber-html-formatter (~> 9.0, >= 9.0.0)
|
43
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
44
|
+
cucumber-wire (~> 4.0, >= 4.0.1)
|
45
|
+
diff-lcs (~> 1.4, >= 1.4.4)
|
46
|
+
multi_test (~> 0.1, >= 0.1.2)
|
47
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
48
|
+
cucumber-core (8.0.1)
|
49
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
50
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
51
|
+
cucumber-tag-expressions (~> 2.0, >= 2.0.4)
|
52
|
+
cucumber-create-meta (2.0.4)
|
53
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
54
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
55
|
+
cucumber-cucumber-expressions (10.3.0)
|
56
|
+
cucumber-gherkin (15.0.2)
|
57
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
58
|
+
cucumber-html-formatter (9.0.0)
|
59
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
60
|
+
cucumber-messages (13.2.1)
|
61
|
+
protobuf-cucumber (~> 3.10, >= 3.10.8)
|
62
|
+
cucumber-tag-expressions (2.0.4)
|
63
|
+
cucumber-wire (4.0.1)
|
64
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
65
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
66
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
29
67
|
diff-lcs (1.4.4)
|
30
68
|
etcdv3 (0.10.2)
|
31
69
|
grpc (~> 1.17)
|
32
70
|
eventmachine (1.2.7)
|
33
71
|
ffi (1.14.2)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
google-protobuf (~> 3.13)
|
72
|
+
google-protobuf (3.15.3)
|
73
|
+
googleapis-common-protos-types (1.0.6)
|
74
|
+
google-protobuf (~> 3.14)
|
75
|
+
grpc (1.36.0)
|
76
|
+
google-protobuf (~> 3.14)
|
40
77
|
googleapis-common-protos-types (~> 1.0)
|
41
|
-
i18n (1.8.
|
78
|
+
i18n (1.8.9)
|
42
79
|
concurrent-ruby (~> 1.0)
|
43
|
-
listen (3.
|
80
|
+
listen (3.4.1)
|
44
81
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
45
82
|
rb-inotify (~> 0.9, >= 0.9.10)
|
46
|
-
method_source (0.
|
83
|
+
method_source (1.0.0)
|
47
84
|
middleware (0.1.0)
|
48
|
-
minitest (5.14.
|
85
|
+
minitest (5.14.4)
|
49
86
|
multi_json (1.15.0)
|
50
87
|
multi_test (0.1.2)
|
51
88
|
mustermann (1.1.1)
|
52
89
|
ruby2_keywords (~> 0.0.1)
|
53
90
|
nats (0.11.0)
|
54
91
|
eventmachine (~> 1.2, >= 1.2)
|
55
|
-
ostruct (0.
|
56
|
-
pg (
|
92
|
+
ostruct (0.3.3)
|
93
|
+
pg (1.2.3)
|
57
94
|
protobuf (3.10.0)
|
58
95
|
activesupport (>= 3.2)
|
59
96
|
middleware
|
60
97
|
thor
|
61
98
|
thread_safe
|
62
|
-
|
63
|
-
|
64
|
-
|
99
|
+
protobuf-cucumber (3.10.8)
|
100
|
+
activesupport (>= 3.2)
|
101
|
+
middleware
|
102
|
+
thor
|
103
|
+
thread_safe
|
104
|
+
pry (0.14.0)
|
105
|
+
coderay (~> 1.1)
|
106
|
+
method_source (~> 1.0)
|
65
107
|
rack (2.2.3)
|
66
108
|
rack-protection (2.1.0)
|
67
109
|
rack
|
68
|
-
rake (
|
110
|
+
rake (13.0.3)
|
69
111
|
rb-fsevent (0.10.4)
|
70
112
|
rb-inotify (0.10.1)
|
71
113
|
ffi (~> 1.0)
|
72
|
-
redis (4.
|
73
|
-
rspec (3.
|
74
|
-
rspec-core (~> 3.
|
75
|
-
rspec-expectations (~> 3.
|
76
|
-
rspec-mocks (~> 3.
|
77
|
-
rspec-core (3.
|
78
|
-
rspec-support (~> 3.
|
79
|
-
rspec-expectations (3.
|
114
|
+
redis (4.2.5)
|
115
|
+
rspec (3.10.0)
|
116
|
+
rspec-core (~> 3.10.0)
|
117
|
+
rspec-expectations (~> 3.10.0)
|
118
|
+
rspec-mocks (~> 3.10.0)
|
119
|
+
rspec-core (3.10.1)
|
120
|
+
rspec-support (~> 3.10.0)
|
121
|
+
rspec-expectations (3.10.1)
|
80
122
|
diff-lcs (>= 1.2.0, < 2.0)
|
81
|
-
rspec-support (~> 3.
|
82
|
-
rspec-mocks (3.
|
123
|
+
rspec-support (~> 3.10.0)
|
124
|
+
rspec-mocks (3.10.2)
|
83
125
|
diff-lcs (>= 1.2.0, < 2.0)
|
84
|
-
rspec-support (~> 3.
|
85
|
-
rspec-support (3.
|
86
|
-
ruby2_keywords (0.0.
|
87
|
-
rubypitaya (2.15.0)
|
88
|
-
activerecord (= 6.0.2)
|
89
|
-
etcdv3 (= 0.10.2)
|
90
|
-
eventmachine (= 1.2.7)
|
91
|
-
nats (= 0.11.0)
|
92
|
-
ostruct (= 0.1.0)
|
93
|
-
pg (= 0.21.0)
|
94
|
-
protobuf (= 3.10.0)
|
95
|
-
rake (= 10.0)
|
96
|
-
redis (= 4.1.3)
|
97
|
-
sinatra (= 2.1.0)
|
98
|
-
sinatra-contrib (= 2.1.0)
|
126
|
+
rspec-support (~> 3.10.0)
|
127
|
+
rspec-support (3.10.2)
|
128
|
+
ruby2_keywords (0.0.4)
|
99
129
|
sinatra (2.1.0)
|
100
130
|
mustermann (~> 1.0)
|
101
131
|
rack (~> 2.2)
|
@@ -107,23 +137,25 @@ GEM
|
|
107
137
|
rack-protection (= 2.1.0)
|
108
138
|
sinatra (= 2.1.0)
|
109
139
|
tilt (~> 2.0)
|
110
|
-
|
140
|
+
sys-uname (1.2.2)
|
141
|
+
ffi (~> 1.1)
|
142
|
+
thor (1.1.0)
|
111
143
|
thread_safe (0.3.6)
|
112
144
|
tilt (2.0.10)
|
113
|
-
tzinfo (
|
114
|
-
|
145
|
+
tzinfo (2.0.4)
|
146
|
+
concurrent-ruby (~> 1.0)
|
115
147
|
zeitwerk (2.4.2)
|
116
148
|
|
117
149
|
PLATFORMS
|
118
150
|
ruby
|
119
151
|
|
120
152
|
DEPENDENCIES
|
121
|
-
bundler (= 1.
|
122
|
-
cucumber (=
|
123
|
-
listen (= 3.
|
124
|
-
pry (= 0.
|
125
|
-
rspec (= 3.
|
126
|
-
rubypitaya
|
153
|
+
bundler (= 2.1.4)
|
154
|
+
cucumber (= 5.3.0)
|
155
|
+
listen (= 3.4.1)
|
156
|
+
pry (= 0.14.0)
|
157
|
+
rspec (= 3.10.0)
|
158
|
+
rubypitaya!
|
127
159
|
|
128
160
|
BUNDLED WITH
|
129
|
-
1.
|
161
|
+
2.1.4
|
@@ -41,7 +41,7 @@ test-cucumber:
|
|
41
41
|
## Update gems dependencies on Gemfile.lock
|
42
42
|
update-dependencies:
|
43
43
|
@rm -f Gemfile.lock
|
44
|
-
@docker run --rm -v "$(PWD)":/usr/src/app -w /usr/src/app ruby:2.
|
44
|
+
@docker run --rm -v "$(PWD)":/usr/src/app -w /usr/src/app ruby:2.7.2 bundle install
|
45
45
|
|
46
46
|
## + Improve metagame
|
47
47
|
|
@@ -1,14 +1,15 @@
|
|
1
|
-
FROM ruby:2.
|
1
|
+
FROM ruby:2.7.2 as builder
|
2
2
|
|
3
3
|
WORKDIR /app/rubypitaya/
|
4
4
|
|
5
5
|
COPY Gemfile Gemfile.lock ./
|
6
6
|
|
7
|
-
|
7
|
+
ENV BUNDLER_WITHOUT development test
|
8
|
+
RUN bundle install
|
8
9
|
|
9
10
|
COPY . .
|
10
11
|
|
11
|
-
FROM ruby:2.
|
12
|
+
FROM ruby:2.7.2-slim
|
12
13
|
|
13
14
|
RUN apt update && apt install -y postgresql-client curl python3 bash vim --no-install-recommends
|
14
15
|
RUN rm -rf /var/lib/apt/lists/*
|
@@ -20,7 +21,7 @@ RUN mv ./kubectl /usr/local/bin
|
|
20
21
|
COPY --from=builder /usr/local/etc /usr/local/etc
|
21
22
|
COPY --from=builder /usr/local/bundle /usr/local/bundle
|
22
23
|
COPY --from=builder /usr/local/bin/ruby /usr/local/bin/ruby
|
23
|
-
COPY --from=builder /usr/local/lib/ruby/gems/2.
|
24
|
+
COPY --from=builder /usr/local/lib/ruby/gems/2.7.0 /usr/local/lib/ruby/gems/2.7.0
|
24
25
|
|
25
26
|
COPY --from=builder /app/rubypitaya /app/rubypitaya
|
26
27
|
|
data/lib/rubypitaya/version.rb
CHANGED
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.
|
4
|
+
version: 2.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luciano Prestes Cavalcanti
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.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: 1.2.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 13.0.3
|
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:
|
40
|
+
version: 13.0.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nats
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.
|
61
|
+
version: 4.2.5
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.
|
68
|
+
version: 4.2.5
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: etcdv3
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.3.3
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.3.3
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sinatra-contrib
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 6.
|
145
|
+
version: 6.1.3
|
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: 6.
|
152
|
+
version: 6.1.3
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: eventmachine
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,70 +170,70 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - '='
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
173
|
+
version: 0.14.0
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - '='
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
180
|
+
version: 0.14.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: bundler
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - '='
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
187
|
+
version: 2.1.4
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - '='
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.
|
194
|
+
version: 2.1.4
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: rspec
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - '='
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 3.
|
201
|
+
version: 3.10.0
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - '='
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 3.
|
208
|
+
version: 3.10.0
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: listen
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - '='
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 3.
|
215
|
+
version: 3.4.1
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - '='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 3.
|
222
|
+
version: 3.4.1
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: cucumber
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - '='
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
229
|
+
version: 5.3.0
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - '='
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
236
|
+
version: 5.3.0
|
237
237
|
description: RubyPitaya is an application to create servers using the pitaya protocol.
|
238
238
|
email:
|
239
239
|
- lucianopcbr@gmail.com
|
@@ -351,7 +351,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
351
351
|
- !ruby/object:Gem::Version
|
352
352
|
version: '0'
|
353
353
|
requirements: []
|
354
|
-
rubygems_version: 3.
|
354
|
+
rubygems_version: 3.1.4
|
355
355
|
signing_key:
|
356
356
|
specification_version: 4
|
357
357
|
summary: Create servers with pitaya
|