bigkeeper 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/big +1 -1
- data/lib/big_keeper/dependency/dep_pod_operator.rb +7 -7
- data/lib/big_keeper/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: d2c790477569b7ef766f52666eb1982cb4ff288f
|
4
|
+
data.tar.gz: 5dc5ce6dbd8b9df51738e95186c61b1b5b74ac9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7aa2ffcb35da4cb67157b505e5006b314f8e0ff91e5f2f8162bb6042e0ce3bc6188316a2a3454a7349c0fd25abe6225a53a7d1605ab9dc84c867516746e5e42
|
7
|
+
data.tar.gz: 507ccf37d559e6379c3b66d620138dfc2037b17cee586c1baf4625379c59dd63fc6d9a2bb3d74b0778d365a21eecff6316b3ab35131f6f1f388e0933fc77aa19
|
data/Gemfile.lock
CHANGED
data/bin/big
CHANGED
@@ -36,7 +36,7 @@ module BigKeeper
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
-
def install(should_update)
|
39
|
+
def install(modules, type, should_update)
|
40
40
|
PodOperator.pod_install(@path, should_update)
|
41
41
|
end
|
42
42
|
|
@@ -45,10 +45,10 @@ module BigKeeper
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def generate_module_config(line, module_name, module_operate_type)
|
48
|
-
line.sub(/(\s*)pod(\s*)('|")
|
48
|
+
line.sub(/(\s*)pod(\s*)('|")#{module_name}((\/[_a-zA-Z0-9]+)?)('|")([\s\S]*)/){
|
49
49
|
if ModuleOperateType::ADD == module_operate_type
|
50
50
|
module_path = BigkeeperParser.module_path(@user, module_name)
|
51
|
-
"#{$1}pod '#{module_name}', :path => '#{module_path}'"
|
51
|
+
"#{$1}pod '#{module_name}#{$4}', :path => '#{module_path}'"
|
52
52
|
elsif ModuleOperateType::DELETE == module_operate_type
|
53
53
|
origin_config_of_module = origin_config_of_module(module_name)
|
54
54
|
if origin_config_of_module.empty?
|
@@ -59,21 +59,21 @@ module BigKeeper
|
|
59
59
|
elsif ModuleOperateType::FINISH == module_operate_type
|
60
60
|
module_git = BigkeeperParser.module_git(module_name)
|
61
61
|
branch_name = GitOperator.new.current_branch(@path)
|
62
|
-
"#{$1}pod '#{module_name}', :git => '#{module_git}', :branch => '#{branch_name}'"
|
62
|
+
"#{$1}pod '#{module_name}#{$4}', :git => '#{module_git}', :branch => '#{branch_name}'"
|
63
63
|
elsif ModuleOperateType::PUBLISH == module_operate_type
|
64
64
|
module_git = BigkeeperParser.module_git(module_name)
|
65
65
|
branch_name = GitOperator.new.current_branch(@path)
|
66
66
|
base_branch_name = GitflowType.base_branch(GitService.new.current_branch_type(@path))
|
67
|
-
"#{$1}pod '#{module_name}', :git => '#{module_git}', :branch => '#{base_branch_name}'"
|
67
|
+
"#{$1}pod '#{module_name}#{$4}', :git => '#{module_git}', :branch => '#{base_branch_name}'"
|
68
68
|
elsif ModuleOperateType::RELEASE == module_operate_type
|
69
69
|
module_git = BigkeeperParser.module_git(module_name)
|
70
70
|
lastest_tag, is_spec = find_lastest_tag(module_name)
|
71
71
|
if is_spec == true
|
72
72
|
Logger.default("#{module_name} lastest tag is #{lastest_tag}, this tag has published.")
|
73
|
-
"#{$1}pod '#{module_name}', '#{lastest_tag}'"
|
73
|
+
"#{$1}pod '#{module_name}#{$4}', '#{lastest_tag}'"
|
74
74
|
else
|
75
75
|
Logger.default("#{module_name} lastest tag is #{lastest_tag}, this tag not publish.")
|
76
|
-
"#{$1}pod '#{module_name}', :git => '#{module_git}', :tag => '#{lastest_tag}'"
|
76
|
+
"#{$1}pod '#{module_name}#{$4}', :git => '#{module_git}', :tag => '#{lastest_tag}'"
|
77
77
|
end
|
78
78
|
else
|
79
79
|
line
|
data/lib/big_keeper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigkeeper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mmoaay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|