knife-reporting 0.3.2 → 0.4.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 +7 -0
  2. data/lib/chef/knife/runs_show.rb +4 -1
  3. metadata +18 -20
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4f660f990cd6ad84eebea3321906cd40bd1df648
4
+ data.tar.gz: c4106ee29d363cf57503a4b56f9c629fbe45e370
5
+ SHA512:
6
+ metadata.gz: 60ce80e350766689b9e74b0978cd5196be0ff7b21c4a878862ee261fd42d511590920db1491c9239ae9733ff8030a53876a0dbfcf7db475599a2835c8aa47cb5
7
+ data.tar.gz: d0c18d71a6b997185d34a48acc7638364cded63ace3b79cd77cda500f6b130715e73d3065c17ae070ba3d974170659fc2891a4d83a3cbeced8401992eab86053
@@ -53,9 +53,12 @@ class Chef
53
53
 
54
54
  runs = rest.get(query_string, false, HEADERS)
55
55
 
56
+ if runs['run_detail']['updated_res_count'] > runs['run_resources'].length
57
+ all_query = "#{query_string}?start=0&rows=#{runs['run_detail']['updated_res_count']}"
58
+ runs = rest.get(all_query, false, HEADERS)
59
+ end
56
60
  output(runs)
57
61
  end
58
-
59
62
  end
60
63
  end
61
64
  end
metadata CHANGED
@@ -1,34 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-reporting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
5
- prerelease:
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
- - Matthew Peck
7
+ - Chef Software, Inc.
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: mixlib-cli
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 1.2.2
19
+ version: '1.5'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 1.2.2
30
- description: Knife plugin for Opscode Reporting
31
- email: matthew@opscode.com
26
+ version: '1.5'
27
+ description: Knife plugin for Opscode Reporting. Adds two new commands 'knife runs
28
+ show' and 'knife runs list'.
29
+ email: info@getchef.com
32
30
  executables: []
33
31
  extensions: []
34
32
  extra_rdoc_files:
@@ -41,29 +39,29 @@ files:
41
39
  - lib/chef/knife/runs_list.rb
42
40
  - lib/chef/knife/runs_show.rb
43
41
  - lib/chef/reporting/knife_helpers.rb
44
- homepage: http://www.opscode.com
45
- licenses: []
42
+ homepage: http://www.getchef.com/
43
+ licenses:
44
+ - Apache 2
45
+ metadata: {}
46
46
  post_install_message:
47
47
  rdoc_options: []
48
48
  require_paths:
49
49
  - lib
50
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
- none: false
52
51
  requirements:
53
- - - ! '>='
52
+ - - ">="
54
53
  - !ruby/object:Gem::Version
55
54
  version: '0'
56
55
  required_rubygems_version: !ruby/object:Gem::Requirement
57
- none: false
58
56
  requirements:
59
- - - ! '>='
57
+ - - ">="
60
58
  - !ruby/object:Gem::Version
61
59
  version: '0'
62
60
  requirements: []
63
61
  rubyforge_project:
64
- rubygems_version: 1.8.23
62
+ rubygems_version: 2.2.2
65
63
  signing_key:
66
- specification_version: 3
64
+ specification_version: 4
67
65
  summary: Knife plugin for Opscode Reporting
68
66
  test_files: []
69
67
  has_rdoc: false