git-multi 2.10.0 → 3.0.0

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: 8fc2687636b78e9708c38dad0df0a52d2092c8bc
4
- data.tar.gz: 29c4e37ec330dc160dd2184f9d6dd44fe2ad05de
3
+ metadata.gz: 5da7ff698de70c2af01a320fad295f22448bea29
4
+ data.tar.gz: '048143afd8461769496a28b01ad9c881a1ad12f1'
5
5
  SHA512:
6
- metadata.gz: 7d75a2940be0774f75677a961f9ac79a5b609d82fc8328b9eb403dcfb6b4a41369f71190828702bd9e7f27f813ca7f13385e129df17edadb6d0481b689e0bb41
7
- data.tar.gz: 84ab770026e9def376820fa0d45ec6db72f156df65a7bb05fb884d8f61c773167c7bd61f964602be0ac52d467c9ad575f764359178a9a91da8e1ca911fa534cd
6
+ metadata.gz: 81be5964026a4de4d6437b3d272556bc84e721e0ff27929d95301faa9c342e733590b4e39a100ea8e17ac617d338455635ccfde51b2671374138eb1567e812a2
7
+ data.tar.gz: 1a185a49c8f8fd8360865e73840a87fa3082867969dd5bc2742cc66dd0f8737bd818d0ddea58a50cd77d721895d4fbd884261d4b6654ee4220e7ad3be596b54f
@@ -8,8 +8,8 @@ module Git
8
8
  value.empty? && default ? default : value
9
9
  end
10
10
 
11
- def local_list(filename, name)
12
- list = `git config --file #{filename} --get-all #{name}`
11
+ def full_names_for(superproject)
12
+ list = `git config --get-all superproject.#{superproject}.repo`
13
13
  list.split($RS).map(&:strip).map(&:freeze)
14
14
  end
15
15
 
@@ -1,7 +1,7 @@
1
1
  module Git
2
2
  module Multi
3
3
  NAME = 'git-multi'.freeze
4
- VERSION = '2.10.0'.freeze
4
+ VERSION = '3.0.0'.freeze
5
5
 
6
6
  def self.version
7
7
  "#{NAME} v#{VERSION}"
data/lib/git/multi.rb CHANGED
@@ -39,8 +39,7 @@ module Git
39
39
 
40
40
  FileUtils.mkdir_p(GIT_MULTI_DIR) # ensure `~/.git/multi` directory exists
41
41
 
42
- GITHUB_CACHE = File.join(GIT_MULTI_DIR, 'repositories.byte')
43
- SUPERPROJECTS_CONFIG = File.join(GIT_MULTI_DIR, 'superprojects.config')
42
+ GITHUB_CACHE = File.join(GIT_MULTI_DIR, 'repositories.byte')
44
43
 
45
44
  USERS = global_list('git.multi.users')
46
45
  ORGANIZATIONS = global_list('git.multi.organizations')
@@ -61,10 +60,6 @@ module Git
61
60
  MULTI_REPOS.include? multi_repo
62
61
  end
63
62
 
64
- def full_names_for(superproject)
65
- local_list(SUPERPROJECTS_CONFIG, "superproject.#{superproject}.repo")
66
- end
67
-
68
63
  #
69
64
  # local repositories (in WORKAREA)
70
65
  #
data/man/git-multi.1 CHANGED
@@ -2,12 +2,12 @@
2
2
  .\" Title: git-multi
3
3
  .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
  .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
- .\" Date: 01/09/2020
5
+ .\" Date: 01/13/2020
6
6
  .\" Manual: Git Manual
7
7
  .\" Source: Git 2.23.0.606.g08da6496b6.dirty
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "GIT\-MULTI" "1" "01/09/2020" "Git 2\&.23\&.0\&.606\&.g08da64" "Git Manual"
10
+ .TH "GIT\-MULTI" "1" "01/13/2020" "Git 2\&.23\&.0\&.606\&.g08da64" "Git Manual"
11
11
  .\" -----------------------------------------------------------------
12
12
  .\" * Define some portability stuff
13
13
  .\" -----------------------------------------------------------------
@@ -31,7 +31,7 @@
31
31
  git-multi \- execute the same git command in multiple repositories
32
32
  .SH "VERSION"
33
33
  .sp
34
- This is \fBv2\&.10\&.0\fR of \fIgit multi\fR \&... hooray!
34
+ This is \fBv3\&.0\&.0\fR of \fIgit multi\fR \&... hooray!
35
35
  .SH "SYNOPSIS"
36
36
  .sp
37
37
  There are some options for \fBgit multi\fR itself, in which case it is invoked as follows:
data/man/git-multi.html CHANGED
@@ -748,7 +748,7 @@ git-multi(1) Manual Page
748
748
  <div class="sect1">
749
749
  <h2 id="_version">VERSION</h2>
750
750
  <div class="sectionbody">
751
- <div class="paragraph"><p>This is <code>v2.10.0</code> of <em>git multi</em> &#8230; hooray!</p></div>
751
+ <div class="paragraph"><p>This is <code>v3.0.0</code> of <em>git multi</em> &#8230; hooray!</p></div>
752
752
  </div>
753
753
  </div>
754
754
  <div class="sect1">
@@ -1222,7 +1222,7 @@ the <code>jq</code> command-line utility:
1222
1222
  <div id="footer">
1223
1223
  <div id="footer-text">
1224
1224
  Last updated
1225
- 2020-01-09 17:51:49 GMT
1225
+ 2020-01-13 08:59:40 GMT
1226
1226
  </div>
1227
1227
  </div>
1228
1228
  </body>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-multi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Vandenberk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-09 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday