bitclust-core 0.5.4 → 0.5.5

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/test/test_runner.rb CHANGED
@@ -16,7 +16,7 @@ class TestRunner < Test::Unit::TestCase
16
16
 
17
17
  def test_run_setup
18
18
  command = mock(Object.new)
19
- mock(::BitClust::SetupCommand).new.returns(command)
19
+ mock(::BitClust::Subcommands::SetupCommand).new.returns(command)
20
20
  command.parse([])
21
21
  command.exec(nil, []).returns(nil)
22
22
  @runner.run(["setup"])
@@ -24,7 +24,7 @@ class TestRunner < Test::Unit::TestCase
24
24
 
25
25
  def test_run_server
26
26
  command = mock(Object.new)
27
- mock(::BitClust::ServerCommand).new.returns(command)
27
+ mock(::BitClust::Subcommands::ServerCommand).new.returns(command)
28
28
  command.parse([])
29
29
  command.exec(nil, []).returns(nil)
30
30
  @runner.run(["server"])
@@ -32,7 +32,7 @@ class TestRunner < Test::Unit::TestCase
32
32
 
33
33
  def test_run_init
34
34
  command = mock(Object.new)
35
- mock(::BitClust::InitCommand).new.returns(command)
35
+ mock(::BitClust::Subcommands::InitCommand).new.returns(command)
36
36
  mock(@runner).load_config.returns(@config)
37
37
  mock(BitClust::MethodDatabase).new(@prefix).returns(@db)
38
38
  command.parse(["version=1.9.3", "encoding=utf-8"])
@@ -42,7 +42,7 @@ class TestRunner < Test::Unit::TestCase
42
42
 
43
43
  def test_run_list
44
44
  command = mock(Object.new)
45
- mock(::BitClust::ListCommand).new.returns(command)
45
+ mock(::BitClust::Subcommands::ListCommand).new.returns(command)
46
46
  mock(@runner).load_config.returns(@config)
47
47
  mock(BitClust::MethodDatabase).new(@prefix).returns(@db)
48
48
  command.parse(["--library"])
@@ -52,7 +52,7 @@ class TestRunner < Test::Unit::TestCase
52
52
 
53
53
  def test_run_lookup
54
54
  command = mock(Object.new)
55
- mock(::BitClust::ListCommand).new.returns(command)
55
+ mock(::BitClust::Subcommands::ListCommand).new.returns(command)
56
56
  mock(@runner).load_config.returns(@config)
57
57
  mock(BitClust::MethodDatabase).new(@prefix).returns(@db)
58
58
  command.parse(["--library=optparse"])
@@ -72,7 +72,7 @@ class TestRunner < Test::Unit::TestCase
72
72
 
73
73
  def test_run_query
74
74
  command = mock(Object.new)
75
- mock(::BitClust::QueryCommand).new.returns(command)
75
+ mock(::BitClust::Subcommands::QueryCommand).new.returns(command)
76
76
  mock(@runner).load_config.returns(@config)
77
77
  mock(BitClust::MethodDatabase).new(@prefix).returns(@db)
78
78
  command.parse(["db.properties"])
@@ -82,7 +82,7 @@ class TestRunner < Test::Unit::TestCase
82
82
 
83
83
  def test_run_update
84
84
  command = mock(Object.new)
85
- mock(::BitClust::UpdateCommand).new.returns(command)
85
+ mock(::BitClust::Subcommands::UpdateCommand).new.returns(command)
86
86
  mock(@runner).load_config.returns(@config)
87
87
  mock(BitClust::MethodDatabase).new(@prefix).returns(@db)
88
88
  command.parse(["_builtin/String"])
@@ -92,7 +92,7 @@ class TestRunner < Test::Unit::TestCase
92
92
 
93
93
  def test_run_property
94
94
  command = mock(Object.new)
95
- mock(::BitClust::PropertyCommand).new.returns(command)
95
+ mock(::BitClust::Subcommands::PropertyCommand).new.returns(command)
96
96
  mock(@runner).load_config.returns(@config)
97
97
  mock(BitClust::MethodDatabase).new(@prefix).returns(@db)
98
98
  command.parse(["--list"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitclust-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-15 00:00:00.000000000 Z
12
+ date: 2013-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit
@@ -60,96 +60,103 @@ files:
60
60
  - README
61
61
  - Rakefile
62
62
  - bitclust.gemspec
63
+ - data/bitclust/template/layout
64
+ - data/bitclust/template/method
65
+ - data/bitclust/template/class-index
66
+ - data/bitclust/template/class
67
+ - data/bitclust/template/library
68
+ - data/bitclust/template/function-index
69
+ - data/bitclust/template/library-index
70
+ - data/bitclust/template/opensearchdescription
71
+ - data/bitclust/template/function
72
+ - data/bitclust/template/search
73
+ - data/bitclust/template/doc
63
74
  - data/bitclust/template.lillia/layout
64
- - data/bitclust/template.lillia/library-index
65
75
  - data/bitclust/template.lillia/method
66
- - data/bitclust/template.lillia/doc
67
76
  - data/bitclust/template.lillia/class-index
77
+ - data/bitclust/template.lillia/class
68
78
  - data/bitclust/template.lillia/library
79
+ - data/bitclust/template.lillia/library-index
69
80
  - data/bitclust/template.lillia/rd_file
70
- - data/bitclust/template.lillia/class
71
- - data/bitclust/catalog/ja_JP.UTF-8
72
- - data/bitclust/template.offline/function
81
+ - data/bitclust/template.lillia/doc
73
82
  - data/bitclust/template.offline/layout
74
- - data/bitclust/template.offline/library-index
75
83
  - data/bitclust/template.offline/method
76
- - data/bitclust/template.offline/function-index
77
- - data/bitclust/template.offline/doc
78
84
  - data/bitclust/template.offline/class-index
85
+ - data/bitclust/template.offline/class
79
86
  - data/bitclust/template.offline/library
87
+ - data/bitclust/template.offline/function-index
88
+ - data/bitclust/template.offline/library-index
89
+ - data/bitclust/template.offline/function
80
90
  - data/bitclust/template.offline/rd_file
81
- - data/bitclust/template.offline/class
82
- - data/bitclust/template/function
83
- - data/bitclust/template/layout
84
- - data/bitclust/template/search
85
- - data/bitclust/template/library-index
86
- - data/bitclust/template/method
87
- - data/bitclust/template/function-index
88
- - data/bitclust/template/doc
89
- - data/bitclust/template/opensearchdescription
90
- - data/bitclust/template/class-index
91
- - data/bitclust/template/library
92
- - data/bitclust/template/class
91
+ - data/bitclust/template.offline/doc
92
+ - data/bitclust/catalog/ja_JP.UTF-8
93
93
  - lib/bitclust/app.rb
94
- - lib/bitclust/completion.rb
95
- - lib/bitclust/ridatabase.rb
96
- - lib/bitclust/exception.rb
97
- - lib/bitclust/lineinput.rb
98
- - lib/bitclust/server.rb
99
- - lib/bitclust/subcommand.rb
100
- - lib/bitclust/entry.rb
101
- - lib/bitclust/methodsignature.rb
102
- - lib/bitclust/compat.rb
103
- - lib/bitclust/messagecatalog.rb
104
- - lib/bitclust/nameutils.rb
105
- - lib/bitclust/rrdparser.rb
106
- - lib/bitclust/functionentry.rb
94
+ - lib/bitclust/crossrubyutils.rb
95
+ - lib/bitclust/subcommands/list_command.rb
96
+ - lib/bitclust/subcommands/lookup_command.rb
97
+ - lib/bitclust/subcommands/property_command.rb
98
+ - lib/bitclust/subcommands/server_command.rb
99
+ - lib/bitclust/subcommands/query_command.rb
100
+ - lib/bitclust/subcommands/update_command.rb
101
+ - lib/bitclust/subcommands/setup_command.rb
102
+ - lib/bitclust/subcommands/init_command.rb
103
+ - lib/bitclust/docentry.rb
104
+ - lib/bitclust/searcher.rb
107
105
  - lib/bitclust/preprocessor.rb
108
- - lib/bitclust/version.rb
109
106
  - lib/bitclust/functiondatabase.rb
107
+ - lib/bitclust/version.rb
108
+ - lib/bitclust/libraryentry.rb
109
+ - lib/bitclust/textutils.rb
110
+ - lib/bitclust/runner.rb
111
+ - lib/bitclust/database.rb
112
+ - lib/bitclust/requesthandler.rb
113
+ - lib/bitclust/refsdatabase.rb
110
114
  - lib/bitclust/classentry.rb
111
- - lib/bitclust/rdcompiler.rb
112
115
  - lib/bitclust/interface.rb
113
- - lib/bitclust/requesthandler.rb
114
- - lib/bitclust/methoddatabase.rb
116
+ - lib/bitclust/entry.rb
117
+ - lib/bitclust/completion.rb
118
+ - lib/bitclust/functionentry.rb
119
+ - lib/bitclust/parseutils.rb
120
+ - lib/bitclust/compat.rb
115
121
  - lib/bitclust/simplesearcher.rb
116
- - lib/bitclust/crossrubyutils.rb
117
- - lib/bitclust/searcher.rb
118
- - lib/bitclust/functionreferenceparser.rb
122
+ - lib/bitclust/server.rb
119
123
  - lib/bitclust/htmlutils.rb
120
- - lib/bitclust/libraryentry.rb
121
- - lib/bitclust/docentry.rb
124
+ - lib/bitclust/messagecatalog.rb
125
+ - lib/bitclust/exception.rb
126
+ - lib/bitclust/rrdparser.rb
127
+ - lib/bitclust/lineinput.rb
122
128
  - lib/bitclust/screen.rb
123
- - lib/bitclust/textutils.rb
124
- - lib/bitclust/refsdatabase.rb
125
- - lib/bitclust/runner.rb
129
+ - lib/bitclust/rdcompiler.rb
130
+ - lib/bitclust/functionreferenceparser.rb
131
+ - lib/bitclust/nameutils.rb
126
132
  - lib/bitclust/methodentry.rb
127
- - lib/bitclust/database.rb
128
133
  - lib/bitclust/methodid.rb
129
- - lib/bitclust/parseutils.rb
134
+ - lib/bitclust/ridatabase.rb
135
+ - lib/bitclust/subcommand.rb
136
+ - lib/bitclust/methodsignature.rb
137
+ - lib/bitclust/methoddatabase.rb
130
138
  - lib/bitclust.rb
131
- - theme/default/test.css
132
- - theme/default/images/external.png
133
- - theme/default/rurema.png
134
- - theme/default/style.css
135
- - theme/lillia/test.css
136
139
  - theme/lillia/rurema.png
137
140
  - theme/lillia/style.css
138
- - test/test_refsdatabase.rb
139
- - test/test_rdcompiler.rb
140
- - test/test_libraryentry.rb
141
- - test/test_methoddatabase.rb
141
+ - theme/lillia/test.css
142
+ - theme/default/rurema.png
143
+ - theme/default/style.css
144
+ - theme/default/test.css
145
+ - theme/default/images/external.png
146
+ - test/test_bitclust.rb
142
147
  - test/test_functiondatabase.rb
143
- - test/run_test.rb
144
- - test/test_nameutils.rb
145
148
  - test/test_preprocessor.rb
146
- - test/test_subcommand.rb
149
+ - test/test_methoddatabase.rb
147
150
  - test/test_simplesearcher.rb
151
+ - test/test_rdcompiler.rb
152
+ - test/test_nameutils.rb
153
+ - test/test_libraryentry.rb
154
+ - test/test_methodsignature.rb
148
155
  - test/test_runner.rb
149
- - test/test_entry.rb
150
156
  - test/test_rrdparser.rb
151
- - test/test_methodsignature.rb
152
- - test/test_bitclust.rb
157
+ - test/test_refsdatabase.rb
158
+ - test/run_test.rb
159
+ - test/test_entry.rb
153
160
  - bin/bitclust
154
161
  homepage: http://doc.ruby-lang.org/ja/
155
162
  licenses: []
@@ -163,31 +170,36 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
170
  - - ! '>='
164
171
  - !ruby/object:Gem::Version
165
172
  version: '0'
173
+ segments:
174
+ - 0
175
+ hash: -3700746749855450805
166
176
  required_rubygems_version: !ruby/object:Gem::Requirement
167
177
  none: false
168
178
  requirements:
169
179
  - - ! '>='
170
180
  - !ruby/object:Gem::Version
171
181
  version: '0'
182
+ segments:
183
+ - 0
184
+ hash: -3700746749855450805
172
185
  requirements: []
173
186
  rubyforge_project: ''
174
- rubygems_version: 1.8.24
187
+ rubygems_version: 1.8.25
175
188
  signing_key:
176
189
  specification_version: 3
177
190
  summary: BitClust is a rurema document processor.
178
191
  test_files:
179
- - test/test_refsdatabase.rb
180
- - test/test_rdcompiler.rb
181
- - test/test_libraryentry.rb
182
- - test/test_methoddatabase.rb
192
+ - test/test_bitclust.rb
183
193
  - test/test_functiondatabase.rb
184
- - test/run_test.rb
185
- - test/test_nameutils.rb
186
194
  - test/test_preprocessor.rb
187
- - test/test_subcommand.rb
195
+ - test/test_methoddatabase.rb
188
196
  - test/test_simplesearcher.rb
197
+ - test/test_rdcompiler.rb
198
+ - test/test_nameutils.rb
199
+ - test/test_libraryentry.rb
200
+ - test/test_methodsignature.rb
189
201
  - test/test_runner.rb
190
- - test/test_entry.rb
191
202
  - test/test_rrdparser.rb
192
- - test/test_methodsignature.rb
193
- - test/test_bitclust.rb
203
+ - test/test_refsdatabase.rb
204
+ - test/run_test.rb
205
+ - test/test_entry.rb
@@ -1,12 +0,0 @@
1
-
2
- class TestSetup < Test::Unit::TestCase
3
- def setup
4
- @command = BitClust::SetupCommand.new
5
- end
6
-
7
- def teardown
8
- end
9
-
10
- def test_exec
11
- end
12
- end