text-format 1.0.0
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/Changelog +89 -0
- data/Install +6 -0
- data/README +13 -0
- data/Rakefile +113 -0
- data/ToDo +8 -0
- data/lib/text/format.rb +1043 -0
- data/lib/text/format/alpha.rb +61 -0
- data/lib/text/format/number.rb +34 -0
- data/lib/text/format/roman.rb +105 -0
- data/metaconfig +0 -0
- data/pre-setup.rb +46 -0
- data/setup.rb +1366 -0
- data/tests/tc_text_format.rb +474 -0
- data/tests/testall.rb +20 -0
- metadata +76 -0
data/tests/testall.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#--
|
3
|
+
# Ruwiki version 0.8.0
|
4
|
+
# Copyright � 2002 - 2003, Digikata and HaloStatue
|
5
|
+
# Alan Chen (alan@digikata.com)
|
6
|
+
# Austin Ziegler (ruwiki@halostatue.ca)
|
7
|
+
#
|
8
|
+
# Licensed under the same terms as Ruby.
|
9
|
+
#
|
10
|
+
# $Id: testall.rb,v 1.1 2005/01/17 16:15:04 austin Exp $
|
11
|
+
#++
|
12
|
+
|
13
|
+
$LOAD_PATH.unshift("#{File.dirname(__FILE__)}/../lib") if __FILE__ == $0
|
14
|
+
|
15
|
+
puts "Checking for test cases:"
|
16
|
+
Dir['tc*.rb'].each do |testcase|
|
17
|
+
puts "\t#{testcase}"
|
18
|
+
require testcase
|
19
|
+
end
|
20
|
+
puts " "
|
metadata
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.10
|
3
|
+
specification_version: 1
|
4
|
+
name: text-format
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 1.0.0
|
7
|
+
date: 2005-06-24
|
8
|
+
summary: Text::Format formats fixed-width text nicely.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: austin@rubyforge.org
|
12
|
+
homepage: http://rubyforge.org/projects/text-format
|
13
|
+
rubyforge_project: text-format
|
14
|
+
description: "Text::Format is provides the ability to nicely format fixed-width text with
|
15
|
+
knowledge of the writeable space (number of columns), margins, and indentation
|
16
|
+
settings. Text::Format can work with either TeX::Hyphen or Text::Hyphen to
|
17
|
+
hyphenate words when formatting."
|
18
|
+
autorequire: text/format
|
19
|
+
default_executable:
|
20
|
+
bindir: bin
|
21
|
+
has_rdoc: true
|
22
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
23
|
+
requirements:
|
24
|
+
-
|
25
|
+
- ">"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.0.0
|
28
|
+
version:
|
29
|
+
platform: ruby
|
30
|
+
authors:
|
31
|
+
- Austin Ziegler
|
32
|
+
files:
|
33
|
+
- Changelog
|
34
|
+
- Install
|
35
|
+
- lib
|
36
|
+
- metaconfig
|
37
|
+
- pre-setup.rb
|
38
|
+
- Rakefile
|
39
|
+
- README
|
40
|
+
- setup.rb
|
41
|
+
- tests
|
42
|
+
- ToDo
|
43
|
+
- lib/text
|
44
|
+
- lib/text/format
|
45
|
+
- lib/text/format.rb
|
46
|
+
- lib/text/format/alpha.rb
|
47
|
+
- lib/text/format/number.rb
|
48
|
+
- lib/text/format/roman.rb
|
49
|
+
- tests/tc_text_format.rb
|
50
|
+
- tests/testall.rb
|
51
|
+
test_files:
|
52
|
+
- tests/tc_text_format.rb
|
53
|
+
rdoc_options:
|
54
|
+
- "--title"
|
55
|
+
- Text::Format
|
56
|
+
- "--main"
|
57
|
+
- README
|
58
|
+
- "--line-numbers"
|
59
|
+
extra_rdoc_files:
|
60
|
+
- README
|
61
|
+
- Changelog
|
62
|
+
- Install
|
63
|
+
executables: []
|
64
|
+
extensions: []
|
65
|
+
requirements: []
|
66
|
+
dependencies:
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: text-hyphen
|
69
|
+
version_requirement:
|
70
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
71
|
+
requirements:
|
72
|
+
-
|
73
|
+
- "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.0.0
|
76
|
+
version:
|