consoleappsupport 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/License.txt ADDED
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009 FIX
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Manifest.txt CHANGED
@@ -1,4 +1,5 @@
1
1
  History.txt
2
+ License.txt
2
3
  Manifest.txt
3
4
  README.txt
4
5
  Rakefile
data/README.txt CHANGED
@@ -3,7 +3,8 @@ http://rubyforge.org/projects/consolesupport/
3
3
 
4
4
  == DESCRIPTION:
5
5
  The ConsoleAppSupport module provides some commonly-desired behavior
6
- for command-line programs. Its primary audience is Ruby coders
6
+ for command-line programs: currently command-line parsing; config file
7
+ loading; and log4r integration. Its primary audience is Ruby coders
7
8
  who need to frequently and quickly write special-purpose scripts
8
9
  that are nevertheless flexible and self-documenting.
9
10
 
@@ -35,35 +36,11 @@ applications:
35
36
  config file and the Log4r configuration file.
36
37
 
37
38
  == REQUIREMENTS:
38
- log4j
39
- log4r/configurator
40
- optparse
41
- rdoc/usage
42
- ostruct
39
+ log4r
43
40
 
44
41
  == INSTALL:
45
42
  sudo gem consoleappsupport
46
43
 
47
44
  == LICENSE:
48
- (The MIT License)
49
-
50
- Copyright (c) 2009 FIX
51
-
52
- Permission is hereby granted, free of charge, to any person obtaining
53
- a copy of this software and associated documentation files (the
54
- 'Software'), to deal in the Software without restriction, including
55
- without limitation the rights to use, copy, modify, merge, publish,
56
- distribute, sublicense, and/or sell copies of the Software, and to
57
- permit persons to whom the Software is furnished to do so, subject to
58
- the following conditions:
59
-
60
- The above copyright notice and this permission notice shall be
61
- included in all copies or substantial portions of the Software.
62
-
63
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
64
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
65
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
66
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
67
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
68
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
69
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45
+ The consoleappsupport gem is distributed under the MIT license.
46
+ A copy is included in LICENSE.txt
data/Rakefile CHANGED
@@ -5,5 +5,7 @@ require 'hoe'
5
5
 
6
6
  Hoe.spec 'consoleappsupport' do
7
7
  self.rubyforge_name = 'consolesupport' # if different than 'consoleappsupport'
8
- self.developer('benton', 'bentonroberts@me.com')
8
+ self.developer('benton', 'benton@bentonroberts.com')
9
+ self.extra_deps = [ 'log4r' ]
10
+ self.extra_dev_deps = [ 'hoe' ]
9
11
  end
@@ -25,15 +25,15 @@
25
25
  # * Use @log.[debug,info,etc.] to send log messages.
26
26
  # * Call read_configuration_files at any time to reload the appliation and
27
27
  # Log4r configuration files.
28
+ require 'log4r'
29
+ require 'log4r/configurator'
30
+ require 'optparse'
31
+ require 'rdoc/usage'
32
+ require 'ostruct'
28
33
 
29
34
  module ConsoleAppSupport
30
35
 
31
36
  module ConsoleAppMixin
32
- require 'log4r'
33
- require 'log4r/configurator'
34
- require 'optparse'
35
- require 'rdoc/usage'
36
- require 'ostruct'
37
37
 
38
38
  # An array of symbols representing the names of the
39
39
  # application's possible configuration options.
@@ -6,7 +6,7 @@
6
6
  # See that module's documentation for usage.
7
7
 
8
8
  module ConsoleAppSupport
9
- VERSION = '0.5.0'
9
+ VERSION = '0.5.1'
10
10
  end
11
11
 
12
12
  require "#{File.dirname(__FILE__)}/ConsoleAppHelper.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consoleappsupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - benton
@@ -9,9 +9,29 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-08 00:00:00 -04:00
12
+ date: 2009-06-11 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: log4r
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
15
35
  - !ruby/object:Gem::Dependency
16
36
  name: hoe
17
37
  type: :development
@@ -24,21 +44,24 @@ dependencies:
24
44
  version:
25
45
  description: |-
26
46
  The ConsoleAppSupport module provides some commonly-desired behavior
27
- for command-line programs. Its primary audience is Ruby coders
47
+ for command-line programs: currently command-line parsing; config file
48
+ loading; and log4r integration. Its primary audience is Ruby coders
28
49
  who need to frequently and quickly write special-purpose scripts
29
50
  that are nevertheless flexible and self-documenting.
30
51
  email:
31
- - bentonroberts@me.com
52
+ - benton@bentonroberts.com
32
53
  executables: []
33
54
 
34
55
  extensions: []
35
56
 
36
57
  extra_rdoc_files:
37
58
  - History.txt
59
+ - License.txt
38
60
  - Manifest.txt
39
61
  - README.txt
40
62
  files:
41
63
  - History.txt
64
+ - License.txt
42
65
  - Manifest.txt
43
66
  - README.txt
44
67
  - Rakefile
@@ -79,6 +102,6 @@ rubyforge_project: consolesupport
79
102
  rubygems_version: 1.3.4
80
103
  signing_key:
81
104
  specification_version: 3
82
- summary: The ConsoleAppSupport module provides some commonly-desired behavior for command-line programs
105
+ summary: "The ConsoleAppSupport module provides some commonly-desired behavior for command-line programs: currently command-line parsing; config file loading; and log4r integration"
83
106
  test_files:
84
107
  - test/test_consoleappsupport.rb