alvid 0.2.2 → 0.2.3

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: 5e356b5b51beda79782d42e969bc61e7bf35d99f
4
- data.tar.gz: f3727bb5e738003625c4600e2a531e38419bdbd1
3
+ metadata.gz: cd05ff7638cabce80594055e5c582ed633ec9d70
4
+ data.tar.gz: 8f88136c2b4dd98dee4335410826b1265368c05b
5
5
  SHA512:
6
- metadata.gz: 22275b17ac0a0f48c235ba6f6eaf33fdddc43ce0b424d823981bad06753e89ecc52307e9e0a5c92c967b76513cdda7a931486a7a41badaf87a4ecf141063cb72
7
- data.tar.gz: 516a0a59d3ffa4d893db31f03d10413f2de73c247e655ceeef2a0abaf8a412aa7ad81639d032ac4302c8c8d4e444115ca6b55ce0f273206b30bf87826421bee1
6
+ metadata.gz: bf78bdb56eb6744c70325ba541f0745d4a19c2c9eaf418f12e8d3286a6c3617691fea078fd904300c663daeeb1e3f2f671746061ead42a1dbea92580ab83b94b
7
+ data.tar.gz: c6d86e3f3b50cab8d68d79035f90fef6966276b5a83653eef158e7ba18c4b89e3092adbd59c73d6132552dddff4dadb73971aed43d8ea8af82f1bef39b579eac
@@ -16,7 +16,7 @@ class Alvid::Github
16
16
  def create_repository(repo_name, organization)
17
17
  @client.create_repository(repo_name, {:organization=>organization})
18
18
  keypair = Alvid::Keypair.new
19
- @client.add_deploy_key(repo_name, "#{repo_name}-dk", keypair.pub)
19
+ @client.add_deploy_key( "#{organization}/#{repo_name}" , "#{repo_name}-dk", keypair.pub)
20
20
  keypair.pri
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Alvid
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -33,7 +33,7 @@ describe Alvid::Github do
33
33
  end
34
34
 
35
35
  it 'should upload public key' do
36
- expect_any_instance_of(Octokit::Client).to receive(:add_deploy_key).with(repo_name, "#{repo_name}-dk", keypair.pub )
36
+ expect_any_instance_of(Octokit::Client).to receive(:add_deploy_key).with("#{organization}/#{repo_name}", "#{repo_name}-dk", keypair.pub )
37
37
  github.create_repository(repo_name, organization)
38
38
  end
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alvid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Moran