capistrano-bun 1.0.3 → 1.0.4

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
  SHA256:
3
- metadata.gz: f7a28c3958498f0db27c352a3ca9d1c5eef6a5026e46318bfa76f6cee1b6b08f
4
- data.tar.gz: fe736103a693d1a25e4aca03005281e8531551dc00218d0caa66e2249b4a6578
3
+ metadata.gz: 3ac0981e434cb9654a1f5d5651d06ce8d0692452e1f321dd0e8bb4d6af547842
4
+ data.tar.gz: d068422d28669fc32eccc15124b311e4d6cf2ab4f38f413602f4c147e768e8b9
5
5
  SHA512:
6
- metadata.gz: a3a0816c55db3fb04bba4763650216535cefc4a101e5b96552360e605fd185da903027b6dc641434453fea804ba5e6e69aa643574fbb7093b7b241ffc10799b0
7
- data.tar.gz: 6fd31c98d80a0757c78f5ba6e615bd3e0be1f4f62ee87e493452ababf34e80b5cd61b566fc174f6af840c6c47cb462b0104dbc5c6f9917f5183e38ba542de21d
6
+ metadata.gz: 5ec36e1c5bacdb30d8fefe980404f9c6c92ba425de8aaf6af7fa60ddc1da5533e04e7a5191a8ba97f2b743b3704fafcb8473bbfec7fd3f8eb4db74a148ae9a4a
7
+ data.tar.gz: 57106d579a264b186acece8931a3b0d6f9249bbe739e8775312fa28c55b5ad016d63223d2467e78d0ed2dc871a3c2c4520591ada10d4a610ff5d284debc5acde
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-bun'
7
- spec.version = '1.0.3'
7
+ spec.version = '1.0.4'
8
8
  spec.authors = ['Ferhat Ziba']
9
9
  spec.email = ['fero.ziba@gmail.com']
10
10
  spec.description = %q{bun support for Capistrano 3.x}
@@ -64,6 +64,24 @@ namespace :bun do
64
64
  end
65
65
  end
66
66
  end
67
+
68
+ desc <<-DESC
69
+ Build via bun. This command is executed within the same context \
70
+ as bun install using the bun_roles and bun_target_path \
71
+ variables.
72
+
73
+ This task is strictly opt-in. The main reason you'll want to run this \
74
+ would be after changing bun versions on the server.
75
+ DESC
76
+ task :build do
77
+ on roles fetch(:bun_roles) do
78
+ within fetch(:bun_target_path, release_path) do
79
+ with fetch(:bun_env_variables, {}) do
80
+ execute :bun, 'build'
81
+ end
82
+ end
83
+ end
84
+ end
67
85
  end
68
86
 
69
87
  namespace :load do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-bun
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ferhat Ziba