hast 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/CHANGELOG +7 -1
  2. data/README.rdoc +2 -2
  3. data/VERSION +1 -1
  4. data/hast.gemspec +2 -2
  5. data/lib/hast.rb +7 -7
  6. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,4 +1,10 @@
1
- Master branch
1
+ Version 0.3.1 - 2010-02-25
2
+ ===============================================================================
3
+
4
+ Fixed error in documentation
5
+
6
+
7
+ Version 0.3.0 - 2010-02-24
2
8
  ===============================================================================
3
9
 
4
10
  Added support for finding Postfix domains in a config file instead of a
@@ -39,8 +39,8 @@ For help use: hast -h
39
39
  -g, --generate-config Output a config file template (pipe it to a
40
40
  file for easy use: hast -g > config.yml)
41
41
  -q, --disable-lookup Do not lookup any domain names or MX records
42
- -y, --yaml Output as YAML (usefull if you want to pipe:
43
- bau.rb > domains.yml)
42
+ -y, --yaml Output as YAML (pipe it to a file for easy
43
+ use: hast -y > domains.yml)
44
44
  -c, --domain-cache FILE Get the domains from a YAML file
45
45
 
46
46
  === Examples
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hast}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Thomas Watson Steen"]
12
- s.date = %q{2010-02-24}
12
+ s.date = %q{2010-02-25}
13
13
  s.default_executable = %q{hast}
14
14
  s.description = %q{ HAST stands for 'Hosting Account Status Tool'.
15
15
 
@@ -63,19 +63,19 @@ class Hast
63
63
  opts.separator ''
64
64
  opts.separator 'Specific options:'
65
65
  opts.on('-v', '--version',
66
- 'Show this message') { output_version; exit 0 }
66
+ 'Show this message') { output_version; exit 0 }
67
67
  opts.on('-h', '--help',
68
- 'Show version') { puts opts; exit 0 }
68
+ 'Show version') { puts opts; exit 0 }
69
69
  opts.on('-g', '--generate-config',
70
70
  'Output a config file template',
71
- '(pipe it to a file for easy use: hast -g > config.yml)') { output_config_template; exit 0 }
71
+ '(pipe it to a file for easy use: hast -g > config.yml)') { output_config_template; exit 0 }
72
72
  opts.on('-q', '--disable-lookup',
73
- 'Do not lookup any domain names or MX records') { @config['dns'] = { 'disable' => true } }
73
+ 'Do not lookup any domain names or MX records') { @config['dns'] = { 'disable' => true } }
74
74
  opts.on('-y', '--yaml',
75
75
  'Output as YAML',
76
- '(usefull if you want to pipe: bau.rb > domains.yml)') { @config['output'] = :yaml }
76
+ '(pipe it to a file for easy use: hast -y > domains.yml)') { @config['output'] = :yaml }
77
77
  opts.on('-c', '--domain-cache FILE',
78
- 'Get the domains from a YAML file') { |file| @config['domain_cache'] = file }
78
+ 'Get the domains from a YAML file') { |file| @config['domain_cache'] = file }
79
79
  opts.separator ''
80
80
  opts.separator 'See http://github.com/watson/hast for details'
81
81
  end
@@ -113,7 +113,7 @@ class Hast
113
113
  when :inactive
114
114
  'Inactive (no record)'
115
115
  when :unknown
116
- 'Status ukendt'
116
+ 'Status unknown'
117
117
  when :other
118
118
  "Inactive (unexpected ip#{ips.size > 1 ? '\'s' : ''}: #{ips.join(', ')})"
119
119
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Thomas Watson Steen
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-02-24 00:00:00 +01:00
17
+ date: 2010-02-25 00:00:00 +01:00
18
18
  default_executable: hast
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency