traquitana 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/config/proc.sh +42 -0
- data/gem-public_cert.pem +22 -22
- data/lib/traquitana/version.rb +1 -1
- data/spec/config/Gemfile +2 -0
- metadata +25 -25
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2854ba3f13cca1fd5b29e5d7f07c520a8ccb4385c53ceeb1a3a781bb99542d68
|
4
|
+
data.tar.gz: c9d7e21b0dae5337b8ab3b9f34d98b7096f022bf3c384764989eea376084d040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c4960102b217d9cc2d8c793dd8fbc3b079449966886b497e934f44557f33c0388ad0e65d6725179e042e3a349aa11ac9e286b4f4d05c915470c763ac423e1c1
|
7
|
+
data.tar.gz: 21cfcfae2686113774ca83c79d0f07e8d5657bab077becfa32c751f0b672d6e58383739f1fd58a96d5c61c4f5eb86a3e674b11dc9bbf3eb629f6caa8f82ed708
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/config/proc.sh
CHANGED
@@ -202,6 +202,47 @@ function sanity_check() {
|
|
202
202
|
fi
|
203
203
|
}
|
204
204
|
|
205
|
+
function activate_gems() {
|
206
|
+
msg "Activating gems on $(pwd) ..."
|
207
|
+
|
208
|
+
local GEMFILE_VERSION=""
|
209
|
+
|
210
|
+
if [ -z "$GEMFILE_VERSION" ] && [ -f Gemfile ]; then
|
211
|
+
msg "Trying find Ruby version on Gemfile ..."
|
212
|
+
GEMFILE_VERSION=$(grep -e "^ruby" Gemfile | cut -f2 -d' ' | tr -d "'")
|
213
|
+
fi
|
214
|
+
|
215
|
+
if [ -z "$GEMFILE_VERSION" ] && [ -f .ruby-version ]; then
|
216
|
+
msg "Trying find Ruby version on .ruby-version file ..."
|
217
|
+
GEMFILE_VERSION=$(cat .ruby-version)
|
218
|
+
fi
|
219
|
+
|
220
|
+
if [ -z "$GEMFILE_VERSION" ]; then
|
221
|
+
msg "\e[31mCould not determine Ruby version.\e[0m"
|
222
|
+
return
|
223
|
+
fi
|
224
|
+
|
225
|
+
local PROVIDER=$(gem_provider)
|
226
|
+
local RVM_LOCAL=$HOME/.rvm/scripts/rvm
|
227
|
+
local RVM_SYSTEM=/usr/local/rvm/scripts/rvm
|
228
|
+
local RVM_SOURCE=""
|
229
|
+
|
230
|
+
if [ "$PROVIDER" == "rvm" ]; then
|
231
|
+
msg "Activating $GEMFILE_VERSION on RVM ..."
|
232
|
+
|
233
|
+
if [ -f "$RVM_LOCAL" ]; then
|
234
|
+
msg "Activating local RVM ..."
|
235
|
+
RVM_SOURCE="$RVM_LOCAL"
|
236
|
+
else
|
237
|
+
msg "Activating system RVM ..."
|
238
|
+
RVM_SOURCE="$RVM_SYSTEM"
|
239
|
+
fi
|
240
|
+
|
241
|
+
source "$RVM_SOURCE"
|
242
|
+
rvm $GEMFILE_VERSION
|
243
|
+
fi
|
244
|
+
}
|
245
|
+
|
205
246
|
# force the production enviroment
|
206
247
|
export RAILS_ENV=production
|
207
248
|
|
@@ -258,6 +299,7 @@ safe_copy "${config_id}"
|
|
258
299
|
|
259
300
|
# here is where things happens on the server
|
260
301
|
install_new_files "${config_id}"
|
302
|
+
activate_gems
|
261
303
|
fix_gems
|
262
304
|
createdb
|
263
305
|
channels
|
data/gem-public_cert.pem
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
-----BEGIN CERTIFICATE-----
|
2
2
|
MIIEVjCCAr6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAqMSgwJgYDVQQDDB9ldXN0
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
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KoZIhvcN
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
17
|
+
AQELBQADggGBAF60gRzDOWc7B6g4jQzR2Bi90pVSfUXRCkODqCaosSET18pXu63G
|
18
|
+
mXh4ACRSKMM3X6Cj2uDQEhrvWnxt0R5P1TD6G3uOXGzMAmihPVyCJyUCFwuxAt9V
|
19
|
+
GLCyn2Ti9MIT0FyujhEXSQdJjAyuDGtEkO2LIKBJ+CIbG68FBqc1k+UwPQiNJCgE
|
20
|
+
s3Fsha0Wv75uupzqu57FHXHSjdnBNeQHfdC+Ma8VIlWdKxfcxZKOEL589tnJTJHF
|
21
|
+
IRNTTxZFwTTvZy2aSvBb73m+clb36mlGO3emb/S3WMu2oOlmorHD4CAbyZjPTwIs
|
22
|
+
zYVH+Nlf2O8Li2j3QNGL0r2MNCJWeuhB23IOoL60AaxvpyHAbWnfOpqidQU1Zwpg
|
23
|
+
cXxQcroczXGs/RH1diJes5AihU97po1EVyVpxjkyiVZxd0fl+r3OR7iYSSNMrdpH
|
24
|
+
Ey5t62RSM7fM69lDtUa1Jmv/CCRAeeY4TQUFwDrnNYhxQshCWcrFWQMb4ExJtwbC
|
25
|
+
iQ4FrdvzJJS+rA==
|
26
26
|
-----END CERTIFICATE-----
|
data/lib/traquitana/version.rb
CHANGED
data/spec/config/Gemfile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: traquitana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eustaquio Rangel
|
@@ -11,31 +11,31 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEVjCCAr6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAqMSgwJgYDVQQ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uY29t
|
27
27
|
MCQGA1UdEgQdMBuBGWV1c3RhcXVpb3JhbmdlbEBnbWFpbC5jb20wDQYJKoZIhvcN
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
28
|
+
AQELBQADggGBAF60gRzDOWc7B6g4jQzR2Bi90pVSfUXRCkODqCaosSET18pXu63G
|
29
|
+
mXh4ACRSKMM3X6Cj2uDQEhrvWnxt0R5P1TD6G3uOXGzMAmihPVyCJyUCFwuxAt9V
|
30
|
+
GLCyn2Ti9MIT0FyujhEXSQdJjAyuDGtEkO2LIKBJ+CIbG68FBqc1k+UwPQiNJCgE
|
31
|
+
s3Fsha0Wv75uupzqu57FHXHSjdnBNeQHfdC+Ma8VIlWdKxfcxZKOEL589tnJTJHF
|
32
|
+
IRNTTxZFwTTvZy2aSvBb73m+clb36mlGO3emb/S3WMu2oOlmorHD4CAbyZjPTwIs
|
33
|
+
zYVH+Nlf2O8Li2j3QNGL0r2MNCJWeuhB23IOoL60AaxvpyHAbWnfOpqidQU1Zwpg
|
34
|
+
cXxQcroczXGs/RH1diJes5AihU97po1EVyVpxjkyiVZxd0fl+r3OR7iYSSNMrdpH
|
35
|
+
Ey5t62RSM7fM69lDtUa1Jmv/CCRAeeY4TQUFwDrnNYhxQshCWcrFWQMb4ExJtwbC
|
36
|
+
iQ4FrdvzJJS+rA==
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: highline
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: '0'
|
193
193
|
requirements: []
|
194
|
-
rubygems_version: 3.
|
194
|
+
rubygems_version: 3.1.4
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: Just a simple tool to deploy Rails apps with SSH and some shell scripts
|
metadata.gz.sig
CHANGED
Binary file
|