bigkeeper 0.8.7 → 0.8.8
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/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/lib/big_keeper/command/feature&hotfix/finish.rb +3 -3
- data/lib/big_keeper/command/feature&hotfix/start.rb +2 -3
- data/lib/big_keeper/util/cache_operator.rb +5 -0
- data/lib/big_keeper/util/pod_operator.rb +2 -10
- data/lib/big_keeper/util/xcode_operator.rb +3 -3
- data/lib/big_keeper/version.rb +1 -1
- data/resources/keynote/big-keeper-readme-analyze.key +0 -0
- data/resources/keynote/big-keeper-readme-feature.key +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9eaa70208d94d55946d3377b17be578f9c3e0932
|
|
4
|
+
data.tar.gz: ff1ed0d365a01e369006174ca4c302cd96404957
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 463292cbc33f46ab64da6bf555d05b5a43da58ea0447bfa675bc931740d831c5889d19caa2b5a2d7839a655f14c11638cacf0d57d3a6a26a8c85704fe4fc34c2
|
|
7
|
+
data.tar.gz: 69edb9b632b0a40005358fb405e0c9fd1a52d59d1bd33cc7c507fabcc6689d3d93ede8e712ffae3ebaf368dd01e277ae6fff5b71fa78d3ecc7ab7633768e6db1
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bigkeeper (0.8.
|
|
4
|
+
bigkeeper (0.8.7)
|
|
5
5
|
big_resources
|
|
6
6
|
big_stash (~> 0.1)
|
|
7
7
|
cocoapods
|
|
@@ -10,7 +10,7 @@ PATH
|
|
|
10
10
|
plist
|
|
11
11
|
|
|
12
12
|
GEM
|
|
13
|
-
remote: https://gems.ruby-china.
|
|
13
|
+
remote: https://gems.ruby-china.com/
|
|
14
14
|
specs:
|
|
15
15
|
CFPropertyList (2.3.3)
|
|
16
16
|
activesupport (4.2.7.1)
|
|
@@ -120,4 +120,4 @@ DEPENDENCIES
|
|
|
120
120
|
rubocop (~> 0.50.0)
|
|
121
121
|
|
|
122
122
|
BUNDLED WITH
|
|
123
|
-
1.16.
|
|
123
|
+
1.16.4
|
|
@@ -37,15 +37,15 @@ module BigKeeper
|
|
|
37
37
|
|
|
38
38
|
Logger.highlight("Finish branch '#{branch_name}' for 'Home'")
|
|
39
39
|
|
|
40
|
+
# Delete all path modules
|
|
41
|
+
ModuleCacheOperator.new(path).cache_path_modules([], [], [])
|
|
42
|
+
|
|
40
43
|
# Install
|
|
41
44
|
DepService.dep_operator(path, user).install(false)
|
|
42
45
|
|
|
43
46
|
# Open home workspace
|
|
44
47
|
DepService.dep_operator(path, user).open
|
|
45
48
|
|
|
46
|
-
# Delete all path modules
|
|
47
|
-
ModuleCacheOperator.new(path).cache_path_modules([], [], [])
|
|
48
|
-
|
|
49
49
|
# Push home changes to remote
|
|
50
50
|
GitService.new.verify_push(path, "finish branch #{branch_name}", branch_name, 'Home')
|
|
51
51
|
ensure
|
|
@@ -40,9 +40,8 @@ module BigKeeper
|
|
|
40
40
|
# Start home feature
|
|
41
41
|
GitService.new.start(path, full_name, type)
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
end
|
|
43
|
+
# Clean module cache
|
|
44
|
+
ModuleCacheOperator.new(path).clean_modules
|
|
46
45
|
|
|
47
46
|
# Cache all path modules
|
|
48
47
|
ModuleCacheOperator.new(path).cache_path_modules(modules, modules, [])
|
|
@@ -102,6 +102,11 @@ module BigKeeper
|
|
|
102
102
|
cache_modules
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
+
def clean_modules
|
|
106
|
+
@modules = {"git" => {"all" => [], "current" => []}, "path" => {"all" => [], "add" => [], "del" => [], "current" => []}}
|
|
107
|
+
cache_modules
|
|
108
|
+
end
|
|
109
|
+
|
|
105
110
|
def cache_modules
|
|
106
111
|
file = File.new("#{@cache_path}/module.cache", 'w')
|
|
107
112
|
file << @modules.to_json
|
|
@@ -10,20 +10,12 @@ module BigKeeper
|
|
|
10
10
|
end
|
|
11
11
|
Logger.highlight('Start pod install, waiting...')
|
|
12
12
|
cmd = "pod install --project-directory=#{path}"
|
|
13
|
-
is_success = false
|
|
14
|
-
output_lines = ''
|
|
15
13
|
Open3.popen3(cmd) do |stdin, stdout, stderr, wait_thr|
|
|
16
14
|
while line = stdout.gets
|
|
17
|
-
|
|
18
|
-
is_success = true if line.include? "Pod installation complete!"
|
|
15
|
+
p line
|
|
19
16
|
end
|
|
20
17
|
end
|
|
21
|
-
|
|
22
|
-
Logger.highlight('Finish pod install.')
|
|
23
|
-
else
|
|
24
|
-
puts output_lines
|
|
25
|
-
Logger.error("pod install error, please check your Podfile")
|
|
26
|
-
end
|
|
18
|
+
Logger.highlight('Finish pod install.')
|
|
27
19
|
end
|
|
28
20
|
|
|
29
21
|
def self.pod_repo_push(path, module_name, source, version)
|
|
@@ -4,12 +4,12 @@ module BigKeeper
|
|
|
4
4
|
class XcodeOperator
|
|
5
5
|
def self.open_workspace(path)
|
|
6
6
|
# Close Xcode
|
|
7
|
-
`pkill Xcode`
|
|
7
|
+
# `pkill Xcode`
|
|
8
8
|
|
|
9
|
-
sleep 0.5
|
|
9
|
+
# sleep 0.5
|
|
10
10
|
|
|
11
11
|
# Open home workspace
|
|
12
|
-
`open #{path}/*.xcworkspace`
|
|
12
|
+
# `open #{path}/*.xcworkspace`
|
|
13
13
|
end
|
|
14
14
|
end
|
|
15
15
|
end
|
data/lib/big_keeper/version.rb
CHANGED
|
Binary file
|
|
Binary file
|
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.8.
|
|
4
|
+
version: 0.8.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mmoaay
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-09-
|
|
11
|
+
date: 2018-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gli
|
|
@@ -311,6 +311,7 @@ files:
|
|
|
311
311
|
- lib/big_keeper/version.rb
|
|
312
312
|
- resources/banner.png
|
|
313
313
|
- resources/command.png
|
|
314
|
+
- resources/keynote/big-keeper-readme-analyze.key
|
|
314
315
|
- resources/keynote/big-keeper-readme-example.key
|
|
315
316
|
- resources/keynote/big-keeper-readme-feature.key
|
|
316
317
|
- resources/keynote/big-keeper-readme-release.key
|