gman 5.0.0 → 5.0.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: 911bc8581d526d9b6d8f77431a66592b335ae6ee
4
- data.tar.gz: 932a84049f9a8a5a4c1cefc0e78293debb353b19
3
+ metadata.gz: 2aebb6fcc1beb8c6e31d4aa63b150e0d67014e84
4
+ data.tar.gz: 33a80c330a374a7a0cd6deaba97ae9f3bbbb6fc1
5
5
  SHA512:
6
- metadata.gz: 533e2b2c2193a860320b957ae7d1833710c3678e79100d366a8baa458ac03978f56d6b48fbdc682cbaede35cce14fea24ff6b82c471cfa251a6f387b7f6378e4
7
- data.tar.gz: 03568c75e5616451dc3246307f91880faa9c690c77c7f73e9cb42525f995ef4a5f8f59cbc6562f8139e3895567693602c8c5fa0ff3a7b82476d6fc681ccee70b
6
+ metadata.gz: 13559a95833ea8b189fc9d02ba7dfd009842567af1ebc6f0c2ad68b87b8180bbe3c4418cb13234f173fb82152353349be7d14ec2c4fccc1b78935e1d8bb6619e
7
+ data.tar.gz: cd14de9bd1895da601d8abb09fe11d7c0fe2b9fc907cc15a2c20ba4c61d83968d2d9b9e49884229715c5cec5548297eb179de914812627793426f4e4d04b06e8
data/config/domains.txt CHANGED
@@ -5680,6 +5680,7 @@ norfolkcounty.org
5680
5680
  northbridgemass.org
5681
5681
  northbrookfield.net
5682
5682
  nortonma.org
5683
+ publiccounsel.net
5683
5684
  randolphtownclerk.com
5684
5685
  revere.org
5685
5686
  salem.com
data/lib/gman/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Gman
2
- VERSION = '5.0.0'
2
+ VERSION = '5.0.1'
3
3
  end
data/script/add ADDED
@@ -0,0 +1,17 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # Add one or more domains to a given group, running the standard import checks
4
+ #
5
+ # Usage: script/add [GROUP] [DOMAIN(S)]
6
+
7
+ require './lib/gman/importer'
8
+
9
+ if ARGV.length < 2
10
+ puts "Usage: script/add [GROUP] [DOMAIN(S)]"
11
+ exit 1
12
+ end
13
+
14
+ group = ARGV[0]
15
+ domains = ARGV.drop(1)
16
+
17
+ Gman.import({ group => domains })
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gman
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-10 00:00:00.000000000 Z
11
+ date: 2015-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: swot
@@ -194,6 +194,7 @@ files:
194
194
  - lib/gman/locality.rb
195
195
  - lib/gman/sanctions.rb
196
196
  - lib/gman/version.rb
197
+ - script/add
197
198
  - script/alphabetize
198
199
  - script/cibuild
199
200
  - script/console