luban 0.10.10 → 0.10.11
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15735d9866abfcc5251bd710d1ebfc903f551633
|
|
4
|
+
data.tar.gz: 799e57170781788c026441f52622793697e298dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b895b3455c3f73c2e85dafb5c7da126cb7f37efb51eb8436e85d0a59ea0df102eb7d65d2b5467f4793cc139c8689dd23a9cafcac7cf02a511b2b799605368464
|
|
7
|
+
data.tar.gz: 32f9b991d2cdabefad3e17732dbd83f8abd6c209204d83e909eb6004854becb5f765e72921fbebed65c39985e03b968827166eb2dc2b525aa03c5d802f91f288
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
+
## Version 0.10.11 (Dec 01, 2016)
|
|
4
|
+
|
|
5
|
+
Minor enhancements:
|
|
6
|
+
* Enforced re-creation of binstubs/symlinks for services after profile deployment
|
|
7
|
+
* Updated decriptions for binstubs to include symlinks for the sake of clarity
|
|
8
|
+
|
|
3
9
|
## Version 0.10.10 (Nov 29, 2016)
|
|
4
10
|
|
|
5
11
|
Minor enhancements:
|
|
@@ -396,7 +396,6 @@ module Luban
|
|
|
396
396
|
end
|
|
397
397
|
end
|
|
398
398
|
end
|
|
399
|
-
alias_method :deploy_profile!, :deploy_release!
|
|
400
399
|
dispatch_task :package_release!, to: :repository, as: :package, locally: true
|
|
401
400
|
dispatch_task :publish_release!, to: :publisher, as: :publish
|
|
402
401
|
|
|
@@ -410,6 +409,11 @@ module Luban
|
|
|
410
409
|
dispatch_task :deprecate_packaged_release!, to: :repository, as: :deprecate, locally: true
|
|
411
410
|
dispatch_task :deprecate_published_release!, to: :publisher, as: :deprecate
|
|
412
411
|
|
|
412
|
+
def deploy_profile!(args:, opts:)
|
|
413
|
+
deploy_release!(args: args, opts: opts)
|
|
414
|
+
services.each_value { |s| s.binstubs(args: args, opts: opts) }
|
|
415
|
+
end
|
|
416
|
+
|
|
413
417
|
def deploy_cronjobs(args:, opts:)
|
|
414
418
|
opts = opts.merge(version: current_app) if has_source?
|
|
415
419
|
deploy_cronjobs!(args: args, opts: opts)
|
|
@@ -45,8 +45,8 @@ module Luban
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
task :binstubs do
|
|
48
|
-
desc "Update binstubs for required packages"
|
|
49
|
-
switch :force, "Force to update binstubs", short: :f
|
|
48
|
+
desc "Update binstubs/symlinks for required packages"
|
|
49
|
+
switch :force, "Force to update binstubs/symlinks", short: :f
|
|
50
50
|
action! :binstubs
|
|
51
51
|
end
|
|
52
52
|
|
|
@@ -140,7 +140,7 @@ module Luban
|
|
|
140
140
|
if current?
|
|
141
141
|
if installed?
|
|
142
142
|
update_binstubs!
|
|
143
|
-
update_result "Updated #{package_name} binstubs with current version #{package_version}"
|
|
143
|
+
update_result "Updated #{package_name} binstubs/symlinks with current version #{package_version}"
|
|
144
144
|
else
|
|
145
145
|
update_result "Skipped! #{package_full_name} is NOT installed yet. Please install it first.",
|
|
146
146
|
status: :failed, level: :error
|
|
@@ -149,7 +149,7 @@ module Luban
|
|
|
149
149
|
if current_symlinked?
|
|
150
150
|
remove_binstubs!
|
|
151
151
|
remove_symlinks!
|
|
152
|
-
update_result "Removed #{package_name} binstubs with version #{package_version}. " +
|
|
152
|
+
update_result "Removed #{package_name} binstubs/symlinks with version #{package_version}. " +
|
|
153
153
|
"Current version of #{package_name} is NOT specified.",
|
|
154
154
|
level: :warn
|
|
155
155
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: luban
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rubyist Lei
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: luban-cli
|