ghq-cache 0.3.4 → 0.4.1

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: 9e4ac6374bc5e057c9e3fe6cec073875c8ebf968
4
- data.tar.gz: 7f7df2a23b6a0a0c037d0196dd993eafb3d02f9f
3
+ metadata.gz: 77d2e0775ce2e2ab7ae3a0906a2f989c028c7184
4
+ data.tar.gz: 40b0cc6b7577d5a96602212643785654337c6195
5
5
  SHA512:
6
- metadata.gz: 4ea1023ae2ee147765554bb4f901e119295ef23a9657736cd85889a98ed5ea45f8a816c2a88b446be50fe160325ecebb59c73c7276f3637748329ee2e981288e
7
- data.tar.gz: 62c33e6a966ed683f7951da2c7631ddabf5f7e0a1552106f34b3f39d9ec7349b7c1d31c8fd34b842ae2de3fdb31bddd13fa0ce5ff52cd4b6ef1712c9fdd8089e
6
+ metadata.gz: ab48bd5f9cbe9211fe74f83755564f31c63e2983fcd5567778a4ba67702467c8759da44927eaa2fd4e15b88a4b28726a4d886ce20546c187c0a007d2bafdf6e7
7
+ data.tar.gz: 21af1f05d727f7be47c786db141aa407d55508d3feab6ba9516772c6fa18a45097cde626fa9049c4a0662451e4f48918a53a101a13e99253d47970af4fee17ec
data/README.md CHANGED
@@ -14,7 +14,7 @@ gem install ghq-cache
14
14
  ```bash
15
15
  # Build `ghq list` cache to ~/.ghq-cache
16
16
  # with ordering of host, user or repositories.
17
- ghq-cache refresh
17
+ ghq-cache update
18
18
 
19
19
  # Log your repository access to update ~/.ghq-cache order.
20
20
  ghq-cache log /Users/k0kubun/src/github.com/k0kubun/ghq-cache
@@ -33,11 +33,11 @@ function ghq() {
33
33
  $GHQ $@
34
34
 
35
35
  # hook after ghq get
36
- (ghq-cache refresh &)
36
+ (ghq-cache update &)
37
37
  ;;
38
38
  list )
39
39
  if [ ! -e ~/.ghq-cache ]; then
40
- ghq-cache refresh
40
+ ghq-cache update
41
41
  fi
42
42
 
43
43
  # use ghq list ordered by ghq-cache
@@ -53,11 +53,11 @@ function git() {
53
53
  case $1 in
54
54
  init )
55
55
  $GIT $@
56
- (ghq-cache refresh &)
56
+ (ghq-cache update &)
57
57
  ;;
58
58
  clone )
59
59
  $GIT $@
60
- (ghq-cache refresh &)
60
+ (ghq-cache update &)
61
61
  ;;
62
62
  * )
63
63
  $GIT $@
@@ -8,12 +8,11 @@ module Ghq
8
8
  def update
9
9
  Builder.build
10
10
  end
11
- alias :refresh :update
12
11
 
13
12
  desc 'log PATH', 'Log your repository access'
14
13
  def log(path)
15
14
  Logger.log(path)
16
- refresh
15
+ update
17
16
  end
18
17
 
19
18
  desc 'purge', 'Delete ~/.ghq-cache and ~/.ghq-cache.log'
@@ -1,5 +1,5 @@
1
1
  module Ghq
2
2
  module Cache
3
- VERSION = "0.3.4"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghq-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
@@ -107,9 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.5.0
110
+ rubygems_version: 2.4.5.1
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Show frequently used repositories first in ghq list.
114
114
  test_files: []
115
- has_rdoc: