activegroonga 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. data/README.textile +55 -0
  2. data/Rakefile +45 -165
  3. data/{license/LGPL → doc/text/lgpl.txt} +0 -0
  4. data/doc/text/news.textile +60 -0
  5. data/doc/text/tutorial.textile +3 -0
  6. data/lib/active_groonga/base.rb +50 -2
  7. data/lib/active_groonga/railtie.rb +6 -5
  8. data/lib/active_groonga/railties/groonga.rake +8 -4
  9. data/lib/active_groonga/result_set.rb +133 -8
  10. data/lib/active_groonga/version.rb +1 -1
  11. data/test/active-groonga-test-utils.rb +6 -0
  12. data/test/run-test.rb +11 -24
  13. data/test/test-base.rb +10 -4
  14. data/test/test-result-set.rb +121 -9
  15. metadata +90 -138
  16. data/AUTHORS +0 -1
  17. data/NEWS.ja.rdoc +0 -46
  18. data/NEWS.rdoc +0 -46
  19. data/README.ja.rdoc +0 -52
  20. data/README.rdoc +0 -52
  21. data/test-unit-notify/Rakefile +0 -47
  22. data/test-unit-notify/lib/test/unit/notify.rb +0 -104
  23. data/test-unit/COPYING +0 -56
  24. data/test-unit/GPL +0 -340
  25. data/test-unit/PSFL +0 -271
  26. data/test-unit/Rakefile +0 -53
  27. data/test-unit/TODO +0 -5
  28. data/test-unit/bin/testrb +0 -5
  29. data/test-unit/html/bar.svg +0 -153
  30. data/test-unit/html/developer.svg +0 -469
  31. data/test-unit/html/favicon.ico +0 -0
  32. data/test-unit/html/favicon.svg +0 -82
  33. data/test-unit/html/heading-mark.svg +0 -393
  34. data/test-unit/html/index.html +0 -247
  35. data/test-unit/html/index.html.ja +0 -270
  36. data/test-unit/html/install.svg +0 -636
  37. data/test-unit/html/logo.svg +0 -483
  38. data/test-unit/html/test-unit.css +0 -339
  39. data/test-unit/html/tutorial.svg +0 -559
  40. data/test-unit/lib/test/unit.rb +0 -328
  41. data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
  42. data/test-unit/lib/test/unit/assertions.rb +0 -1334
  43. data/test-unit/lib/test/unit/attribute.rb +0 -125
  44. data/test-unit/lib/test/unit/autorunner.rb +0 -363
  45. data/test-unit/lib/test/unit/collector.rb +0 -36
  46. data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
  47. data/test-unit/lib/test/unit/collector/dir.rb +0 -108
  48. data/test-unit/lib/test/unit/collector/load.rb +0 -144
  49. data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
  50. data/test-unit/lib/test/unit/color-scheme.rb +0 -106
  51. data/test-unit/lib/test/unit/color.rb +0 -96
  52. data/test-unit/lib/test/unit/diff.rb +0 -740
  53. data/test-unit/lib/test/unit/error.rb +0 -130
  54. data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
  55. data/test-unit/lib/test/unit/failure.rb +0 -136
  56. data/test-unit/lib/test/unit/fixture.rb +0 -176
  57. data/test-unit/lib/test/unit/notification.rb +0 -129
  58. data/test-unit/lib/test/unit/omission.rb +0 -191
  59. data/test-unit/lib/test/unit/pending.rb +0 -150
  60. data/test-unit/lib/test/unit/priority.rb +0 -180
  61. data/test-unit/lib/test/unit/runner/console.rb +0 -52
  62. data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
  63. data/test-unit/lib/test/unit/runner/tap.rb +0 -8
  64. data/test-unit/lib/test/unit/testcase.rb +0 -483
  65. data/test-unit/lib/test/unit/testresult.rb +0 -121
  66. data/test-unit/lib/test/unit/testsuite.rb +0 -110
  67. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
  68. data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -430
  69. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
  70. data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
  71. data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
  72. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
  73. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
  74. data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
  75. data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
  76. data/test-unit/lib/test/unit/util/observable.rb +0 -90
  77. data/test-unit/lib/test/unit/util/output.rb +0 -31
  78. data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
  79. data/test-unit/lib/test/unit/version.rb +0 -7
  80. data/test-unit/sample/adder.rb +0 -13
  81. data/test-unit/sample/subtracter.rb +0 -12
  82. data/test-unit/sample/test_adder.rb +0 -20
  83. data/test-unit/sample/test_subtracter.rb +0 -20
  84. data/test-unit/sample/test_user.rb +0 -23
  85. data/test-unit/test/collector/test-descendant.rb +0 -133
  86. data/test-unit/test/collector/test-load.rb +0 -442
  87. data/test-unit/test/collector/test_dir.rb +0 -406
  88. data/test-unit/test/collector/test_objectspace.rb +0 -100
  89. data/test-unit/test/run-test.rb +0 -15
  90. data/test-unit/test/test-attribute.rb +0 -86
  91. data/test-unit/test/test-color-scheme.rb +0 -69
  92. data/test-unit/test/test-color.rb +0 -47
  93. data/test-unit/test/test-diff.rb +0 -518
  94. data/test-unit/test/test-emacs-runner.rb +0 -60
  95. data/test-unit/test/test-fixture.rb +0 -287
  96. data/test-unit/test/test-notification.rb +0 -33
  97. data/test-unit/test/test-omission.rb +0 -81
  98. data/test-unit/test/test-pending.rb +0 -70
  99. data/test-unit/test/test-priority.rb +0 -119
  100. data/test-unit/test/test-testcase.rb +0 -544
  101. data/test-unit/test/test_assertions.rb +0 -1197
  102. data/test-unit/test/test_error.rb +0 -26
  103. data/test-unit/test/test_failure.rb +0 -33
  104. data/test-unit/test/test_testresult.rb +0 -113
  105. data/test-unit/test/test_testsuite.rb +0 -129
  106. data/test-unit/test/testunit-test-util.rb +0 -14
  107. data/test-unit/test/ui/test_tap.rb +0 -33
  108. data/test-unit/test/ui/test_testrunmediator.rb +0 -20
  109. data/test-unit/test/util/test-method-owner-finder.rb +0 -38
  110. data/test-unit/test/util/test-output.rb +0 -11
  111. data/test-unit/test/util/test_backtracefilter.rb +0 -41
  112. data/test-unit/test/util/test_observable.rb +0 -102
  113. data/test-unit/test/util/test_procwrapper.rb +0 -36
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activegroonga
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- version: 1.0.4
9
+ - 5
10
+ version: 1.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kouhei Sutou
@@ -15,80 +15,128 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-31 00:00:00 +09:00
19
- default_executable:
18
+ date: 2011-09-04 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ none: false
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ hash: 3
27
+ segments:
28
+ - 0
29
+ version: "0"
22
30
  name: rroonga
23
31
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
32
+ type: :runtime
33
+ requirement: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ version_requirements: &id002 !ruby/object:Gem::Requirement
25
36
  none: false
26
37
  requirements:
27
38
  - - ">="
28
39
  - !ruby/object:Gem::Version
29
- hash: 31
40
+ hash: 3
30
41
  segments:
42
+ - 3
31
43
  - 1
32
44
  - 0
33
- - 4
34
- version: 1.0.4
45
+ version: 3.1.0
46
+ name: activemodel
47
+ prerelease: false
35
48
  type: :runtime
36
- version_requirements: *id001
49
+ requirement: *id002
37
50
  - !ruby/object:Gem::Dependency
38
- name: activemodel
51
+ version_requirements: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ name: test-unit
39
61
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
62
+ type: :development
63
+ requirement: *id003
64
+ - !ruby/object:Gem::Dependency
65
+ version_requirements: &id004 !ruby/object:Gem::Requirement
41
66
  none: false
42
67
  requirements:
43
68
  - - ">="
44
69
  - !ruby/object:Gem::Version
45
- hash: 5
70
+ hash: 3
46
71
  segments:
47
- - 3
48
72
  - 0
49
- - 1
50
- version: 3.0.1
51
- type: :runtime
52
- version_requirements: *id002
73
+ version: "0"
74
+ name: test-unit-notify
75
+ prerelease: false
76
+ type: :development
77
+ requirement: *id004
53
78
  - !ruby/object:Gem::Dependency
54
- name: rubyforge
79
+ version_requirements: &id005 !ruby/object:Gem::Requirement
80
+ none: false
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ hash: 3
85
+ segments:
86
+ - 0
87
+ version: "0"
88
+ name: jeweler
55
89
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
90
+ type: :development
91
+ requirement: *id005
92
+ - !ruby/object:Gem::Dependency
93
+ version_requirements: &id006 !ruby/object:Gem::Requirement
57
94
  none: false
58
95
  requirements:
59
96
  - - ">="
60
97
  - !ruby/object:Gem::Version
61
- hash: 7
98
+ hash: 63
62
99
  segments:
100
+ - 0
101
+ - 9
63
102
  - 2
103
+ version: 0.9.2
104
+ name: packnga
105
+ prerelease: false
106
+ type: :development
107
+ requirement: *id006
108
+ - !ruby/object:Gem::Dependency
109
+ version_requirements: &id007 !ruby/object:Gem::Requirement
110
+ none: false
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ hash: 3
115
+ segments:
64
116
  - 0
65
- - 4
66
- version: 2.0.4
117
+ version: "0"
118
+ name: RedCloth
119
+ prerelease: false
67
120
  type: :development
68
- version_requirements: *id003
121
+ requirement: *id007
69
122
  description: |-
70
123
  groonga provides both of full text search and column store
71
124
  features. ActiveGroonga + groonga can be used as an
72
125
  alternative of ActiveRecord + RDB.
73
126
  email:
74
- - groonga-users-en@rubyforge.org
75
- - groonga-dev@lists.sourceforge.jp
127
+ - kou@clear-code.com
76
128
  executables: []
77
129
 
78
130
  extensions: []
79
131
 
80
132
  extra_rdoc_files:
81
- - NEWS.rdoc
82
- - README.rdoc
83
- - README.ja.rdoc
84
- - NEWS.ja.rdoc
133
+ - README.textile
85
134
  files:
86
- - AUTHORS
87
- - NEWS.ja.rdoc
88
- - NEWS.rdoc
89
- - README.ja.rdoc
90
- - README.rdoc
135
+ - README.textile
91
136
  - Rakefile
137
+ - doc/text/lgpl.txt
138
+ - doc/text/news.textile
139
+ - doc/text/tutorial.textile
92
140
  - lib/active_groonga.rb
93
141
  - lib/active_groonga/base.rb
94
142
  - lib/active_groonga/callbacks.rb
@@ -117,100 +165,6 @@ files:
117
165
  - lib/rails/generators/active_groonga/model/templates/migration.rb
118
166
  - lib/rails/generators/active_groonga/model/templates/model.rb
119
167
  - lib/rails/generators/active_groonga/model/templates/module.rb
120
- - license/LGPL
121
- - test-unit-notify/Rakefile
122
- - test-unit-notify/lib/test/unit/notify.rb
123
- - test-unit/COPYING
124
- - test-unit/GPL
125
- - test-unit/PSFL
126
- - test-unit/Rakefile
127
- - test-unit/TODO
128
- - test-unit/bin/testrb
129
- - test-unit/html/bar.svg
130
- - test-unit/html/developer.svg
131
- - test-unit/html/favicon.ico
132
- - test-unit/html/favicon.svg
133
- - test-unit/html/heading-mark.svg
134
- - test-unit/html/index.html
135
- - test-unit/html/index.html.ja
136
- - test-unit/html/install.svg
137
- - test-unit/html/logo.svg
138
- - test-unit/html/test-unit.css
139
- - test-unit/html/tutorial.svg
140
- - test-unit/lib/test/unit.rb
141
- - test-unit/lib/test/unit/assertionfailederror.rb
142
- - test-unit/lib/test/unit/assertions.rb
143
- - test-unit/lib/test/unit/attribute.rb
144
- - test-unit/lib/test/unit/autorunner.rb
145
- - test-unit/lib/test/unit/collector.rb
146
- - test-unit/lib/test/unit/collector/descendant.rb
147
- - test-unit/lib/test/unit/collector/dir.rb
148
- - test-unit/lib/test/unit/collector/load.rb
149
- - test-unit/lib/test/unit/collector/objectspace.rb
150
- - test-unit/lib/test/unit/color-scheme.rb
151
- - test-unit/lib/test/unit/color.rb
152
- - test-unit/lib/test/unit/diff.rb
153
- - test-unit/lib/test/unit/error.rb
154
- - test-unit/lib/test/unit/exceptionhandler.rb
155
- - test-unit/lib/test/unit/failure.rb
156
- - test-unit/lib/test/unit/fixture.rb
157
- - test-unit/lib/test/unit/notification.rb
158
- - test-unit/lib/test/unit/omission.rb
159
- - test-unit/lib/test/unit/pending.rb
160
- - test-unit/lib/test/unit/priority.rb
161
- - test-unit/lib/test/unit/runner/console.rb
162
- - test-unit/lib/test/unit/runner/emacs.rb
163
- - test-unit/lib/test/unit/runner/tap.rb
164
- - test-unit/lib/test/unit/testcase.rb
165
- - test-unit/lib/test/unit/testresult.rb
166
- - test-unit/lib/test/unit/testsuite.rb
167
- - test-unit/lib/test/unit/ui/console/outputlevel.rb
168
- - test-unit/lib/test/unit/ui/console/testrunner.rb
169
- - test-unit/lib/test/unit/ui/emacs/testrunner.rb
170
- - test-unit/lib/test/unit/ui/tap/testrunner.rb
171
- - test-unit/lib/test/unit/ui/testrunner.rb
172
- - test-unit/lib/test/unit/ui/testrunnermediator.rb
173
- - test-unit/lib/test/unit/ui/testrunnerutilities.rb
174
- - test-unit/lib/test/unit/util/backtracefilter.rb
175
- - test-unit/lib/test/unit/util/method-owner-finder.rb
176
- - test-unit/lib/test/unit/util/observable.rb
177
- - test-unit/lib/test/unit/util/output.rb
178
- - test-unit/lib/test/unit/util/procwrapper.rb
179
- - test-unit/lib/test/unit/version.rb
180
- - test-unit/sample/adder.rb
181
- - test-unit/sample/subtracter.rb
182
- - test-unit/sample/test_adder.rb
183
- - test-unit/sample/test_subtracter.rb
184
- - test-unit/sample/test_user.rb
185
- - test-unit/test/collector/test-descendant.rb
186
- - test-unit/test/collector/test-load.rb
187
- - test-unit/test/collector/test_dir.rb
188
- - test-unit/test/collector/test_objectspace.rb
189
- - test-unit/test/run-test.rb
190
- - test-unit/test/test-attribute.rb
191
- - test-unit/test/test-color-scheme.rb
192
- - test-unit/test/test-color.rb
193
- - test-unit/test/test-diff.rb
194
- - test-unit/test/test-emacs-runner.rb
195
- - test-unit/test/test-fixture.rb
196
- - test-unit/test/test-notification.rb
197
- - test-unit/test/test-omission.rb
198
- - test-unit/test/test-pending.rb
199
- - test-unit/test/test-priority.rb
200
- - test-unit/test/test-testcase.rb
201
- - test-unit/test/test_assertions.rb
202
- - test-unit/test/test_error.rb
203
- - test-unit/test/test_failure.rb
204
- - test-unit/test/test_testresult.rb
205
- - test-unit/test/test_testsuite.rb
206
- - test-unit/test/testunit-test-util.rb
207
- - test-unit/test/ui/test_tap.rb
208
- - test-unit/test/ui/test_testrunmediator.rb
209
- - test-unit/test/util/test-method-owner-finder.rb
210
- - test-unit/test/util/test-output.rb
211
- - test-unit/test/util/test_backtracefilter.rb
212
- - test-unit/test/util/test_observable.rb
213
- - test-unit/test/util/test_procwrapper.rb
214
168
  - test/active-groonga-test-utils.rb
215
169
  - test/fixtures/bookmark.rb
216
170
  - test/fixtures/site.rb
@@ -224,14 +178,12 @@ files:
224
178
  - test/test-result-set.rb
225
179
  - test/test-schema.rb
226
180
  - test/test-validations.rb
227
- has_rdoc: true
228
181
  homepage: http://groonga.rubyforge.org/
229
- licenses: []
230
-
182
+ licenses:
183
+ - LGPLv2
231
184
  post_install_message:
232
- rdoc_options:
233
- - --main
234
- - README.ja.rdoc
185
+ rdoc_options: []
186
+
235
187
  require_paths:
236
188
  - lib
237
189
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -255,9 +207,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
207
  requirements: []
256
208
 
257
209
  rubyforge_project: groonga
258
- rubygems_version: 1.6.2
210
+ rubygems_version: 1.7.2
259
211
  signing_key:
260
212
  specification_version: 3
261
213
  summary: A library to use groonga with ActiveRecord like API.
262
- test_files:
263
- - test/run-test.rb
214
+ test_files: []
215
+
data/AUTHORS DELETED
@@ -1 +0,0 @@
1
- Kouhei Sutou <kou@clear-code.com>
@@ -1,46 +0,0 @@
1
- = お知らせ
2
-
3
- == 1.0.4: 2011-04-01
4
-
5
- === 改良
6
-
7
- * Kaminari対応。(Viewのみ)
8
-
9
- == 1.0.3: 2010-12-25
10
-
11
- === 改良
12
-
13
- * score対応。
14
-
15
- == 1.0.1: 2010-11-29
16
-
17
- === 改良
18
-
19
- * ジェネレータ: テーブルの種類の指定に対応。
20
- * ActiveGroonga::Base.exists?を追加。
21
- * ActiveGroonga::Base.allを追加。
22
-
23
- === 変更
24
-
25
- * ハッシュテーブル・パトリシアトライを利用しているときはレコード識別子
26
- としてIDではなくキーを使うように変更。
27
-
28
- == 1.0.0: 2010-11-29
29
-
30
- * Rails 3対応
31
-
32
- == 0.0.7: 2009-10-02
33
-
34
- * Ruby/groonga 0.0.7対応
35
-
36
- == 0.0.6: 2009-07-31
37
-
38
- * Ruby/groonga 0.0.6対応
39
-
40
- == 0.0.2: 2009-06-05
41
-
42
- * Ruby/groonga 0.0.2対応
43
-
44
- == 0.0.1: 2009-04-30
45
-
46
- * 最初のリリース!
data/NEWS.rdoc DELETED
@@ -1,46 +0,0 @@
1
- = NEWS
2
-
3
- == 1.0.4: 2011-04-01
4
-
5
- === Improvements
6
-
7
- * Supported Kaminari. (View interface only)
8
-
9
- == 1.0.3: 2010-12-25
10
-
11
- === Improvements
12
-
13
- * Supported score.
14
-
15
- == 1.0.1: 2010-11-29
16
-
17
- === Improvments
18
-
19
- * generator: Supported table type customize.
20
- * Added ActiveGroonga::Base.exists?.
21
- * Added ActiveGroonga::Base.all.
22
-
23
- === Changes
24
-
25
- * Changed to use record key instead of record ID for record
26
- identifier for hash table and patricia trie.
27
-
28
- == 1.0.0: 2010-11-29
29
-
30
- * Support Rails 3.
31
-
32
- == 0.0.7: 2009-10-02
33
-
34
- * Support Ruby/groonga 0.0.7.
35
-
36
- == 0.0.6: 2009-07-31
37
-
38
- * Support Ruby/groonga 0.0.6.
39
-
40
- == 0.0.2: 2009-06-05
41
-
42
- * Support Ruby/groonga 0.0.2.
43
-
44
- == 0.0.1: 2009-04-30
45
-
46
- * Initial release!
@@ -1,52 +0,0 @@
1
- = はじめに
2
-
3
- == 名前
4
-
5
- ActiveGroonga
6
-
7
- == 説明
8
-
9
- ActiveRecord風のAPIを使ってgroongaを使うためのライブラリです。
10
-
11
- groongaは全文検索機能とカラムストアの機能を提供しています。
12
- ActiveRecordとRDBの組み合わせの代わりに、ActiveGroongaと
13
- groongaの組み合わせを使うことができます。
14
-
15
- rroongaをベースとしています。rroongaとgroongaに関する情報は以
16
- 下を参照して下さい。
17
-
18
- * rroonga: http://groonga.rubyforge.org/
19
- * groonga: http://groonga.org/
20
-
21
- == 作者
22
-
23
- Kouhei Sutou <tt><kou@clear-code.com></tt>
24
-
25
- == ライセンス
26
-
27
- LGPL 2.1です。詳しくはlicense/LGPLを見てください。
28
-
29
- (コントリビュートされたパッチなども含み、Kouhei Sutouがライ
30
- センスを変更する権利を持ちます。)
31
-
32
- == 依存ソフトウェア
33
-
34
- * rroonga
35
-
36
- == インストール
37
-
38
- % sudo gem install activegroonga
39
-
40
- == ドキュメント
41
-
42
- http://groonga.rubyforge.org/activegroonga/
43
-
44
- == メーリングリスト
45
-
46
- 質問、要望、バグ報告などはgroongaのMLにお願いします。
47
-
48
- http://lists.sourceforge.jp/mailman/listinfo/groonga-dev
49
-
50
- == 感謝
51
-
52
- * ...