bundle-star 1.0.3 → 1.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36f4f653353973873c1048d6f3ac185cebe9b67d
4
- data.tar.gz: c1ffe6e1612fb322becd3a87280110c5b4a0f9ab
3
+ metadata.gz: 4436cbb75650973f76a154ebd651e99c93a23ed6
4
+ data.tar.gz: 91198a3ff53b9bea0c64f234b5d2b40f8002cfc7
5
5
  SHA512:
6
- metadata.gz: 0e2ffaf48e61116bb9b11ce4f305d98d6074f528d431f4a794ccc9102a5f5a8269bccb99d734bf0b6a0310b295205d3210d0ef4dc25eee67626f920c350bc551
7
- data.tar.gz: 7a5a9c03fe2aa84e74228bb74f23f19408452fd26bde4a007466a6b38369b5ee1edd27281ca90ce8e9dbdf810d41ee47e9159c5c8e188a64c9a54854ceeec81a
6
+ metadata.gz: 8bf6cbf2bc9771786321174a59d3f25284926144a65a44a81da8aa6c8471b62490dfbff8573b2850365a5767c9bb09c8638b62f543843be19eb3c2ad30c43c26
7
+ data.tar.gz: 20ac2b7f4ccba6f6d561a0a8fd4191b277b18bf0f72aeea3cd6c4b6576a47d40c8a291427ed5aaed31a05ec13e85f9acf2c0adf91cc7e0dab2cc8a609cd449b0
data/README.md CHANGED
@@ -25,7 +25,7 @@ The following is a sample `.netrc` file. And execute `chmod 600 ~/.netrc` to avo
25
25
  ```
26
26
  machine api.github.com
27
27
  login <your github account>
28
- password <your 40 char github token>
28
+ password <your 40 char github token, you can get a token from https://github.com/settings/tokens>
29
29
  ```
30
30
 
31
31
  ### Use `bundle-star` instead of `bundle`:
@@ -37,6 +37,15 @@ machine api.github.com
37
37
 
38
38
  alias bsi="bundle-star install"
39
39
 
40
+ ### See Also
41
+
42
+ - About GitHub token
43
+ - Creating a personal access token for the command line - User Documentation
44
+ - https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
45
+ - `.netrc` file
46
+ - GNU Inetutils: The .netrc file
47
+ - https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
48
+
40
49
  ## Contributing
41
50
 
42
51
  1. Fork it
@@ -56,6 +56,7 @@ module Bundler
56
56
 
57
57
  def repository
58
58
  url = installer.spec.homepage
59
+ url.sub!(/\/$/, '') if url # some gems contain trailing slash
59
60
  if url =~ /\Ahttps?:\/\/([^.]+)?\.?github.com\/(.+)/
60
61
  if $1 == nil
61
62
  $2
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "bundle-star"
7
- spec.version = "1.0.3"
7
+ spec.version = "1.0.4"
8
8
  spec.authors = ["Takayuki Matsubara"]
9
9
  spec.email = ["takayuki.1229@gmail.com"]
10
10
  spec.description = %q{Star github repositories automatically when you `bundle-star install`ed}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundle-star
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Matsubara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-11 00:00:00.000000000 Z
11
+ date: 2017-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler