oc 0.1.0 → 0.1.1

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
2
  SHA1:
3
- metadata.gz: 9c6c540ce620b7a8a9f090f8c278a0276c2b39d3
4
- data.tar.gz: c700040a0a0e3adae614b1ea625d2e4f3ad50d91
3
+ metadata.gz: 45bf4a3cafa6f5c9ae309cc8cc8c9b1a829e41a6
4
+ data.tar.gz: 12cf0dd90bad47e3fc4c98080dde66671a1f1d2b
5
5
  SHA512:
6
- metadata.gz: ae2d17626a62a4c46fea3c7aa8abb205679feb991b0f47f194bf2a68c13c5602ea7cfec52af79816ba92780ca3f69a9da7bc44b845a5f7a669e73ade720b1f22
7
- data.tar.gz: 5af617b6443dedb5c07ba8cb5f5dd20b26aecaa9866d8fa1143361603d5d7e878333149b7232988d5fd53ede46b1f7a16b3ba2ebab1caa3786abffbf1041e2d0
6
+ metadata.gz: 63587b4884e58e78ac41e515fa76adbf5c62e71fcf5122db5024f2d6057d0c00d921d21eb5ac4cd4f4cdc7de16db4a2dbe53284238b558c9624df4dfa7d99d87
7
+ data.tar.gz: 8ec7a04cba4c5463c6431c4e6e46b4c51e01cdd195125dcd6ad6d70760d1beed457f02f96b63879ad2fbca845128a73db2116a4a662f5aa12ac496dee311a743
data/README.md CHANGED
@@ -103,10 +103,10 @@ Or install it yourself as:
103
103
  ## Information
104
104
  <pre>
105
105
  Show API Key and Client ID
106
- $ co info show
106
+ $ oc info show
107
107
 
108
108
  Change Information
109
- $ co info change
109
+ $ oc info change
110
110
  </pre>
111
111
 
112
112
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module Oc
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -51,10 +51,8 @@ module Oc::Run
51
51
  puts "Usage".yellow
52
52
  puts "$ oc droplets new [DROPLET_NAME] [SIZE_ID] [IMAGE_ID] [REGION_ID]".yellow
53
53
  else
54
- raise ArgumentError, "Argument Error - #{size}" unless size =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
55
- raise ArgumentError, "Argument Error - #{image_id}" unless image_id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
56
54
 
57
- result = barge.droplet.create({:name => name, :region => region_id, :size => size_id, :image => image_id})
55
+ result = barge.droplet.create({:name => name, :region => region_id, :size => size, :image => image_id})
58
56
  if !result.success?
59
57
  puts "#{result.message}".red
60
58
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sedat Ciftci