aptly_cli 0.1.6 → 0.1.7

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWI4Mzg5ZGUxMmQ1YzNmMDFjOTNkZjYyMWQyMTQ1NDEyNzZhZDgxZQ==
4
+ MGE5MTc5ZDZjYWY5NWViNjFiNTYwZWY4YzNhZmZjOTQxM2VmMmI3Mw==
5
5
  data.tar.gz: !binary |-
6
- OTNkNmVmOTZlYjFiNzVkZmU4NGQ0ZjdkYmUzYmIxNWIzNTA2ZDI1Ng==
6
+ Y2FjODYyYTMyN2ViMmE2NTljM2RmNGE3OWIzMzNiNjFlYzVhMTAzZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDVhYTcwZmFiMmVhNTU2MTYzODUzNmQwNDllZjlkOTMzZjI4ZTQzZTgzYWEw
10
- ZjlmMzFhZmY1ODBlMmRhNWVmN2UxYmE5ZjljNzJhNjNiNzBlNjI4NDNkZThh
11
- YTI1NDg3OWFjYjJjNDJmNjQ1NGY0NGViYTc4NTVkNjg0Yzk0MTA=
9
+ ZDZlNzI2OTQ1MzdhNzVkY2VlNGY0ZGUzMTA4ZDIwYTIzMmI0NjgyMjc3OGI1
10
+ YjNlMzFjZDk1NjUxMjhlN2NhYWI5Y2I1MDNmODc4ZWQyYjEzNDZiMzMxNzgy
11
+ NzAxNmYxNjRlYjgzODgyMGE3ODNjZjRjM2IyM2Q3YWE4OTY5YWQ=
12
12
  data.tar.gz: !binary |-
13
- MTlhNTI4YjQ5ODk4YzA4NzM5N2IyOGUyZmJmZDgxYjNlYTM0MzViMGFlM2Fj
14
- NGFlODBiMjlhY2I2YWMzNjBlZDljODIxZmFmZWNjM2ZjOWE4MTQzMDExM2Y3
15
- NjM3YzJkMTI2OWMxNjAzNjVjNjIxMmY5MmIxZDYwMmI5ZjVlMzA=
13
+ MWQzNjZkYWYyZTI0NjJiODgwZjYyOTY5NjhhZDFhYTMyNjYxMWUxZjQzMTY5
14
+ MTIwM2I0MzZlY2RiZjk3Y2U2MzU5YTc1Mjk1NDRlYmY0NjMwNTk1MjJiODM4
15
+ NDA3ZTA4NWFjNDhlM2Y2NGU3OTVkMTcyMjE1MDJjNWFmNmU4MTc=
data/bin/aptly-cli CHANGED
@@ -5,7 +5,7 @@ require 'rubygems'
5
5
  require 'commander/import'
6
6
  require 'aptly_cli'
7
7
 
8
- program :version, '0.1.6'
8
+ program :version, '0.1.7'
9
9
  program :description, 'Aptly repository API client'
10
10
 
11
11
  command :file_list do |c|
data/bin/console CHANGED
File without changes
data/bin/setup CHANGED
File without changes
@@ -1,3 +1,3 @@
1
1
  module AptlyCli
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/aptly_repo.rb CHANGED
@@ -120,18 +120,18 @@ module AptlyCli
120
120
 
121
121
  json_response = JSON.parse(response.body)
122
122
 
123
- unless json_response["failedFiles"].empty?
123
+ unless json_response["FailedFiles"].empty?
124
124
  begin
125
125
  rescue StandardError => e
126
- puts "Files that failed to upload... #{json_response["failedFiles"]}"
126
+ puts "Files that failed to upload... #{json_response["FailedFiles"]}"
127
127
  puts e
128
128
  end
129
129
  end
130
130
 
131
- unless json_response["report"]["warnings"].empty?
131
+ unless json_response["Report"]["Warnings"].empty?
132
132
  begin
133
133
  rescue StandardError => e
134
- puts "File upload warning message[s]...#{json_response["report"]["warnings"]}"
134
+ puts "File upload warning message[s]...#{json_response["Report"]["Warnings"]}"
135
135
  puts e
136
136
  end
137
137
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptly_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler