floodgate 0.0.15 → 0.0.16

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: cd710f392bfbfaa4363a4dacab7e04b24d08ada1
4
- data.tar.gz: 2ef2eb440aea3009ea88319352229a89ebf35843
3
+ metadata.gz: 6db3e898918ad2bdc8d76a58c49135e9b2b26c0c
4
+ data.tar.gz: 3eee6c43a56b1caf16ab142843cf8acfd8d5a3e6
5
5
  SHA512:
6
- metadata.gz: e4bd941cbd50b85b6fae559a06fec04945c14c39244266eacccb9e0a28b50ccbf8f58d0a91d55f592aed18e8dddf1b91b091e7a68e9580058acc71002130994f
7
- data.tar.gz: 864ece2fb443d3e55eef261e0437610f48a505bb001054255565b9d2c4b0b744f78609201eba42e3e8e190b6381ba8ab7afd9202014f41b507f12d7d06906207
6
+ metadata.gz: 11ce81d60f791447cf602cee84b9d1368b9edb2b86dca7869c4fb969ffe31d57e0b82a6948b95ac62daa3fb03cd90398b249211f5eb5740f0c1f80f0552c55b0
7
+ data.tar.gz: 245a574e866614ae75a24b907cc35032725457ad151505506326ac17a301107852c2cd1756830257e59206a225a49f8e09c1258b01f8789b26685709a581f9e8
@@ -1,3 +1,3 @@
1
1
  module Floodgate
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
@@ -36,11 +36,6 @@ namespace :floodgate do
36
36
  puts Floodgate::Client.my_ip_address
37
37
  end
38
38
 
39
- desc 'Add my IP Address to the list allowed through the floodgate'
40
- task :add_mine => :environment do
41
- Floodgate::Client.add_my_ip_address
42
- end
43
-
44
39
  desc 'Add an IP Address to allow through the floodgate'
45
40
  task :add => :environment do
46
41
  ip_address = ENV['ip_address']
@@ -48,12 +43,23 @@ namespace :floodgate do
48
43
  Floodgate::Client.add_ip_address(ip_address)
49
44
  end
50
45
 
46
+ desc 'Add my IP Address to the list allowed through the floodgate'
47
+ task :add_mine => :environment do
48
+ Floodgate::Client.add_my_ip_address
49
+ end
50
+
51
51
  desc 'Remove an IP Address from the list allowed through the floodgate'
52
52
  task :remove => :environment do
53
53
  ip_address = ENV['ip_address']
54
54
 
55
55
  Floodgate::Client.remove_ip_address(ip_address)
56
56
  end
57
+
58
+ desc 'Remove my IP Address from the list allowed through the floodgate'
59
+ task :remove_mine => :environment do
60
+ Floodgate::Client.remove_my_ip_address
61
+ end
62
+
57
63
  end
58
64
  end
59
65
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: floodgate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark McEahern