riddle 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -0
- data/lib/riddle.rb +30 -4
- data/lib/riddle/0.9.8.rb +1 -0
- data/lib/riddle/0.9.9.rb +2 -0
- data/lib/riddle/auto_version.rb +11 -0
- data/lib/riddle/client.rb +2 -0
- data/lib/riddle/configuration.rb +3 -1
- data/lib/riddle/configuration/sql_source.rb +13 -0
- data/lib/riddle/controller.rb +29 -2
- data/spec/functional/excerpt_spec.rb +2 -2
- data/spec/functional/status_spec.rb +1 -1
- data/spec/riddle/auto_version_spec.rb +24 -0
- data/spec/riddle/client_spec.rb +11 -0
- data/spec/riddle/configuration_spec.rb +11 -0
- data/spec/riddle/controller_spec.rb +29 -0
- data/spec/riddle_spec.rb +27 -0
- data/spec/spec_helper.rb +1 -4
- data/spec/unit/client_spec.rb +1 -1
- data/spec/unit/configuration/searchd_spec.rb +2 -2
- data/spec/unit/configuration/sql_source_spec.rb +21 -0
- metadata +8 -48
- data/spec/fixtures/data/anchor.bin +0 -0
- data/spec/fixtures/data/any.bin +0 -0
- data/spec/fixtures/data/boolean.bin +0 -0
- data/spec/fixtures/data/comment.bin +0 -0
- data/spec/fixtures/data/distinct.bin +0 -0
- data/spec/fixtures/data/field_weights.bin +0 -0
- data/spec/fixtures/data/filter.bin +0 -0
- data/spec/fixtures/data/filter_array.bin +0 -0
- data/spec/fixtures/data/filter_array_exclude.bin +0 -0
- data/spec/fixtures/data/filter_boolean.bin +0 -0
- data/spec/fixtures/data/filter_floats.bin +0 -0
- data/spec/fixtures/data/filter_floats_exclude.bin +0 -0
- data/spec/fixtures/data/filter_range.bin +0 -0
- data/spec/fixtures/data/filter_range_exclude.bin +0 -0
- data/spec/fixtures/data/group.bin +0 -0
- data/spec/fixtures/data/index.bin +0 -0
- data/spec/fixtures/data/index_weights.bin +0 -0
- data/spec/fixtures/data/keywords_with_hits.bin +0 -0
- data/spec/fixtures/data/keywords_without_hits.bin +0 -0
- data/spec/fixtures/data/overrides.bin +0 -0
- data/spec/fixtures/data/phrase.bin +0 -0
- data/spec/fixtures/data/rank_mode.bin +0 -0
- data/spec/fixtures/data/select.bin +0 -0
- data/spec/fixtures/data/simple.bin +0 -0
- data/spec/fixtures/data/sort.bin +0 -0
- data/spec/fixtures/data/update_simple.bin +0 -0
- data/spec/fixtures/data/weights.bin +0 -0
- data/spec/fixtures/data_generator.0.9.8.php +0 -208
- data/spec/fixtures/data_generator.0.9.9.php +0 -225
- data/spec/fixtures/sphinx/configuration.erb +0 -38
- data/spec/fixtures/sphinx/people.spa +0 -0
- data/spec/fixtures/sphinx/people.spd +0 -0
- data/spec/fixtures/sphinx/people.sph +0 -0
- data/spec/fixtures/sphinx/people.spi +0 -0
- data/spec/fixtures/sphinx/people.spk +0 -0
- data/spec/fixtures/sphinx/people.spm +0 -0
- data/spec/fixtures/sphinx/people.spp +0 -0
- data/spec/fixtures/sphinx/searchd.log +0 -4430
- data/spec/fixtures/sphinx/searchd.query.log +0 -1234
- data/spec/fixtures/sphinx/spec.conf +0 -38
- data/spec/fixtures/sphinxapi.0.9.8.php +0 -1228
- data/spec/fixtures/sphinxapi.0.9.9.php +0 -1646
- data/spec/fixtures/sql/conf.example.yml +0 -3
- data/spec/fixtures/sql/conf.yml +0 -3
- data/spec/fixtures/sql/data.sql +0 -25000
- data/spec/fixtures/sql/structure.sql +0 -16
@@ -1,16 +0,0 @@
|
|
1
|
-
DROP TABLE IF EXISTS `people`;
|
2
|
-
|
3
|
-
CREATE TABLE `people` (
|
4
|
-
`id` int(11) NOT NULL auto_increment,
|
5
|
-
`first_name` varchar(50) NOT NULL,
|
6
|
-
`middle_initial` varchar(10) NOT NULL,
|
7
|
-
`last_name` varchar(50) NOT NULL,
|
8
|
-
`gender` varchar(10) NOT NULL,
|
9
|
-
`street_address` varchar(200) NOT NULL,
|
10
|
-
`city` varchar(100) NOT NULL,
|
11
|
-
`state` varchar(100) NOT NULL,
|
12
|
-
`postcode` varchar(10) NOT NULL,
|
13
|
-
`email` varchar(100) NOT NULL,
|
14
|
-
`birthday` datetime NOT NULL,
|
15
|
-
PRIMARY KEY (`id`)
|
16
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|