bobbyno-tbox 0.5.1 → 0.5.2
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/History.txt +6 -0
- data/README.rdoc +15 -13
- data/Rakefile +3 -6
- data/lib/tbox.rb +1 -1
- data/tbox.gemspec +9 -16
- metadata +14 -11
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,19 +1,31 @@
|
|
1
1
|
= tbox - A test-driven learning sandbox creation tool
|
2
2
|
|
3
|
-
|
3
|
+
http://github.com/bobbyno/tbox/tree/master
|
4
4
|
|
5
5
|
More on Test-Driven Learning: http://www.bobbynorton.com/?p=36
|
6
6
|
|
7
7
|
== DESCRIPTION:
|
8
8
|
|
9
|
-
|
9
|
+
Test-driven learning is a way to master a programming language by writing unit tests around its API's,
|
10
|
+
tbox lowers the barrier to entry for test-driven learning by providing a basic infrastructure in which
|
10
11
|
to start coding: A directory structure, some classes and unit tests to get started, and a Rakefile to run
|
11
12
|
all tests. For now, tbox is geared toward Ruby, though the technique is applicable to any language that
|
12
13
|
lends itself to TDD.
|
13
14
|
|
15
|
+
== INSTALL:
|
16
|
+
|
17
|
+
The <code>tbox</code> application is distributed as a RubyGem and is available immediately after installation.
|
18
|
+
|
19
|
+
<code>$ gem sources -a http(colon)//gems.github.com</code>
|
20
|
+
|
21
|
+
<code>$ sudo gem install bobbyno-tbox</code>
|
22
|
+
|
23
|
+
Alternately, download the gem and install manually from github.
|
24
|
+
|
14
25
|
== BASIC USAGE:
|
15
26
|
|
16
|
-
Go to the folder where you want to create your new test sandbox, and run the <code>tbox</code> command
|
27
|
+
Go to the folder where you want to create your new test sandbox, and run the <code>tbox</code> command
|
28
|
+
to generate your test scaffolding.
|
17
29
|
|
18
30
|
<code>$ cd ~/ruby_projects</code>
|
19
31
|
|
@@ -31,16 +43,6 @@ a starting point for test-driven learning in any language with any dependencies.
|
|
31
43
|
|
32
44
|
* newgem
|
33
45
|
|
34
|
-
== INSTALL:
|
35
|
-
|
36
|
-
The <code>tbox</code> application is distributed as a RubyGem and is available immediately after installation.
|
37
|
-
|
38
|
-
<code>$ gem sources -a http://gems.github.com </code> (add http to the address)
|
39
|
-
|
40
|
-
<code>$ sudo gem install bobbyno-tbox</code>
|
41
|
-
|
42
|
-
Alternately, download the gem and install manually from github.
|
43
|
-
|
44
46
|
== CREDITS:
|
45
47
|
|
46
48
|
Bobby Norton, DRW Trading Group
|
data/Rakefile
CHANGED
@@ -6,13 +6,10 @@ require File.dirname(__FILE__) + '/lib/tbox'
|
|
6
6
|
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
7
7
|
$hoe = Hoe.new('tbox', Tbox::VERSION) do |p|
|
8
8
|
p.developer('Bobby Norton', 'codeculturist@gmail.com')
|
9
|
-
p.changes
|
9
|
+
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
10
10
|
p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
11
|
-
p.rubyforge_name
|
12
|
-
|
13
|
-
# ['activesupport','>= 2.0.2'],
|
14
|
-
# ]
|
15
|
-
p.extra_dev_deps = [
|
11
|
+
p.rubyforge_name = p.name # TODO this is default value
|
12
|
+
p.extra_deps = [
|
16
13
|
['newgem', ">= #{::Newgem::VERSION}"]
|
17
14
|
]
|
18
15
|
|
data/lib/tbox.rb
CHANGED
data/tbox.gemspec
CHANGED
@@ -2,32 +2,32 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{tbox}
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Bobby Norton"]
|
9
|
-
s.date = %q{2009-06-
|
9
|
+
s.date = %q{2009-06-18}
|
10
10
|
s.default_executable = %q{tbox}
|
11
11
|
s.description = %q{Provides a basic directory structure for test-driven learning.}
|
12
|
-
s.email =
|
12
|
+
s.email = ["codeculturist@gmail.com"]
|
13
13
|
s.executables = ["tbox"]
|
14
14
|
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "app_generators/tbox/templates/file.txt"]
|
15
15
|
s.files = ["History.txt", "MIT-LICENSE", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "app_generators/tbox/USAGE", "app_generators/tbox/tbox_generator.rb", "app_generators/tbox/templates/README", "app_generators/tbox/templates/file.txt", "app_generators/tbox/templates/rakefile.rb", "app_generators/tbox/templates/right_triangle.rb", "app_generators/tbox/templates/tbox.rb", "app_generators/tbox/templates/test_helper.rb", "app_generators/tbox/templates/test_io.rb", "app_generators/tbox/templates/test_right_triangle.rb", "bin/tbox", "lib/tbox.rb", "script/console", "script/destroy", "script/generate", "tbox.gemspec", "test/test_generator_helper.rb", "test/test_helper.rb", "test/test_tbox_generator.rb"]
|
16
|
-
s.has_rdoc = true
|
17
16
|
s.homepage = %q{http://github.com/bobbyno/tbox/tree/master}
|
18
17
|
s.post_install_message = %q{PostInstall.txt}
|
19
|
-
s.rdoc_options = ["--
|
18
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
20
19
|
s.require_paths = ["lib"]
|
21
20
|
s.rubyforge_project = %q{tbox}
|
22
|
-
s.rubygems_version = %q{1.3.
|
23
|
-
s.summary = %q{tbox lowers the barrier to entry for test-driven learning
|
21
|
+
s.rubygems_version = %q{1.3.4}
|
22
|
+
s.summary = %q{Test-driven learning is a way to master a programming language by writing unit tests around its API's, tbox lowers the barrier to entry for test-driven learning by providing a basic infrastructure in which to start coding: A directory structure, some classes and unit tests to get started, and a Rakefile to run all tests.}
|
23
|
+
s.test_files = ["test/test_generator_helper.rb", "test/test_helper.rb", "test/test_tbox_generator.rb"]
|
24
24
|
|
25
25
|
if s.respond_to? :specification_version then
|
26
26
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
27
|
-
s.specification_version =
|
27
|
+
s.specification_version = 3
|
28
28
|
|
29
29
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
30
|
-
s.
|
30
|
+
s.add_runtime_dependency(%q<newgem>, [">= 1.4.1"])
|
31
31
|
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
|
32
32
|
else
|
33
33
|
s.add_dependency(%q<newgem>, [">= 1.4.1"])
|
@@ -38,10 +38,3 @@ Gem::Specification.new do |s|
|
|
38
38
|
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
39
39
|
end
|
40
40
|
end
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bobbyno-tbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bobby Norton
|
@@ -9,12 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-18 00:00:00 -07:00
|
13
13
|
default_executable: tbox
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: newgem
|
17
|
-
type: :
|
17
|
+
type: :runtime
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
@@ -33,7 +33,8 @@ dependencies:
|
|
33
33
|
version: 1.8.0
|
34
34
|
version:
|
35
35
|
description: Provides a basic directory structure for test-driven learning.
|
36
|
-
email:
|
36
|
+
email:
|
37
|
+
- codeculturist@gmail.com
|
37
38
|
executables:
|
38
39
|
- tbox
|
39
40
|
extensions: []
|
@@ -70,12 +71,12 @@ files:
|
|
70
71
|
- test/test_generator_helper.rb
|
71
72
|
- test/test_helper.rb
|
72
73
|
- test/test_tbox_generator.rb
|
73
|
-
has_rdoc:
|
74
|
+
has_rdoc: false
|
74
75
|
homepage: http://github.com/bobbyno/tbox/tree/master
|
75
76
|
post_install_message: PostInstall.txt
|
76
77
|
rdoc_options:
|
77
|
-
- --
|
78
|
-
-
|
78
|
+
- --main
|
79
|
+
- README.rdoc
|
79
80
|
require_paths:
|
80
81
|
- lib
|
81
82
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -95,7 +96,9 @@ requirements: []
|
|
95
96
|
rubyforge_project: tbox
|
96
97
|
rubygems_version: 1.2.0
|
97
98
|
signing_key:
|
98
|
-
specification_version:
|
99
|
-
summary: "tbox lowers the barrier to entry for test-driven learning
|
100
|
-
test_files:
|
101
|
-
|
99
|
+
specification_version: 3
|
100
|
+
summary: "Test-driven learning is a way to master a programming language by writing unit tests around its API's, tbox lowers the barrier to entry for test-driven learning by providing a basic infrastructure in which to start coding: A directory structure, some classes and unit tests to get started, and a Rakefile to run all tests."
|
101
|
+
test_files:
|
102
|
+
- test/test_generator_helper.rb
|
103
|
+
- test/test_helper.rb
|
104
|
+
- test/test_tbox_generator.rb
|