luban 0.10.0 → 0.10.1
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/luban/deployment/packages/ruby.rb +1 -1
- data/lib/luban/deployment/runner.rb +0 -9
- data/lib/luban/deployment/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcf6367ec76ae6deb067a576c66a4fd51d6261fb
|
|
4
|
+
data.tar.gz: cf332971c8d02779a2d186eb7923f06b39642104
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bfd4c274d0159d8a012baa1bb194ba6a321af7dc5f4fae599ac74bfad39b5ad3888eb5c97148bba6cfec15bfc90c71ab8fa6743933603b29cd192a1668632c1
|
|
7
|
+
data.tar.gz: aace4fac3d7914f790640833343f288031c2b4eeb1c31fddd54b5a8f905966a6e159f33546f8dfb2e2d43fc34c9b49345a82804984e9c29da2be3c76ac58d0cb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
+
## Version 0.10.1 (Nov 22, 2016)
|
|
4
|
+
|
|
5
|
+
Minor enhancements:
|
|
6
|
+
* Upgraded Bundler for Ruby to version 0.13.6
|
|
7
|
+
* Removed bundle install during deployment project bootstrap
|
|
8
|
+
* Falled back to use "bundle install" which is a more persistent/general practice
|
|
9
|
+
|
|
3
10
|
## Version 0.10.0 (Nov 21, 2016)
|
|
4
11
|
|
|
5
12
|
New features:
|
|
@@ -32,7 +32,6 @@ module Luban
|
|
|
32
32
|
end
|
|
33
33
|
singleton_class.send(:include, Luban::Deployment::Helpers::Generator::Project)
|
|
34
34
|
create_project_skeleton
|
|
35
|
-
create_project_bundle(opts[:bundle_path])
|
|
36
35
|
end
|
|
37
36
|
|
|
38
37
|
protected
|
|
@@ -129,20 +128,12 @@ module Luban
|
|
|
129
128
|
_self = self
|
|
130
129
|
command :init do
|
|
131
130
|
desc 'Initialize a Luban deployment project'
|
|
132
|
-
option :bundle_path, 'Bundle path', default: "vendor/bundle"
|
|
133
131
|
if _self.new_project?
|
|
134
132
|
argument :project, 'Project name', required: true, assure: ->(name) { !name.empty? }
|
|
135
133
|
end
|
|
136
134
|
action! :init_project
|
|
137
135
|
end
|
|
138
136
|
end
|
|
139
|
-
|
|
140
|
-
def create_project_bundle(bundle_path)
|
|
141
|
-
Dir.chdir(work_dir) do
|
|
142
|
-
puts "Running bundle install"
|
|
143
|
-
`bundle install --path "#{bundle_path}" 2>&1`.chomp.split("\n").each { |l| puts " #{l}" }
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
137
|
end
|
|
147
138
|
end
|
|
148
139
|
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.1
|
|
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-
|
|
11
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: luban-cli
|