bigkeeper 0.9.16 → 0.9.17
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/lib/big_keeper.rb +0 -12
- data/lib/big_keeper/command/feature&hotfix/publish.rb +13 -1
- data/lib/big_keeper/service/module_service.rb +13 -1
- data/lib/big_keeper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2241a06a8957bc229f966705191bca6e0088a1ee9ae8658a5b46aa1fbe67afa
|
4
|
+
data.tar.gz: 6331390f7fc6701c22bc25118fa1e93381dbb88b2ac71f1ea5b1d12c253b7122
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fa57906062b4563110e53f62b6bcba614db052d2a808bff826a5775d92c665b41f74d419a4ff3c1487cca63d90e584b70647c89a97dea32d9fc931c47a3f5d2
|
7
|
+
data.tar.gz: 677aa18e051ae029e749ea2d9ef15a608b2f98136dc7de8aaa6fd5781563c0be83923083d4fd8ade33bc759ecd387d8be76611e96e53f206ca110ae850d79410
|
data/Gemfile.lock
CHANGED
data/lib/big_keeper.rb
CHANGED
@@ -51,18 +51,6 @@ module BigKeeper
|
|
51
51
|
is_show_log = false
|
52
52
|
end
|
53
53
|
LeanCloudLogger.instance.end_log(true, is_show_log)
|
54
|
-
|
55
|
-
current_cmd = LeanCloudLogger.instance.command
|
56
|
-
|
57
|
-
if BigkeeperParser.post_install_command.keys.include? current_cmd
|
58
|
-
path = global_options[:path]
|
59
|
-
cmd = BigkeeperParser.post_install_command[current_cmd]
|
60
|
-
if path
|
61
|
-
Dir.chdir(path) do
|
62
|
-
system cmd
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
66
54
|
end
|
67
55
|
|
68
56
|
feature_and_hotfix_command(GitflowType::FEATURE)
|
@@ -50,7 +50,19 @@ module BigKeeper
|
|
50
50
|
# Rebase Home
|
51
51
|
GitService.new.verify_rebase(path, GitflowType.base_branch(type), 'Home')
|
52
52
|
|
53
|
-
|
53
|
+
current_cmd = LeanCloudLogger.instance.command
|
54
|
+
cmds = BigkeeperParser.post_install_command
|
55
|
+
|
56
|
+
if cmds && (cmds.keys.include? current_cmd)
|
57
|
+
cmd = BigkeeperParser.post_install_command[current_cmd]
|
58
|
+
if path
|
59
|
+
Dir.chdir(path) do
|
60
|
+
system cmd
|
61
|
+
end
|
62
|
+
end
|
63
|
+
else
|
64
|
+
`open #{BigkeeperParser.home_pulls()}`
|
65
|
+
end
|
54
66
|
ensure
|
55
67
|
end
|
56
68
|
end
|
@@ -87,7 +87,19 @@ module BigKeeper
|
|
87
87
|
module_full_path = BigkeeperParser.module_full_path(path, user, module_name)
|
88
88
|
GitService.new.verify_push(module_full_path, "publish branch #{home_branch_name}", home_branch_name, module_name)
|
89
89
|
|
90
|
-
|
90
|
+
current_cmd = LeanCloudLogger.instance.command
|
91
|
+
cmds = BigkeeperParser.post_install_command
|
92
|
+
|
93
|
+
if cmds && (cmds.keys.include? current_cmd)
|
94
|
+
cmd = BigkeeperParser.post_install_command[current_cmd]
|
95
|
+
if module_full_path
|
96
|
+
Dir.chdir(module_full_path) do
|
97
|
+
system cmd
|
98
|
+
end
|
99
|
+
end
|
100
|
+
else
|
101
|
+
`open #{BigkeeperParser.module_pulls(module_name)}`
|
102
|
+
end
|
91
103
|
|
92
104
|
ModuleCacheOperator.new(path).del_git_module(module_name)
|
93
105
|
end
|
data/lib/big_keeper/version.rb
CHANGED