luban 0.7.9 → 0.7.10
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: 0ea293a8aab808284fa5ced1439db9c3d52cbb0a
|
|
4
|
+
data.tar.gz: 3db8526f0bc44ecc32fe2ce750492d5cff2a5561
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d0258e4ae2419f4e523a60ce27fbc8718ae83517b8a64388accea1d4c339dc2b4f2961a214b9add9828a147232d9d917ad27b520e4af8c62dd946868682ea55
|
|
7
|
+
data.tar.gz: c9b4c780fc0ee5b5922149edca89b26146063854dc2b578a0fc81fd44db33e4fab60b6f62957a0b0e5b6506a040c4de21c87d8725741fc1e32ace9486a71fa59
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
+
## Version 0.7.10 (Sept 01, 2016)
|
|
4
|
+
|
|
5
|
+
Bug fixes:
|
|
6
|
+
* Used "&&" instead of ";" to join shell setup commands to ensure the rest of the commands would not be executed if one is broken
|
|
7
|
+
* Added install dependency on OpenSSL version 0.9.8zh for Ruby 1.8.7 or earlier because OpenSSL 1.x.x version does not support Ruby 1.8 in general
|
|
8
|
+
* Handled first Bundler installation without uninstalling older versions of Bundler
|
|
9
|
+
|
|
3
10
|
## Version 0.7.9 (Aug 31, 2016)
|
|
4
11
|
|
|
5
12
|
Minor enhancements:
|
|
@@ -64,10 +64,21 @@ module Luban
|
|
|
64
64
|
def update_binstubs!; end
|
|
65
65
|
|
|
66
66
|
def install_package!
|
|
67
|
+
if file?(bundler_executable)
|
|
68
|
+
uninstall_bundler! and install_bundler!
|
|
69
|
+
else
|
|
70
|
+
install_bundler!
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
def uninstall_bundler!
|
|
75
|
+
test("#{gem_executable} uninstall bundler -a -x -I >> #{install_log_file_path} 2>&1")
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def install_bundler!
|
|
67
79
|
install_opts = ['--local']
|
|
68
80
|
#install_opts << "--no-document" unless install_doc?
|
|
69
81
|
install_opts << "--no-rdoc --no-ri" unless install_doc?
|
|
70
|
-
test("#{gem_executable} uninstall bundler -a -x -I >> #{install_log_file_path} 2>&1") and
|
|
71
82
|
test("#{gem_executable} install #{install_opts.join(' ')} #{src_cache_path} >> #{install_log_file_path} 2>&1")
|
|
72
83
|
end
|
|
73
84
|
end
|
data/luban.gemspec
CHANGED
|
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
spec.require_paths = ["lib"]
|
|
21
21
|
|
|
22
22
|
spec.required_ruby_version = ">= 2.1.0"
|
|
23
|
-
spec.
|
|
24
|
-
spec.
|
|
23
|
+
spec.add_runtime_dependency 'luban-cli'
|
|
24
|
+
spec.add_runtime_dependency 'sshkit'
|
|
25
25
|
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.9"
|
|
27
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
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.7.
|
|
4
|
+
version: 0.7.10
|
|
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-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: luban-cli
|