dploy-rails 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: a01ce6df788792a24a02f74e6d883ab721cc3c86
4
- data.tar.gz: c21521a5871effdb118adf7914b70bf7155d032e
3
+ metadata.gz: 5c77adadf50d81303fcd3c3033133209bb849150
4
+ data.tar.gz: d9a61ebb3e388e6500b1ea212bb08aab418530d0
5
5
  SHA512:
6
- metadata.gz: 0fa40cf1ee03b3484fb21d02eb025a5b91fe594b6b19c1abf000171447fd4516d3c788ee975d10406b90023dd24738f54be9324eaa256c074b4e4c00a95fd9ac
7
- data.tar.gz: a86993146f676bc05558b0bbfd5e30cd8c966999b6aed1eafb7817d1564e2d17b658ee575ff27b20a024fb23f08250b4cf3e42a97de82465dd4c8ce52b4b5a6a
6
+ metadata.gz: 670218c3bd1f3999abacbce22714d133adeaa03d73ae6b8fa53adfedbc1cc23a0b7a33b5961847e35c9a499c8a9db6f84cf5648edc49e27837d4347956f6bd5c
7
+ data.tar.gz: cae60844b27d076678209f1fdc9e41d9e4ce8d116071c13fe47ada9082b8ba81a5881248fa4b4576710c9f1d976734115761635f88ad8042cb20b440312cab38
@@ -1,5 +1,5 @@
1
1
  module Dploy
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -50,10 +50,10 @@ task :deploy do
50
50
  pid = exec!(%{cat tmp/pids/puma.pid}).to_i
51
51
  break if pid <= 0
52
52
 
53
- print_step_description "Killing process..."
53
+ print_step_description "Killing puma server process..."
54
54
  print_output_unless_blank exec!(%{kill -9 #{pid}})
55
55
 
56
- print_step_description "Pulling latest update from git..."
56
+ print_step_description "Pulling latest update from git remote..."
57
57
  print_output_unless_blank exec!(%{git pull})
58
58
  last_commit = exec!(%{git log -1 --oneline}).strip
59
59
 
@@ -63,14 +63,14 @@ task :deploy do
63
63
  print_step_description "Running database migration..."
64
64
  print_output_unless_blank exec!(%{bin/rails db:migrate})
65
65
 
66
- print_step_description "Installing yarn packages..."
67
- print_output_unless_blank exec!(%{bin/yarn})
66
+ print_step_description "Running yarn install..."
67
+ print_output_unless_blank exec!(%{yarn})
68
68
 
69
69
  print_step_description "Precompiling assets..."
70
- print_output_unless_blank exec!(%{bin/yarn build})
70
+ print_output_unless_blank exec!(%{yarn build})
71
71
 
72
72
  print_step_description "Starting Ruby on Rails application..."
73
- print_output_unless_blank exec!(%{bin/yarn start})
73
+ print_output_unless_blank exec!(%{yarn start})
74
74
 
75
75
  print_step_description "Done. Deployed to #{domain} (#{last_commit})"
76
76
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dploy-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - artificis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-07 00:00:00.000000000 Z
11
+ date: 2017-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler