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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c032984566c41d6c492f034c344016353377dfd4
4
- data.tar.gz: 6b15e36a9a6ec71d3db2c0e401b1417b450d6580
3
+ metadata.gz: d2c790477569b7ef766f52666eb1982cb4ff288f
4
+ data.tar.gz: 5dc5ce6dbd8b9df51738e95186c61b1b5b74ac9f
5
5
  SHA512:
6
- metadata.gz: 819755df0f677037910757e2280fec45383f68c0a8ee5db49adffb78e2acbce1c6cafe68339de11b7639789df17366a77ba0085ca848d865144fe7fc5c31e973
7
- data.tar.gz: 341234da5401003d8ce665334f980da35e5f6368358d833523ee85967a6398d0d39a2d11238ce36e91f2f0a86678a5a20b534ac9fd194475147ecdcccecd2207
6
+ metadata.gz: e7aa2ffcb35da4cb67157b505e5006b314f8e0ff91e5f2f8162bb6042e0ce3bc6188316a2a3454a7349c0fd25abe6225a53a7d1605ab9dc84c867516746e5e42
7
+ data.tar.gz: 507ccf37d559e6379c3b66d620138dfc2037b17cee586c1baf4625379c59dd63fc6d9a2bb3d74b0778d365a21eecff6316b3ab35131f6f1f388e0933fc77aa19
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bigkeeper (0.9.3)
4
+ bigkeeper (0.9.4)
5
5
  big_resources
6
6
  big_stash (~> 0.1)
7
7
  cocoapods
data/bin/big CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- # require "bundler/setup"
3
+ #require "bundler/setup"
4
4
  require "big_keeper"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
@@ -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*)('|")(#{module_name}|#{module_name}\/\S*)('|")([\s\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
@@ -1,3 +1,3 @@
1
1
  module BigKeeper
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
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.9.4
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-03-20 00:00:00.000000000 Z
11
+ date: 2019-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli