smart_proxy_pulp 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2cfca5cf9a70d4e21a551238e05bf7cfd7021bbd
4
- data.tar.gz: 9f70189e1dac7544f34ddd7f7983106268333dd1
5
- SHA512:
6
- metadata.gz: 573fd5cd53098343c9e6daa779c127562fd7017a461dedcac0692480203a3312300779f06cc249bcc56f5882350493ada62c98a02dc2e96d5cdc6d97d6732a66
7
- data.tar.gz: af4aaee752664afe0394559852ec62ec76f55db52b9c79450c54e08762ef75babbe8680c3f3f92cb3cb2c1c95b387f4163c2eb1967e60678c05b445a8ee6c874
1
+ ---
2
+ SHA512:
3
+ data.tar.gz: 9715773f6848f17c6cc187e45216f691d2ca409880e6c6517ccded0fd93212085cd3609608caeb32e860e0fd415c8e82cc444e0afa574d3ecc45ec4fef3a4ba6
4
+ metadata.gz: ce1c540879134ec42f46b8fffa3b5fb741045d50d4d3af5537b084d2d42a4e972640afb6e1a29cf8e91b57e90172e876b1c7a6937866c0c8dc842ea84ba7bf66
5
+ SHA1:
6
+ data.tar.gz: acfcc667bd6786b91f23002e369e21616a572b9a
7
+ metadata.gz: f0d4f3cc1953e3a7078578ec6c05ab4d62c3b233
@@ -30,7 +30,7 @@ module PulpProxy
30
30
  end
31
31
 
32
32
  def command
33
- [command_path, "-B", "#{size}", *path]
33
+ [command_path, "-P", "-B", "#{size}", *path]
34
34
  end
35
35
 
36
36
  # Inspired and copied from Facter
@@ -95,8 +95,8 @@ module PulpProxy
95
95
 
96
96
 
97
97
  def normalize_titles(raw)
98
- replacers = {"mounted on" => :mounted, "use%" => :percent}
99
- raw.shift.downcase.gsub(/(use%|mounted on)/) { |m| replacers.fetch(m,m)}.split.map(&:to_sym)
98
+ replacers = {"mounted on" => :mounted, "capacity" => :percent, "1024-blocks" => :"1k-blocks" }
99
+ raw.shift.downcase.gsub(/(capacity|mounted on|1024-blocks)/) { |m| replacers.fetch(m,m)}.split.map(&:to_sym)
100
100
  end
101
101
 
102
102
  def normalize_values(values)
@@ -1,3 +1,3 @@
1
1
  module PulpProxy
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,129 +1,115 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_pulp
3
- version: !ruby/object:Gem::Version
4
- version: 1.2.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.2
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Dmitri Dolguikh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-07 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2016-07-15 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: test-unit
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2'
20
- type: :development
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '2'
27
- - !ruby/object:Gem::Dependency
28
- name: mocha
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1'
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: "2"
34
22
  type: :development
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
25
+ name: mocha
35
26
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1'
41
- - !ruby/object:Gem::Dependency
42
- name: webmock
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1'
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: "1"
48
32
  type: :development
33
+ version_requirements: *id002
34
+ - !ruby/object:Gem::Dependency
35
+ name: webmock
49
36
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1'
55
- - !ruby/object:Gem::Dependency
56
- name: rack-test
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0'
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: "1"
62
42
  type: :development
43
+ version_requirements: *id003
44
+ - !ruby/object:Gem::Dependency
45
+ name: rack-test
63
46
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '10'
47
+ requirement: &id004 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ~>
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
76
52
  type: :development
53
+ version_requirements: *id004
54
+ - !ruby/object:Gem::Dependency
55
+ name: rake
77
56
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '10'
83
- description: |2
84
- Basic Pulp support for Foreman Smart-Proxy
85
- email:
57
+ requirement: &id005 !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: "10"
62
+ type: :development
63
+ version_requirements: *id005
64
+ description: " Basic Pulp support for Foreman Smart-Proxy\n"
65
+ email:
86
66
  - dmitri@redhat.com
87
67
  executables: []
68
+
88
69
  extensions: []
70
+
89
71
  extra_rdoc_files: []
90
- files:
91
- - Gemfile
92
- - LICENSE
72
+
73
+ files:
93
74
  - bundler.d/pulp.rb
94
75
  - lib/smart_proxy_pulp.rb
95
- - lib/smart_proxy_pulp_plugin/disk_usage.rb
96
- - lib/smart_proxy_pulp_plugin/pulp_api.rb
97
76
  - lib/smart_proxy_pulp_plugin/pulp_client.rb
77
+ - lib/smart_proxy_pulp_plugin/pulp_node_plugin.rb
78
+ - lib/smart_proxy_pulp_plugin/version.rb
98
79
  - lib/smart_proxy_pulp_plugin/pulp_http_config.ru
99
80
  - lib/smart_proxy_pulp_plugin/pulp_node_http_config.ru
100
- - lib/smart_proxy_pulp_plugin/pulp_node_plugin.rb
81
+ - lib/smart_proxy_pulp_plugin/disk_usage.rb
101
82
  - lib/smart_proxy_pulp_plugin/pulp_plugin.rb
102
- - lib/smart_proxy_pulp_plugin/version.rb
83
+ - lib/smart_proxy_pulp_plugin/pulp_api.rb
103
84
  - settings.d/pulp.yml.example
104
85
  - settings.d/pulpnode.yml.example
86
+ - LICENSE
87
+ - Gemfile
105
88
  homepage: https://github.com/theforeman/smart-proxy-pulp-plugin
106
- licenses:
89
+ licenses:
107
90
  - GPLv3
108
91
  metadata: {}
92
+
109
93
  post_install_message:
110
94
  rdoc_options: []
111
- require_paths:
95
+
96
+ require_paths:
112
97
  - lib
113
- required_ruby_version: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- required_rubygems_version: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: '0'
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - &id006
101
+ - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: "0"
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - *id006
123
107
  requirements: []
108
+
124
109
  rubyforge_project:
125
- rubygems_version: 2.4.8
110
+ rubygems_version: 2.0.14
126
111
  signing_key:
127
112
  specification_version: 4
128
113
  summary: Basic Pulp support for Foreman Smart-Proxy
129
114
  test_files: []
115
+