Sutto-gitauth-gh 0.0.1.0 → 0.0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/gitauth/gh_mirror.rb +2 -2
  2. metadata +1 -1
@@ -11,7 +11,7 @@ module GitAuth
11
11
 
12
12
  Project = Struct.new(:name, :github_clone_url, :repository)
13
13
 
14
- VERSION = [0, 0, 1, 0]
14
+ VERSION = [0, 0, 2, 0]
15
15
 
16
16
  def initialize(username, token)
17
17
  @api = GitHubApi.new(username, token)
@@ -31,7 +31,7 @@ module GitAuth
31
31
  def update!(p)
32
32
  return unless p.repository
33
33
  Dir.chdir(p.repository.real_path) do
34
- GitAuth.run "git pull origin master --force"
34
+ GitAuth.run "git fetch origin --force"
35
35
  end
36
36
  end
37
37
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Sutto-gitauth-gh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.0
4
+ version: 0.0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darcy Laycock