boson 0.2.0 → 0.2.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.
@@ -30,7 +30,7 @@ module Boson
30
30
  hash = {:name=>'blah', :lib=>'bling', :options=>{:force=>:boolean, :level=>2}}.merge(hash)
31
31
  @cmd = Command.new hash
32
32
  @cmd.instance_variable_set("@file_parsed_args", true) if hash[:file_parsed_args]
33
- Scientist.create_option_command(@opt_cmd, @cmd)
33
+ Scientist.redefine_command(@opt_cmd, @cmd)
34
34
  @opt_cmd.send(hash[:name], *args)
35
35
  end
36
36
 
@@ -132,7 +132,7 @@ module Boson
132
132
  end
133
133
 
134
134
  test "with unexpected error in translation" do
135
- Scientist.expects(:parse_command_options).raises("unexpected")
135
+ Scientist.expects(:option_command).raises("unexpected")
136
136
  capture_stderr { command_with_args('a1') }.should =~ /Error.*unexpected/
137
137
  end
138
138
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Horner
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-07 00:00:00 -05:00
12
+ date: 2009-11-19 00:00:00 -05:00
13
13
  default_executable: boson
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -59,15 +59,19 @@ files:
59
59
  - lib/boson/inspectors/method_inspector.rb
60
60
  - lib/boson/libraries/file_library.rb
61
61
  - lib/boson/libraries/gem_library.rb
62
+ - lib/boson/libraries/local_file_library.rb
62
63
  - lib/boson/libraries/module_library.rb
63
64
  - lib/boson/libraries/require_library.rb
64
65
  - lib/boson/library.rb
65
66
  - lib/boson/loader.rb
66
67
  - lib/boson/manager.rb
67
68
  - lib/boson/namespace.rb
69
+ - lib/boson/option_command.rb
68
70
  - lib/boson/option_parser.rb
69
71
  - lib/boson/options.rb
72
+ - lib/boson/pipe.rb
70
73
  - lib/boson/repo.rb
74
+ - lib/boson/repo_index.rb
71
75
  - lib/boson/runner.rb
72
76
  - lib/boson/runners/bin_runner.rb
73
77
  - lib/boson/runners/console_runner.rb
@@ -77,17 +81,18 @@ files:
77
81
  - test/argument_inspector_test.rb
78
82
  - test/bin_runner_test.rb
79
83
  - test/comment_inspector_test.rb
84
+ - test/config/index.marshal
80
85
  - test/file_library_test.rb
81
- - test/index_test.rb
82
86
  - test/loader_test.rb
83
87
  - test/manager_test.rb
84
88
  - test/method_inspector_test.rb
85
89
  - test/option_parser_test.rb
90
+ - test/pipe_test.rb
91
+ - test/repo_index_test.rb
86
92
  - test/repo_test.rb
87
93
  - test/runner_test.rb
88
94
  - test/scientist_test.rb
89
95
  - test/test_helper.rb
90
- - test/view_test.rb
91
96
  has_rdoc: true
92
97
  homepage: http://tagaholic.me/boson/
93
98
  licenses: []
@@ -121,13 +126,13 @@ test_files:
121
126
  - test/bin_runner_test.rb
122
127
  - test/comment_inspector_test.rb
123
128
  - test/file_library_test.rb
124
- - test/index_test.rb
125
129
  - test/loader_test.rb
126
130
  - test/manager_test.rb
127
131
  - test/method_inspector_test.rb
128
132
  - test/option_parser_test.rb
133
+ - test/pipe_test.rb
134
+ - test/repo_index_test.rb
129
135
  - test/repo_test.rb
130
136
  - test/runner_test.rb
131
137
  - test/scientist_test.rb
132
138
  - test/test_helper.rb
133
- - test/view_test.rb