prun-ops 0.2.14 → 0.2.15

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: 40358278a63a302024f6fbc68d16983e88d97967a9a5133f2be7ccb19260788c
4
- data.tar.gz: a39d73f47e02f47e1cb717b070ae8653453ce93e781f2413b035590da9effa38
3
+ metadata.gz: 3ba08241a1b1b565f6b1679da298b4774af266628da89ecda8503ed055abfe70
4
+ data.tar.gz: 237bc313bc04f919ac4443ca88cb5f3d3b00a418cd4fbbb97964fcf655084e31
5
5
  SHA512:
6
- metadata.gz: 0d8d88297f8f5b3f354a5ec49d5e0d2591c870f22703be073e1977b8ddf92d54a01d27c6d66428fd0e17c082045fe8c552423a7064582378299e2bb6482db069
7
- data.tar.gz: fd325bab03cd0c4f5752ca03872910c726cea0b8754581488633172ce94e780d261bd96458ab9f60d3afc52ee2910c10b409c0a44b1dc48490d7d252920dd1da
6
+ metadata.gz: 38a351544fc7a96d8b50316eba0cb5ad07ddd880e62f37ceb251d794782ebb5390e1df221fe9df84208339d0326a501dbad9f9e9f6d0e96a6d98fc6ddb29c4d8
7
+ data.tar.gz: 1cbcededc906c09e1dd3adeffa0a90dd3b020d11fb133b3c59fae932ad2955daeca6254f2a5b90ba6daa7c726bed0d6161ac4070c6f5764719e1ce3773802e7e
@@ -5,6 +5,7 @@ task :config do
5
5
  invoke 'postgres:install'
6
6
  invoke 'nginx:install'
7
7
  invoke 'nodejs:install'
8
+ invoke 'yarn:install'
8
9
  invoke 'app:prepare'
9
10
  invoke 'deploy:upload_linked_files'
10
11
  # invoke 'app:db_prepare'
@@ -0,0 +1,12 @@
1
+ namespace :yarn do
2
+ task :install do
3
+ on roles :app do
4
+ execute <<-EOBLOCK
5
+ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
6
+ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
7
+ apt-get -qq update && apt-get install -y yarn
8
+ yarn install --check-files
9
+ EOBLOCK
10
+ end
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module PrunOps
2
- VERSION = "0.2.14"
2
+ VERSION = "0.2.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prun-ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Lebrijo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-24 00:00:00.000000000 Z
11
+ date: 2020-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,6 +123,7 @@ files:
123
123
  - lib/capistrano/config/templates/vhost.conf.erb
124
124
  - lib/capistrano/config/templates/vhost_ssl.conf.erb
125
125
  - lib/capistrano/config/ubuntu.rake
126
+ - lib/capistrano/config/yarn.rake
126
127
  - lib/capistrano/diagnosis.rake
127
128
  - lib/capistrano/git.rake
128
129
  - lib/capistrano/prun-ops.rb