stash-api 1.1.26.0 → 1.1.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/stash-api/client.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmE3ZmJjYTllZGFkYWY5NDU5OGQxZjQ4ZjAyNTNlZWU1NjA1M2I3ZA==
4
+ MTVhMzBjOTI2YmFmYjIwODBmOTgzN2E4OWVkNDliNDdiZmM1Y2ZjZQ==
5
5
  data.tar.gz: !binary |-
6
- YTZlNWNjYjI2NmIwNjhjZDBjZjk5YjgxMmQzYWRiNGVhNmVlZjVlNA==
6
+ ZjkzYzgzNjM0NThiNWU0YWY5ZGU4NzgzZTM2YTk5ZjA4YmMxODIyNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2U4ZGExNTc4MzFkZGFjMDMzZTYwNDllZGRlMDRiNjRiYzRiMjgzMjI0MDQ1
10
- ZDNjYzk2ZTY0NTAxZDExNGUyM2YxNGI0MjMyNzJjOGM1ZjA4YjMyZDc5ZjRk
11
- NjdiYThiOTc2NmY2Y2M2Yjc0NDRlZmEyOTA3ZmUwMjY4NDhkNjc=
9
+ MmI5ZTY1M2M5MTQzY2RmNjEwMjc3YjgxZTRlMDNjMjM1ZjA5NTQzNWVlZTJi
10
+ Y2U4NmNiNWU0MTRiNTU4M2MwYzE0N2VhNWQ5MGY3MzM5ZjBiMGRkNjUyZjkx
11
+ NjVhYTQ4ODlhODE0ZjAxNmQyZjM1YmY5MTJmZTNmYTVlYTk3Yzk=
12
12
  data.tar.gz: !binary |-
13
- MzZjM2IyNjFlZjg2Y2YzMWRmZGIyMzVlNzUwNjhmNjBlNzgzN2NmMjc3ZmVl
14
- MWRjNTk5YTcyNDNjMDI5NjAxOTUzY2MzYjkxYzdkNDNhYTYzY2EwNThmMTI1
15
- NDIzZTdlOWVmZjUxNjA2NzMyYzU4YTBiZjczNjk2ODE3MDhlMTE=
13
+ ZTQzNDkwMWYzNGU3MWIwNjkzMzU5YjJhOGQ2OWM2ZjBlNjE5YzIxYWExYTUz
14
+ Y2VmZTMxOGE4MjE0OTIxMzgyZDQ0NWNiOTVmMDExMTIwODI3YmIyY2M3M2Jk
15
+ YzE2ZjA5MjAyNTBiZjRmYTQ5MWMzNGU0NzYwMGY0ZGI3ZDk4Yzg=
@@ -32,8 +32,8 @@ module Stash
32
32
  :user => @username,
33
33
  :password => @password,
34
34
  :headers => { :accept => :json, :content_type => :json }).execute do |response, request, result|
35
- repository_information = JSON::pretty_generate(JSON.parse(response.body))
36
- raise "Could not retrieve repository information - #{repository_information}" if !response.code.to_s.match(/^2\d{2}$/)
35
+ repository_information = JSON.parse(response.body)
36
+ raise "Could not retrieve repository information - #{JSON::pretty_generate(repository_information)}" if !response.code.to_s.match(/^2\d{2}$/)
37
37
  end
38
38
  @ssh_url = repository_information['links']['clone'].select{|link| link['name'].match(/^ssh$/i)}.first['href']
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stash-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.26.0
4
+ version: 1.1.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Warren Parad