flight_plan_cli 0.2.4 → 0.2.5

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: 8dfec330bff6d5d502e675e8735f53583d62b52c
4
- data.tar.gz: aef12432b2608aa887e15520e2272384c0246fac
3
+ metadata.gz: 6a483a30bc314a4e2f8664d2549dcd6220c4143f
4
+ data.tar.gz: ea127beb180f262c57314c936c186971a5f68421
5
5
  SHA512:
6
- metadata.gz: bde04240bf206d50d1f5365e08a0ba95fbc4377959bcebf914c8b77b88c2e8288a97b4f4eef0d14a8d4c60a7733a8a0d69f6aa5e354d373c77221b506299be82
7
- data.tar.gz: 3e44b780dc1035fe0e1217dae0fe7c29fc3300d8c967b6dd469a2dda997c234f6baa510414ecda1fe6312ffa1d2cba56672ffca002f92faa5e06c93b9c820046
6
+ metadata.gz: 6fc14dc2d8df9b844439f0d70e2dfd7de05c09cc446fc6c5b272b32937383da00580cfbddd57487842dc18079df5bdc73bf4f2e249d8d0f547eeaae93f6953f1
7
+ data.tar.gz: 130b6b32dd15e2f8007186aacb9353bea866f8dbe3493523decaf0d419060b61e9b7a15392ed8111623e6cc9f63db7063f67b38686793f6f4b50e5272baf7bba
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
@@ -50,11 +50,15 @@ module FlightPlanCli
50
50
 
51
51
  def fetch
52
52
  puts 'Fetching...'.green
53
- git.remotes.each { |remote| remote.fetch(credentials: ssh_agent) }
53
+ git.remotes.each { |remote| remote.fetch(credentials: credentials) }
54
54
  end
55
55
 
56
- def ssh_agent
57
- @ssh_agent ||= Rugged::Credentials::SshKeyFromAgent.new(username: 'git')
56
+ def credentials
57
+ @ssh_agent ||= Rugged::Credentials::SshKey.new(
58
+ username: 'git',
59
+ publickey: File.expand_path('~/.ssh/id_rsa.pub'),
60
+ privatekey: File.expand_path('~/.ssh/id_rsa')
61
+ )
58
62
  end
59
63
  end
60
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flight_plan_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Cleary