oc 0.0.7 → 0.0.8

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: 638a377d275bbd68480111848d4f86e74e12b53f
4
- data.tar.gz: 2954b0c26c357b464cf3aee3f73c5febbb16fdf4
3
+ metadata.gz: d117af6f190633d90c279830b34b373a6de057b5
4
+ data.tar.gz: da3130d2c44f668ff658c7ef18067ee62dc1c9ee
5
5
  SHA512:
6
- metadata.gz: 89ba27daca1a8f8fc1a22e8d77d0d2085de5e802e9fa68d5479f13a6811ba90825507bef5442ca829dfb67de38d01aa88364a060e0b0c6c1480836c6993b3b7b
7
- data.tar.gz: 42859d67dd75009550276cd7c0edf8f68410699e6d14721734d5135b8560a0716720510cfdc95b6bdc5c1a6ec3bec1f87f2ba8dc205f0f600fc1f0fd9d75a721
6
+ metadata.gz: c240c1c999e3f7e1423b8a304d3ef1e34c8864c9564906b72a2979e9984566f133be76fe71b447288eeb87648255a10a5ecd40ecbe2489d83b259b12e10e1f88
7
+ data.tar.gz: 8acfa9362414b7b348a045699680506c371c602cd99b6b1c0c35145d7b2081187f0a3018d4f7e3ec182f5cf26e6830c58036310c5cc533c86fd2fa3c1e9c9b20
data/bin/oc CHANGED
@@ -11,11 +11,10 @@ bin_file = Pathname.new(__FILE__).realpath
11
11
  $:.unshift File.expand_path("../../lib", bin_file)
12
12
 
13
13
  config = Netrc.read("#{(ENV["HOME"] || "./")}/oc.netrc")
14
-
15
14
  if config["api.digitalocean.com"].nil?
16
- client_id = [(print 'Digital Ocean Client ID: '), STDIN.gets.rstrip][1]
17
- api_key = [(print 'Digital Ocean API Key: '), STDIN.gets.rstrip][1]
18
- config["api.digitalocean.com"] = client_id, api_key
15
+ api_key = [(print 'Access Tokens: '), STDIN.gets.rstrip][1]
16
+ client_id = "empty"
17
+ config["api.digitalocean.com"] = api_key, client_id
19
18
  config.save
20
19
  else
21
20
  require 'oc'
@@ -1,3 +1,3 @@
1
1
  module Oc
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -1,11 +1,10 @@
1
1
  module Oc
2
2
  class Config
3
3
  def self.get(key)
4
- config = Netrc.read("#{(ENV["HOME"] || "./")}/digitalocean.netrc")
4
+ config = Netrc.read("#{(ENV["HOME"] || "./")}/oc.netrc")
5
5
  config = config["api.digitalocean.com"]
6
6
  options = {
7
- :client_id => config[0],
8
- :api_key => config[1]
7
+ :api_key => config[0]
9
8
  }
10
9
  return options[:"#{key}"]
11
10
  end
@@ -1,5 +1,6 @@
1
1
  require "net/http"
2
2
  require "json"
3
+ require "barge"
3
4
  module Oc
4
5
  class Get
5
6
  def self.get_json path,filter=nil
@@ -10,6 +11,10 @@ module Oc
10
11
  result = JSON.parse(data)
11
12
  end
12
13
 
14
+ def self.get_barge
15
+ barge = ::Barge::Client.new(access_token: Oc::Config.get(:api_key))
16
+ end
17
+
13
18
 
14
19
  def self.get_json_parameter path, sub_path = nil ,parameters=[]
15
20
  url = "https://api.digitalocean.com/#{path}"
@@ -8,8 +8,8 @@ module Oc::Run
8
8
  description "Show Droplets"
9
9
  syntax "oc show"
10
10
  def show
11
- result = Oc::Get.get_json("droplets")
12
- if result["status"] == "ERROR"
11
+ result = barge.droplet.all
12
+ if !result.success?
13
13
  puts "Error: Please check your information".red
14
14
  else
15
15
  puts "Your Droplets".yellow
@@ -19,19 +19,17 @@ module Oc::Run
19
19
  'ID',
20
20
  'Name',
21
21
  'IP Address',
22
- 'Private Ip Address',
23
22
  'Status',
24
23
  'Created At'
25
24
  ]
26
25
 
27
- result["droplets"].each do |droplet|
26
+ result.droplets.each do |droplet|
28
27
  droplets << [
29
- droplet["id"],
30
- droplet["name"].red,
31
- droplet["ip_address"].red,
32
- droplet["private_ip_address"].nil? ? "Null".red : droplet["private_ip_address"],
33
- droplet["status"] == "active" ? "Active".green : "Deactive".red,
34
- droplet["created_at"]
28
+ droplet.id,
29
+ droplet.name.to_s.red,
30
+ droplet.ip_address.to_s.red,
31
+ droplet.status == "active" ? "Active".green : "Deactive".red,
32
+ droplet.created_at
35
33
  ]
36
34
  end
37
35
  table = Terminal::Table.new :rows => droplets
@@ -56,10 +54,9 @@ module Oc::Run
56
54
  raise ArgumentError, "Argument Error - #{size}" unless size =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
57
55
  raise ArgumentError, "Argument Error - #{image_id}" unless image_id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
58
56
 
59
- url = "https://api.digitalocean.com/droplets/new"
60
- result = Oc::Get.get_json_url(url,{"name" => name, "size_id" => size, "image_id" => image_id, "region_id" => region_id})
61
- if result["status"] == "ERROR"
62
- puts "#{result["message"]}".red
57
+ result = barge.droplet.create({:name => name, :region => region_id, :size => size_id, :image => image_id})
58
+ if !result.success?
59
+ puts "#{result.message}".red
63
60
  else
64
61
  puts "Droplet created".green
65
62
  end
@@ -77,10 +74,10 @@ module Oc::Run
77
74
  puts "$ oc droplets reboot [DROPLET_ID]".yellow
78
75
  else
79
76
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
80
- url = "https://api.digitalocean.com/droplets/#{id}/reboot"
81
- result = Oc::Get.get_json_url(url)
82
- if result["status"] == "ERROR"
83
- puts "#{result["message"]}".red
77
+
78
+ result = barge.droplet.reboot(id)
79
+ if !result.success?
80
+ puts "#{result.message}".red
84
81
  else
85
82
  puts "Droplet rebooted".green
86
83
  end
@@ -97,10 +94,9 @@ module Oc::Run
97
94
  puts "$ oc droplets cycle [DROPLET_ID]".yellow
98
95
  else
99
96
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
100
- url = "https://api.digitalocean.com/droplets/#{id}/power_cycle"
101
- result = Oc::Get.get_json_url(url)
102
- if result["status"] == "ERROR"
103
- puts "#{result["message"]}".red
97
+ result = barge.droplet.power_cycle(id)
98
+ if !result.success?
99
+ puts "#{result.message}".red
104
100
  else
105
101
  puts "Power cycle has been successful".green
106
102
  end
@@ -118,10 +114,9 @@ module Oc::Run
118
114
  puts "$ oc droplets down [DROPLET_ID]".yellow
119
115
  else
120
116
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
121
- url = "https://api.digitalocean.com/droplets/#{id}/shutdown"
122
- result = Oc::Get.get_json_url(url)
123
- if result["status"] == "ERROR"
124
- puts "#{result["message"]}".red
117
+ result = barge.droplet.shutdown(id)
118
+ if !result.success?
119
+ puts "#{result.message}".red
125
120
  else
126
121
  puts "Shut down has been successful".green
127
122
  end
@@ -139,10 +134,9 @@ module Oc::Run
139
134
  puts "$ oc droplets off [DROPLET_ID]".yellow
140
135
  else
141
136
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
142
- url = "https://api.digitalocean.com/droplets/#{id}/power_off"
143
- result = Oc::Get.get_json_url(url)
144
- if result["status"] == "ERROR"
145
- puts "#{result["message"]}".red
137
+ result = barge.droplet.power_off(id)
138
+ if !result.success?
139
+ puts "#{result.message}".red
146
140
  else
147
141
  puts "Power off has been successful".green
148
142
  end
@@ -160,10 +154,10 @@ module Oc::Run
160
154
  puts "$ oc droplets on [DROPLET_ID]".yellow
161
155
  else
162
156
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
163
- url = "https://api.digitalocean.com/droplets/#{id}/power_on"
164
- result = Oc::Get.get_json_url(url)
165
- if result["status"] == "ERROR"
166
- puts "#{result["message"]}".red
157
+
158
+ result = barge.droplet.power_on(id)
159
+ if !result.success?
160
+ puts "#{result.message}".red
167
161
  else
168
162
  puts "Power on has been successful".green
169
163
  end
@@ -182,10 +176,9 @@ module Oc::Run
182
176
  puts "$ oc droplets reset_password [DROPLET_ID]".yellow
183
177
  else
184
178
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
185
- url = "https://api.digitalocean.com/droplets/#{id}/password_reset"
186
- result = Oc::Get.get_json_url(url)
187
- if result["status"] == "ERROR"
188
- puts "#{result["message"]}".red
179
+ result = barge.droplet.password_reset(id)
180
+ if !result.success?
181
+ puts "#{result.message}".red
189
182
  else
190
183
  puts "Password restored. Please check your email".green
191
184
  end
@@ -205,10 +198,9 @@ module Oc::Run
205
198
  else
206
199
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
207
200
  raise ArgumentError, "Argument Error - #{id}" unless size_id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
208
- url = "https://api.digitalocean.com/droplets/#{id}/resize/"
209
- result = Oc::Get.get_json_url(url,{ "size" => size_id })
210
- if result["status"] == "ERROR"
211
- puts "#{result["error_message"]}".red
201
+ result = barge.droplet.resize(id, size: size_id)
202
+ if !result.success?
203
+ puts "#{result.message}".red
212
204
  else
213
205
  puts "Droplet resized".green
214
206
  end
@@ -226,10 +218,9 @@ module Oc::Run
226
218
  puts "$ oc droplets snaphot [DROPLET_ID] [SNAPSHOT_NAME]".yellow
227
219
  else
228
220
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
229
- url = "https://api.digitalocean.com/droplets/#{id}/snapshot"
230
- result = Oc::Get.get_json_url(url, {"name" => name})
231
- if result["status"] == "ERROR"
232
- puts "#{result["message"]}".red
221
+ result = barge.droplet.snapshot(id, name: name)
222
+ if !result.success?
223
+ puts "#{result.message}".red
233
224
  else
234
225
  puts "Snapshot generated.".green
235
226
  end
@@ -250,10 +241,9 @@ module Oc::Run
250
241
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
251
242
  raise ArgumentError, "Argument Error - #{image_id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
252
243
 
253
- url = "https://api.digitalocean.com/droplets/#{id}/restore"
254
- result = Oc::Get.get_json_url(url, {"image_id" => image_id})
255
- if result["status"] == "ERROR"
256
- puts "#{result["message"]}".red
244
+ result = barge.droplet.restore(id, image: image_id)
245
+ if !result.success?
246
+ puts "#{result.message}".red
257
247
  else
258
248
  puts "Droplets restored.".green
259
249
  end
@@ -274,10 +264,9 @@ module Oc::Run
274
264
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
275
265
  raise ArgumentError, "Argument Error - #{image_id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
276
266
 
277
- url = "https://api.digitalocean.com/droplets/#{id}/rebuild"
278
- result = Oc::Get.get_json_url(url, {"image_id" => image_id})
279
- if result["status"] == "ERROR"
280
- puts "#{result["message"]}".red
267
+ result = barge.droplet.rebuild(id, image: image_id)
268
+ if !result.success?
269
+ puts "#{result.message}".red
281
270
  else
282
271
  puts "Droplets rebuilded.".green
283
272
  end
@@ -296,16 +285,19 @@ module Oc::Run
296
285
  else
297
286
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
298
287
 
299
- url = "https://api.digitalocean.com/droplets/#{id}/rename"
300
- result = Oc::Get.get_json_url(url, {"name" => name})
301
- if result["status"] == "ERROR"
302
- puts "#{result["message"]}".red
288
+ result = barge.droplet.rename(id, name: name)
289
+ if !result.success?
290
+ puts "#{result.message}".red
303
291
  else
304
292
  puts "Droplets renamed.".green
305
293
  end
306
294
  end
307
295
  end
308
296
 
297
+ def barge
298
+ puts "I'm thinking, please wait..".blue
299
+ Oc::Get.get_barge
300
+ end
309
301
 
310
302
  private
311
303
  def config(value)
@@ -2,12 +2,10 @@ module Oc::Run
2
2
  class Images < Base
3
3
 
4
4
  description "This method returns all the available images that can be accessed by your client ID. You will have access to all public images by default, and any snapshots or backups that you have created in your own account."
5
- syntax "co images [FLAG true -> Show my images]"
5
+ syntax "co images"
6
6
  def run(*args)
7
- filter = args[0]
8
- if filter == "true"
9
- result = Oc::Get.get_json("images","my_images")
10
- if result["status"] == "ERROR"
7
+ result = barge.image.all
8
+ if !result.success?
11
9
  puts "Error: Please check your information".red
12
10
  else
13
11
  puts "Images".yellow
@@ -21,47 +19,18 @@ module Oc::Run
21
19
  'Regions'
22
20
  ]
23
21
 
24
- result["images"].each do |images|
22
+ result.images.each do |image|
25
23
  rows << [
26
- images["id"],
27
- images["name"].red,
28
- images["distribution"].red,
29
- images["public"] == true ? "True".green : "False".red,
30
- images["regions"].join(",").yellow
24
+ image.id,
25
+ image.name.to_s.red,
26
+ image.distribution.to_s.red,
27
+ image.public.to_s == "true" ? "True".green : "False".red,
28
+ image.regions.join(",").yellow
31
29
  ]
32
30
  end
33
31
  table = Terminal::Table.new :rows => rows
34
32
  puts table
35
33
  end
36
- else
37
- result = Oc::Get.get_json("images")
38
- if result["status"] == "ERROR"
39
- puts "Error: Please check your information".red
40
- else
41
- puts "Images".yellow
42
- rows = []
43
-
44
- rows << [
45
- 'ID',
46
- 'Name',
47
- 'Distribution',
48
- 'Public',
49
- 'Regions'
50
- ]
51
-
52
- result["images"].each do |images|
53
- rows << [
54
- images["id"],
55
- images["name"].red,
56
- images["distribution"].red,
57
- images["public"] == true ? "True".green : "False".red,
58
- images["regions"].join(",").yellow
59
- ]
60
- end
61
- table = Terminal::Table.new :rows => rows
62
- puts table
63
- end
64
- end
65
34
  end
66
35
 
67
36
  description "This method displays the attributes of an image."
@@ -74,11 +43,9 @@ module Oc::Run
74
43
  puts "$ oc images show [IMAGE_ID]".yellow
75
44
  else
76
45
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
77
-
78
- url = "https://api.digitalocean.com/images/#{id}/"
79
- result = Oc::Get.get_json_url(url)
80
- if result["status"] == "ERROR"
81
- puts "#{result["message"]}".red
46
+ result = barge.image.show(id)
47
+ if !result.success?
48
+ puts "#{result.message}".red
82
49
  else
83
50
  puts "Images".yellow
84
51
  rows = []
@@ -91,14 +58,14 @@ module Oc::Run
91
58
  'Regions'
92
59
  ]
93
60
 
94
- images = result["image"]
61
+ image = result.image
95
62
 
96
63
  rows << [
97
- images["id"],
98
- images["name"].red,
99
- images["distribution"].red,
100
- images["public"] == true ? "True".green : "False".red,
101
- images["regions"].join(",").yellow
64
+ image.id,
65
+ image.name.to_s.red,
66
+ image.distribution.to_s.red,
67
+ image.public.to_s == "true" ? "True".green : "False".red,
68
+ image.regions.join(",").yellow
102
69
  ]
103
70
 
104
71
  table = Terminal::Table.new :rows => rows
@@ -120,10 +87,9 @@ module Oc::Run
120
87
  puts "$ oc images destroy [IMAGE_ID]".yellow
121
88
  else
122
89
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
123
- url = "https://api.digitalocean.com/images/#{id}/destroy/"
124
- result = Oc::Get.get_json_url(url)
125
- if result["status"] == "ERROR"
126
- puts "#{result["message"]}".red
90
+ result = barge.image.destroy(id)
91
+ if !result.success?
92
+ puts "#{result.message}".red
127
93
  else
128
94
  puts "Image destroyed".green
129
95
  end
@@ -142,16 +108,19 @@ module Oc::Run
142
108
  else
143
109
  raise ArgumentError, "Argument Error - #{id}" unless id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
144
110
  raise ArgumentError, "Argument Error - #{id}" unless region_id =~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
145
- url = "https://api.digitalocean.com/images/#{id}/transfer/"
146
- result = Oc::Get.get_json_url(url,{ "region_id" => region_id })
147
- if result["status"] == "ERROR"
148
- puts "#{result["message"]}".red
111
+ result = barge.image.transfer(id, region: region_id)
112
+ if !result.success?
113
+ puts "#{result.message}".red
149
114
  else
150
115
  puts "Image transfered".green
151
116
  end
152
117
  end
153
118
  end
154
119
 
120
+ def barge
121
+ puts "I'm thinking, please wait..".blue
122
+ Oc::Get.get_barge
123
+ end
155
124
 
156
125
  end
157
126
  end
@@ -3,19 +3,17 @@ module Oc::Run
3
3
 
4
4
  description "Show your API information"
5
5
  def show
6
- puts "Client ID: #{Oc::Config.get("client_id")}".yellow
7
- puts "API Key: #{Oc::Config.get("api_key")}".yellow
6
+ puts "Access Tokens: #{Oc::Config.get("api_key")}".yellow
8
7
  end
9
8
 
10
9
  description "Change your API information"
11
10
  def change(*args)
12
11
  config = Netrc.read("#{(ENV["HOME"] || "./")}/digitalocean.netrc")
13
- client_id = [(print 'Digital Ocean Client ID: '), STDIN.gets.rstrip][1]
14
- api_key = [(print 'Digital Ocean API Key: '), STDIN.gets.rstrip][1]
15
- if client_id.empty? and api_key.empty?
12
+ api_key = [(print 'Access Tokens: '), STDIN.gets.rstrip][1]
13
+ if api_key.empty?
16
14
  puts "Please fill all fields".red
17
15
  else
18
- config["api.digitalocean.com"] = client_id, api_key
16
+ config["api.digitalocean.com"] = api_key
19
17
  config.save
20
18
  puts "Informations is changed".red
21
19
  end
@@ -3,8 +3,8 @@ module Oc::Run
3
3
  description "This method will return all the available regions within the DigitalOcean cloud."
4
4
  syntax "oc regions"
5
5
  def run
6
- result = Oc::Get.get_json("regions")
7
- if result["status"] == "ERROR"
6
+ result = barge.region.all
7
+ if !result.success?
8
8
  puts "Error: Please check your information".red
9
9
  else
10
10
  puts "Regions".yellow
@@ -15,15 +15,19 @@ module Oc::Run
15
15
  'Name'
16
16
  ]
17
17
 
18
- result["regions"].each do |droplet|
18
+ result.regions.each do |region|
19
19
  droplets << [
20
- droplet["id"],
21
- droplet["name"].red,
20
+ region.slug,
21
+ region.name.to_s.red,
22
22
  ]
23
23
  end
24
24
  table = Terminal::Table.new :rows => droplets
25
25
  puts table
26
26
  end
27
27
  end
28
+ def barge
29
+ puts "I'm thinking, please wait..".blue
30
+ Oc::Get.get_barge
31
+ end
28
32
  end
29
33
  end
@@ -4,9 +4,8 @@ module Oc::Run
4
4
  description "This method returns all the available sizes that can be used to create a droplet."
5
5
  syntax "oc sizes"
6
6
  def run
7
- url = "https://api.digitalocean.com/sizes"
8
- result = Oc::Get.get_json_url(url)
9
- if result["status"] == "ERROR"
7
+ result = barge.size.all
8
+ if !result.success?
10
9
  puts "Error: #{result["error_message"]}".red
11
10
  else
12
11
  puts "Sizes".yellow
@@ -14,18 +13,30 @@ module Oc::Run
14
13
 
15
14
  rows << [
16
15
  'ID',
17
- 'Name'
16
+ 'Memory',
17
+ 'Disk',
18
+ 'Cpu',
19
+ 'Price (Monthly)',
20
+ 'Price (Hourly)',
18
21
  ]
19
22
 
20
- result["sizes"].each do |key|
23
+ result.sizes.each do |size|
21
24
  rows << [
22
- key["id"],
23
- key["name"].red,
25
+ size.slug,
26
+ size.memory.to_s + " MB",
27
+ size.disk.to_s + " GB",
28
+ size.vcpus,
29
+ "$ " + size.price_monthly.to_s,
30
+ "$ " + size.price_hourly.to_s
24
31
  ]
25
32
  end
26
33
  table = Terminal::Table.new :rows => rows
27
34
  puts table
28
35
  end
29
36
  end
37
+ def barge
38
+ puts "I'm thinking, please wait..".blue
39
+ Oc::Get.get_barge
40
+ end
30
41
  end
31
42
  end
data/oc.gemspec CHANGED
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.add_runtime_dependency 'commander', '~> 4.2.0'
22
22
  spec.add_runtime_dependency 'terminal-table', '~> 1.4.5'
23
23
  spec.add_runtime_dependency 'netrc', '~> 0.7.7'
24
- spec.add_runtime_dependency 'colorize', '~> 0.7.2'
24
+ spec.add_runtime_dependency 'colorize'
25
+ spec.add_runtime_dependency 'barge'
25
26
 
26
27
 
27
28
  spec.add_development_dependency "bundler", "~> 1.5"
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.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sedat Ciftci
@@ -56,16 +56,30 @@ dependencies:
56
56
  name: colorize
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.7.2
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.7.2
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: barge
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement