runcible 2.11.1 → 2.12.0

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
1
  ---
2
- SHA1:
3
- metadata.gz: 197f7566ca85c46a6f3a45ff92a7dd1b5689c15e
4
- data.tar.gz: 3904d3de3f1addfbd7ba67072767dc0aafdf436b
2
+ SHA256:
3
+ metadata.gz: 0ca1cc8d900e4997aeadaf8b7f8bc5c105a5ac051082b325f9e2777f6b0d956d
4
+ data.tar.gz: 78e398e23fcf73d575d67990c8df5a931c60a513173dc7ec7717a0fab691e62e
5
5
  SHA512:
6
- metadata.gz: dca8d45b51d8b3d6a065a389eafb03e936b1521f10361efecd8703b5339a9219abc219093191ce8ae6af903cbfd59205d0030d16bb76c9b845bfe044524f728e
7
- data.tar.gz: 0047feae6907764f95f5d6056e849d1e21fa39af146a5eea49c0ad64e52ac1c02353707ecfd6a48399fc3b00805f8dbc58ff74647c18404e1b41c84145334629
6
+ metadata.gz: 8df76e49c929946aaf2685bdd904929eb413521044a448057a5d5aa2fc0e4cbf14671b8c0e3d812e30d9aa96000a90a5b3992fc767ede88d4cc79bf708cbdaa2
7
+ data.tar.gz: 3815e6e638bc05898d380ce0ac39bc31cb51a1bb9f3209523550df583124682736a96a83bb77ead9f2d1fc0691ba7c6f1f31ac60989bcf965899a1a88dce3493
@@ -0,0 +1,9 @@
1
+ module Runcible
2
+ module Extensions
3
+ class PackageEnvironment < Runcible::Extensions::Unit
4
+ def self.content_type
5
+ 'package_environment'
6
+ end
7
+ end
8
+ end
9
+ end
@@ -17,7 +17,6 @@ module Runcible
17
17
 
18
18
  def config
19
19
  to_ret = self.as_json
20
- to_ret.delete('auto_publish')
21
20
  to_ret.delete('id')
22
21
  to_ret
23
22
  end
@@ -173,9 +173,9 @@ module Runcible
173
173
  # @param [String] distributor_id the id of the distributor
174
174
  # @param [Hash] distributor_config attributes to change
175
175
  # @return [RestClient::Response]
176
- def update_distributor(id, distributor_id, distributor_config, optional = {})
176
+ def update_distributor(id, distributor_id, distributor_config)
177
177
  required = required_params(binding.send(:local_variables), binding, ['id', 'distributor_id'])
178
- call(:put, path("#{id}/distributors/#{distributor_id}/"), :payload => { :required => required, :optional => optional})
178
+ call(:put, path("#{id}/distributors/#{distributor_id}/"), :payload => { :required => required})
179
179
  end
180
180
 
181
181
  # Deletes the specified importer from the repository
@@ -1,3 +1,3 @@
1
1
  module Runcible
2
- VERSION = '2.11.1'.freeze
2
+ VERSION = '2.12.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runcible
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.1
4
+ version: 2.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric D Helms, Justin Sherrill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-20 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -146,6 +146,7 @@ files:
146
146
  - lib/runcible/extensions/module_default.rb
147
147
  - lib/runcible/extensions/ostree_branch.rb
148
148
  - lib/runcible/extensions/package_category.rb
149
+ - lib/runcible/extensions/package_environment.rb
149
150
  - lib/runcible/extensions/package_group.rb
150
151
  - lib/runcible/extensions/puppet_module.rb
151
152
  - lib/runcible/extensions/python_package.rb
@@ -208,8 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
209
  - !ruby/object:Gem::Version
209
210
  version: '0'
210
211
  requirements: []
211
- rubyforge_project:
212
- rubygems_version: 2.6.14
212
+ rubygems_version: 3.0.3
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: ''