activegroonga 1.0.7 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.yardopts ADDED
@@ -0,0 +1,2 @@
1
+ --exclude /templates/
2
+ --markup textile
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8; mode: ruby -*-
2
2
  #
3
- # Copyright (C) 2009-2011 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2009-2013 Kouhei Sutou <kou@clear-code.com>
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -15,74 +15,33 @@
15
15
  # License along with this library; if not, write to the Free Software
16
16
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
17
 
18
- require 'English'
18
+ require "English"
19
19
 
20
- require 'pathname'
21
- require 'rubygems'
22
- require 'rubygems/package_task'
23
- require "jeweler"
20
+ require "pathname"
21
+ require "rubygems"
22
+ require "bundler/gem_helper"
24
23
  require "packnga"
25
24
 
26
25
  base_dir = Pathname.new(__FILE__).dirname.expand_path
27
26
 
28
- @rroonga_base_dir = base_dir.parent.expand_path + 'rroonga'
29
- rroonga_ext_dir = @rroonga_base_dir + 'ext' + "groonga"
30
- rroonga_lib_dir = @rroonga_base_dir + 'lib'
27
+ @rroonga_base_dir = base_dir.parent.expand_path + "rroonga"
28
+ rroonga_ext_dir = @rroonga_base_dir + "ext" + "groonga"
29
+ rroonga_lib_dir = @rroonga_base_dir + "lib"
31
30
  $LOAD_PATH.unshift(rroonga_ext_dir.to_s)
32
31
  $LOAD_PATH.unshift(rroonga_lib_dir.to_s)
33
- ENV["RUBYLIB"] = "#{rroonga_lib_dir}:#{rroonga_ext_dir}:#{ENV['RUBYLIB']}"
32
+ ENV["RUBYLIB"] = [rroonga_lib_dir, rroonga_ext_dir, ENV["RUBYLIB"]].join(":")
34
33
 
35
- active_groonga_lib_dir = base_dir + "lib"
36
- $LOAD_PATH.unshift(active_groonga_lib_dir.to_s)
37
-
38
- def guess_version
39
- require 'active_groonga/version'
40
- ActiveGroonga::VERSION::STRING
41
- end
42
-
43
- def cleanup_white_space(entry)
44
- entry.gsub(/(\A\n+|\n+\z)/, '') + "\n"
45
- end
46
-
47
- ENV["VERSION"] ||= guess_version
48
- version = ENV["VERSION"].dup
49
- spec = nil
50
- Jeweler::Tasks.new do |_spec|
51
- spec = _spec
52
- spec.name = "activegroonga"
53
- spec.version = version
54
- spec.rubyforge_project = "groonga"
55
- spec.homepage = "http://groonga.rubyforge.org/"
56
- spec.authors = ["Kouhei Sutou"]
57
- spec.email = ["kou@clear-code.com"]
58
- entries = File.read("README.textile").split(/^h2\.\s(.*)$/)
59
- description = cleanup_white_space(entries[entries.index("Description") + 1])
60
- spec.summary, spec.description, = description.split(/\n\n+/, 3)
61
- spec.license = "LGPLv2"
62
- spec.files = FileList["{lib,test}/**/*.rb",
63
- "lib/**/railties/**/*.rake",
64
- "lib/**/locale/**/*.yml",
65
- "Rakefile",
66
- "README.textile",
67
- "doc/text/**/*"]
68
- end
69
-
70
- Rake::Task["release"].prerequisites.clear
71
- Jeweler::RubygemsDotOrgTasks.new do
34
+ helper = Bundler::GemHelper.new(base_dir)
35
+ def helper.version_tag
36
+ version
72
37
  end
73
38
 
74
- Gem::PackageTask.new(spec) do |pkg|
75
- pkg.need_tar_gz = true
76
- end
39
+ helper.install
40
+ spec = helper.gemspec
77
41
 
78
42
  Packnga::DocumentTask.new(spec) do |task|
79
- task.yard do |yard_task|
80
- yard_task.options += ["--exclude", "/templates/"]
81
- yard_task.options += ["--markup", "textile"]
82
- end
83
- task.reference do |reference_task|
84
- # reference_task.mode = "xhtml"
85
- end
43
+ task.original_language = "en"
44
+ task.translate_languages = ["ja"]
86
45
  end
87
46
 
88
47
  Packnga::ReleaseTask.new(spec) do |task|
@@ -0,0 +1,56 @@
1
+ # -*- mode: ruby; coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License version 2.1 as published by the Free Software Foundation.
8
+ #
9
+ # This library is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
+ # Lesser General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU Lesser General Public
15
+ # License along with this library; if not, write to the Free Software
16
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
+
18
+ base_dir = File.dirname(__FILE__)
19
+ $LOAD_PATH.unshift(File.join(base_dir, "lib"))
20
+
21
+ require "active_groonga/version"
22
+
23
+ clean_white_space = lambda do |entry|
24
+ entry.gsub(/(\A\n+|\n+\z)/, '') + "\n"
25
+ end
26
+
27
+ Gem::Specification.new do |spec|
28
+ spec.name = "activegroonga"
29
+ spec.version = ActiveGroonga::VERSION::STRING.dup
30
+ spec.rubyforge_project = "groonga"
31
+ spec.homepage = "http://ranguba.org/#about-active-groonga"
32
+ spec.authors = ["Kouhei Sutou"]
33
+ spec.email = ["kou@clear-code.com"]
34
+
35
+ entries = File.read("README.textile").split(/^h2\.\s(.*)$/)
36
+ description = clean_white_space.call(entries[entries.index("Description") + 1])
37
+ spec.summary, spec.description, = description.split(/\n\n+/, 3)
38
+
39
+ spec.license = "LGPLv2"
40
+ spec.files = ["README.textile", "Rakefile"]
41
+ spec.files += [".yardopts", "#{spec.name}.gemspec"]
42
+ spec.files += Dir.glob("lib/**/*.rb")
43
+ spec.files += Dir.glob("lib/**/railties/**/*.rake")
44
+ spec.files += Dir.glob("lib/**/locale/**/*.yml")
45
+ spec.files += Dir.glob("doc/text/**/*")
46
+ spec.test_files += Dir.glob("test/**/*.rb")
47
+
48
+ spec.add_runtime_dependency("rroonga", ">= 2.1.1")
49
+ spec.add_runtime_dependency("activemodel", ">= 3.1.0")
50
+ spec.add_development_dependency("test-unit")
51
+ spec.add_development_dependency("test-unit-notify")
52
+ spec.add_development_dependency("rake")
53
+ spec.add_development_dependency("bundler")
54
+ spec.add_development_dependency("packnga", ">= 0.9.7")
55
+ spec.add_development_dependency("RedCloth")
56
+ end
@@ -1,5 +1,26 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#2-1-1). 2.1.1: 2013-01-03
4
+
5
+ h3. Improvements
6
+
7
+ * Required rroogna 2.1.1 or later.
8
+ * [GitHub#4] Sorted columns in inspect. [Patch by SHIMADA Koji]
9
+ * [GitHub#5] Added missing YARD related configurations. [Patch by SHIMADA Koji]
10
+ * [GitHub#7] Migrated to Bundler from Jeweler. [Suggested by YasuOza]
11
+
12
+ h3. Fixes
13
+
14
+ * [GitHub#1] Suppressed warnings on Rails 3.2.0. [Patch by SHIMADA Koji]
15
+ * [GitHub#2] Fixed test script path. [Patch by SHIMADA Koji]
16
+ * [GitHub#3] Added missing database close on test. [Patch by SHIMADA Koji]
17
+ * [GitHub#6] FIxed wrong assertions in test. [Patch by SHIMADA Koji]
18
+
19
+ h3. Thanks
20
+
21
+ * SHIMADA Koji
22
+ * YasuOza
23
+
3
24
  h2(#1-0-7). 1.0.7: 2011-11-29
4
25
 
5
26
  h3. Improvements
@@ -22,7 +22,6 @@ module ActiveGroonga
22
22
  extend ActiveModel::Naming
23
23
  include ActiveModel::Conversion
24
24
  include ActiveModel::AttributeMethods
25
- attribute_method_suffix ""
26
25
  attribute_method_suffix "="
27
26
 
28
27
  cattr_accessor :logger, :instance_writer => false
@@ -188,7 +187,10 @@ module ActiveGroonga
188
187
 
189
188
  def inspect
190
189
  return super if table.nil?
191
- columns_info = table.columns.collect do |column|
190
+ sorted_columns = table.columns.sort_by do |column|
191
+ column.local_name
192
+ end
193
+ columns_info = sorted_columns.collect do |column|
192
194
  "#{column.local_name}: #{column.range.name}"
193
195
  end
194
196
  "#{name}(#{columns_info.join(', ')})"
@@ -349,7 +351,10 @@ module ActiveGroonga
349
351
  else
350
352
  inspected_attributes << "id: #{id}"
351
353
  end
352
- @attributes.each do |key, value|
354
+ sorted_attributes = @attributes.sort_by do |key, _|
355
+ key
356
+ end
357
+ sorted_attributes.each do |key, value|
353
358
  inspected_attributes << "#{key}: #{value.inspect}"
354
359
  end
355
360
  "\#<#{self.class.name} #{inspected_attributes.join(', ')}>"
@@ -170,7 +170,11 @@ module ActiveGroonga
170
170
  resolved_record = record
171
171
  @n_key_nested.times do
172
172
  return nil if resolved_record.nil?
173
- resolved_record = resolved_record.key
173
+ if resolved_record.table.is_a?(Groonga::Array)
174
+ resolved_record = resolved_record.value
175
+ else
176
+ resolved_record = resolved_record.key
177
+ end
174
178
  end
175
179
  return nil if resolved_record.nil?
176
180
  while resolved_record.key.is_a?(Groonga::Record)
@@ -15,9 +15,9 @@
15
15
 
16
16
  module ActiveGroonga
17
17
  module VERSION
18
- MAJOR = 1
19
- MINOR = 0
20
- TINY = 7
18
+ MAJOR = 2
19
+ MINOR = 1
20
+ TINY = 1
21
21
 
22
22
  STRING = [MAJOR, MINOR, TINY].join(".")
23
23
  end
@@ -236,6 +236,7 @@ module ActiveGroongaTestUtils
236
236
  end
237
237
 
238
238
  def teardown_sand_box
239
+ @database.close
239
240
  teardown_tmp_directory
240
241
  end
241
242
 
data/test/run-test.rb CHANGED
@@ -55,7 +55,7 @@ $LOAD_PATH.unshift(lib_dir)
55
55
  $LOAD_PATH.unshift(test_dir)
56
56
  require 'active-groonga-test-utils'
57
57
 
58
- Dir.glob("test/**/test{_,-}*.rb") do |file|
58
+ Dir.glob(test_dir + "**/test{_,-}*.rb") do |file|
59
59
  require file.sub(/\.rb$/, '')
60
60
  end
61
61
 
data/test/test-base.rb CHANGED
@@ -108,21 +108,21 @@ class TestBase < Test::Unit::TestCase
108
108
  end
109
109
 
110
110
  def test_inspect
111
- assert_equal("Bookmark(user: users, uri: ShortText, " +
112
- "updated_at: Time, created_at: Time, " +
113
- "content: LongText, comment: Text)",
111
+ assert_equal("Bookmark(comment: Text, content: LongText, " +
112
+ "created_at: Time, updated_at: Time, " +
113
+ "uri: ShortText, user: users)",
114
114
  Bookmark.inspect)
115
115
 
116
116
  daijiro = User.select {|record| record.name == "daijiro"}.first
117
117
  groonga = Bookmark.select {|record| record.uri == "http://groonga.org/"}.first
118
118
  assert_equal("#<Bookmark " +
119
119
  "id: #{groonga.id}, " +
120
- "user: #{daijiro.inspect}, " +
121
- "uri: \"http://groonga.org/\", " +
122
- "updated_at: 2009-02-09 02:29:00 +0900, " +
123
- "created_at: 2009-02-09 02:09:29 +0900, " +
120
+ "comment: \"fulltext search engine\", " +
124
121
  "content: \"<html><body>groonga</body></html>\", " +
125
- "comment: \"fulltext search engine\">",
122
+ "created_at: #{groonga.created_at.inspect}, " +
123
+ "updated_at: #{groonga.updated_at.inspect}, " +
124
+ "uri: \"http://groonga.org/\", " +
125
+ "user: #{daijiro.inspect}>",
126
126
  groonga.inspect)
127
127
  end
128
128
 
data/test/test-schema.rb CHANGED
@@ -18,24 +18,22 @@ class TestSchema < Test::Unit::TestCase
18
18
  include ActiveGroongaTestUtils
19
19
 
20
20
  def test_create_table
21
- table_file = @tables_dir + "posts"
22
- assert_not_predicate(table_file, :exist?)
21
+ assert_nil(@context["posts"])
23
22
  ActiveGroonga::Schema.define do |schema|
24
23
  schema.create_table(:posts) do |table|
25
24
  end
26
25
  end
27
- assert_predicate(table_file, :exist?)
26
+ assert_not_nil(@context["posts"])
28
27
  end
29
28
 
30
29
  def test_string_column
31
- column_file = @tables_dir + "posts.columns" + "title"
32
- assert_not_predicate(column_file, :exist?)
30
+ assert_nil(@context["posts.title"])
33
31
  ActiveGroonga::Schema.define do |schema|
34
32
  schema.create_table(:posts) do |table|
35
33
  table.string :title
36
34
  end
37
35
  end
38
- assert_predicate(column_file, :exist?)
36
+ assert_not_nil(@context["posts.title"])
39
37
  end
40
38
 
41
39
  def test_reference_column
@@ -45,20 +43,17 @@ class TestSchema < Test::Unit::TestCase
45
43
  end
46
44
  end
47
45
 
48
- column_file = @tables_dir + "posts.columns" + "category"
49
- assert_not_predicate(column_file, :exist?)
46
+ assert_nil(@context["posts.category"])
50
47
  ActiveGroonga::Schema.define do |schema|
51
48
  schema.create_table(:posts) do |table|
52
49
  table.reference(:category)
53
50
  end
54
51
  end
55
- assert_predicate(column_file, :exist?)
52
+ assert_not_nil(@context["posts.category"])
56
53
  end
57
54
 
58
55
  def test_add_index
59
- columns_dir = @tables_dir + "words.columns"
60
- index_file = columns_dir + "posts_content"
61
- assert_not_predicate(index_file, :exist?)
56
+ assert_nil(@context["words.posts_content"])
62
57
 
63
58
  ActiveGroonga::Schema.define do |schema|
64
59
  schema.create_table(:posts) do |table|
@@ -70,23 +65,22 @@ class TestSchema < Test::Unit::TestCase
70
65
  end
71
66
  end
72
67
 
73
- assert_predicate(index_file, :exist?)
68
+ assert_not_nil(@context["words.posts_content"])
74
69
  end
75
70
 
76
71
  def test_remove_column
77
- column_file = @tables_dir + "posts.columns" + "title"
78
- assert_not_predicate(column_file, :exist?)
72
+ assert_nil(@context["posts.title"])
79
73
  ActiveGroonga::Schema.define do |schema|
80
74
  schema.create_table(:posts) do |table|
81
75
  table.string(:title)
82
76
  end
83
77
  end
84
- assert_predicate(column_file, :exist?)
78
+ assert_not_nil(@context["posts.title"])
85
79
 
86
80
  ActiveGroonga::Schema.define do |schema|
87
81
  schema.remove_column(:posts, :title)
88
82
  end
89
- assert_not_predicate(column_file, :exist?)
83
+ assert_nil(@context["posts.title"])
90
84
  end
91
85
 
92
86
  def test_dump
metadata CHANGED
@@ -1,215 +1,240 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activegroonga
3
- version: !ruby/object:Gem::Version
4
- hash: 25
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.1.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 7
10
- version: 1.0.7
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Kouhei Sutou
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-11-27 00:00:00 Z
19
- dependencies:
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"
12
+ date: 2013-01-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
30
15
  name: rroonga
31
- prerelease: false
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.1.1
32
22
  type: :runtime
33
- requirement: *id001
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
36
- none: false
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- hash: 3
41
- segments:
42
- - 3
43
- - 1
44
- - 0
45
- version: 3.1.0
46
- name: activemodel
47
23
  prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.1.1
30
+ - !ruby/object:Gem::Dependency
31
+ name: activemodel
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 3.1.0
48
38
  type: :runtime
49
- requirement: *id002
50
- - !ruby/object:Gem::Dependency
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
61
39
  prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 3.1.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: test-unit
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
62
54
  type: :development
63
- requirement: *id003
64
- - !ruby/object:Gem::Dependency
65
- version_requirements: &id004 !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 3
71
- segments:
72
- - 0
73
- version: "0"
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
74
63
  name: test-unit-notify
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
75
71
  prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rake
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
76
86
  type: :development
77
- requirement: *id004
78
- - !ruby/object:Gem::Dependency
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
89
87
  prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: bundler
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
90
102
  type: :development
91
- requirement: *id005
92
- - !ruby/object:Gem::Dependency
93
- version_requirements: &id006 !ruby/object:Gem::Requirement
94
- none: false
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- hash: 63
99
- segments:
100
- - 0
101
- - 9
102
- - 2
103
- version: 0.9.2
104
- name: packnga
105
103
  prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: packnga
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: 0.9.7
106
118
  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:
116
- - 0
117
- version: "0"
118
- name: RedCloth
119
119
  prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.9.7
126
+ - !ruby/object:Gem::Dependency
127
+ name: RedCloth
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
120
134
  type: :development
121
- requirement: *id007
122
- description: |-
123
- groonga provides both of full text search and column store
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ description: ! 'groonga provides both of full text search and column store
143
+
124
144
  features. ActiveGroonga + groonga can be used as an
125
- alternative of ActiveRecord + RDB.
126
- email:
145
+
146
+ alternative of ActiveRecord + RDB.'
147
+ email:
127
148
  - kou@clear-code.com
128
149
  executables: []
129
-
130
150
  extensions: []
131
-
132
- extra_rdoc_files:
133
- - README.textile
134
- files:
151
+ extra_rdoc_files: []
152
+ files:
135
153
  - README.textile
136
154
  - Rakefile
137
- - doc/text/lgpl.txt
138
- - doc/text/news.textile
139
- - doc/text/tutorial.textile
155
+ - .yardopts
156
+ - activegroonga.gemspec
140
157
  - lib/active_groonga.rb
141
- - lib/active_groonga/base.rb
142
- - lib/active_groonga/callbacks.rb
143
- - lib/active_groonga/database.rb
144
- - lib/active_groonga/error.rb
145
- - lib/active_groonga/fixtures.rb
146
- - lib/active_groonga/locale/en.yml
147
- - lib/active_groonga/migration.rb
148
- - lib/active_groonga/migrator.rb
149
- - lib/active_groonga/persistence.rb
150
- - lib/active_groonga/railtie.rb
151
- - lib/active_groonga/railties/configurable.rb
152
- - lib/active_groonga/railties/groonga.rake
153
- - lib/active_groonga/result_set.rb
154
- - lib/active_groonga/schema.rb
155
- - lib/active_groonga/test_case.rb
156
- - lib/active_groonga/test_help.rb
157
- - lib/active_groonga/validations.rb
158
- - lib/active_groonga/vector.rb
159
- - lib/active_groonga/version.rb
160
158
  - lib/rails/generators/active_groonga.rb
161
- - lib/rails/generators/active_groonga/migration/column.rb
162
159
  - lib/rails/generators/active_groonga/migration/migration_generator.rb
163
160
  - lib/rails/generators/active_groonga/migration/templates/migration.rb
161
+ - lib/rails/generators/active_groonga/migration/column.rb
164
162
  - lib/rails/generators/active_groonga/model/model_generator.rb
165
- - lib/rails/generators/active_groonga/model/templates/migration.rb
166
163
  - lib/rails/generators/active_groonga/model/templates/model.rb
164
+ - lib/rails/generators/active_groonga/model/templates/migration.rb
167
165
  - lib/rails/generators/active_groonga/model/templates/module.rb
166
+ - lib/active_groonga/railties/configurable.rb
167
+ - lib/active_groonga/version.rb
168
+ - lib/active_groonga/test_case.rb
169
+ - lib/active_groonga/validations.rb
170
+ - lib/active_groonga/test_help.rb
171
+ - lib/active_groonga/vector.rb
172
+ - lib/active_groonga/database.rb
173
+ - lib/active_groonga/persistence.rb
174
+ - lib/active_groonga/error.rb
175
+ - lib/active_groonga/schema.rb
176
+ - lib/active_groonga/migrator.rb
177
+ - lib/active_groonga/fixtures.rb
178
+ - lib/active_groonga/callbacks.rb
179
+ - lib/active_groonga/migration.rb
180
+ - lib/active_groonga/base.rb
181
+ - lib/active_groonga/result_set.rb
182
+ - lib/active_groonga/railtie.rb
183
+ - lib/active_groonga/railties/groonga.rake
184
+ - lib/active_groonga/locale/en.yml
185
+ - doc/text/tutorial.textile
186
+ - doc/text/lgpl.txt
187
+ - doc/text/news.textile
168
188
  - test/active-groonga-test-utils.rb
169
- - test/fixtures/bookmark.rb
170
- - test/fixtures/site.rb
171
- - test/fixtures/task.rb
172
- - test/fixtures/user.rb
173
- - test/run-test.rb
174
189
  - test/test-associations.rb
175
- - test/test-base.rb
190
+ - test/test-result-set.rb
176
191
  - test/test-callbacks.rb
177
192
  - test/test-persistence.rb
178
- - test/test-result-set.rb
179
- - test/test-schema.rb
180
193
  - test/test-validations.rb
181
- homepage: http://groonga.rubyforge.org/
182
- licenses:
194
+ - test/run-test.rb
195
+ - test/test-schema.rb
196
+ - test/fixtures/site.rb
197
+ - test/fixtures/user.rb
198
+ - test/fixtures/bookmark.rb
199
+ - test/fixtures/task.rb
200
+ - test/test-base.rb
201
+ homepage: http://ranguba.org/#about-active-groonga
202
+ licenses:
183
203
  - LGPLv2
184
204
  post_install_message:
185
205
  rdoc_options: []
186
-
187
- require_paths:
206
+ require_paths:
188
207
  - lib
189
- required_ruby_version: !ruby/object:Gem::Requirement
208
+ required_ruby_version: !ruby/object:Gem::Requirement
190
209
  none: false
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- hash: 3
195
- segments:
196
- - 0
197
- version: "0"
198
- required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ! '>='
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ required_rubygems_version: !ruby/object:Gem::Requirement
199
215
  none: false
200
- requirements:
201
- - - ">="
202
- - !ruby/object:Gem::Version
203
- hash: 3
204
- segments:
205
- - 0
206
- version: "0"
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
207
220
  requirements: []
208
-
209
221
  rubyforge_project: groonga
210
- rubygems_version: 1.8.10
222
+ rubygems_version: 1.8.23
211
223
  signing_key:
212
224
  specification_version: 3
213
225
  summary: A library to use groonga with ActiveRecord like API.
214
- test_files: []
215
-
226
+ test_files:
227
+ - test/active-groonga-test-utils.rb
228
+ - test/test-associations.rb
229
+ - test/test-result-set.rb
230
+ - test/test-callbacks.rb
231
+ - test/test-persistence.rb
232
+ - test/test-validations.rb
233
+ - test/run-test.rb
234
+ - test/test-schema.rb
235
+ - test/fixtures/site.rb
236
+ - test/fixtures/user.rb
237
+ - test/fixtures/bookmark.rb
238
+ - test/fixtures/task.rb
239
+ - test/test-base.rb
240
+ has_rdoc: