bigkeeper 0.8.7 → 0.8.8

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
  SHA1:
3
- metadata.gz: de93b6981bad3cd5f43cdbe6e5712a67600f9263
4
- data.tar.gz: a68797291ccc46b21d05c9a410f5349fd6c26312
3
+ metadata.gz: 9eaa70208d94d55946d3377b17be578f9c3e0932
4
+ data.tar.gz: ff1ed0d365a01e369006174ca4c302cd96404957
5
5
  SHA512:
6
- metadata.gz: 4e710fb6b2f19b5b550751e3c680c34af4729545e85c21929de5ff761084b8f7f2b4dbb3537ce2be6ae8a718d3990bdc649e36b6dfaa2d8fcc8b4c7e7b486158
7
- data.tar.gz: 79f59e5f641e8710984efd88e9720885b2dd58267736b3ff5cf279c2ed5d5d3b61e9e80de82f0371eee886f611754eee95ecf301247d8838f53bd1b1b11eac34
6
+ metadata.gz: 463292cbc33f46ab64da6bf555d05b5a43da58ea0447bfa675bc931740d831c5889d19caa2b5a2d7839a655f14c11638cacf0d57d3a6a26a8c85704fe4fc34c2
7
+ data.tar.gz: 69edb9b632b0a40005358fb405e0c9fd1a52d59d1bd33cc7c507fabcc6689d3d93ede8e712ffae3ebaf368dd01e277ae6fff5b71fa78d3ecc7ab7633768e6db1
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "https://gems.ruby-china.org/"
1
+ source "https://gems.ruby-china.com/"
2
2
 
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bigkeeper (0.8.6)
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.org/
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.2
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
- if FileOperator.definitely_exists?("#{path}/.bigkeeper")
44
- p "rm -rf #{path}/.bigkeeper"
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
- output_lines.concat("#{line}\n")
18
- is_success = true if line.include? "Pod installation complete!"
15
+ p line
19
16
  end
20
17
  end
21
- if is_success
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
@@ -1,3 +1,3 @@
1
1
  module BigKeeper
2
- VERSION = "0.8.7"
2
+ VERSION = "0.8.8"
3
3
  end
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.7
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-04 00:00:00.000000000 Z
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