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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da263f18debfe1f9ac36386c091eb0dea7aa1f5e7c6a2dde143b8b6583c52536
4
- data.tar.gz: d92eef795e1c90588ff117b98ef47a983ae183befbcb103098003c3ef0635671
3
+ metadata.gz: c2241a06a8957bc229f966705191bca6e0088a1ee9ae8658a5b46aa1fbe67afa
4
+ data.tar.gz: 6331390f7fc6701c22bc25118fa1e93381dbb88b2ac71f1ea5b1d12c253b7122
5
5
  SHA512:
6
- metadata.gz: 452244ac86bfc7b131d93edbc064152d43fc2a6f94fab0d8ae6275c2b4ff98d18ccb146cd9879896c9b82b0dd39252740e98ebae6faa35d0e0c584a99be553f9
7
- data.tar.gz: 57a91cdd4ef71533f6805ba6c54a36ff2d0c3b14835e101f4e92b3dd5a6efddacc9e6929a36eef05d8d333da01c707794e8e70e1efb8609fc975faa6ea588073
6
+ metadata.gz: 6fa57906062b4563110e53f62b6bcba614db052d2a808bff826a5775d92c665b41f74d419a4ff3c1487cca63d90e584b70647c89a97dea32d9fc931c47a3f5d2
7
+ data.tar.gz: 677aa18e051ae029e749ea2d9ef15a608b2f98136dc7de8aaa6fd5781563c0be83923083d4fd8ade33bc759ecd387d8be76611e96e53f206ca110ae850d79410
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bigkeeper (0.9.15)
4
+ bigkeeper (0.9.17)
5
5
  big_resources
6
6
  big_stash (~> 0.1)
7
7
  cocoapods
@@ -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
- `open #{BigkeeperParser.home_pulls()}`
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
- `open #{BigkeeperParser.module_pulls(module_name)}`
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
@@ -1,3 +1,3 @@
1
1
  module BigKeeper
2
- VERSION = "0.9.16"
2
+ VERSION = "0.9.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.16
4
+ version: 0.9.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmoaay