cloudstack_helper 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,7 +16,6 @@ cloudstack_helper is a simple ruby library that helps making request to CloudSta
16
16
 
17
17
  params[:response] = "json"
18
18
  puts cs_helper.get(params).body
19
- ehelper.request :post, 'http://api.enstratus.com/api/enstratus/2011-02-24/admin/BillingCode', :data => json_data, :header => {'Accept' => 'application/json'}
20
19
  ```
21
20
 
22
21
  ## Executable Script Usage
@@ -7,7 +7,7 @@ require 'cloudstack_helper'
7
7
 
8
8
  options = []
9
9
  command = nil
10
- conf_file = "cloudstack.yaml"
10
+ conf_file = "cloudstack.yml"
11
11
  opts = OptionParser.new(nil, 24, ' ')
12
12
  opts.banner = 'Usage: cloudstack_rb -c conf -x command param1=value1 param2=value2'
13
13
  opts.on('-x', '--execute COMMAND', 'command to execute. See CloudStack API for list of commands.') do |opt|
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "cloudstack_helper"
7
+ s.version = "0.2"
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Darren Dao"]
10
+ s.email = ["darrendao@gmail.com"]
11
+ s.homepage = "https://github.com/darrendao/cloudstack_helper"
12
+ s.summary = %q{cloudstack_helper is a simple ruby library that helps making request to CloudStack API easier.}
13
+ s.description = %q{cloudstack_helper is a simple ruby library that helps making request to CloudStack API easier. With cloudstack_helper, you only have to specify the command the parameters for the request and it will handle everything for you.}
14
+
15
+ s.add_runtime_dependency 'rest-client', '~> 1.6.7'
16
+ s.add_development_dependency 'yard', '~> 0.7'
17
+
18
+ s.files = `git ls-files`.split("\n")
19
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
+ s.require_paths = ["lib"]
22
+ s.extra_rdoc_files = ["README.md"]
23
+ end
24
+
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack_helper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- version: "0.1"
8
+ - 2
9
+ version: "0.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Darren Dao
@@ -59,6 +59,7 @@ extra_rdoc_files:
59
59
  files:
60
60
  - README.md
61
61
  - bin/cloudstack_rb
62
+ - cloudstack_helper.gemspec
62
63
  - lib/cloudstack_helper.rb
63
64
  homepage: https://github.com/darrendao/cloudstack_helper
64
65
  licenses: []