groonga-client-model 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -1
- data/doc/text/news.md +10 -0
- data/groonga-client-model.gemspec +2 -2
- data/lib/groonga-client-model.rb +1 -0
- data/lib/groonga_client_model/railties/groonga.rake +35 -0
- data/lib/groonga_client_model/schema_loader.rb +43 -0
- data/lib/groonga_client_model/spec_helper.rb +6 -0
- data/lib/groonga_client_model/test/fixture.rb +33 -0
- data/lib/groonga_client_model/test_helper.rb +6 -0
- data/lib/groonga_client_model/version.rb +1 -1
- data/test/apps/rails5/Gemfile.lock +16 -18
- data/test/apps/rails5/log/development.log +725 -183
- data/test/apps/rails5/log/test.log +929 -1174
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/04/04zh1ytKDagWzWcqUyadXtzzohCn9iVvSVG4KrjpfPU.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{Sd/Sda0ZUElAQoD0SXBgNqF99THI2KdVA4YOcdhAyZxPsY.cache → 0Y/0YkSxw5h6hn0sUlqRHRM4egC2_a7WC-BN24ZkVpKVhM.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/2R/2RT8ZitZmaxI-wImfF4i_xLnxo4kg6X7nsdWHk4f7Ps.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/3P/3Px3lDIUtsiFfGy4nQGown3yldwKCp1MNuWbSDX1pvg.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{xU/xUR-yFcc0UZR2BLp-jBU9bjPiIYophx6ep5yBEeQCM8.cache → 3d/3dM4S3-yZA5FH03WVgndCHr0XbWKpRNKVDqBbbTkhPo.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/5g/5gcXfyU_2YGZzzLIX2HgVkpwSaUUyIH9beyVvR4-RyM.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{Qr/Qrr38H1OZvkfozoMfcDEQ-arpbO7PFQ47i70UTEeWnk.cache → 6r/6rrJLZY0-_gdJxgMUZBZIn-wf8bPVArYjXhIIrt_O5Y.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{J-/J-hbdFdKmhYgVvczTzQyQ6ToGIL2Ucw2qCT6Y1oOPhg.cache → 8F/8FSmWqWD4QwOv26Ndv9UokK0dyx8An2fdD5dojiMIEQ.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/8w/8wTyiibSVQ_CunXEyCjFUbzdSEAuSbH0z5XuCUXG0EA.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/9p/9pkKAqd_Ia0HpbbUCZtpJ8WiDzr5stcFJsnqsOsJwCc.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/B9/B9QeeLv4GR9sOdrwyvxa8jIr4MkxjYh4Ow6MOZ8slX8.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Dc/Dcujr9N54L76juPEo4EOYs8buHy8vO2fp-AjoG42-uQ.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/F2/F2G2wQz7oPKX0Y4KCAUyw79ULHKyiweLkqbo4uclz2M.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/F4/F4Vm2jVryhME1Ux-h1fCIbynttYJmSOV0lzVQihiIas.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{na/naKBB6bJXEjSAfrBfAiXlIzJDRGTsRrbQlI5FezRxnM.cache → G5/G5kEgrYqe2Ch48tEIN0oJPF6WT2CV5zYmTJvOz7A6RQ.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{m8/m8XSfEV5J53MzAtMK6udqOZh9S_uC-tELG327hLnWT4.cache → I4/I4vFFlIVkL7O3GA9sTW-w6J6yRUCLLl9YNRmfxrqswI.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{71/71Km0xL27urBNH3LVGVQ7MXXtuIePWU9VsJ4VjSeMac.cache → Jx/JxqKcQMwBJiEHGEI02lnLQOcLwQdQAoS-uLcFH6qDYI.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Lv/Lv6fMJse5qx4Cjg7vyFgQTjyxJ0IIVudlBljGARWz8w.cache +1 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Mm/Mm6np3z0M8X93OMMO8kUlkKsrTFxouNT0fD8KOV7Shc.cache +1 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{46/46uDYcwHwTAfdjT4Cxqs7pC3FEBf4GNj8S36-TDtT18.cache → NW/NWK4XwAvNUtd_qfV8Jo3Jb6bUO0OjHmulFzWtqDf3dY.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{Ih/IhFDQr9KaIbw7KJmoi9sRJ2CWZtxt72J0Eu2HDAQYJA.cache → ON/ONKACMGby25ZIw_pcjnW6RmhgI3SwIxPehIveaYublI.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Pz/PzsjxNnBT0RlIX-T49i6Iyrc_XG8IaJ-F55_x52md8M.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Q0/Q0AeQIZuDbFTvWKLlSaL-R4XKHuiymwgVvQUqxxVq_k.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/SO/SOU1TEHFYRVejiA6nBNRm3Bwq_YtPlxSXK0VM3y3vto.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Sh/ShN-ZUpoxLJLJiMV5gFDP00vcSMHw87YzFBlXH4adPA.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Si/Sin6bEoASrNa45108CpfgF2jcifz-KpbsvvZJtqVZ68.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{kv/kvOgs1tp83VikXcBjupUg71ybkDcx1pBzH2Dw6mVa7A.cache → TJ/TJYJYIRzfatw62Fqd4utqJCOWBRwwxagtiwaal6YgMY.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{eo/eoSb6VtmOhc2zv4rO1yMBf6hjUj7zHVkSMiNZ7Y576w.cache → Vx/VxspPfgrkAr0HuxEvyUjYiDJYqefMknFGDIlgIqCdxc.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/X6/X6u2Cul1j8SpBq0WC1S8WhzGiT6f-6L_djUngh_gQfw.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{a7/a7_aLHXKzPVK1lGdqvWuCl5hXxwSIGH4kcxuF7jMzgE.cache → XJ/XJRPx7aZ4ajZ72O37hx53ZFkfXSHpDDpCy78LI0leqM.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Xe/XeuTfsFtikyfcpzyNjJW7GvVARtV7EFUF8V9lJuS9zs.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Zv/ZvCEW2ZyS-k4cHH7Gd8P2nKFE9Uh1VOrfR-1PYY2yz8.cache +5 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{TI/TIt8bfq26rstydJvFM28p05FfB6s8Qjr6EoF6EtQUEc.cache → _3/_3zPnz3qCdhBpeeHpy868M7ys7R_57zbTyQrXSSYss0.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{-8/-8MPXp-nRdAuudlPZG0-fjIhSfT9c-mruIMNR_HnpTE.cache → aa/aaHS7n54GBP_AiELufudftqA7C4tZhFBH9VGYdybJr8.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/bC/bC4GwUqmx5xluzLKeau3eKE3yl_Ww8C5NB00OG94FU8.cache +1 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/c9/c9YydpmE9rI8VeQ4sVqd5JrA1VSEFGGzpuMBUSrAGac.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cB/cBjyp28toLdtY2EFK9cqrbDnrwBSFI7T_vLNoGz-u_U.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cT/cT8i2C4yg0R2UYvutxD-4kbdJF09toG1OUgtd6NAf2M.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cU/cUegCc5wz5f7rfqzD7wrbN633pZRWeewi9j1lJ895Y0.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/dA/dAab_MVPXubReIXiKSsP0TGA9dXca0KkwVLz7xNJNmA.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{LD/LDzW9KshYb0NgRzu1HyrKQlc3satBlIIOEHET_I4TjA.cache → eQ/eQxzX_D16-XyOt1WTkYEC0qDvRbjXcCgQgnd9pBrg7o.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{pN/pNBMBzHv-_a5u4lbxQmRsv_hzWZOk93wX3hlG4y4X5E.cache → fA/fAYjlah9JCXwON-gnJ4_h31CwtuuIXzN3g0yqPv2VVs.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{m-/m-gDByrlve8T_OZCCZCaGVlLUnbGWk0qkv7naFMcLDg.cache → fs/fsOGJq1Cf6bkAY-rQw_0-E3_SR3wCq32URYNGrkpra8.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/oU/oUgVYeNUmvSbf5MWq5a-nknLIlepM8oMGSWyD1J5bzg.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{eY/eYUlaSCg8w9Jp-IVGbffopOhH4C94vGA0w6SaC88FM8.cache → pO/pO91-alTEvoJQwAf99ZO4MPNXR6GFVPYAGKgUwXp4_8.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/pq/pqi4pYpSRroaGdwCXuATmVeb1U-mvzUU8zeWu6o5ooo.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/q9/q9zC8RrLhOO1dVXJ3fZqc9dSbshhjSpsDQxh5MpbnDA.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{S1/S1RgRu3SVlB0u9krRyLUpNzVgKMN9Pk_KMWLehP2SUc.cache → qi/qit4N5k-pwfAxy8la201gik2BGMQHK1goKvvpTXEa2A.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{P1/P1Ojlz0OChhbxGf83KhMWxJFzKZ3unhLwJ1UoH5U7ss.cache → rF/rF2vahiCQKUhJ8McEG0p8B7csWsz-dL13EQ7r2APOxc.cache} +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/rv/rvA5ImExxmMtvHSKmwVMXxnVzM4istECfBR-LxbUf8I.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/tV/tVL6qud2OxyiMT_-izeWpZa4KnypOUhK0XjwBIPVgi0.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/u9/u9KRIaEPNXOli5XraaesEIoUIeV7x01_Uws3fve7caA.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/uo/uo2nRPLQSA3FmFVLvE-9uXW64Xx-Gp799qSF3vui1WE.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/wk/wkq61sthozFhcHD4adBD0UoyC9h7wkoKhI8HUXB_lHk.cache +0 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{KZ/KZDZMIUD9LD98z__9bjCHLnzjcGoKSnlxuHH1cEiw6M.cache → yO/yO6BxW_KpdFMPjQgywUZXxLvdVM639GnboZKUb3K7kA.cache} +0 -0
- metadata +183 -166
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b2cf03fdcfdb869cb2172151102aa4c482b7130
|
4
|
+
data.tar.gz: e20f37fa67e8f1678746339d55e397f1583d5c25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1148b877bf6b88f09c662481fa3ffddc2ddb477c6a08c3c15c857cfb67106beca571ed14775d13a71f8e76eef6e5f89e5dc51efb4bd9d5817f2cb5683e4f1f24
|
7
|
+
data.tar.gz: baca7b76ce089e899d9096babcba35e6d0fea0bf827bb8289e7a59b402c078d72e8f04804ea489a1351481a8ce6f48f1b7fa95768caf4f383df9e5e071ecda85
|
data/Gemfile
CHANGED
data/doc/text/news.md
CHANGED
@@ -39,11 +39,11 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.license = "LGPL-2.1+"
|
40
40
|
spec.files = ["README.md", "Rakefile", "Gemfile", "#{spec.name}.gemspec"]
|
41
41
|
spec.files += [".yardopts"]
|
42
|
-
spec.files += Dir.glob("lib/**/*.rb")
|
42
|
+
spec.files += Dir.glob("lib/**/*.{rb,rake}")
|
43
43
|
spec.files += Dir.glob("doc/text/*")
|
44
44
|
spec.test_files += Dir.glob("test/**/*")
|
45
45
|
|
46
|
-
spec.add_runtime_dependency("groonga-client", ">= 0.3.
|
46
|
+
spec.add_runtime_dependency("groonga-client", ">= 0.3.6")
|
47
47
|
spec.add_runtime_dependency("groonga-command-parser")
|
48
48
|
spec.add_runtime_dependency("activemodel")
|
49
49
|
|
data/lib/groonga-client-model.rb
CHANGED
@@ -28,6 +28,7 @@ require "groonga_client_model/modelizable"
|
|
28
28
|
require "groonga_client_model/modelize"
|
29
29
|
require "groonga_client_model/record"
|
30
30
|
require "groonga_client_model/schema"
|
31
|
+
require "groonga_client_model/schema_loader"
|
31
32
|
|
32
33
|
module GroongaClientModel
|
33
34
|
mattr_accessor :logger, instance_writer: false
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2016 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 as published by the Free Software Foundation; either
|
8
|
+
# version 2.1 of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this library; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
|
+
|
19
|
+
namespace :groonga do
|
20
|
+
namespace :config do
|
21
|
+
desc "Load config/groonga.rb"
|
22
|
+
task load: [:environment] do
|
23
|
+
config = Rails.application.config_for(:groonga)
|
24
|
+
GroongaClientModel::Client.url = config["url"]
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
namespace :schema do
|
29
|
+
desc "Loads config/schema.grn info Groonga"
|
30
|
+
task load: ["config:load"] do
|
31
|
+
schema_loader = GroongaClientModel::SchemaLoader.new(Rails.root)
|
32
|
+
schema_loader.load
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
require "groonga/command/parser"
|
18
|
+
|
19
|
+
module GroongaClientModel
|
20
|
+
class SchemaLoader
|
21
|
+
def initialize(base_dir)
|
22
|
+
@base_dir = base_dir
|
23
|
+
end
|
24
|
+
|
25
|
+
def load
|
26
|
+
schema_path = @base_dir + "db" + "schema.grn"
|
27
|
+
return unless schema_path.exist?
|
28
|
+
|
29
|
+
Client.open do |client|
|
30
|
+
parser = Groonga::Command::Parser.new
|
31
|
+
parser.on_command do |command|
|
32
|
+
client.execute(command)
|
33
|
+
end
|
34
|
+
schema_path.open do |schema_file|
|
35
|
+
schema_file.each_line do |line|
|
36
|
+
parser << line
|
37
|
+
end
|
38
|
+
end
|
39
|
+
parser.finish
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -15,6 +15,7 @@
|
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
17
|
require "groonga/client/spec-helper"
|
18
|
+
require "groonga_client_model/test/fixture"
|
18
19
|
|
19
20
|
module GroongaClientModel
|
20
21
|
module SpecHelper
|
@@ -22,6 +23,11 @@ module GroongaClientModel
|
|
22
23
|
|
23
24
|
included do
|
24
25
|
include Groonga::Client::SpecHelper
|
26
|
+
include Test::Fixture
|
27
|
+
|
28
|
+
before(:each) do
|
29
|
+
setup_groonga_schema
|
30
|
+
end
|
25
31
|
end
|
26
32
|
end
|
27
33
|
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
module GroongaClientModel
|
18
|
+
module Test
|
19
|
+
module Fixture
|
20
|
+
def setup_groonga_schema
|
21
|
+
return if @groonga_server_runner.using_running_server?
|
22
|
+
|
23
|
+
if defined?(Rails)
|
24
|
+
base_dir = Rails.root
|
25
|
+
else
|
26
|
+
base_dir = Pathname.pwd
|
27
|
+
end
|
28
|
+
schema_loader = SchemaLoader.new(base_dir)
|
29
|
+
schema_loader.load
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -15,6 +15,7 @@
|
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
17
|
require "groonga/client/test-helper"
|
18
|
+
require "groonga_client_model/test/fixture"
|
18
19
|
|
19
20
|
module GroongaClientModel
|
20
21
|
module TestHelper
|
@@ -22,6 +23,11 @@ module GroongaClientModel
|
|
22
23
|
|
23
24
|
included do
|
24
25
|
include Groonga::Client::TestHelper
|
26
|
+
include Test::Fixture
|
27
|
+
|
28
|
+
setup do
|
29
|
+
setup_groonga_schema
|
30
|
+
end
|
25
31
|
end
|
26
32
|
end
|
27
33
|
end
|
@@ -1,17 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../../../groonga-client
|
3
3
|
specs:
|
4
|
-
groonga-client (0.3.
|
4
|
+
groonga-client (0.3.7)
|
5
5
|
gqtp (>= 1.0.4)
|
6
6
|
groonga-command (>= 1.2.8)
|
7
|
+
groonga-command-parser (>= 1.0.7)
|
7
8
|
hashie
|
8
9
|
|
9
10
|
PATH
|
10
11
|
remote: ../../../
|
11
12
|
specs:
|
12
|
-
groonga-client-model (0.9.
|
13
|
+
groonga-client-model (0.9.2)
|
13
14
|
activemodel
|
14
|
-
groonga-client (>= 0.3.
|
15
|
+
groonga-client (>= 0.3.6)
|
15
16
|
groonga-command-parser
|
16
17
|
|
17
18
|
GEM
|
@@ -63,28 +64,25 @@ GEM
|
|
63
64
|
coffee-script (2.4.1)
|
64
65
|
coffee-script-source
|
65
66
|
execjs
|
66
|
-
coffee-script-source (1.
|
67
|
-
concurrent-ruby (1.0.
|
67
|
+
coffee-script-source (1.12.2)
|
68
|
+
concurrent-ruby (1.0.3)
|
68
69
|
debug_inspector (0.0.2)
|
69
70
|
erubis (2.7.0)
|
70
71
|
execjs (2.7.0)
|
71
|
-
factory_girl (4.
|
72
|
+
factory_girl (4.8.0)
|
72
73
|
activesupport (>= 3.0.0)
|
73
|
-
factory_girl_rails (4.
|
74
|
-
factory_girl (~> 4.
|
74
|
+
factory_girl_rails (4.8.0)
|
75
|
+
factory_girl (~> 4.8.0)
|
75
76
|
railties (>= 3.0.0)
|
76
77
|
ffi (1.9.14)
|
77
|
-
ffi-yajl (2.2.3)
|
78
|
-
libyajl2 (~> 1.2)
|
79
78
|
globalid (0.3.7)
|
80
79
|
activesupport (>= 4.1.0)
|
81
80
|
gqtp (1.0.6)
|
82
81
|
groonga-command (1.3.1)
|
83
82
|
json
|
84
|
-
groonga-command-parser (1.0.
|
85
|
-
ffi
|
86
|
-
ffi-yajl
|
83
|
+
groonga-command-parser (1.0.7)
|
87
84
|
groonga-command (>= 1.0.9)
|
85
|
+
json-stream
|
88
86
|
hashie (3.4.6)
|
89
87
|
i18n (0.7.0)
|
90
88
|
jbuilder (2.6.1)
|
@@ -95,7 +93,7 @@ GEM
|
|
95
93
|
railties (>= 4.2.0)
|
96
94
|
thor (>= 0.14, < 2.0)
|
97
95
|
json (2.0.2)
|
98
|
-
|
96
|
+
json-stream (0.2.1)
|
99
97
|
listen (3.0.8)
|
100
98
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
101
99
|
rb-inotify (~> 0.9, >= 0.9.7)
|
@@ -108,7 +106,7 @@ GEM
|
|
108
106
|
mime-types-data (~> 3.2015)
|
109
107
|
mime-types-data (3.2016.0521)
|
110
108
|
mini_portile2 (2.1.0)
|
111
|
-
minitest (5.10.
|
109
|
+
minitest (5.10.1)
|
112
110
|
multi_json (1.12.1)
|
113
111
|
nio4r (1.2.1)
|
114
112
|
nokogiri (1.6.8.1)
|
@@ -140,11 +138,11 @@ GEM
|
|
140
138
|
method_source
|
141
139
|
rake (>= 0.8.7)
|
142
140
|
thor (>= 0.18.1, < 2.0)
|
143
|
-
rake (
|
141
|
+
rake (12.0.0)
|
144
142
|
rb-fsevent (0.9.8)
|
145
143
|
rb-inotify (0.9.7)
|
146
144
|
ffi (>= 0.5.0)
|
147
|
-
sass (3.4.
|
145
|
+
sass (3.4.23)
|
148
146
|
sass-rails (5.0.6)
|
149
147
|
railties (>= 4.0.0, < 6)
|
150
148
|
sass (~> 3.1)
|
@@ -156,7 +154,7 @@ GEM
|
|
156
154
|
spring-watcher-listen (2.0.1)
|
157
155
|
listen (>= 2.7, < 4.0)
|
158
156
|
spring (>= 1.2, < 3.0)
|
159
|
-
sprockets (3.7.
|
157
|
+
sprockets (3.7.1)
|
160
158
|
concurrent-ruby (~> 1.0)
|
161
159
|
rack (> 1, < 3)
|
162
160
|
sprockets-rails (3.2.0)
|