boson 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +22 -0
- data/README.rdoc +133 -0
- data/Rakefile +52 -0
- data/VERSION.yml +4 -0
- data/bin/boson +6 -0
- data/lib/boson.rb +72 -0
- data/lib/boson/command.rb +117 -0
- data/lib/boson/commands.rb +7 -0
- data/lib/boson/commands/core.rb +66 -0
- data/lib/boson/commands/web_core.rb +36 -0
- data/lib/boson/index.rb +95 -0
- data/lib/boson/inspector.rb +80 -0
- data/lib/boson/inspectors/argument_inspector.rb +92 -0
- data/lib/boson/inspectors/comment_inspector.rb +79 -0
- data/lib/boson/inspectors/method_inspector.rb +94 -0
- data/lib/boson/libraries/file_library.rb +76 -0
- data/lib/boson/libraries/gem_library.rb +21 -0
- data/lib/boson/libraries/module_library.rb +17 -0
- data/lib/boson/libraries/require_library.rb +11 -0
- data/lib/boson/library.rb +108 -0
- data/lib/boson/loader.rb +103 -0
- data/lib/boson/manager.rb +184 -0
- data/lib/boson/namespace.rb +45 -0
- data/lib/boson/option_parser.rb +318 -0
- data/lib/boson/repo.rb +38 -0
- data/lib/boson/runner.rb +51 -0
- data/lib/boson/runners/bin_runner.rb +100 -0
- data/lib/boson/runners/repl_runner.rb +40 -0
- data/lib/boson/scientist.rb +168 -0
- data/lib/boson/util.rb +93 -0
- data/lib/boson/view.rb +31 -0
- data/test/argument_inspector_test.rb +62 -0
- data/test/bin_runner_test.rb +136 -0
- data/test/commands_test.rb +51 -0
- data/test/comment_inspector_test.rb +99 -0
- data/test/config/index.marshal +0 -0
- data/test/file_library_test.rb +50 -0
- data/test/index_test.rb +117 -0
- data/test/loader_test.rb +181 -0
- data/test/manager_test.rb +110 -0
- data/test/method_inspector_test.rb +64 -0
- data/test/option_parser_test.rb +365 -0
- data/test/repo_test.rb +22 -0
- data/test/runner_test.rb +43 -0
- data/test/scientist_test.rb +291 -0
- data/test/test_helper.rb +119 -0
- metadata +133 -0
metadata
ADDED
@@ -0,0 +1,133 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: boson
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gabriel Horner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-10-06 00:00:00 -04:00
|
13
|
+
default_executable: boson
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: hirb
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.2.6
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: alias
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.2.1
|
34
|
+
version:
|
35
|
+
description: A command/task framework similar to rake and thor that opens your ruby universe to the commandline and irb.
|
36
|
+
email: gabriel.horner@gmail.com
|
37
|
+
executables:
|
38
|
+
- boson
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- LICENSE.txt
|
43
|
+
- README.rdoc
|
44
|
+
files:
|
45
|
+
- LICENSE.txt
|
46
|
+
- README.rdoc
|
47
|
+
- Rakefile
|
48
|
+
- VERSION.yml
|
49
|
+
- bin/boson
|
50
|
+
- lib/boson.rb
|
51
|
+
- lib/boson/command.rb
|
52
|
+
- lib/boson/commands.rb
|
53
|
+
- lib/boson/commands/core.rb
|
54
|
+
- lib/boson/commands/web_core.rb
|
55
|
+
- lib/boson/index.rb
|
56
|
+
- lib/boson/inspector.rb
|
57
|
+
- lib/boson/inspectors/argument_inspector.rb
|
58
|
+
- lib/boson/inspectors/comment_inspector.rb
|
59
|
+
- lib/boson/inspectors/method_inspector.rb
|
60
|
+
- lib/boson/libraries/file_library.rb
|
61
|
+
- lib/boson/libraries/gem_library.rb
|
62
|
+
- lib/boson/libraries/module_library.rb
|
63
|
+
- lib/boson/libraries/require_library.rb
|
64
|
+
- lib/boson/library.rb
|
65
|
+
- lib/boson/loader.rb
|
66
|
+
- lib/boson/manager.rb
|
67
|
+
- lib/boson/namespace.rb
|
68
|
+
- lib/boson/option_parser.rb
|
69
|
+
- lib/boson/repo.rb
|
70
|
+
- lib/boson/runner.rb
|
71
|
+
- lib/boson/runners/bin_runner.rb
|
72
|
+
- lib/boson/runners/repl_runner.rb
|
73
|
+
- lib/boson/scientist.rb
|
74
|
+
- lib/boson/util.rb
|
75
|
+
- lib/boson/view.rb
|
76
|
+
- test/argument_inspector_test.rb
|
77
|
+
- test/bin_runner_test.rb
|
78
|
+
- test/commands_test.rb
|
79
|
+
- test/comment_inspector_test.rb
|
80
|
+
- test/config/index.marshal
|
81
|
+
- test/file_library_test.rb
|
82
|
+
- test/index_test.rb
|
83
|
+
- test/loader_test.rb
|
84
|
+
- test/manager_test.rb
|
85
|
+
- test/method_inspector_test.rb
|
86
|
+
- test/option_parser_test.rb
|
87
|
+
- test/repo_test.rb
|
88
|
+
- test/runner_test.rb
|
89
|
+
- test/scientist_test.rb
|
90
|
+
- test/test_helper.rb
|
91
|
+
has_rdoc: true
|
92
|
+
homepage: http://github.com/cldwalker/boson
|
93
|
+
licenses: []
|
94
|
+
|
95
|
+
post_install_message:
|
96
|
+
rdoc_options:
|
97
|
+
- --charset=UTF-8
|
98
|
+
require_paths:
|
99
|
+
- lib
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: "0"
|
105
|
+
version:
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: "0"
|
111
|
+
version:
|
112
|
+
requirements: []
|
113
|
+
|
114
|
+
rubyforge_project: tagaholic
|
115
|
+
rubygems_version: 1.3.5
|
116
|
+
signing_key:
|
117
|
+
specification_version: 3
|
118
|
+
summary: Although similar to rake and thor, it's focus is not on per-project tasks. Rather it provides users with the power to turn any ruby method, into a full-fledged commandline tool. Boson achieves this with powerful options (borrowed from thor) and views (thanks to hirb). Some other unique features that differentiate it from rake and thor include being accessible from irb and the commandline, being able to write boson commands in non-dsl ruby and toggling a pretty view of a command's output without additional view code.
|
119
|
+
test_files:
|
120
|
+
- test/argument_inspector_test.rb
|
121
|
+
- test/bin_runner_test.rb
|
122
|
+
- test/commands_test.rb
|
123
|
+
- test/comment_inspector_test.rb
|
124
|
+
- test/file_library_test.rb
|
125
|
+
- test/index_test.rb
|
126
|
+
- test/loader_test.rb
|
127
|
+
- test/manager_test.rb
|
128
|
+
- test/method_inspector_test.rb
|
129
|
+
- test/option_parser_test.rb
|
130
|
+
- test/repo_test.rb
|
131
|
+
- test/runner_test.rb
|
132
|
+
- test/scientist_test.rb
|
133
|
+
- test/test_helper.rb
|