cloudshare-sdk 0.1.0.dev → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,8 @@ require 'cloudshare-sdk/cs_low_api'
2
2
 
3
3
  module CloudshareSDK
4
4
  class CSHighApi
5
- def initialize(id, key, version=CSLowApi::DEFAULT_VERSION, host=CSLowApi::DEFAULT_HOST)
6
- @lowapi = CSLowApi.new(id, key, version, host)
5
+ def initialize(id, key, host=CSLowApi::DEFAULT_HOST, version=CSLowApi::DEFAULT_VERSION)
6
+ @lowapi = CSLowApi.new(id, key, host, version)
7
7
  end
8
8
 
9
9
  def call(category, command, params={})
@@ -54,11 +54,11 @@ module CloudshareSDK
54
54
  DEFAULT_HOST = "use.cloudshare.com"
55
55
  DEFAULT_VERSION = "v2"
56
56
 
57
- def initialize(id, key, version=DEFAULT_VERSION, host=DEFAULT_HOST)
57
+ def initialize(id, key, host=DEFAULT_HOST, version=DEFAULT_VERSION)
58
58
  @id = id
59
59
  @key = key
60
- @version = version
61
60
  @host = host
61
+ @version = version
62
62
  end
63
63
 
64
64
  def call(category, command, params={})
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudshare-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.dev
5
- prerelease: 6
4
+ version: 0.1.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Muly Gottlieb
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-09 00:00:00.000000000 Z
12
+ date: 2014-04-17 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'An SDK for developing applications in Ruby to connect to the CloudShare
15
15
  service using the CloudShare API. '
@@ -37,9 +37,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
37
37
  required_rubygems_version: !ruby/object:Gem::Requirement
38
38
  none: false
39
39
  requirements:
40
- - - ! '>'
40
+ - - ! '>='
41
41
  - !ruby/object:Gem::Version
42
- version: 1.3.1
42
+ version: '0'
43
43
  requirements: []
44
44
  rubyforge_project:
45
45
  rubygems_version: 1.8.28