katello_api 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +8 -8
  2. data/MIT-LICENSE +1 -1
  3. data/doc/KatelloApi/Base.html +2 -2
  4. data/doc/KatelloApi/Generator/Base.html +1 -1
  5. data/doc/KatelloApi/Generator.html +1 -1
  6. data/doc/KatelloApi/Resources/About.html +1 -1
  7. data/doc/KatelloApi/Resources/ActivationKey.html +1 -1
  8. data/doc/KatelloApi/Resources/Architecture.html +1 -1
  9. data/doc/KatelloApi/Resources/Changeset.html +1 -1
  10. data/doc/KatelloApi/Resources/ChangesetsContent.html +1 -1
  11. data/doc/KatelloApi/Resources/ComputeResource.html +1 -1
  12. data/doc/KatelloApi/Resources/ConfigTemplate.html +1 -1
  13. data/doc/KatelloApi/Resources/ContentUpload.html +1 -1
  14. data/doc/KatelloApi/Resources/ContentView.html +1 -1
  15. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1 -1
  16. data/doc/KatelloApi/Resources/Crl.html +1 -1
  17. data/doc/KatelloApi/Resources/CustomInfo.html +1 -1
  18. data/doc/KatelloApi/Resources/Distribution.html +1 -1
  19. data/doc/KatelloApi/Resources/Distributor.html +1 -1
  20. data/doc/KatelloApi/Resources/Domain.html +1 -1
  21. data/doc/KatelloApi/Resources/Environment.html +1 -1
  22. data/doc/KatelloApi/Resources/Erratum.html +1 -1
  23. data/doc/KatelloApi/Resources/Filter.html +1 -1
  24. data/doc/KatelloApi/Resources/FilterRule.html +1 -1
  25. data/doc/KatelloApi/Resources/GpgKey.html +1 -1
  26. data/doc/KatelloApi/Resources/HardwareModel.html +1 -1
  27. data/doc/KatelloApi/Resources/Organization.html +2 -2
  28. data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +1 -1
  29. data/doc/KatelloApi/Resources/Package.html +1 -1
  30. data/doc/KatelloApi/Resources/Permission.html +1 -1
  31. data/doc/KatelloApi/Resources/Ping.html +1 -1
  32. data/doc/KatelloApi/Resources/Product.html +35 -22
  33. data/doc/KatelloApi/Resources/Provider.html +67 -41
  34. data/doc/KatelloApi/Resources/PuppetModule.html +1 -1
  35. data/doc/KatelloApi/Resources/Repository.html +1 -1
  36. data/doc/KatelloApi/Resources/RepositorySet.html +1 -1
  37. data/doc/KatelloApi/Resources/Role.html +1 -1
  38. data/doc/KatelloApi/Resources/RoleLdapGroup.html +1 -1
  39. data/doc/KatelloApi/Resources/SmartProxy.html +1 -1
  40. data/doc/KatelloApi/Resources/Statu.html +1 -1
  41. data/doc/KatelloApi/Resources/Status.html +1 -1
  42. data/doc/KatelloApi/Resources/Subnet.html +1 -1
  43. data/doc/KatelloApi/Resources/Subscription.html +21 -34
  44. data/doc/KatelloApi/Resources/Sync.html +1 -1
  45. data/doc/KatelloApi/Resources/SyncPlan.html +1 -1
  46. data/doc/KatelloApi/Resources/System.html +1 -1
  47. data/doc/KatelloApi/Resources/SystemErratum.html +1 -1
  48. data/doc/KatelloApi/Resources/SystemGroup.html +1 -1
  49. data/doc/KatelloApi/Resources/SystemGroupErratum.html +1 -1
  50. data/doc/KatelloApi/Resources/SystemGroupPackage.html +1 -1
  51. data/doc/KatelloApi/Resources/SystemPackage.html +1 -1
  52. data/doc/KatelloApi/Resources/SystemsBulkAction.html +1 -1
  53. data/doc/KatelloApi/Resources/Task.html +1 -1
  54. data/doc/KatelloApi/Resources/Template.html +1 -1
  55. data/doc/KatelloApi/Resources/TemplatesContent.html +1 -1
  56. data/doc/KatelloApi/Resources/Uebercert.html +1 -1
  57. data/doc/KatelloApi/Resources/User.html +1 -1
  58. data/doc/KatelloApi/Resources.html +1 -1
  59. data/doc/KatelloApi.html +1 -1
  60. data/doc/_index.html +1 -1
  61. data/doc/file.README.html +1 -1
  62. data/doc/index.html +1 -1
  63. data/doc/top-level-namespace.html +1 -1
  64. data/katello_api.gemspec +7 -6
  65. data/lib/katello_api/base.rb +1 -1
  66. data/lib/katello_api/documentation.json +1 -1
  67. data/lib/katello_api/resources/organization.rb +1 -1
  68. data/lib/katello_api/resources/product.rb +1 -0
  69. data/lib/katello_api/resources/provider.rb +5 -3
  70. data/lib/katello_api/resources/subscription.rb +1 -2
  71. data/lib/katello_api/version.rb +1 -1
  72. metadata +17 -17
  73. data/Rakefile +0 -1
data/doc/KatelloApi.html CHANGED
@@ -351,7 +351,7 @@
351
351
  </div>
352
352
 
353
353
  <div id="footer">
354
- Generated on Wed Jan 15 20:45:13 2014 by
354
+ Generated on Tue Jan 21 10:17:54 2014 by
355
355
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
356
356
  0.8.7.3 (ruby-1.9.3).
357
357
  </div>
data/doc/_index.html CHANGED
@@ -608,7 +608,7 @@
608
608
  </div>
609
609
 
610
610
  <div id="footer">
611
- Generated on Wed Jan 15 20:45:13 2014 by
611
+ Generated on Tue Jan 21 10:17:54 2014 by
612
612
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
613
613
  0.8.7.3 (ruby-1.9.3).
614
614
  </div>
data/doc/file.README.html CHANGED
@@ -124,7 +124,7 @@ use of OAuth with the bindings you only have to change the params</p>
124
124
  </div></div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Wed Jan 15 20:45:13 2014 by
127
+ Generated on Tue Jan 21 10:17:54 2014 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.7.3 (ruby-1.9.3).
130
130
  </div>
data/doc/index.html CHANGED
@@ -124,7 +124,7 @@ use of OAuth with the bindings you only have to change the params</p>
124
124
  </div></div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Wed Jan 15 20:45:13 2014 by
127
+ Generated on Tue Jan 21 10:17:54 2014 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.7.3 (ruby-1.9.3).
130
130
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Wed Jan 15 20:45:13 2014 by
106
+ Generated on Tue Jan 21 10:17:54 2014 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.3 (ruby-1.9.3).
109
109
  </div>
data/katello_api.gemspec CHANGED
@@ -3,25 +3,26 @@ require File.expand_path('../lib/katello_api/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Katello"]
6
- gem.email = ["katello-devel@redhat.com"]
6
+ gem.email = ["katello@lists.fedorahosted.org"]
7
+ gem.license = "MIT"
7
8
  gem.description = %q{Helps you to use Katello's API calls from your app}
8
9
  gem.summary = %q{Ruby bindings for Katello's API}
9
10
  gem.homepage = "http://github.com/katello/katello_api"
10
11
 
11
12
  gem.files = `git ls-files`.split($\)
12
- #gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
 
14
14
  gem.files.reject! do |fn|
15
15
  fn.start_with?("lib/katello_api/generator") ||
16
16
  fn == 'bin/generate.rb' ||
17
- fn == 'rubygem-katello_api.spec'
17
+ fn == 'rubygem-katello_api.spec' ||
18
+ fn == 'Rakefile'
18
19
  end
19
20
 
20
21
  gem.name = "katello_api"
21
22
  gem.require_paths = ["lib"]
22
23
  gem.version = KatelloApi::VERSION
23
24
 
24
- gem.add_dependency('json')
25
- gem.add_dependency('rest-client', '>= 1.6.1')
26
- gem.add_dependency('oauth')
25
+ gem.add_dependency 'json', '~> 1.8'
26
+ gem.add_dependency 'rest-client', '~> 1.6'
27
+ gem.add_dependency 'oauth', '~> 0.4'
27
28
  end
@@ -56,7 +56,7 @@ module KatelloApi
56
56
 
57
57
  args = [http_method]
58
58
  if %w[post put].include?(http_method.to_s)
59
- args << params.to_json
59
+ args << params
60
60
  else
61
61
  headers[:params] = params if params
62
62
  end