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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 037a1c511141d8fac9fba3ebfe53bd3ef3a8058ecb8e8fe0ba1d14e4dbf1f303
4
- data.tar.gz: 28cb01214ddd78ad159bdf147eb26d56a90892156c758484a35b5599f22d8b36
3
+ metadata.gz: 2854ba3f13cca1fd5b29e5d7f07c520a8ccb4385c53ceeb1a3a781bb99542d68
4
+ data.tar.gz: c9d7e21b0dae5337b8ab3b9f34d98b7096f022bf3c384764989eea376084d040
5
5
  SHA512:
6
- metadata.gz: 47484c4e28c612666ea071aed2ec7fe5f563105ccefe587cae69c4039caead7cd42374d72425fae23a0fee0c3694d0ba4ade3e19f43d8b7953fb2ed5c02f0b0c
7
- data.tar.gz: 5cc82ecc7586a75a09cdfb47fb31cf4d100705d442f3b142a29146570f7ccf6cf75a455edd38484bb53fc3258c7ea9905308ef11a6650f05576392161e4542ca
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
- YXF1aW9yYW5nZWwvREM9Z21haWwvREM9Y29tMB4XDTE5MTEyNzEzMDUyNVoXDTIw
4
- MTEyNjEzMDUyNVowKjEoMCYGA1UEAwwfZXVzdGFxdWlvcmFuZ2VsL0RDPWdtYWls
5
- L0RDPWNvbTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAL0m1eB2AEOm
6
- l/LHYuLDv05uoaiJaoHRdDcxn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W22r3ZL
25
- waOiThAR0oxaTQ==
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-----
@@ -1,3 +1,3 @@
1
1
  module Traquitana
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/spec/config/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
+ ruby '2.7.2'
4
+
3
5
  gem 'memoize'
4
6
  gem 'rake'
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
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
  MIIEVjCCAr6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAqMSgwJgYDVQQDDB9ld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RB24Ksnw7dcEqWs/trbJrgA7lX2/8TAch5fSLgVDQwSLPk7
33
- E34l4xf0bry+lF2zuD15Mps1ZDxJhKcgDWNg82huuVh1zqzNYqgWB1hYPBehhXGo
34
- NdMU5fm01/k08H5psRBGWS/EcpX063ll3qcOGVqbPPH2U3LCYzWww+2PdslwJo/c
35
- uek3m7n2XoRODoAGEm3apnmP8WWMEmI0tXdsvDBwoNVXEMkFnxD+RIMQPW22r3ZL
36
- waOiThAR0oxaTQ==
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: 2019-12-09 00:00:00.000000000 Z
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.0.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