git-multi 1.0.1 → 1.0.2

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: b74648157657cdbd4e53997ba60c545b6a3715e998f7beb5f7d9db57182292e9
4
- data.tar.gz: 16c0f108729f3f8a823982b0149523c48e6caef43e31513d57f60b8cdf44fc49
3
+ metadata.gz: be442e1218245c5f96d38cd0c046774417fd336af6c644a5322d873763f341b4
4
+ data.tar.gz: 8bcdb2fd482ffad4497989c12e2dc273977f24ba9fe1f0809713f83a15a3e545
5
5
  SHA512:
6
- metadata.gz: bb72475d8c5274af680473f9e706e7111d03f9d72fcb8cd07cc6afdd80f24f7b72a81d731c56a207d2e43b33e6c85c201ca62e4fc1b2071cc0604da33a7fde2d
7
- data.tar.gz: feecef38c25ce27a7c140a9a983002fdb0046490bb48193d33b7b30881e2f3738fbde6500a8cc76914e0fae2d724a8e7aa4daa877816afcb4bf856a898305776
6
+ metadata.gz: 394a92a4649a3468c6fe36ea2d2d4128b3297c724196df0f5d3322373ba53c7a159e860dedcf4c9b9ef6947ac9d843176788ad2c007ed8dad021a90c1805e737
7
+ data.tar.gz: 27d6e8aced92a3ea3a68d4702fa8a8f2ed5137f8e910bcd5a9f416a985a43b48024484ee453c92326939efccecda524d7f01cb5277f81c213998f016f906a18f
@@ -5,7 +5,7 @@ require 'psych'
5
5
  module Git
6
6
  module Multi
7
7
  NAME = 'git-multi'
8
- VERSION = '1.0.1'
8
+ VERSION = '1.0.2'
9
9
 
10
10
  LONG_VERSION = "%s v%s (%s v%s, %s v%s, %s v%s)" % [
11
11
  NAME,
@@ -20,12 +20,17 @@ module Git
20
20
 
21
21
  PIM = <<~"EOPIM" # gem post_install_message
22
22
 
23
- The required settings are as follows:
23
+ The required settings for \033[1mgit multi\33[0m are as follows:
24
24
 
25
- git config --global --add github.user <your_github_username>
26
- git config --global --add github.organizations <your_github_orgs>
27
- git config --global --add github.token <your_github_token>
28
- git config --global --add gitmulti.workarea <your_root_workarea>
25
+ \tgit config --global --add \033[1mgithub.user\033[0m <your_github_username>
26
+ \tgit config --global --add \033[1mgithub.organizations\033[0m <your_github_orgs>
27
+ \tgit config --global --add \033[1mgithub.token\033[0m <your_github_oauth_token>
28
+
29
+ Unless your top-level workarea is `${HOME}/Workarea` you should also set:
30
+
31
+ \tgit config --global --add \033[1mgit.multi.workarea\033[0m <your_root_workarea>
32
+
33
+ Thanks for using \033[1mgit multi\033[0m ... the ultimate multi-repo utility for git!
29
34
 
30
35
  EOPIM
31
36
  end
data/lib/git/multi.rb CHANGED
@@ -26,7 +26,7 @@ module Git
26
26
  HOME = Dir.home
27
27
 
28
28
  DEFAULT_WORKAREA = File.join(HOME, 'Workarea')
29
- WORKAREA = git_option('gitmulti.workarea', DEFAULT_WORKAREA)
29
+ WORKAREA = git_option('git.multi.workarea', DEFAULT_WORKAREA)
30
30
 
31
31
  DEFAULT_TOKEN = env_var('OCTOKIT_ACCESS_TOKEN') # same as Octokit
32
32
  TOKEN = git_option('github.token', DEFAULT_TOKEN)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-multi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Vandenberk
@@ -105,15 +105,13 @@ homepage: https://github.com/pvdb/git-multi
105
105
  licenses:
106
106
  - MIT
107
107
  metadata: {}
108
- post_install_message: |2+
109
-
110
- The required settings are as follows:
111
-
112
- git config --global --add github.user <your_github_username>
113
- git config --global --add github.organizations <your_github_orgs>
114
- git config --global --add github.token <your_github_token>
115
- git config --global --add gitmulti.workarea <your_root_workarea>
116
-
108
+ post_install_message: "\nThe required settings for \e[1mgit multi\e[0m are as follows:\n\n\tgit
109
+ config --global --add \e[1mgithub.user\e[0m <your_github_username>\n\tgit config
110
+ --global --add \e[1mgithub.organizations\e[0m <your_github_orgs>\n\tgit config --global
111
+ --add \e[1mgithub.token\e[0m <your_github_oauth_token>\n\nUnless your top-level
112
+ workarea is `${HOME}/Workarea` you should also set:\n\n\tgit config --global --add
113
+ \e[1mgit.multi.workarea\e[0m <your_root_workarea>\n\nThanks for using \e[1mgit multi\e[0m
114
+ ... the ultimate multi-repo utility for git!\n\n"
117
115
  rdoc_options: []
118
116
  require_paths:
119
117
  - lib