dogids-cli 0.0.22 → 0.0.23

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: 67da1fbfc4bf0c568908edb262b91c7363e0db59
4
- data.tar.gz: 42562144cd9c46ef2feffd062bb297869a5e26e4
3
+ metadata.gz: 2f470f620410684901952344ba1a22253b590656
4
+ data.tar.gz: ddfbeb677c59461700e3d2d4e8d9c01cc8ae2546
5
5
  SHA512:
6
- metadata.gz: 96093c9d4e964792242cd379aa24cf8dcbbf2d54ad65260f36f5c3777eba90d778c2ac627f5a33e34b47679a5fbfcc1eec71ff7e6e518bb3cb137bad70709543
7
- data.tar.gz: 4291366f4d00edcd8d6965a250c199429ec18bb20fcff744ef6bf920dcb067f155997e23976e3386c20ffb9ca801f611620de8d755df3ea5e126eaf51da97ecb
6
+ metadata.gz: 266b2aa21f8920c642d345323772113d34af093a116b10befde4fed417eed01d7b520611f70ad65d1318b80ca96f1e90ead8632b44d1ffaa6b4b357f709019d7
7
+ data.tar.gz: b05f013afa9598b4fd60b1372284200e94514d249b8f973a2d9a01d17dd75725ee4ed626f12e06e2a1fab04dbeff4e6d2e30a708d90a2be8f369ca008b52eb90
@@ -5,7 +5,7 @@ require "dogids/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "dogids-cli"
8
- spec.version = "0.0.22"
8
+ spec.version = "0.0.23"
9
9
  spec.authors = ["Jaryd Krishnan"]
10
10
  spec.email = ["jaryd@dogids.com"]
11
11
  spec.summary = "Command line tool for dogIDs tasks"
@@ -9,6 +9,15 @@ module Dogids
9
9
  case command
10
10
  when "list"
11
11
  list
12
+ when "clear"
13
+ system("rm ~/.dogids/conf.yaml") if yes?("------->Remove all configurations? [no]")
14
+ say("All configurations removed","\e[31m")
15
+ puts " "
16
+ puts "You should probably copy and paste EACH of the following:"
17
+ puts " "
18
+ puts " dogids config:dev dev 55.55.55.30"
19
+ puts " dogids config:dev lb 55.55.55.20"
20
+ puts " "
12
21
  else
13
22
  puts " "
14
23
  puts "Config Commands:"
@@ -15,7 +15,7 @@ module Dogids
15
15
 
16
16
  desc "version", "Show version information"
17
17
  def version
18
- gem_version = "v0.0.22"
18
+ gem_version = "v0.0.23"
19
19
 
20
20
  # Grab the latest version of the RubyGem
21
21
  rubygems_json = open("https://rubygems.org/api/v1/gems/dogids-cli.json").read
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogids-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaryd Krishnan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-29 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh