asana2flowdock 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/asana2flowdock.gemspec +3 -1819
- data/lib/asana2flowdock.rb +1 -1
- metadata +1 -1599
- data/a.rb +0 -336
- data/a.yml +0 -6
- data/bin/amalgalite-pack +0 -16
- data/bin/asana2flowdock-daemon +0 -16
- data/bin/coderay +0 -16
- data/bin/httparty +0 -16
- data/bin/pry +0 -16
- data/bin/sekrets +0 -16
- data/bin/sequel +0 -16
- data/config/asana2flowdock.yml.enc +0 -2
- data/vendor/bundle/ruby/1.9.1/bin/amalgalite-pack +0 -23
- data/vendor/bundle/ruby/1.9.1/bin/asana2flowdock +0 -23
- data/vendor/bundle/ruby/1.9.1/bin/asana2flowdock-daemon +0 -23
- data/vendor/bundle/ruby/1.9.1/bin/coderay +0 -23
- data/vendor/bundle/ruby/1.9.1/bin/httparty +0 -23
- data/vendor/bundle/ruby/1.9.1/bin/pry +0 -23
- data/vendor/bundle/ruby/1.9.1/bin/sekrets +0 -23
- data/vendor/bundle/ruby/1.9.1/bin/sequel +0 -23
- data/vendor/bundle/ruby/1.9.1/build_info/amalgalite-1.3.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/arrayfields-4.7.4.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/chronic-0.10.2.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/coderay-1.1.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/coerce-0.0.6.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/daemons-1.1.9.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/fastercsv-1.5.5.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/fattr-2.2.2.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/flowdock-0.5.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/highline-1.6.21.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/httparty-0.13.1.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/json-1.8.1.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/main-6.0.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/main-6.1.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/map-6.5.5.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/method_source-0.8.2.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/multi_json-1.10.1.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/multi_xml-0.5.5.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/pry-0.9.12.6.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/sekrets-1.7.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/sequel-4.15.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/slop-3.5.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/build_info/threadify-1.3.0.info +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/CONTRIBUTING.md +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/HISTORY.md +0 -315
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/LICENSE +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/Manifest.txt +0 -104
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/README.md +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/Rakefile +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/TODO.md +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/bin/amalgalite-pack +0 -147
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/a.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/blob.rb +0 -88
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/bootstrap.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/define_aggregate.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/define_function.rb +0 -104
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/fts3.rb +0 -144
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/gem-db.rb +0 -94
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/require_me.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/requires.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/examples/schema-info.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/Makefile +0 -220
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite.c +0 -329
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite.h +0 -151
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_blob.c +0 -240
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_blob.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_constants.c +0 -378
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_constants.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_database.c +0 -1177
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_database.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_requires_bootstrap.c +0 -282
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_requires_bootstrap.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_statement.c +0 -649
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/amalgalite_statement.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/extconf.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/gen_constants.rb +0 -193
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/notes.txt +0 -134
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/sqlite3.c +0 -137414
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/sqlite3.h +0 -7160
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/sqlite3.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/sqlite3_options.h +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/ext/amalgalite/c/sqlite3ext.h +0 -447
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/1.9/amalgalite.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/aggregate.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/blob.rb +0 -186
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/boolean.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/busy_timeout.rb +0 -47
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/column.rb +0 -99
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/core_ext/kernel/require.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/csv_table_importer.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/database.rb +0 -984
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/function.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/index.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/memory_database.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/packer.rb +0 -231
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/paths.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/profile_tap.rb +0 -131
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/progress_handler.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/requires.rb +0 -151
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/schema.rb +0 -225
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/sqlite3.rb +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/sqlite3/constants.rb +0 -95
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/sqlite3/database/function.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/sqlite3/database/status.rb +0 -68
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/sqlite3/status.rb +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/sqlite3/version.rb +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/statement.rb +0 -418
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/table.rb +0 -91
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/taps.rb +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/taps/console.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/taps/io.rb +0 -71
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/trace_tap.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/type_map.rb +0 -63
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/type_maps/default_map.rb +0 -166
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/type_maps/storage_map.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/type_maps/text_map.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/version.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/lib/amalgalite/view.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/aggregate_spec.rb +0 -150
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/amalgalite_spec.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/blob_spec.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/boolean_spec.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/busy_handler.rb +0 -157
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/data/iso-3166-country.txt +0 -242
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/data/iso-3166-schema.sql +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/data/iso-3166-subcountry.txt +0 -3995
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/data/make-iso-db.sh +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/database_spec.rb +0 -510
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/default_map_spec.rb +0 -92
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/function_spec.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/integeration_spec.rb +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/iso_3166_database.rb +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/packer_spec.rb +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/paths_spec.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/progress_handler_spec.rb +0 -91
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/requires_spec.rb +0 -54
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/rtree_spec.rb +0 -66
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/schema_spec.rb +0 -131
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/spec_helper.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/sqlite3/constants_spec.rb +0 -108
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/sqlite3/database_status_spec.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/sqlite3/status_spec.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/sqlite3/version_spec.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/sqlite3_spec.rb +0 -53
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/statement_spec.rb +0 -168
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/storage_map_spec.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/tap_spec.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/text_map_spec.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/type_map_spec.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/spec/version_spec.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/tasks/custom.rake +0 -99
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/tasks/default.rake +0 -277
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/tasks/extension.rake +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/amalgalite-1.3.0/tasks/this.rb +0 -209
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/README +0 -378
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/arrayfields.gemspec +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/gemspec.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/install.rb +0 -206
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/lib/arrayfields.rb +0 -443
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/readme.rb +0 -248
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/sample/a.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/sample/b.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/sample/c.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/sample/d.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/sample/e.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/test/arrayfields.rb +0 -324
- data/vendor/bundle/ruby/1.9.1/gems/arrayfields-4.7.4/test/memtest.rb +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/HISTORY.md +0 -243
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/LICENSE +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/README.md +0 -182
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/Rakefile +0 -66
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/chronic.gemspec +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic.rb +0 -150
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/date.rb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/grabber.rb +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/handler.rb +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/handlers.rb +0 -647
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/mini_date.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/numerizer.rb +0 -130
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/ordinal.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/parser.rb +0 -268
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/pointer.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeater.rb +0 -145
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_day.rb +0 -54
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_day_name.rb +0 -53
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_day_portion.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_fortnight.rb +0 -72
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_hour.rb +0 -59
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_minute.rb +0 -59
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_month.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_month_name.rb +0 -95
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_season.rb +0 -111
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_season_name.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_second.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_time.rb +0 -138
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_week.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_weekday.rb +0 -86
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_weekend.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_year.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/scalar.rb +0 -81
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/season.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/separator.rb +0 -207
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/sign.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/span.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/tag.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/time.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/time_zone.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/lib/chronic/token.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/helper.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_chronic.rb +0 -183
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_daylight_savings.rb +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_handler.rb +0 -128
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_mini_date.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_numerizer.rb +0 -86
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_parsing.rb +0 -1235
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_day_name.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_day_portion.rb +0 -254
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_fortnight.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_hour.rb +0 -68
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_minute.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_month.rb +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_month_name.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_season.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_time.rb +0 -88
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_week.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_weekday.rb +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_weekend.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_repeater_year.rb +0 -69
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_span.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/chronic-0.10.2/test/test_token.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/README_INDEX.rdoc +0 -123
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/Rakefile +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/bin/coderay +0 -215
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay.rb +0 -284
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/duo.rb +0 -81
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoder.rb +0 -201
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/_map.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/comment_filter.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/count.rb +0 -39
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/debug.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/debug_lint.rb +0 -63
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/div.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/filter.rb +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/html.rb +0 -332
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/html/css.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/html/numbering.rb +0 -108
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/html/output.rb +0 -166
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/json.rb +0 -83
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/lines_of_code.rb +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/lint.rb +0 -59
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/null.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/page.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/span.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/statistic.rb +0 -95
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/terminal.rb +0 -195
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/text.rb +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/token_kind_filter.rb +0 -111
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/xml.rb +0 -72
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/encoders/yaml.rb +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/for_redcloth.rb +0 -95
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/helpers/file_type.rb +0 -151
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/helpers/plugin.rb +0 -274
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/helpers/word_list.rb +0 -72
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanner.rb +0 -355
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/_map.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/c.rb +0 -189
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/clojure.rb +0 -217
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/cpp.rb +0 -215
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/css.rb +0 -196
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/debug.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/delphi.rb +0 -144
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/diff.rb +0 -221
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/erb.rb +0 -81
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/go.rb +0 -208
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/groovy.rb +0 -268
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/haml.rb +0 -168
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/html.rb +0 -275
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/java.rb +0 -174
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/java/builtin_types.rb +0 -421
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/java_script.rb +0 -237
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/json.rb +0 -98
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/lua.rb +0 -280
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/php.rb +0 -527
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/python.rb +0 -287
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/raydebug.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/ruby.rb +0 -470
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/ruby/patterns.rb +0 -178
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/ruby/string_state.rb +0 -71
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/sass.rb +0 -232
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/sql.rb +0 -177
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/taskpaper.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/text.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/xml.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/scanners/yaml.rb +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/style.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/styles/_map.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/styles/alpha.rb +0 -152
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/token_kinds.rb +0 -85
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/tokens.rb +0 -161
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/tokens_proxy.rb +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/lib/coderay/version.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/test/functional/basic.rb +0 -318
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/test/functional/examples.rb +0 -129
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/test/functional/for_redcloth.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/coderay-1.1.0/test/functional/suite.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/coerce-0.0.6/README +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/coerce-0.0.6/Rakefile +0 -392
- data/vendor/bundle/ruby/1.9.1/gems/coerce-0.0.6/coerce.gemspec +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/coerce-0.0.6/lib/coerce.rb +0 -210
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/LICENSE +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/README +0 -214
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/Rakefile +0 -90
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/Releases +0 -195
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/TODO +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/call/call.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/call/call_monitor.rb +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/daemonize/daemonize.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_crash.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_exec.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_exit.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_hanging.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_keep_pid_files.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_monitor.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_multiple.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_normal.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_ontop.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_optionparser.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_proc.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_proc_multiple.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_proc_rand.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_proc_simple.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/ctrl_slowstop.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/myserver.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/myserver_crashing.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/myserver_exiting.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/myserver_hanging.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/myserver_slowstop.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons.rb +0 -315
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/application.rb +0 -477
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/application_group.rb +0 -194
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/change_privilege.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/cmdline.rb +0 -121
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/controller.rb +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/daemonize.rb +0 -169
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/etc_extension.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/exceptions.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/monitor.rb +0 -138
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/pid.rb +0 -108
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/pidfile.rb +0 -116
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/lib/daemons/pidmem.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/setup.rb +0 -1360
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/AUTHORS +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/CHANGELOG +0 -182
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/COPYING +0 -340
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/INSTALL +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/LICENSE +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/README +0 -71
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/Rakefile +0 -94
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/TODO +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/examples/csv_converters.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/examples/csv_filter.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/examples/csv_reading.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/examples/csv_table.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/examples/csv_writing.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/examples/purchase.csv +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/examples/shortcut_interface.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/lib/faster_csv.rb +0 -2025
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/lib/fastercsv.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/line_endings.gz +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_csv_parsing.rb +0 -191
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_csv_writing.rb +0 -96
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_data_converters.rb +0 -260
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_encodings.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_features.rb +0 -212
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_headers.rb +0 -277
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_interface.rb +0 -376
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_row.rb +0 -305
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_serialization.rb +0 -154
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_speed.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/tc_table.rb +0 -408
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/test_data.csv +0 -1000
- data/vendor/bundle/ruby/1.9.1/gems/fastercsv-1.5.5/test/ts_all.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/LICENSE +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/README +0 -347
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/README.erb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/Rakefile +0 -376
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/lib/fattr.rb +0 -206
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/a.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/b.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/c.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/d.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/e.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/f.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/g.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/samples/h.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/fattr-2.2.2/test/fattr_test.rb +0 -173
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/Gemfile +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/LICENSE +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/README.md +0 -145
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/Rakefile +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/VERSION +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/flowdock.gemspec +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/lib/flowdock.rb +0 -181
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/lib/flowdock/capistrano.rb +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/spec/flowdock_spec.rb +0 -435
- data/vendor/bundle/ruby/1.9.1/gems/flowdock-0.5.0/spec/spec_helper.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/AUTHORS +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/CHANGELOG +0 -357
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/COPYING +0 -340
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/INSTALL +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/LICENSE +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/README.rdoc +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/Rakefile +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/TODO +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/ansi_colors.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/asking_for_arrays.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/basic_usage.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/color_scheme.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/get_character.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/limit.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/menus.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/overwrite.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/page_and_wrap.rb +0 -322
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/password.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/repeat_entry.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/trapping_eof.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/examples/using_readline.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/highline.gemspec +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline.rb +0 -1034
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/color_scheme.rb +0 -134
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/compatibility.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/import.rb +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/menu.rb +0 -381
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/question.rb +0 -481
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/simulate.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/string_extensions.rb +0 -111
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/style.rb +0 -181
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/lib/highline/system_extensions.rb +0 -242
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/setup.rb +0 -1360
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/site/highline.css +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/site/images/logo.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/site/index.html +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/string_methods.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/tc_color_scheme.rb +0 -96
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/tc_highline.rb +0 -1134
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/tc_import.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/tc_menu.rb +0 -439
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/tc_string_extension.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/tc_string_highline.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/tc_style.rb +0 -567
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.21/test/ts_all.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/Gemfile +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/Guardfile +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/History +0 -303
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/README.md +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/Rakefile +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/bin/httparty +0 -117
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/cucumber.yml +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/aaws.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/basic.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/crack.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/custom_parsers.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/delicious.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/google.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/headers_and_user_agents.rb +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/nokogiri_html_parser.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/rubyurl.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/stackexchange.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/tripit_sign_in.rb +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/twitter.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/examples/whoismyrep.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/basic_authentication.feature +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/command_line.feature +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/deals_with_http_error_codes.feature +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/digest_authentication.feature +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/handles_compressed_responses.feature +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/handles_multiple_formats.feature +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/steps/env.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/steps/httparty_response_steps.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/steps/httparty_steps.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/steps/mongrel_helper.rb +0 -94
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/steps/remote_service_steps.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/supports_read_timeout_option.feature +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/supports_redirection.feature +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/features/supports_timeout_option.feature +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/httparty.gemspec +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty.rb +0 -600
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/connection_adapter.rb +0 -187
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/cookie_hash.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/core_extensions.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/exceptions.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/hash_conversions.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/logger/apache_logger.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/logger/curl_logger.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/logger/logger.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/module_inheritable_attributes.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/net_digest_auth.rb +0 -84
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/parser.rb +0 -141
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/request.rb +0 -331
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/response.rb +0 -72
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/response/headers.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/lib/httparty/version.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/script/release +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/delicious.xml +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/empty.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/google.html +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generate.sh +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generated/1fe462c2.0 +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generated/bogushost.crt +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generated/ca.crt +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generated/ca.key +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generated/selfsigned.crt +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generated/server.crt +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/generated/server.key +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/ssl/openssl-exts.cnf +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/twitter.csv +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/twitter.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/twitter.xml +0 -403
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/fixtures/undefined_method_add_node_for_nil.xml +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/connection_adapter_spec.rb +0 -354
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/cookie_hash_spec.rb +0 -83
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/exception_spec.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/logger/apache_logger_spec.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/logger/curl_logger_spec.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/logger/logger_spec.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/net_digest_auth_spec.rb +0 -152
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/parser_spec.rb +0 -165
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/request_spec.rb +0 -638
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/response_spec.rb +0 -221
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty/ssl_spec.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/httparty_spec.rb +0 -764
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/spec.opts +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/spec_helper.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/support/ssl_test_helper.rb +0 -47
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/support/ssl_test_server.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/spec/support/stub_response.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/website/css/common.css +0 -47
- data/vendor/bundle/ruby/1.9.1/gems/httparty-0.13.1/website/index.html +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/CHANGES +0 -284
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/COPYING +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/COPYING-json-jruby +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/GPL +0 -340
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/Gemfile +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/README-json-jruby.markdown +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/README.rdoc +0 -358
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/Rakefile +0 -412
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/TODO +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/VERSION +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/data/example.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/data/index.html +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/data/prototype.js +0 -4184
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/fbuffer/fbuffer.h +0 -181
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/generator/Makefile +0 -221
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/generator/depend +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/generator/extconf.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/generator/generator.c +0 -1435
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/generator/generator.h +0 -148
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/Makefile +0 -221
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/depend +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/extconf.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/parser.c +0 -2204
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/parser.h +0 -77
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/ext/json/ext/parser/parser.rl +0 -927
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/install.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/ByteListTranscoder.java +0 -167
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/Generator.java +0 -444
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/GeneratorMethods.java +0 -232
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/GeneratorService.java +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/GeneratorState.java +0 -543
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/OptionsReader.java +0 -114
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/Parser.java +0 -2644
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/Parser.rl +0 -968
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/ParserService.java +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/RuntimeInfo.java +0 -121
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/StringDecoder.java +0 -167
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/StringEncoder.java +0 -106
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/java/src/json/ext/Utils.java +0 -89
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/json-java.gemspec +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/json.gemspec +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/json_pure.gemspec +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/bigdecimal.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/complex.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/core.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/date.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/date_time.rb +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/exception.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/ostruct.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/range.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/rational.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/regexp.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/struct.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/symbol.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/add/time.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/common.rb +0 -484
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/ext.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/generic_object.rb +0 -70
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/pure.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/pure/generator.rb +0 -522
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/pure/parser.rb +0 -359
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/lib/json/version.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail1.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail10.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail11.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail12.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail13.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail14.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail18.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail19.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail2.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail20.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail21.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail22.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail23.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail24.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail25.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail27.json +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail28.json +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail3.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail4.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail5.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail6.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail7.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail8.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/fail9.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/pass1.json +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/pass15.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/pass16.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/pass17.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/pass2.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/pass26.json +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/fixtures/pass3.json +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/setup_variant.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json.rb +0 -545
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json_addition.rb +0 -196
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json_encoding.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json_fixtures.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json_generate.rb +0 -322
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json_generic_object.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json_string_matching.rb +0 -39
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tests/test_json_unicode.rb +0 -72
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tools/fuzz.rb +0 -139
- data/vendor/bundle/ruby/1.9.1/gems/json-1.8.1/tools/server.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/LICENSE +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/README +0 -1177
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/README.erb +0 -881
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/Rakefile +0 -394
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/TODO +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/a.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main.rb +0 -93
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/cast.rb +0 -163
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/dsl.rb +0 -77
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/factories.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/getoptlong.rb +0 -470
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/logger.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/mode.rb +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/parameter.rb +0 -735
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/program.rb +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/program/class_methods.rb +0 -381
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/program/instance_methods.rb +0 -303
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/softspoken.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/stdext.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/test.rb +0 -89
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/usage.rb +0 -212
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/lib/main/util.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/main.gemspec +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/a.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/b.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/c.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/d.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/e.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/f.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/g.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/h.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/samples/j.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/main-6.0.0/test/main_test.rb +0 -954
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/LICENSE +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/README +0 -1177
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/README.erb +0 -881
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/Rakefile +0 -394
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/TODO +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/a.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main.rb +0 -94
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/cast.rb +0 -163
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/daemon.rb +0 -525
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/dsl.rb +0 -77
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/factories.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/getoptlong.rb +0 -470
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/logger.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/mode.rb +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/parameter.rb +0 -735
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/program.rb +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/program/class_methods.rb +0 -392
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/program/instance_methods.rb +0 -308
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/softspoken.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/stdext.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/test.rb +0 -89
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/usage.rb +0 -212
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/lib/main/util.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/main.gemspec +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/a.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/b.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/c.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/d.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/e.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/f.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/g.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/h.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/samples/j.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/main-6.1.0/test/main_test.rb +0 -954
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/LICENSE +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/README +0 -145
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/Rakefile +0 -394
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/a.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/lib/map.rb +0 -1190
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/lib/map/integrations/active_record.rb +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/lib/map/options.rb +0 -188
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/lib/map/params.rb +0 -79
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/lib/map/struct.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/map.gemspec +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/test/leak.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/test/lib/testing.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/map-6.5.5/test/map_test.rb +0 -802
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/Gemfile +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/LICENSE +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/README.markdown +0 -91
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/Rakefile +0 -79
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/lib/method_source.rb +0 -141
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +0 -154
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/lib/method_source/source_location.rb +0 -138
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/lib/method_source/version.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/method_source.gemspec +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/test/test.rb +0 -138
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/test/test_code_helpers.rb +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/method_source-0.8.2/test/test_helper.rb +0 -98
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/CHANGELOG.md +0 -220
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/CONTRIBUTING.md +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/Gemfile +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/LICENSE.md +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/README.md +0 -119
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/Rakefile +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json.rb +0 -158
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapter.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapter_error.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/gson.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/jr_jackson.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/json_gem.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/json_pure.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/nsjsonserialization.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/oj.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/ok_json.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapters/yajl.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/convertible_hash_keys.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/options.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/parse_error.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/vendor/okjson.rb +0 -606
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/lib/multi_json/version.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/multi_json.gemspec +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/gson_adapter_spec.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/jr_jackson_adapter_spec.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/json_gem_adapter_spec.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/json_pure_adapter_spec.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/multi_json_spec.rb +0 -200
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/nsjsonserialization_adapter_spec.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/oj_adapter_spec.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/ok_json_adapter_spec.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/shared/adapter.rb +0 -236
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/shared/json_common_adapter.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/shared/options.rb +0 -119
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/spec_helper.rb +0 -77
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.10.1/spec/yajl_adapter_spec.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/CHANGELOG.md +0 -93
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/CONTRIBUTING.md +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/LICENSE.md +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/README.md +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/Rakefile +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/lib/multi_xml.rb +0 -296
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/lib/multi_xml/parsers/libxml.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/lib/multi_xml/parsers/libxml2_parser.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/lib/multi_xml/parsers/nokogiri.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/lib/multi_xml/parsers/ox.rb +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/lib/multi_xml/parsers/rexml.rb +0 -113
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/lib/multi_xml/version.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/multi_xml.gemspec +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/spec/helper.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/spec/multi_xml_spec.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/spec/parser_shared_example.rb +0 -694
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.5/spec/speed.rb +0 -63
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/CHANGELOG +0 -534
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/CONTRIBUTORS +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/Gemfile +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/LICENSE +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/README.markdown +0 -400
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/Rakefile +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/TODO +0 -117
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/bin/pry +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry.rb +0 -274
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/cli.rb +0 -202
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/code.rb +0 -385
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/code/code_range.rb +0 -70
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/code/loc.rb +0 -92
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/code_object.rb +0 -153
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/command.rb +0 -689
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/command_set.rb +0 -400
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands.rb +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/amend_line.rb +0 -99
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/bang.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/bang_pry.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/cat.rb +0 -53
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/cat/abstract_formatter.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/cat/exception_formatter.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/cat/file_formatter.rb +0 -84
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/cat/input_expression_formatter.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/cd.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/code_collector.rb +0 -165
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/disable_pry.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/disabled_commands.rb +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/easter_eggs.rb +0 -112
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/edit.rb +0 -207
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/edit/exception_patcher.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/edit/file_and_line_locator.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/edit/method_patcher.rb +0 -122
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/exit.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/exit_all.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/exit_program.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/find_method.rb +0 -199
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/fix_indent.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/gem_cd.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/gem_install.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/gem_list.rb +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/gem_open.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/gist.rb +0 -102
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/help.rb +0 -164
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/hist.rb +0 -161
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/import_set.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/install_command.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/jump_to.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/ls.rb +0 -338
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/nesting.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/play.rb +0 -69
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/pry_backtrace.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/pry_version.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/raise_up.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/reload_code.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/reset.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/ri.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/save_file.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/shell_command.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/shell_mode.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/show_doc.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/show_info.rb +0 -200
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/show_input.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/show_source.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/simple_prompt.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/stat.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/switch_to.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/toggle_color.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/whereami.rb +0 -182
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/wtf.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/completion.rb +0 -321
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/config.rb +0 -258
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/core_extensions.rb +0 -121
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/custom_completions.rb +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/editor.rb +0 -129
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/helpers.rb +0 -5
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/helpers/base_helpers.rb +0 -200
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/helpers/command_helpers.rb +0 -154
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/helpers/documentation_helpers.rb +0 -76
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/helpers/options_helpers.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/helpers/table.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/helpers/text.rb +0 -108
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/history.rb +0 -124
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/history_array.rb +0 -116
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/hooks.rb +0 -250
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/indent.rb +0 -406
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/method.rb +0 -551
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/method/disowned.rb +0 -53
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/method/weird_method_locator.rb +0 -186
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/module_candidate.rb +0 -146
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/pager.rb +0 -90
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/plugins.rb +0 -103
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/pry_class.rb +0 -456
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/pry_instance.rb +0 -765
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/rbx_method.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/rbx_path.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/repl_file_loader.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/rubygem.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/terminal.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/test/helper.rb +0 -185
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/version.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/lib/pry/wrapped_module.rb +0 -387
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/man/pry.1 +0 -195
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/man/pry.1.html +0 -204
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/man/pry.1.ronn +0 -141
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/pry.gemspec +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/Procfile +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/cli_spec.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/code_object_spec.rb +0 -277
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/code_spec.rb +0 -219
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/command_helpers_spec.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/command_integration_spec.rb +0 -644
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/command_set_spec.rb +0 -627
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/command_spec.rb +0 -821
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/amend_line_spec.rb +0 -247
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/bang_spec.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/cat_spec.rb +0 -164
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/cd_spec.rb +0 -250
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/disable_pry_spec.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/edit_spec.rb +0 -727
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/exit_all_spec.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/exit_program_spec.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/exit_spec.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/find_method_spec.rb +0 -70
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/gem_list_spec.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/gist_spec.rb +0 -79
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/help_spec.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/hist_spec.rb +0 -181
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/jump_to_spec.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/ls_spec.rb +0 -181
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/play_spec.rb +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/raise_up_spec.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/save_file_spec.rb +0 -177
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/show_doc_spec.rb +0 -510
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/show_input_spec.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/show_source_spec.rb +0 -782
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/commands/whereami_spec.rb +0 -203
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/completion_spec.rb +0 -241
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/control_d_handler_spec.rb +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/documentation_helper_spec.rb +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/editor_spec.rb +0 -79
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/exception_whitelist_spec.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/candidate_helper1.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/candidate_helper2.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/example.erb +0 -5
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/example_nesting.rb +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/show_source_doc_examples.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/testrc +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/testrcbad +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/fixtures/whereami_helper.rb +0 -6
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/helper.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/helpers/bacon.rb +0 -86
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/helpers/mock_pry.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/helpers/table_spec.rb +0 -105
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/history_array_spec.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/hooks_spec.rb +0 -522
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/indent_spec.rb +0 -301
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/input_stack_spec.rb +0 -90
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/method_spec.rb +0 -482
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/prompt_spec.rb +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/pry_defaults_spec.rb +0 -419
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/pry_history_spec.rb +0 -99
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/pry_output_spec.rb +0 -95
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/pry_spec.rb +0 -515
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/run_command_spec.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/sticky_locals_spec.rb +0 -157
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/syntax_checking_spec.rb +0 -81
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/spec/wrapped_module_spec.rb +0 -261
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/wiki/Customizing-pry.md +0 -397
- data/vendor/bundle/ruby/1.9.1/gems/pry-0.9.12.6/wiki/Home.md +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/README +0 -144
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/Rakefile +0 -390
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/bin/sekrets +0 -372
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/lib/sekrets.rb +0 -511
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/lib/sekrets/capistrano.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/sekrets.gemspec +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/test/lib/testing.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/sekrets-1.7.0/test/sekrets_test.rb +0 -167
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/CHANGELOG +0 -5790
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/MIT-LICENSE +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/README.rdoc +0 -815
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/Rakefile +0 -186
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/bin/sequel +0 -244
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/active_record.rdoc +0 -912
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/advanced_associations.rdoc +0 -818
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/association_basics.rdoc +0 -1763
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/bin_sequel.rdoc +0 -144
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/cheat_sheet.rdoc +0 -220
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/code_order.rdoc +0 -96
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/core_extensions.rdoc +0 -364
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/dataset_basics.rdoc +0 -105
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/dataset_filtering.rdoc +0 -191
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/extensions.rdoc +0 -84
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/mass_assignment.rdoc +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/migration.rdoc +0 -611
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/model_hooks.rdoc +0 -262
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/model_plugins.rdoc +0 -270
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/mssql_stored_procedures.rdoc +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/object_model.rdoc +0 -573
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/opening_databases.rdoc +0 -489
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/postgresql.rdoc +0 -326
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/prepared_statements.rdoc +0 -139
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/querying.rdoc +0 -1017
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/reflection.rdoc +0 -121
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/1.0.txt +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/1.1.txt +0 -143
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/1.3.txt +0 -101
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/1.4.0.txt +0 -53
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/1.5.0.txt +0 -155
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.0.0.txt +0 -298
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.1.0.txt +0 -271
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.10.0.txt +0 -328
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.11.0.txt +0 -215
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.12.0.txt +0 -534
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.2.0.txt +0 -253
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.3.0.txt +0 -88
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.4.0.txt +0 -106
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.5.0.txt +0 -137
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.6.0.txt +0 -157
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.7.0.txt +0 -166
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.8.0.txt +0 -171
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/2.9.0.txt +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.0.0.txt +0 -221
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.1.0.txt +0 -406
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.10.0.txt +0 -286
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.11.0.txt +0 -254
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.12.0.txt +0 -304
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.13.0.txt +0 -210
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.14.0.txt +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.15.0.txt +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.16.0.txt +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.17.0.txt +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.18.0.txt +0 -120
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.19.0.txt +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.2.0.txt +0 -268
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.20.0.txt +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.21.0.txt +0 -87
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.22.0.txt +0 -39
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.23.0.txt +0 -172
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.24.0.txt +0 -420
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.25.0.txt +0 -88
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.26.0.txt +0 -88
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.27.0.txt +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.28.0.txt +0 -304
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.29.0.txt +0 -459
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.3.0.txt +0 -192
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.30.0.txt +0 -135
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.31.0.txt +0 -146
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.32.0.txt +0 -202
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.33.0.txt +0 -157
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.34.0.txt +0 -671
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.35.0.txt +0 -144
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.36.0.txt +0 -245
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.37.0.txt +0 -338
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.38.0.txt +0 -234
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.39.0.txt +0 -237
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.4.0.txt +0 -325
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.40.0.txt +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.41.0.txt +0 -155
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.42.0.txt +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.43.0.txt +0 -105
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.44.0.txt +0 -152
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.45.0.txt +0 -179
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.46.0.txt +0 -122
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.47.0.txt +0 -270
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.48.0.txt +0 -477
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.5.0.txt +0 -510
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.6.0.txt +0 -366
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.7.0.txt +0 -179
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.8.0.txt +0 -151
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/3.9.0.txt +0 -233
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.0.0.txt +0 -262
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.1.0.txt +0 -85
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.10.0.txt +0 -226
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.11.0.txt +0 -147
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.12.0.txt +0 -105
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.13.0.txt +0 -169
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.14.0.txt +0 -68
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.15.0.txt +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.2.0.txt +0 -129
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.3.0.txt +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.4.0.txt +0 -92
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.5.0.txt +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.6.0.txt +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.7.0.txt +0 -103
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.8.0.txt +0 -175
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/release_notes/4.9.0.txt +0 -190
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/schema_modification.rdoc +0 -654
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/security.rdoc +0 -370
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/sharding.rdoc +0 -245
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/sql.rdoc +0 -589
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/testing.rdoc +0 -176
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/thread_safety.rdoc +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/transactions.rdoc +0 -168
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/validations.rdoc +0 -540
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/doc/virtual_rows.rdoc +0 -272
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel.rb +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/ado.rb +0 -151
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/ado/access.rb +0 -335
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/ado/mssql.rb +0 -69
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/amalgalite.rb +0 -179
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/cubrid.rb +0 -143
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/db2.rb +0 -229
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/dbi.rb +0 -101
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/do.rb +0 -156
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/do/mysql.rb +0 -64
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/do/postgres.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/do/sqlite3.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/fdbsql.rb +0 -285
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/firebird.rb +0 -104
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/ibmdb.rb +0 -476
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/informix.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc.rb +0 -794
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/as400.rb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/cubrid.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/db2.rb +0 -91
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/derby.rb +0 -312
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/fdbsql.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/firebirdsql.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/h2.rb +0 -227
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/hsqldb.rb +0 -231
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/informix-sqli.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/jdbcprogress.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/jtds.rb +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/mssql.rb +0 -47
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/mysql.rb +0 -90
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/oracle.rb +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/postgresql.rb +0 -215
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/sqlanywhere.rb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/sqlite.rb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/sqlserver.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/jdbc/transactions.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/mock.rb +0 -391
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/mysql.rb +0 -372
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/mysql2.rb +0 -200
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/odbc.rb +0 -149
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/odbc/db2.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/odbc/mssql.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/odbc/progress.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/openbase.rb +0 -53
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/oracle.rb +0 -459
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/postgres.rb +0 -877
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/access.rb +0 -299
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/cubrid.rb +0 -243
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/db2.rb +0 -403
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/fdbsql.rb +0 -550
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/firebird.rb +0 -245
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/informix.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/mssql.rb +0 -1037
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/mysql.rb +0 -984
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/mysql_prepared_statements.rb +0 -182
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/oracle.rb +0 -522
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/postgres.rb +0 -1617
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/progress.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/sqlanywhere.rb +0 -470
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/shared/sqlite.rb +0 -729
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/sqlanywhere.rb +0 -177
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/sqlite.rb +0 -413
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/swift.rb +0 -150
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/swift/mysql.rb +0 -47
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/swift/postgres.rb +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/swift/sqlite.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/tinytds.rb +0 -282
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/utils/emulate_offset_with_reverse_and_count.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/utils/emulate_offset_with_row_number.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/utils/pg_types.rb +0 -68
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/utils/replace.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/utils/split_alter_table.rb +0 -44
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/adapters/utils/stored_procedures.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/ast_transformer.rb +0 -200
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/connection_pool.rb +0 -110
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/connection_pool/sharded_single.rb +0 -98
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/connection_pool/sharded_threaded.rb +0 -265
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/connection_pool/single.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/connection_pool/threaded.rb +0 -198
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/core.rb +0 -394
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/connecting.rb +0 -318
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/dataset.rb +0 -69
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/dataset_defaults.rb +0 -175
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/features.rb +0 -134
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/logging.rb +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/misc.rb +0 -534
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/query.rb +0 -329
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/schema_generator.rb +0 -525
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/schema_methods.rb +0 -964
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/database/transactions.rb +0 -353
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/actions.rb +0 -1045
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/features.rb +0 -203
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/graph.rb +0 -272
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/misc.rb +0 -279
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/mutation.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/placeholder_literalizer.rb +0 -179
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/prepared_statements.rb +0 -283
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/query.rb +0 -1136
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/dataset/sql.rb +0 -1555
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/deprecated.rb +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/exceptions.rb +0 -77
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/_pretty_table.rb +0 -84
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/arbitrary_servers.rb +0 -110
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/blank.rb +0 -47
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/columns_introspection.rb +0 -83
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/connection_validator.rb +0 -110
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/constraint_validations.rb +0 -455
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/core_extensions.rb +0 -230
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/core_refinements.rb +0 -221
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/current_datetime_timestamp.rb +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/dataset_source_alias.rb +0 -91
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/date_arithmetic.rb +0 -192
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/empty_array_ignore_nulls.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/error_sql.rb +0 -72
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/eval_inspect.rb +0 -182
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/filter_having.rb +0 -59
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/from_block.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/graph_each.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/hash_aliases.rb +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/inflector.rb +0 -246
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/looser_typecasting.rb +0 -44
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/meta_def.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/migration.rb +0 -736
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/mssql_emulate_lateral_with_apply.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/named_timezones.rb +0 -99
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/null_dataset.rb +0 -105
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pagination.rb +0 -121
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_array.rb +0 -606
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_array_ops.rb +0 -324
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_enum.rb +0 -136
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_hstore.rb +0 -357
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_hstore_ops.rb +0 -349
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_inet.rb +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_interval.rb +0 -198
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_json.rb +0 -365
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_json_ops.rb +0 -434
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_loose_count.rb +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_range.rb +0 -546
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_range_ops.rb +0 -162
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_row.rb +0 -615
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_row_ops.rb +0 -194
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pg_static_cache_updater.rb +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/pretty_table.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/query.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/query_literals.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/round_timestamps.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/ruby18_symbol_extensions.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/schema_caching.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/schema_dumper.rb +0 -476
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/select_remove.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/sequel_3_dataset_methods.rb +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/server_block.rb +0 -149
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/set_overrides.rb +0 -72
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/split_array_nil.rb +0 -66
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/sql_expr.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/string_date_time.rb +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/thread_local_timezones.rb +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/extensions/to_dot.rb +0 -154
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model.rb +0 -175
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/associations.rb +0 -3171
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/base.rb +0 -2306
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/dataset_module.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/default_inflections.rb +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/errors.rb +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/exceptions.rb +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/inflections.rb +0 -162
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/model/plugins.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/no_core_ext.rb +0 -1
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/active_model.rb +0 -99
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/after_initialize.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/association_autoreloading.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/association_dependencies.rb +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/association_pks.rb +0 -167
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/association_proxies.rb +0 -105
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/auto_validations.rb +0 -161
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/blacklist_security.rb +0 -93
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/boolean_readers.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/caching.rb +0 -153
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/class_table_inheritance.rb +0 -292
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/column_select.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/composition.rb +0 -187
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/constraint_validations.rb +0 -229
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/dataset_associations.rb +0 -107
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/defaults_setter.rb +0 -69
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/dirty.rb +0 -231
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/eager_each.rb +0 -64
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/error_splitter.rb +0 -54
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/force_encoding.rb +0 -81
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/hook_class_methods.rb +0 -125
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/input_transformer.rb +0 -79
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/insert_returning_select.rb +0 -70
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/instance_filters.rb +0 -131
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/instance_hooks.rb +0 -96
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/json_serializer.rb +0 -352
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/lazy_attributes.rb +0 -117
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/list.rb +0 -189
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/many_through_many.rb +0 -317
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/many_to_one_pk_lookup.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/modification_detection.rb +0 -90
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/mssql_optimistic_locking.rb +0 -92
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/nested_attributes.rb +0 -323
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/optimistic_locking.rb +0 -83
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/pg_array_associations.rb +0 -528
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/pg_row.rb +0 -123
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/pg_typecast_on_load.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/prepared_statements.rb +0 -205
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/prepared_statements_associations.rb +0 -116
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/prepared_statements_safe.rb +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/prepared_statements_with_pk.rb +0 -59
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/rcte_tree.rb +0 -343
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/schema.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/scissors.rb +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/serialization.rb +0 -235
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/serialization_modification_detection.rb +0 -84
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/sharding.rb +0 -117
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/single_table_inheritance.rb +0 -230
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/skip_create_refresh.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/split_values.rb +0 -64
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/static_cache.rb +0 -215
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/string_stripper.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/subclasses.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/table_select.rb +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/tactical_eager_loading.rb +0 -85
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/timestamps.rb +0 -95
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/touch.rb +0 -140
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/tree.rb +0 -156
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/typecast_on_load.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/unlimited_update.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/update_or_create.rb +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/update_primary_key.rb +0 -70
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/validation_class_methods.rb +0 -439
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/validation_helpers.rb +0 -291
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/plugins/xml_serializer.rb +0 -410
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/sql.rb +0 -1865
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/timezones.rb +0 -221
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/lib/sequel/version.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/db2_spec.rb +0 -148
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/fdbsql_spec.rb +0 -429
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/firebird_spec.rb +0 -417
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/informix_spec.rb +0 -100
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/mssql_spec.rb +0 -722
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/mysql_spec.rb +0 -1304
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/oracle_spec.rb +0 -315
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/postgres_spec.rb +0 -3537
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/spec_helper.rb +0 -76
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/sqlanywhere_spec.rb +0 -170
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/adapters/sqlite_spec.rb +0 -650
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/bin_spec.rb +0 -256
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/connection_pool_spec.rb +0 -982
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/database_spec.rb +0 -2487
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/dataset_spec.rb +0 -4970
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/deprecated_spec.rb +0 -70
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/expression_filters_spec.rb +0 -1197
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/mock_adapter_spec.rb +0 -462
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/object_graph_spec.rb +0 -303
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/placeholder_literalizer_spec.rb +0 -163
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/schema_generator_spec.rb +0 -179
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/schema_spec.rb +0 -1610
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/spec_helper.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core/version_spec.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/core_extensions_spec.rb +0 -695
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/active_model_spec.rb +0 -123
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/after_initialize_spec.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/arbitrary_servers_spec.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/association_dependencies_spec.rb +0 -117
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/association_pks_spec.rb +0 -281
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/association_proxies_spec.rb +0 -86
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/auto_validations_spec.rb +0 -158
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/blacklist_security_spec.rb +0 -87
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/blank_spec.rb +0 -69
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/boolean_readers_spec.rb +0 -93
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/caching_spec.rb +0 -270
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/class_table_inheritance_spec.rb +0 -274
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/column_select_spec.rb +0 -108
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/columns_introspection_spec.rb +0 -91
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/composition_spec.rb +0 -242
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/connection_validator_spec.rb +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/constraint_validations_plugin_spec.rb +0 -274
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/constraint_validations_spec.rb +0 -325
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/core_refinements_spec.rb +0 -519
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/current_datetime_timestamp_spec.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/dataset_associations_spec.rb +0 -311
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/dataset_source_alias_spec.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/date_arithmetic_spec.rb +0 -157
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/defaults_setter_spec.rb +0 -101
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/dirty_spec.rb +0 -180
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/eager_each_spec.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/empty_array_ignore_nulls_spec.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/error_splitter_spec.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/error_sql_spec.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/eval_inspect_spec.rb +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/filter_having_spec.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/force_encoding_spec.rb +0 -114
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/from_block_spec.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/graph_each_spec.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/hash_aliases_spec.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/hook_class_methods_spec.rb +0 -416
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/inflector_spec.rb +0 -183
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/input_transformer_spec.rb +0 -54
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/insert_returning_select_spec.rb +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/instance_filters_spec.rb +0 -79
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/instance_hooks_spec.rb +0 -276
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/json_serializer_spec.rb +0 -267
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/lazy_attributes_spec.rb +0 -170
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/list_spec.rb +0 -265
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/looser_typecasting_spec.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/many_through_many_spec.rb +0 -2159
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/meta_def_spec.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/migration_spec.rb +0 -709
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/modification_detection_spec.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/mssql_optimistic_locking_spec.rb +0 -91
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/named_timezones_spec.rb +0 -108
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/nested_attributes_spec.rb +0 -697
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/null_dataset_spec.rb +0 -85
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/optimistic_locking_spec.rb +0 -128
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pagination_spec.rb +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_array_associations_spec.rb +0 -736
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_array_ops_spec.rb +0 -143
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_array_spec.rb +0 -390
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_enum_spec.rb +0 -64
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_hstore_ops_spec.rb +0 -236
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_hstore_spec.rb +0 -206
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_inet_spec.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_interval_spec.rb +0 -76
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_json_ops_spec.rb +0 -226
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_json_spec.rb +0 -218
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_loose_count_spec.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_range_ops_spec.rb +0 -58
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_range_spec.rb +0 -404
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_row_ops_spec.rb +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_row_plugin_spec.rb +0 -62
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_row_spec.rb +0 -360
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_static_cache_updater_spec.rb +0 -92
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pg_typecast_on_load_spec.rb +0 -63
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/prepared_statements_associations_spec.rb +0 -151
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/prepared_statements_safe_spec.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/prepared_statements_spec.rb +0 -103
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/prepared_statements_with_pk_spec.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/pretty_table_spec.rb +0 -92
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/query_literals_spec.rb +0 -167
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/query_spec.rb +0 -102
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/rcte_tree_spec.rb +0 -387
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/round_timestamps_spec.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/schema_caching_spec.rb +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/schema_dumper_spec.rb +0 -788
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/schema_spec.rb +0 -113
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/scissors_spec.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/select_remove_spec.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/sequel_3_dataset_methods_spec.rb +0 -101
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/serialization_modification_detection_spec.rb +0 -98
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/serialization_spec.rb +0 -340
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/server_block_spec.rb +0 -90
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/set_overrides_spec.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/sharding_spec.rb +0 -198
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/shared_caching_spec.rb +0 -175
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/single_table_inheritance_spec.rb +0 -276
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/skip_create_refresh_spec.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/spec_helper.rb +0 -96
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/split_array_nil_spec.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/split_values_spec.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/sql_expr_spec.rb +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/static_cache_spec.rb +0 -355
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/string_date_time_spec.rb +0 -95
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/string_stripper_spec.rb +0 -68
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/subclasses_spec.rb +0 -66
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/table_select_spec.rb +0 -71
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/tactical_eager_loading_spec.rb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/thread_local_timezones_spec.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/timestamps_spec.rb +0 -175
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/to_dot_spec.rb +0 -154
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/touch_spec.rb +0 -203
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/tree_spec.rb +0 -270
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/typecast_on_load_spec.rb +0 -80
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/unlimited_update_spec.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/update_or_create_spec.rb +0 -81
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/update_primary_key_spec.rb +0 -100
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/validation_class_methods_spec.rb +0 -1030
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/validation_helpers_spec.rb +0 -520
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/extensions/xml_serializer_spec.rb +0 -207
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/bad_down_migration/001_create_alt_basic.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/bad_down_migration/002_create_alt_advanced.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/bad_timestamped_migrations/1273253849_create_sessions.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/bad_timestamped_migrations/1273253851_create_nodes.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/bad_timestamped_migrations/1273253853_3_create_users.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/bad_up_migration/001_create_alt_basic.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/bad_up_migration/002_create_alt_advanced.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/convert_to_timestamp_migrations/001_create_sessions.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/convert_to_timestamp_migrations/002_create_nodes.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/convert_to_timestamp_migrations/003_3_create_users.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/convert_to_timestamp_migrations/1273253850_create_artists.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/convert_to_timestamp_migrations/1273253852_create_albums.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/duplicate_integer_migrations/001_create_alt_advanced.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/duplicate_integer_migrations/001_create_alt_basic.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/duplicate_timestamped_migrations/1273253849_create_sessions.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/duplicate_timestamped_migrations/1273253853_create_nodes.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/duplicate_timestamped_migrations/1273253853_create_users.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/integer_migrations/001_create_sessions.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/integer_migrations/002_create_nodes.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/integer_migrations/003_3_create_users.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/interleaved_timestamped_migrations/1273253849_create_sessions.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/interleaved_timestamped_migrations/1273253850_create_artists.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/interleaved_timestamped_migrations/1273253851_create_nodes.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/interleaved_timestamped_migrations/1273253852_create_albums.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/interleaved_timestamped_migrations/1273253853_3_create_users.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/missing_integer_migrations/001_create_alt_basic.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/missing_integer_migrations/003_create_alt_advanced.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/missing_timestamped_migrations/1273253849_create_sessions.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/missing_timestamped_migrations/1273253853_3_create_users.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/reversible_migrations/001_reversible.rb +0 -5
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/reversible_migrations/002_reversible.rb +0 -5
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/reversible_migrations/003_reversible.rb +0 -5
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/reversible_migrations/004_reversible.rb +0 -5
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/reversible_migrations/005_reversible.rb +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/timestamped_migrations/1273253849_create_sessions.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/timestamped_migrations/1273253851_create_nodes.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/timestamped_migrations/1273253853_3_create_users.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/transaction_specified_migrations/001_create_alt_basic.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/transaction_specified_migrations/002_create_basic.rb +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/transaction_unspecified_migrations/001_create_alt_basic.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/transaction_unspecified_migrations/002_create_basic.rb +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/uppercase_timestamped_migrations/1273253849_CREATE_SESSIONS.RB +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/uppercase_timestamped_migrations/1273253851_CREATE_NODES.RB +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/files/uppercase_timestamped_migrations/1273253853_3_CREATE_USERS.RB +0 -4
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/associations_test.rb +0 -2453
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/database_test.rb +0 -113
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/dataset_test.rb +0 -1798
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/eager_loader_test.rb +0 -687
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/migrator_test.rb +0 -240
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/model_test.rb +0 -226
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/plugin_test.rb +0 -2162
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/prepared_statement_test.rb +0 -426
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/schema_test.rb +0 -801
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/spec_helper.rb +0 -111
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/timezone_test.rb +0 -86
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/transaction_test.rb +0 -374
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/integration/type_test.rb +0 -133
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/association_reflection_spec.rb +0 -500
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/associations_spec.rb +0 -4316
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/base_spec.rb +0 -746
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/class_dataset_methods_spec.rb +0 -145
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/dataset_methods_spec.rb +0 -149
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/eager_loading_spec.rb +0 -2080
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/hooks_spec.rb +0 -536
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/inflector_spec.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/model_spec.rb +0 -992
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/plugins_spec.rb +0 -299
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/record_spec.rb +0 -2053
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/spec_helper.rb +0 -64
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/model/validations_spec.rb +0 -191
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/rspec_helper.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/sequel_coverage.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/sequel-4.15.0/spec/spec_config.rb +0 -2
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/CHANGES.md +0 -303
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/Gemfile +0 -3
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/LICENSE +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/README.md +0 -182
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/Rakefile +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/lib/slop.rb +0 -687
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/lib/slop/commands.rb +0 -196
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/lib/slop/option.rb +0 -209
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/slop.gemspec +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/test/commands_test.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/test/helper.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/test/option_test.rb +0 -138
- data/vendor/bundle/ruby/1.9.1/gems/slop-3.5.0/test/slop_test.rb +0 -518
- data/vendor/bundle/ruby/1.9.1/gems/threadify-1.3.0/README +0 -151
- data/vendor/bundle/ruby/1.9.1/gems/threadify-1.3.0/README.erb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/threadify-1.3.0/lib/threadify.rb +0 -176
- data/vendor/bundle/ruby/1.9.1/gems/threadify-1.3.0/rakefile +0 -222
- data/vendor/bundle/ruby/1.9.1/gems/threadify-1.3.0/sample/a.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/threadify-1.3.0/sample/b.rb +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/threadify-1.3.0/threadify.gemspec +0 -26
- data/vendor/bundle/ruby/1.9.1/specifications/amalgalite-1.3.0.gemspec +0 -52
- data/vendor/bundle/ruby/1.9.1/specifications/arrayfields-4.7.4.gemspec +0 -16
- data/vendor/bundle/ruby/1.9.1/specifications/chronic-0.10.2.gemspec +0 -42
- data/vendor/bundle/ruby/1.9.1/specifications/coderay-1.1.0.gemspec +0 -23
- data/vendor/bundle/ruby/1.9.1/specifications/coerce-0.0.6.gemspec +0 -30
- data/vendor/bundle/ruby/1.9.1/specifications/daemons-1.1.9.gemspec +0 -19
- data/vendor/bundle/ruby/1.9.1/specifications/fastercsv-1.5.5.gemspec +0 -20
- data/vendor/bundle/ruby/1.9.1/specifications/fattr-2.2.2.gemspec +0 -18
- data/vendor/bundle/ruby/1.9.1/specifications/flowdock-0.5.0.gemspec +0 -51
- data/vendor/bundle/ruby/1.9.1/specifications/highline-1.6.21.gemspec +0 -21
- data/vendor/bundle/ruby/1.9.1/specifications/httparty-0.13.1.gemspec +0 -35
- data/vendor/bundle/ruby/1.9.1/specifications/json-1.8.1.gemspec +0 -36
- data/vendor/bundle/ruby/1.9.1/specifications/main-6.0.0.gemspec +0 -39
- data/vendor/bundle/ruby/1.9.1/specifications/main-6.1.0.gemspec +0 -39
- data/vendor/bundle/ruby/1.9.1/specifications/map-6.5.5.gemspec +0 -18
- data/vendor/bundle/ruby/1.9.1/specifications/method_source-0.8.2.gemspec +0 -31
- data/vendor/bundle/ruby/1.9.1/specifications/multi_json-1.10.1.gemspec +0 -30
- data/vendor/bundle/ruby/1.9.1/specifications/multi_xml-0.5.5.gemspec +0 -30
- data/vendor/bundle/ruby/1.9.1/specifications/pry-0.9.12.6.gemspec +0 -51
- data/vendor/bundle/ruby/1.9.1/specifications/sekrets-1.7.0.gemspec +0 -43
- data/vendor/bundle/ruby/1.9.1/specifications/sequel-4.15.0.gemspec +0 -22
- data/vendor/bundle/ruby/1.9.1/specifications/slop-3.5.0.gemspec +0 -33
- data/vendor/bundle/ruby/1.9.1/specifications/threadify-1.3.0.gemspec +0 -16
@@ -1,113 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(File.expand_path(__FILE__)), 'spec_helper.rb')
|
2
|
-
|
3
|
-
describe Sequel::Database do
|
4
|
-
before do
|
5
|
-
@db = DB
|
6
|
-
end
|
7
|
-
|
8
|
-
specify "should provide disconnect functionality" do
|
9
|
-
@db.disconnect
|
10
|
-
@db.pool.size.should == 0
|
11
|
-
@db.test_connection
|
12
|
-
@db.pool.size.should == 1
|
13
|
-
end
|
14
|
-
|
15
|
-
specify "should provide disconnect functionality after preparing a statement" do
|
16
|
-
@db.create_table!(:items){Integer :i}
|
17
|
-
@db[:items].prepare(:first, :a).call
|
18
|
-
@db.disconnect
|
19
|
-
@db.pool.size.should == 0
|
20
|
-
@db.drop_table?(:items)
|
21
|
-
end
|
22
|
-
|
23
|
-
specify "should raise Sequel::DatabaseError on invalid SQL" do
|
24
|
-
proc{@db << "S"}.should raise_error(Sequel::DatabaseError)
|
25
|
-
end
|
26
|
-
|
27
|
-
specify "should have Sequel::DatabaseError#sql give the SQL causing the error" do
|
28
|
-
(@db << "SELECT") rescue (e = $!)
|
29
|
-
e.sql.should == "SELECT"
|
30
|
-
end if ENV['SEQUEL_ERROR_SQL']
|
31
|
-
|
32
|
-
describe "constraint violations" do
|
33
|
-
before do
|
34
|
-
@db.drop_table?(:test2, :test)
|
35
|
-
end
|
36
|
-
after do
|
37
|
-
@db.drop_table?(:test2, :test)
|
38
|
-
end
|
39
|
-
|
40
|
-
cspecify "should raise Sequel::UniqueConstraintViolation when a unique constraint is violated", [:jdbc, :sqlite], [:db2] do
|
41
|
-
@db.create_table!(:test){String :a, :unique=>true, :null=>false}
|
42
|
-
@db[:test].insert('1')
|
43
|
-
proc{@db[:test].insert('1')}.should raise_error(Sequel::UniqueConstraintViolation)
|
44
|
-
@db[:test].insert('2')
|
45
|
-
proc{@db[:test].update(:a=>'1')}.should raise_error(Sequel::UniqueConstraintViolation)
|
46
|
-
end
|
47
|
-
|
48
|
-
cspecify "should raise Sequel::UniqueConstraintViolation when a unique constraint is violated for composite primary keys", [:jdbc, :sqlite], [:db2] do
|
49
|
-
@db.create_table!(:test){String :a; String :b; primary_key [:a, :b]}
|
50
|
-
@db[:test].insert(:a=>'1', :b=>'2')
|
51
|
-
proc{@db[:test].insert(:a=>'1', :b=>'2')}.should raise_error(Sequel::UniqueConstraintViolation)
|
52
|
-
@db[:test].insert(:a=>'3', :b=>'4')
|
53
|
-
proc{@db[:test].update(:a=>'1', :b=>'2')}.should raise_error(Sequel::UniqueConstraintViolation)
|
54
|
-
end
|
55
|
-
|
56
|
-
cspecify "should raise Sequel::CheckConstraintViolation when a check constraint is violated", :mysql, [:db2], [proc{|db| db.sqlite_version < 30802}, :sqlite], :fdbsql do
|
57
|
-
@db.create_table!(:test){String :a; check Sequel.~(:a=>'1')}
|
58
|
-
proc{@db[:test].insert('1')}.should raise_error(Sequel::CheckConstraintViolation)
|
59
|
-
@db[:test].insert('2')
|
60
|
-
proc{@db[:test].insert('1')}.should raise_error(Sequel::CheckConstraintViolation)
|
61
|
-
end
|
62
|
-
|
63
|
-
cspecify "should raise Sequel::ForeignKeyConstraintViolation when a foreign key constraint is violated", [:jdbc, :sqlite], [:db2] do
|
64
|
-
@db.create_table!(:test, :engine=>:InnoDB){primary_key :id}
|
65
|
-
@db.create_table!(:test2, :engine=>:InnoDB){foreign_key :tid, :test}
|
66
|
-
proc{@db[:test2].insert(:tid=>1)}.should raise_error(Sequel::ForeignKeyConstraintViolation)
|
67
|
-
@db[:test].insert
|
68
|
-
@db[:test2].insert(:tid=>1)
|
69
|
-
proc{@db[:test2].where(:tid=>1).update(:tid=>3)}.should raise_error(Sequel::ForeignKeyConstraintViolation)
|
70
|
-
proc{@db[:test].where(:id=>1).delete}.should raise_error(Sequel::ForeignKeyConstraintViolation)
|
71
|
-
end
|
72
|
-
|
73
|
-
cspecify "should raise Sequel::NotNullConstraintViolation when a not null constraint is violated", [:jdbc, :sqlite], [:db2] do
|
74
|
-
@db.create_table!(:test){Integer :a, :null=>false}
|
75
|
-
proc{@db[:test].insert(:a=>nil)}.should raise_error(Sequel::NotNullConstraintViolation)
|
76
|
-
unless @db.database_type == :mysql
|
77
|
-
# Broken mysql silently changes NULL here to 0, and doesn't raise an exception.
|
78
|
-
@db[:test].insert(2)
|
79
|
-
proc{@db[:test].update(:a=>nil)}.should raise_error(Sequel::NotNullConstraintViolation)
|
80
|
-
end
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
specify "should store underlying wrapped exception in Sequel::DatabaseError" do
|
85
|
-
begin
|
86
|
-
@db << "SELECT"
|
87
|
-
rescue Sequel::DatabaseError=>e
|
88
|
-
if defined?(Java::JavaLang::Exception)
|
89
|
-
(e.wrapped_exception.is_a?(Exception) || e.wrapped_exception.is_a?(Java::JavaLang::Exception)).should == true
|
90
|
-
else
|
91
|
-
e.wrapped_exception.should be_a_kind_of(Exception)
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
specify "should not have the connection pool swallow non-StandardError based exceptions" do
|
97
|
-
proc{@db.pool.hold{raise Interrupt, "test"}}.should raise_error(Interrupt)
|
98
|
-
end
|
99
|
-
|
100
|
-
specify "should be able to disconnect connections more than once without exceptions" do
|
101
|
-
conn = @db.synchronize{|c| c}
|
102
|
-
@db.disconnect
|
103
|
-
@db.disconnect_connection(conn)
|
104
|
-
@db.disconnect_connection(conn)
|
105
|
-
end
|
106
|
-
|
107
|
-
cspecify "should provide ability to check connections for validity", [:do, :postgres] do
|
108
|
-
conn = @db.synchronize{|c| c}
|
109
|
-
@db.valid_connection?(conn).should == true
|
110
|
-
@db.disconnect
|
111
|
-
@db.valid_connection?(conn).should == false
|
112
|
-
end
|
113
|
-
end
|
@@ -1,1798 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(File.expand_path(__FILE__)), 'spec_helper.rb')
|
2
|
-
|
3
|
-
describe "Simple Dataset operations" do
|
4
|
-
before do
|
5
|
-
@db = DB
|
6
|
-
@db.create_table!(:items) do
|
7
|
-
primary_key :id
|
8
|
-
Integer :number
|
9
|
-
end
|
10
|
-
@ds = @db[:items]
|
11
|
-
@ds.insert(:number=>10)
|
12
|
-
end
|
13
|
-
after do
|
14
|
-
@db.drop_table?(:items)
|
15
|
-
end
|
16
|
-
|
17
|
-
specify "should support sequential primary keys" do
|
18
|
-
@ds << {:number=>20}
|
19
|
-
@ds << {:number=>30}
|
20
|
-
@ds.order(:number).all.should == [
|
21
|
-
{:id => 1, :number=>10},
|
22
|
-
{:id => 2, :number=>20},
|
23
|
-
{:id => 3, :number=>30} ]
|
24
|
-
end
|
25
|
-
|
26
|
-
specify "should support sequential primary keys with a Bignum" do
|
27
|
-
@db.create_table!(:items) do
|
28
|
-
primary_key :id, :type=>Bignum
|
29
|
-
Integer :number
|
30
|
-
end
|
31
|
-
@ds << {:number=>20}
|
32
|
-
@ds << {:number=>30}
|
33
|
-
@ds.order(:number).all.should == [{:id => 1, :number=>20}, {:id => 2, :number=>30}]
|
34
|
-
end
|
35
|
-
|
36
|
-
cspecify "should insert with a primary key specified", :db2, :mssql do
|
37
|
-
@ds.insert(:id=>100, :number=>20)
|
38
|
-
@ds.count.should == 2
|
39
|
-
@ds.order(:id).all.should == [{:id=>1, :number=>10}, {:id=>100, :number=>20}]
|
40
|
-
end
|
41
|
-
|
42
|
-
specify "should have insert return primary key value" do
|
43
|
-
@ds.insert(:number=>20).should == 2
|
44
|
-
@ds.filter(:id=>2).first[:number].should == 20
|
45
|
-
end
|
46
|
-
|
47
|
-
specify "should have insert work correctly with static SQL" do
|
48
|
-
@db["INSERT INTO #{@ds.literal(:items)} (#{@ds.literal(:number)}) VALUES (20)"].insert
|
49
|
-
@ds.filter(:id=>2).first[:number].should == 20
|
50
|
-
end
|
51
|
-
|
52
|
-
specify "should have insert_multiple return primary key values" do
|
53
|
-
@ds.extension(:sequel_3_dataset_methods).insert_multiple([{:number=>20}, {:number=>30}]).should == [2, 3]
|
54
|
-
@ds.filter(:id=>2).get(:number).should == 20
|
55
|
-
@ds.filter(:id=>3).get(:number).should == 30
|
56
|
-
end
|
57
|
-
|
58
|
-
specify "should join correctly" do
|
59
|
-
@ds.join(:items___b, :id=>:id).select_all(:items).all.should == [{:id=>1, :number=>10}]
|
60
|
-
end
|
61
|
-
|
62
|
-
specify "should handle LATERAL subqueries correctly" do
|
63
|
-
@ds << {:number=>20}
|
64
|
-
@ds.from(:items___i, @ds.where(:items__number=>:i__number).lateral).select_order_map([:i__number___n, :t1__number]).should == [[10, 10], [20, 20]]
|
65
|
-
@ds.from(:items___i).cross_join(@ds.where(:items__number=>:i__number).lateral).select_order_map([:i__number___n, :t1__number]).should == [[10, 10], [20, 20]]
|
66
|
-
@ds.from(:items___i).join(@ds.where(:items__number=>:i__number).lateral, 1=>1).select_order_map([:i__number___n, :t1__number]).should == [[10, 10], [20, 20]]
|
67
|
-
@ds.from(:items___i).join(@ds.where(:items__number=>:i__number).lateral, 1=>0).select_order_map([:i__number___n, :t1__number]).should == []
|
68
|
-
@ds.from(:items___i).left_join(@ds.from(:items___i2).where(:i2__number=>:i__number).lateral, 1=>1).select_order_map([:i__number___n, :t1__number]).should == [[10, 10], [20, 20]]
|
69
|
-
@ds.from(:items___i).left_join(@ds.from(:items___i2).where(:i2__number=>:i__number).lateral, 1=>0).select_order_map([:i__number___n, :t1__number]).should == [[10, nil], [20, nil]]
|
70
|
-
end if DB.dataset.supports_lateral_subqueries?
|
71
|
-
|
72
|
-
specify "should correctly deal with qualified columns and subselects" do
|
73
|
-
@ds.from_self(:alias=>:a).select(:a__id, Sequel.qualify(:a, :number)).all.should == [{:id=>1, :number=>10}]
|
74
|
-
@ds.join(@ds.as(:a), :id=>:id).select(:a__id, Sequel.qualify(:a, :number)).all.should == [{:id=>1, :number=>10}]
|
75
|
-
end
|
76
|
-
|
77
|
-
specify "should graph correctly" do
|
78
|
-
a = [{:items=>{:id=>1, :number=>10}, :b=>{:id=>1, :number=>10}}]
|
79
|
-
pr = proc{|t| @ds.graph(t, {:id=>:id}, :table_alias=>:b).extension(:graph_each).all.should == a}
|
80
|
-
pr[:items]
|
81
|
-
pr[:items___foo]
|
82
|
-
pr[Sequel.identifier(:items)]
|
83
|
-
pr[Sequel.identifier('items')]
|
84
|
-
pr[Sequel.as(:items, :foo)]
|
85
|
-
pr[Sequel.as(Sequel.identifier('items'), 'foo')]
|
86
|
-
end
|
87
|
-
|
88
|
-
specify "should graph correctly with a subselect" do
|
89
|
-
@ds.from_self(:alias=>:items).graph(@ds.from_self, {:id=>:id}, :table_alias=>:b).extension(:graph_each).all.should == [{:items=>{:id=>1, :number=>10}, :b=>{:id=>1, :number=>10}}]
|
90
|
-
end
|
91
|
-
|
92
|
-
cspecify "should have insert work correctly when inserting a row with all NULL values", :hsqldb do
|
93
|
-
@db.create_table!(:items) do
|
94
|
-
String :name
|
95
|
-
Integer :number
|
96
|
-
end
|
97
|
-
proc{@ds.insert}.should_not raise_error
|
98
|
-
@ds.all.should == [{:name=>nil, :number=>nil}]
|
99
|
-
end
|
100
|
-
|
101
|
-
specify "should delete correctly" do
|
102
|
-
@ds.filter(1=>1).delete.should == 1
|
103
|
-
@ds.count.should == 0
|
104
|
-
end
|
105
|
-
|
106
|
-
specify "should update correctly" do
|
107
|
-
@ds.update(:number=>Sequel.expr(:number)+1).should == 1
|
108
|
-
@ds.all.should == [{:id=>1, :number=>11}]
|
109
|
-
end
|
110
|
-
|
111
|
-
cspecify "should have update return the number of matched rows", [:do, :mysql], [:ado] do
|
112
|
-
@ds.update(:number=>:number).should == 1
|
113
|
-
@ds.filter(:id=>1).update(:number=>:number).should == 1
|
114
|
-
@ds.filter(:id=>2).update(:number=>:number).should == 0
|
115
|
-
@ds.all.should == [{:id=>1, :number=>10}]
|
116
|
-
end
|
117
|
-
|
118
|
-
specify "should iterate over records as they come in" do
|
119
|
-
called = false
|
120
|
-
@ds.each{|row| called = true; row.should == {:id=>1, :number=>10}}
|
121
|
-
called.should == true
|
122
|
-
end
|
123
|
-
|
124
|
-
specify "should support iterating over large numbers of records with paged_each" do
|
125
|
-
(2..100).each{|i| @ds.insert(:number=>i*10)}
|
126
|
-
|
127
|
-
[:offset, :filter].each do |strategy|
|
128
|
-
rows = []
|
129
|
-
@ds.order(:number).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
130
|
-
rows.should == (1..100).map{|i| {:id=>i, :number=>i*10}}
|
131
|
-
|
132
|
-
rows = []
|
133
|
-
@ds.order(:number).paged_each(:rows_per_fetch=>3, :strategy=>strategy){|row| rows << row}
|
134
|
-
rows.should == (1..100).map{|i| {:id=>i, :number=>i*10}}
|
135
|
-
|
136
|
-
rows = []
|
137
|
-
@ds.order(:number, :id).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
138
|
-
rows.should == (1..100).map{|i| {:id=>i, :number=>i*10}}
|
139
|
-
|
140
|
-
rows = []
|
141
|
-
@ds.reverse_order(:number).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
142
|
-
rows.should == (1..100).map{|i| {:id=>i, :number=>i*10}}.reverse
|
143
|
-
|
144
|
-
rows = []
|
145
|
-
@ds.order(Sequel.desc(:number), :id).paged_each(:rows_per_fetch=>5, :strategy=>strategy){|row| rows << row}
|
146
|
-
rows.should == (1..100).map{|i| {:id=>i, :number=>i*10}}.reverse
|
147
|
-
end
|
148
|
-
|
149
|
-
rows = []
|
150
|
-
@ds.order(:number).limit(50, 25).paged_each(:rows_per_fetch=>3){|row| rows << row}
|
151
|
-
rows.should == (26..75).map{|i| {:id=>i, :number=>i*10}}
|
152
|
-
|
153
|
-
rows = []
|
154
|
-
@ds.order(Sequel.*(:number, 2)).paged_each(:rows_per_fetch=>5){|row| rows << row}
|
155
|
-
rows.should == (1..100).map{|i| {:id=>i, :number=>i*10}}
|
156
|
-
|
157
|
-
rows = []
|
158
|
-
@ds.order(Sequel.*(:number, 2)).paged_each(:rows_per_fetch=>5, :strategy=>:filter, :filter_values=>proc{|row, _| [row[:number] * 2]}){|row| rows << row}
|
159
|
-
rows.should == (1..100).map{|i| {:id=>i, :number=>i*10}}
|
160
|
-
|
161
|
-
if DB.adapter_scheme == :jdbc
|
162
|
-
# check retrival with varying fetch sizes
|
163
|
-
array = (1..100).to_a
|
164
|
-
[1, 2, 5, 10, 33, 50, 100, 1000].each do |i|
|
165
|
-
@ds.with_fetch_size(i).select_order_map(:id).should == array
|
166
|
-
end
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
|
-
specify "should fetch all results correctly" do
|
171
|
-
@ds.all.should == [{:id=>1, :number=>10}]
|
172
|
-
end
|
173
|
-
|
174
|
-
specify "should fetch a single row correctly" do
|
175
|
-
@ds.first.should == {:id=>1, :number=>10}
|
176
|
-
end
|
177
|
-
|
178
|
-
specify "should have distinct work with limit" do
|
179
|
-
@ds.limit(1).distinct.all.should == [{:id=>1, :number=>10}]
|
180
|
-
end
|
181
|
-
|
182
|
-
specify "should fetch correctly with a limit" do
|
183
|
-
@ds.order(:id).limit(2).all.should == [{:id=>1, :number=>10}]
|
184
|
-
@ds.insert(:number=>20)
|
185
|
-
@ds.order(:id).limit(1).all.should == [{:id=>1, :number=>10}]
|
186
|
-
@ds.order(:id).limit(2).all.should == [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
187
|
-
end
|
188
|
-
|
189
|
-
specify "should fetch correctly with a limit and offset" do
|
190
|
-
@ds.order(:id).limit(2, 0).all.should == [{:id=>1, :number=>10}]
|
191
|
-
@ds.order(:id).limit(2, 1).all.should == []
|
192
|
-
@ds.insert(:number=>20)
|
193
|
-
@ds.order(:id).limit(1, 1).all.should == [{:id=>2, :number=>20}]
|
194
|
-
@ds.order(:id).limit(2, 0).all.should == [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
195
|
-
@ds.order(:id).limit(2, 1).all.should == [{:id=>2, :number=>20}]
|
196
|
-
end
|
197
|
-
|
198
|
-
specify "should fetch correctly with just offset" do
|
199
|
-
@ds.order(:id).offset(0).all.should == [{:id=>1, :number=>10}]
|
200
|
-
@ds.order(:id).offset(1).all.should == []
|
201
|
-
@ds.insert(:number=>20)
|
202
|
-
@ds.order(:id).offset(0).all.should == [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
203
|
-
@ds.order(:id).offset(1).all.should == [{:id=>2, :number=>20}]
|
204
|
-
@ds.order(:id).offset(2).all.should == []
|
205
|
-
end
|
206
|
-
|
207
|
-
specify "should fetch correctly with a limit and offset using seperate methods" do
|
208
|
-
@ds.order(:id).limit(2).offset(0).all.should == [{:id=>1, :number=>10}]
|
209
|
-
@ds.order(:id).limit(2).offset(1).all.should == []
|
210
|
-
@ds.insert(:number=>20)
|
211
|
-
@ds.order(:id).limit(1).offset(1).all.should == [{:id=>2, :number=>20}]
|
212
|
-
@ds.order(:id).limit(2).offset(0).all.should == [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
213
|
-
@ds.order(:id).limit(2).offset(1).all.should == [{:id=>2, :number=>20}]
|
214
|
-
end
|
215
|
-
|
216
|
-
specify "should provide correct columns when using a limit and offset" do
|
217
|
-
ds = @ds.order(:id).limit(1, 1)
|
218
|
-
ds.all
|
219
|
-
ds.columns.should == [:id, :number]
|
220
|
-
@ds.order(:id).limit(1, 1).columns.should == [:id, :number]
|
221
|
-
end
|
222
|
-
|
223
|
-
specify "should fetch correctly with a limit and offset for different combinations of from and join tables" do
|
224
|
-
@db.create_table!(:items2){primary_key :id2; Integer :number2}
|
225
|
-
@db[:items2].insert(:number2=>10)
|
226
|
-
@ds.from(:items, :items2).order(:id).limit(2, 0).all.should == [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
227
|
-
@ds.from(:items___i, :items2___i2).order(:id).limit(2, 0).all.should == [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
228
|
-
@ds.cross_join(:items2).order(:id).limit(2, 0).all.should ==[{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
229
|
-
@ds.from(:items___i).cross_join(:items2___i2).order(:id).limit(2, 0).all.should == [{:id=>1, :number=>10, :id2=>1, :number2=>10}]
|
230
|
-
@ds.cross_join(:items2___i).cross_join(@db[:items2].select(:id2___id3, :number2___number3)).order(:id).limit(2, 0).all.should == [{:id=>1, :number=>10, :id2=>1, :number2=>10, :id3=>1, :number3=>10}]
|
231
|
-
|
232
|
-
@ds.from(:items, :items2).order(:id).limit(2, 1).all.should == []
|
233
|
-
@ds.from(:items___i, :items2___i2).order(:id).limit(2, 1).all.should == []
|
234
|
-
@ds.cross_join(:items2).order(:id).limit(2, 1).all.should == []
|
235
|
-
@ds.from(:items___i).cross_join(:items2___i2).order(:id).limit(2, 1).all.should == []
|
236
|
-
@ds.cross_join(:items2___i).cross_join(@db[:items2].select(:id2___id3, :number2___number3)).order(:id).limit(2, 1).all.should == []
|
237
|
-
@db.drop_table(:items2)
|
238
|
-
end
|
239
|
-
|
240
|
-
specify "should fetch correctly with a limit and offset without an order" do
|
241
|
-
@ds.limit(2, 1).all.should == []
|
242
|
-
end
|
243
|
-
|
244
|
-
specify "should be orderable by column number" do
|
245
|
-
@ds.insert(:number=>20)
|
246
|
-
@ds.insert(:number=>10)
|
247
|
-
@ds.order(2, 1).select_map([:id, :number]).should == [[1, 10], [3, 10], [2, 20]]
|
248
|
-
end
|
249
|
-
|
250
|
-
specify "should fetch correctly with a limit in an IN subselect" do
|
251
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(2)).all.should == [{:id=>1, :number=>10}]
|
252
|
-
@ds.insert(:number=>20)
|
253
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(1)).all.should == [{:id=>1, :number=>10}]
|
254
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(2)).order(:id).all.should == [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
255
|
-
end
|
256
|
-
|
257
|
-
specify "should fetch correctly with a limit and offset in an IN subselect" do
|
258
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 0)).all.should == [{:id=>1, :number=>10}]
|
259
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 1)).all.should == []
|
260
|
-
@ds.insert(:number=>20)
|
261
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(1, 1)).all.should == [{:id=>2, :number=>20}]
|
262
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 0)).order(:id).all.should == [{:id=>1, :number=>10}, {:id=>2, :number=>20}]
|
263
|
-
@ds.where(:id=>@ds.select(:id).order(:id).limit(2, 1)).all.should == [{:id=>2, :number=>20}]
|
264
|
-
end
|
265
|
-
|
266
|
-
specify "should fetch correctly when using limit and offset in a from_self" do
|
267
|
-
@ds.insert(:number=>20)
|
268
|
-
ds = @ds.order(:id).limit(1, 1).from_self
|
269
|
-
ds.all.should == [{:number=>20, :id=>2}]
|
270
|
-
ds.columns.should == [:id, :number]
|
271
|
-
@ds.order(:id).limit(1, 1).columns.should == [:id, :number]
|
272
|
-
end
|
273
|
-
|
274
|
-
specify "should fetch correctly when using nested limit and offset in a from_self" do
|
275
|
-
@ds.insert(:number=>20)
|
276
|
-
@ds.insert(:number=>30)
|
277
|
-
ds = @ds.order(:id).limit(2, 1).from_self.reverse_order(:number).limit(1, 1)
|
278
|
-
ds.all.should == [{:number=>20, :id=>2}]
|
279
|
-
ds.columns.should == [:id, :number]
|
280
|
-
@ds.order(:id).limit(2, 1).from_self.reverse_order(:number).limit(1, 1).columns.should == [:id, :number]
|
281
|
-
|
282
|
-
ds = @ds.order(:id).limit(3, 1).from_self.limit(2, 1).from_self.limit(1, 1)
|
283
|
-
ds.all.should == []
|
284
|
-
ds.columns.should == [:id, :number]
|
285
|
-
|
286
|
-
@ds.insert(:number=>40)
|
287
|
-
ds = @ds.order(:id).limit(3, 1).from_self.reverse_order(:number).limit(2, 1).from_self.reverse_order(:id).limit(1, 1)
|
288
|
-
ds.all.should == [{:number=>20, :id=>2}]
|
289
|
-
ds.columns.should == [:id, :number]
|
290
|
-
end
|
291
|
-
|
292
|
-
specify "should alias columns correctly" do
|
293
|
-
@ds.select(:id___x, :number___n).first.should == {:x=>1, :n=>10}
|
294
|
-
end
|
295
|
-
|
296
|
-
specify "should support table aliases with column aliases" do
|
297
|
-
DB.from(@ds.as(:i, [:x, :n])).first.should == {:x=>1, :n=>10}
|
298
|
-
end if DB.dataset.supports_derived_column_lists?
|
299
|
-
|
300
|
-
specify "should handle true/false properly" do
|
301
|
-
@ds.filter(Sequel::TRUE).select_map(:number).should == [10]
|
302
|
-
@ds.filter(Sequel::FALSE).select_map(:number).should == []
|
303
|
-
@ds.filter(true).select_map(:number).should == [10]
|
304
|
-
@ds.filter(false).select_map(:number).should == []
|
305
|
-
end
|
306
|
-
end
|
307
|
-
|
308
|
-
describe "Simple dataset operations with nasty table names" do
|
309
|
-
before do
|
310
|
-
@db = DB
|
311
|
-
@table = :"i`t' [e]\"m\\s"
|
312
|
-
@qi = @db.quote_identifiers?
|
313
|
-
@db.quote_identifiers = true
|
314
|
-
end
|
315
|
-
after do
|
316
|
-
@db.quote_identifiers = @qi
|
317
|
-
end
|
318
|
-
|
319
|
-
cspecify "should work correctly", :oracle, :sqlanywhere, [:jdbc, :mssql] do
|
320
|
-
@db.create_table!(@table) do
|
321
|
-
primary_key :id
|
322
|
-
Integer :number
|
323
|
-
end
|
324
|
-
@ds = @db[@table]
|
325
|
-
@ds.insert(:number=>10).should == 1
|
326
|
-
@ds.all.should == [{:id=>1, :number=>10}]
|
327
|
-
@ds.update(:number=>20).should == 1
|
328
|
-
@ds.all.should == [{:id=>1, :number=>20}]
|
329
|
-
@ds.delete.should == 1
|
330
|
-
@ds.count.should == 0
|
331
|
-
proc{@db.drop_table?(@table)}.should_not raise_error
|
332
|
-
end
|
333
|
-
end
|
334
|
-
|
335
|
-
describe Sequel::Dataset do
|
336
|
-
before do
|
337
|
-
DB.create_table!(:test) do
|
338
|
-
String :name
|
339
|
-
Integer :value
|
340
|
-
end
|
341
|
-
@d = DB[:test]
|
342
|
-
end
|
343
|
-
after do
|
344
|
-
DB.drop_table?(:test)
|
345
|
-
end
|
346
|
-
|
347
|
-
specify "should return the correct record count" do
|
348
|
-
@d.count.should == 0
|
349
|
-
@d << {:name => 'abc', :value => 123}
|
350
|
-
@d << {:name => 'abc', :value => 456}
|
351
|
-
@d << {:name => 'def', :value => 789}
|
352
|
-
@d.count.should == 3
|
353
|
-
end
|
354
|
-
|
355
|
-
specify "should handle functions with identifier names correctly" do
|
356
|
-
@d << {:name => 'abc', :value => 6}
|
357
|
-
@d.get{sum.function(:value)}.should == 6
|
358
|
-
end
|
359
|
-
|
360
|
-
specify "should handle aggregate methods on limited datasets correctly" do
|
361
|
-
@d << {:name => 'abc', :value => 6}
|
362
|
-
@d << {:name => 'bcd', :value => 12}
|
363
|
-
@d << {:name => 'def', :value => 18}
|
364
|
-
@d = @d.order(:name).limit(2)
|
365
|
-
@d.count.should == 2
|
366
|
-
@d.avg(:value).to_i.should == 9
|
367
|
-
@d.min(:value).to_i.should == 6
|
368
|
-
@d.reverse.min(:value).to_i.should == 12
|
369
|
-
@d.max(:value).to_i.should == 12
|
370
|
-
@d.sum(:value).to_i.should == 18
|
371
|
-
@d.interval(:value).to_i.should == 6
|
372
|
-
end
|
373
|
-
|
374
|
-
specify "should return the correct records" do
|
375
|
-
@d.to_a.should == []
|
376
|
-
@d << {:name => 'abc', :value => 123}
|
377
|
-
@d << {:name => 'abc', :value => 456}
|
378
|
-
@d << {:name => 'def', :value => 789}
|
379
|
-
|
380
|
-
@d.order(:value).to_a.should == [
|
381
|
-
{:name => 'abc', :value => 123},
|
382
|
-
{:name => 'abc', :value => 456},
|
383
|
-
{:name => 'def', :value => 789}
|
384
|
-
]
|
385
|
-
end
|
386
|
-
|
387
|
-
specify "should update records correctly" do
|
388
|
-
@d << {:name => 'abc', :value => 123}
|
389
|
-
@d << {:name => 'abc', :value => 456}
|
390
|
-
@d << {:name => 'def', :value => 789}
|
391
|
-
@d.filter(:name => 'abc').update(:value => 530)
|
392
|
-
@d[:name => 'def'][:value].should == 789
|
393
|
-
@d.filter(:value => 530).count.should == 2
|
394
|
-
end
|
395
|
-
|
396
|
-
specify "should delete records correctly" do
|
397
|
-
@d << {:name => 'abc', :value => 123}
|
398
|
-
@d << {:name => 'abc', :value => 456}
|
399
|
-
@d << {:name => 'def', :value => 789}
|
400
|
-
@d.filter(:name => 'abc').delete
|
401
|
-
@d.count.should == 1
|
402
|
-
@d.first[:name].should == 'def'
|
403
|
-
end
|
404
|
-
|
405
|
-
specify "should be able to truncate the table" do
|
406
|
-
@d << {:name => 'abc', :value => 123}
|
407
|
-
@d << {:name => 'abc', :value => 456}
|
408
|
-
@d << {:name => 'def', :value => 789}
|
409
|
-
@d.count.should == 3
|
410
|
-
@d.truncate.should == nil
|
411
|
-
@d.count.should == 0
|
412
|
-
end
|
413
|
-
|
414
|
-
specify "should be able to literalize booleans" do
|
415
|
-
proc {@d.literal(true)}.should_not raise_error
|
416
|
-
proc {@d.literal(false)}.should_not raise_error
|
417
|
-
end
|
418
|
-
end
|
419
|
-
|
420
|
-
describe Sequel::Database do
|
421
|
-
specify "should correctly escape strings" do
|
422
|
-
["\\\n",
|
423
|
-
"\\\\\n",
|
424
|
-
"\\\r\n",
|
425
|
-
"\\\\\r\n",
|
426
|
-
"\\\\\n\n",
|
427
|
-
"\\\\\r\n\r\n",
|
428
|
-
"\\dingo",
|
429
|
-
"\\'dingo",
|
430
|
-
"\\\\''dingo",
|
431
|
-
].each do |str|
|
432
|
-
DB.get(Sequel.cast(str, String)).should == str
|
433
|
-
str = "1#{str}1"
|
434
|
-
DB.get(Sequel.cast(str, String)).should == str
|
435
|
-
str = "#{str}#{str}"
|
436
|
-
DB.get(Sequel.cast(str, String)).should == str
|
437
|
-
end
|
438
|
-
end
|
439
|
-
|
440
|
-
cspecify "should properly escape binary data", [:odbc], [:jdbc, :hsqldb], :oracle do
|
441
|
-
DB.get(Sequel.cast(Sequel.blob("\1\2\3"), File).as(:a)).should == "\1\2\3"
|
442
|
-
end
|
443
|
-
|
444
|
-
cspecify "should properly handle empty blobs", [:jdbc, :hsqldb], :oracle do
|
445
|
-
DB.get(Sequel.cast(Sequel.blob(""), File).as(:a)).should == ""
|
446
|
-
end
|
447
|
-
|
448
|
-
cspecify "should properly escape identifiers", :db2, :oracle, :sqlanywhere do
|
449
|
-
DB.create_table(:"\\'\"[]"){Integer :id}
|
450
|
-
DB.drop_table(:"\\'\"[]")
|
451
|
-
end
|
452
|
-
|
453
|
-
specify "should have a working table_exists?" do
|
454
|
-
t = :basdfdsafsaddsaf
|
455
|
-
DB.drop_table?(t)
|
456
|
-
DB.table_exists?(t).should == false
|
457
|
-
DB.create_table(t){Integer :a}
|
458
|
-
begin
|
459
|
-
DB.table_exists?(t).should == true
|
460
|
-
ensure
|
461
|
-
DB.drop_table(t)
|
462
|
-
end
|
463
|
-
end
|
464
|
-
end
|
465
|
-
|
466
|
-
describe Sequel::Dataset do
|
467
|
-
before do
|
468
|
-
DB.create_table! :items do
|
469
|
-
primary_key :id
|
470
|
-
Integer :value
|
471
|
-
end
|
472
|
-
@d = DB[:items]
|
473
|
-
@d << {:value => 123}
|
474
|
-
@d << {:value => 456}
|
475
|
-
@d << {:value => 789}
|
476
|
-
end
|
477
|
-
after do
|
478
|
-
DB.drop_table?(:items)
|
479
|
-
end
|
480
|
-
|
481
|
-
specify "should correctly return avg" do
|
482
|
-
@d.avg(:value).to_i.should == 456
|
483
|
-
end
|
484
|
-
|
485
|
-
specify "should correctly return sum" do
|
486
|
-
@d.sum(:value).to_i.should == 1368
|
487
|
-
end
|
488
|
-
|
489
|
-
specify "should correctly return max" do
|
490
|
-
@d.max(:value).to_i.should == 789
|
491
|
-
end
|
492
|
-
|
493
|
-
specify "should correctly return min" do
|
494
|
-
@d.min(:value).to_i.should == 123
|
495
|
-
end
|
496
|
-
end
|
497
|
-
|
498
|
-
describe "Simple Dataset operations" do
|
499
|
-
before do
|
500
|
-
DB.create_table!(:items) do
|
501
|
-
Integer :number
|
502
|
-
TrueClass :flag
|
503
|
-
end
|
504
|
-
@ds = DB[:items]
|
505
|
-
end
|
506
|
-
after do
|
507
|
-
DB.drop_table?(:items)
|
508
|
-
end
|
509
|
-
|
510
|
-
specify "should deal with boolean conditions correctly" do
|
511
|
-
@ds.insert(:number=>1, :flag=>true)
|
512
|
-
@ds.insert(:number=>2, :flag=>false)
|
513
|
-
@ds.insert(:number=>3, :flag=>nil)
|
514
|
-
@ds.order!(:number)
|
515
|
-
@ds.filter(:flag=>true).map(:number).should == [1]
|
516
|
-
@ds.filter(:flag=>false).map(:number).should == [2]
|
517
|
-
@ds.filter(:flag=>nil).map(:number).should == [3]
|
518
|
-
@ds.exclude(:flag=>true).map(:number).should == [2, 3]
|
519
|
-
@ds.exclude(:flag=>false).map(:number).should == [1, 3]
|
520
|
-
@ds.exclude(:flag=>nil).map(:number).should == [1, 2]
|
521
|
-
end
|
522
|
-
end
|
523
|
-
|
524
|
-
describe "Simple Dataset operations in transactions" do
|
525
|
-
before do
|
526
|
-
DB.create_table!(:items) do
|
527
|
-
primary_key :id
|
528
|
-
integer :number
|
529
|
-
end
|
530
|
-
@ds = DB[:items]
|
531
|
-
end
|
532
|
-
after do
|
533
|
-
DB.drop_table?(:items)
|
534
|
-
end
|
535
|
-
|
536
|
-
cspecify "should insert correctly with a primary key specified inside a transaction", :db2, :mssql do
|
537
|
-
DB.transaction do
|
538
|
-
@ds.insert(:id=>100, :number=>20)
|
539
|
-
@ds.count.should == 1
|
540
|
-
@ds.order(:id).all.should == [{:id=>100, :number=>20}]
|
541
|
-
end
|
542
|
-
end
|
543
|
-
|
544
|
-
specify "should have insert return primary key value inside a transaction" do
|
545
|
-
DB.transaction do
|
546
|
-
@ds.insert(:number=>20).should == 1
|
547
|
-
@ds.count.should == 1
|
548
|
-
@ds.order(:id).all.should == [{:id=>1, :number=>20}]
|
549
|
-
end
|
550
|
-
end
|
551
|
-
|
552
|
-
specify "should support for_update" do
|
553
|
-
DB.transaction{@ds.for_update.all.should == []}
|
554
|
-
end
|
555
|
-
end
|
556
|
-
|
557
|
-
describe "Dataset UNION, EXCEPT, and INTERSECT" do
|
558
|
-
before do
|
559
|
-
DB.create_table!(:i1){integer :number}
|
560
|
-
DB.create_table!(:i2){integer :number}
|
561
|
-
@ds1 = DB[:i1]
|
562
|
-
@ds1.insert(:number=>10)
|
563
|
-
@ds1.insert(:number=>20)
|
564
|
-
@ds2 = DB[:i2]
|
565
|
-
@ds2.insert(:number=>10)
|
566
|
-
@ds2.insert(:number=>30)
|
567
|
-
end
|
568
|
-
after do
|
569
|
-
DB.drop_table?(:i1, :i2, :i3)
|
570
|
-
end
|
571
|
-
|
572
|
-
specify "should give the correct results for simple UNION, EXCEPT, and INTERSECT" do
|
573
|
-
@ds1.union(@ds2).order(:number).map{|x| x[:number].to_s}.should == %w'10 20 30'
|
574
|
-
if @ds1.supports_intersect_except?
|
575
|
-
@ds1.except(@ds2).order(:number).map{|x| x[:number].to_s}.should == %w'20'
|
576
|
-
@ds1.intersect(@ds2).order(:number).map{|x| x[:number].to_s}.should == %w'10'
|
577
|
-
end
|
578
|
-
end
|
579
|
-
|
580
|
-
cspecify "should give the correct results for UNION, EXCEPT, and INTERSECT when used with ordering and limits", :mssql do
|
581
|
-
@ds1.insert(:number=>8)
|
582
|
-
@ds2.insert(:number=>9)
|
583
|
-
@ds1.insert(:number=>38)
|
584
|
-
@ds2.insert(:number=>39)
|
585
|
-
|
586
|
-
@ds1.reverse_order(:number).union(@ds2).order(:number).map{|x| x[:number].to_s}.should == %w'8 9 10 20 30 38 39'
|
587
|
-
@ds1.union(@ds2.reverse_order(:number)).order(:number).map{|x| x[:number].to_s}.should == %w'8 9 10 20 30 38 39'
|
588
|
-
|
589
|
-
@ds1.reverse_order(:number).limit(1).union(@ds2).order(:number).map{|x| x[:number].to_s}.should == %w'9 10 30 38 39'
|
590
|
-
@ds2.reverse_order(:number).limit(1).union(@ds1).order(:number).map{|x| x[:number].to_s}.should == %w'8 10 20 38 39'
|
591
|
-
|
592
|
-
@ds1.union(@ds2.order(:number).limit(1)).order(:number).map{|x| x[:number].to_s}.should == %w'8 9 10 20 38'
|
593
|
-
@ds2.union(@ds1.order(:number).limit(1)).order(:number).map{|x| x[:number].to_s}.should == %w'8 9 10 30 39'
|
594
|
-
|
595
|
-
@ds1.union(@ds2).limit(2).order(:number).map{|x| x[:number].to_s}.should == %w'8 9'
|
596
|
-
@ds2.union(@ds1).reverse_order(:number).limit(2).map{|x| x[:number].to_s}.should == %w'39 38'
|
597
|
-
|
598
|
-
@ds1.reverse_order(:number).limit(2).union(@ds2.reverse_order(:number).limit(2)).order(:number).limit(3).map{|x| x[:number].to_s}.should == %w'20 30 38'
|
599
|
-
@ds2.order(:number).limit(2).union(@ds1.order(:number).limit(2)).reverse_order(:number).limit(3).map{|x| x[:number].to_s}.should == %w'10 9 8'
|
600
|
-
end
|
601
|
-
|
602
|
-
specify "should give the correct results for compound UNION, EXCEPT, and INTERSECT" do
|
603
|
-
DB.create_table!(:i3){integer :number}
|
604
|
-
@ds3 = DB[:i3]
|
605
|
-
@ds3.insert(:number=>10)
|
606
|
-
@ds3.insert(:number=>40)
|
607
|
-
|
608
|
-
@ds1.union(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w'10 20 30 40'
|
609
|
-
@ds1.union(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'10 20 30 40'
|
610
|
-
if @ds1.supports_intersect_except?
|
611
|
-
@ds1.union(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w'20 30'
|
612
|
-
@ds1.union(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'10 20 30'
|
613
|
-
@ds1.union(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w'10 '
|
614
|
-
@ds1.union(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'10 20'
|
615
|
-
|
616
|
-
@ds1.except(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w'10 20 40'
|
617
|
-
@ds1.except(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'20'
|
618
|
-
@ds1.except(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w'20'
|
619
|
-
@ds1.except(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'10 20'
|
620
|
-
@ds1.except(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w''
|
621
|
-
@ds1.except(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'20'
|
622
|
-
|
623
|
-
@ds1.intersect(@ds2).union(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w'10 40'
|
624
|
-
@ds1.intersect(@ds2.union(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'10'
|
625
|
-
@ds1.intersect(@ds2).except(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w''
|
626
|
-
@ds1.intersect(@ds2.except(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w''
|
627
|
-
@ds1.intersect(@ds2).intersect(@ds3).order(:number).map{|x| x[:number].to_s}.should == %w'10'
|
628
|
-
@ds1.intersect(@ds2.intersect(@ds3)).order(:number).map{|x| x[:number].to_s}.should == %w'10'
|
629
|
-
end
|
630
|
-
end
|
631
|
-
end
|
632
|
-
|
633
|
-
if DB.dataset.supports_cte?
|
634
|
-
describe "Common Table Expressions" do
|
635
|
-
before(:all) do
|
636
|
-
@db = DB
|
637
|
-
@db.create_table!(:i1){Integer :id; Integer :parent_id}
|
638
|
-
@ds = @db[:i1]
|
639
|
-
@ds.insert(:id=>1)
|
640
|
-
@ds.insert(:id=>2)
|
641
|
-
@ds.insert(:id=>3, :parent_id=>1)
|
642
|
-
@ds.insert(:id=>4, :parent_id=>1)
|
643
|
-
@ds.insert(:id=>5, :parent_id=>3)
|
644
|
-
@ds.insert(:id=>6, :parent_id=>5)
|
645
|
-
end
|
646
|
-
after(:all) do
|
647
|
-
@db.drop_table?(:i1)
|
648
|
-
end
|
649
|
-
|
650
|
-
specify "should give correct results for WITH" do
|
651
|
-
@db[:t].with(:t, @ds.filter(:parent_id=>nil).select(:id)).order(:id).map(:id).should == [1, 2]
|
652
|
-
end
|
653
|
-
|
654
|
-
cspecify "should give correct results for recursive WITH", :db2 do
|
655
|
-
ds = @db[:t].select(:i___id, :pi___parent_id).with_recursive(:t, @ds.filter(:parent_id=>nil), @ds.join(:t, :i=>:parent_id).select(:i1__id, :i1__parent_id), :args=>[:i, :pi]).order(:id)
|
656
|
-
ds.all.should == [{:parent_id=>nil, :id=>1}, {:parent_id=>nil, :id=>2}, {:parent_id=>1, :id=>3}, {:parent_id=>1, :id=>4}, {:parent_id=>3, :id=>5}, {:parent_id=>5, :id=>6}]
|
657
|
-
ps = @db[:t].select(:i___id, :pi___parent_id).with_recursive(:t, @ds.filter(:parent_id=>:$n), @ds.join(:t, :i=>:parent_id).filter(:t__i=>:parent_id).select(:i1__id, :i1__parent_id), :args=>[:i, :pi]).order(:id).prepare(:select, :cte_sel)
|
658
|
-
ps.call(:n=>1).should == [{:id=>3, :parent_id=>1}, {:id=>4, :parent_id=>1}, {:id=>5, :parent_id=>3}, {:id=>6, :parent_id=>5}]
|
659
|
-
ps.call(:n=>3).should == [{:id=>5, :parent_id=>3}, {:id=>6, :parent_id=>5}]
|
660
|
-
ps.call(:n=>5).should == [{:id=>6, :parent_id=>5}]
|
661
|
-
end
|
662
|
-
|
663
|
-
specify "should support joining a dataset with a CTE" do
|
664
|
-
@ds.inner_join(@db[:t].with(:t, @ds.filter(:parent_id=>nil)), :id => :id).select(:i1__id).order(:i1__id).map(:id).should == [1,2]
|
665
|
-
@db[:t].with(:t, @ds).inner_join(@db[:s].with(:s, @ds.filter(:parent_id=>nil)), :id => :id).select(:t__id).order(:t__id).map(:id).should == [1,2]
|
666
|
-
end
|
667
|
-
|
668
|
-
specify "should support a subselect in the FROM clause with a CTE" do
|
669
|
-
@ds.from(@db[:t].with(:t, @ds)).select_order_map(:id).should == [1,2,3,4,5,6]
|
670
|
-
@db[:t].with(:t, @ds).from_self.select_order_map(:id).should == [1,2,3,4,5,6]
|
671
|
-
end
|
672
|
-
|
673
|
-
specify "should support using a CTE inside a CTE" do
|
674
|
-
@db[:s].with(:s, @db[:t].with(:t, @ds)).select_order_map(:id).should == [1,2,3,4,5,6]
|
675
|
-
@db[:s].with_recursive(:s, @db[:t].with(:t, @ds), @db[:t2].with(:t2, @ds)).select_order_map(:id).should == [1,1,2,2,3,3,4,4,5,5,6,6]
|
676
|
-
end
|
677
|
-
|
678
|
-
specify "should support using a CTE inside UNION/EXCEPT/INTERSECT" do
|
679
|
-
@ds.union(@db[:t].with(:t, @ds)).select_order_map(:id).should == [1,2,3,4,5,6]
|
680
|
-
if @ds.supports_intersect_except?
|
681
|
-
@ds.intersect(@db[:t].with(:t, @ds)).select_order_map(:id).should == [1,2,3,4,5,6]
|
682
|
-
@ds.except(@db[:t].with(:t, @ds)).select_order_map(:id).should == []
|
683
|
-
end
|
684
|
-
end
|
685
|
-
end
|
686
|
-
end
|
687
|
-
|
688
|
-
if DB.dataset.supports_cte?(:update) # Assume INSERT and DELETE support as well
|
689
|
-
describe "Common Table Expressions in INSERT/UPDATE/DELETE" do
|
690
|
-
before do
|
691
|
-
@db = DB
|
692
|
-
@db.create_table!(:i1){Integer :id}
|
693
|
-
@ds = @db[:i1]
|
694
|
-
@ds2 = @ds.with(:t, @ds)
|
695
|
-
@ds.insert(:id=>1)
|
696
|
-
@ds.insert(:id=>2)
|
697
|
-
end
|
698
|
-
after do
|
699
|
-
@db.drop_table?(:i1)
|
700
|
-
end
|
701
|
-
|
702
|
-
specify "should give correct results for WITH" do
|
703
|
-
@ds2.insert(@db[:t])
|
704
|
-
@ds.select_order_map(:id).should == [1, 1, 2, 2]
|
705
|
-
@ds2.filter(:id=>@db[:t].select{max(id)}).update(:id=>Sequel.+(:id, 1))
|
706
|
-
@ds.select_order_map(:id).should == [1, 1, 3, 3]
|
707
|
-
@ds2.filter(:id=>@db[:t].select{max(id)}).delete
|
708
|
-
@ds.select_order_map(:id).should == [1, 1]
|
709
|
-
end
|
710
|
-
end
|
711
|
-
end
|
712
|
-
|
713
|
-
if DB.dataset.supports_returning?(:insert)
|
714
|
-
describe "RETURNING clauses in INSERT" do
|
715
|
-
before do
|
716
|
-
@db = DB
|
717
|
-
@db.create_table!(:i1){Integer :id; Integer :foo}
|
718
|
-
@ds = @db[:i1]
|
719
|
-
end
|
720
|
-
after do
|
721
|
-
@db.drop_table?(:i1)
|
722
|
-
end
|
723
|
-
|
724
|
-
specify "should give correct results" do
|
725
|
-
h = {}
|
726
|
-
@ds.returning(:foo).insert(1, 2){|r| h = r}
|
727
|
-
h.should == {:foo=>2}
|
728
|
-
@ds.returning(:id).insert(3, 4){|r| h = r}
|
729
|
-
h.should == {:id=>3}
|
730
|
-
@ds.returning.insert(5, 6){|r| h = r}
|
731
|
-
h.should == {:id=>5, :foo=>6}
|
732
|
-
@ds.returning(:id___foo, :foo___id).insert(7, 8){|r| h = r}
|
733
|
-
h.should == {:id=>8, :foo=>7}
|
734
|
-
end
|
735
|
-
end
|
736
|
-
end
|
737
|
-
|
738
|
-
if DB.dataset.supports_returning?(:update) # Assume DELETE support as well
|
739
|
-
describe "RETURNING clauses in UPDATE/DELETE" do
|
740
|
-
before do
|
741
|
-
@db = DB
|
742
|
-
@db.create_table!(:i1){Integer :id; Integer :foo}
|
743
|
-
@ds = @db[:i1]
|
744
|
-
@ds.insert(1, 2)
|
745
|
-
end
|
746
|
-
after do
|
747
|
-
@db.drop_table?(:i1)
|
748
|
-
end
|
749
|
-
|
750
|
-
specify "should give correct results" do
|
751
|
-
h = []
|
752
|
-
@ds.returning(:foo).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
753
|
-
h.should == [{:foo=>4}]
|
754
|
-
h.clear
|
755
|
-
@ds.returning(:id).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
756
|
-
h.should == [{:id=>3}]
|
757
|
-
h.clear
|
758
|
-
@ds.returning.update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
759
|
-
h.should == [{:id=>4, :foo=>16}]
|
760
|
-
h.clear
|
761
|
-
@ds.returning(:id___foo, :foo___id).update(:id=>Sequel.+(:id, 1), :foo=>Sequel.*(:foo, 2)){|r| h << r}
|
762
|
-
h.should == [{:id=>32, :foo=>5}]
|
763
|
-
h.clear
|
764
|
-
|
765
|
-
@ds.returning.delete{|r| h << r}
|
766
|
-
h.should == [{:id=>5, :foo=>32}]
|
767
|
-
h.clear
|
768
|
-
@ds.returning.delete{|r| h << r}
|
769
|
-
h.should == []
|
770
|
-
end
|
771
|
-
end
|
772
|
-
end
|
773
|
-
|
774
|
-
if DB.dataset.supports_window_functions?
|
775
|
-
describe "Window Functions" do
|
776
|
-
before(:all) do
|
777
|
-
@db = DB
|
778
|
-
@db.create_table!(:i1){Integer :id; Integer :group_id; Integer :amount}
|
779
|
-
@ds = @db[:i1].order(:id)
|
780
|
-
@ds.insert(:id=>1, :group_id=>1, :amount=>1)
|
781
|
-
@ds.insert(:id=>2, :group_id=>1, :amount=>10)
|
782
|
-
@ds.insert(:id=>3, :group_id=>1, :amount=>100)
|
783
|
-
@ds.insert(:id=>4, :group_id=>2, :amount=>1000)
|
784
|
-
@ds.insert(:id=>5, :group_id=>2, :amount=>10000)
|
785
|
-
@ds.insert(:id=>6, :group_id=>2, :amount=>100000)
|
786
|
-
end
|
787
|
-
after(:all) do
|
788
|
-
@db.drop_table?(:i1)
|
789
|
-
end
|
790
|
-
|
791
|
-
specify "should give correct results for aggregate window functions" do
|
792
|
-
@ds.select(:id){sum(:amount).over(:partition=>:group_id).as(:sum)}.all.should ==
|
793
|
-
[{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
794
|
-
@ds.select(:id){sum(:amount).over.as(:sum)}.all.should ==
|
795
|
-
[{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
|
796
|
-
end
|
797
|
-
|
798
|
-
specify "should give correct results for ranking window functions with orders" do
|
799
|
-
@ds.select(:id){rank{}.over(:partition=>:group_id, :order=>:id).as(:rank)}.all.should ==
|
800
|
-
[{:rank=>1, :id=>1}, {:rank=>2, :id=>2}, {:rank=>3, :id=>3}, {:rank=>1, :id=>4}, {:rank=>2, :id=>5}, {:rank=>3, :id=>6}]
|
801
|
-
@ds.select(:id){rank{}.over(:order=>id).as(:rank)}.all.should ==
|
802
|
-
[{:rank=>1, :id=>1}, {:rank=>2, :id=>2}, {:rank=>3, :id=>3}, {:rank=>4, :id=>4}, {:rank=>5, :id=>5}, {:rank=>6, :id=>6}]
|
803
|
-
end
|
804
|
-
|
805
|
-
specify "should give correct results for aggregate window functions with orders" do
|
806
|
-
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id).as(:sum)}.all.should ==
|
807
|
-
[{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
808
|
-
@ds.select(:id){sum(:amount).over(:order=>:id).as(:sum)}.all.should ==
|
809
|
-
[{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
|
810
|
-
end
|
811
|
-
|
812
|
-
specify "should give correct results for aggregate window functions with frames" do
|
813
|
-
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:all).as(:sum)}.all.should ==
|
814
|
-
[{:sum=>111, :id=>1}, {:sum=>111, :id=>2}, {:sum=>111, :id=>3}, {:sum=>111000, :id=>4}, {:sum=>111000, :id=>5}, {:sum=>111000, :id=>6}]
|
815
|
-
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>:all).as(:sum)}.all.should ==
|
816
|
-
[{:sum=>111111, :id=>1}, {:sum=>111111, :id=>2}, {:sum=>111111, :id=>3}, {:sum=>111111, :id=>4}, {:sum=>111111, :id=>5}, {:sum=>111111, :id=>6}]
|
817
|
-
|
818
|
-
@ds.select(:id){sum(:amount).over(:partition=>:group_id, :order=>:id, :frame=>:rows).as(:sum)}.all.should ==
|
819
|
-
[{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1000, :id=>4}, {:sum=>11000, :id=>5}, {:sum=>111000, :id=>6}]
|
820
|
-
@ds.select(:id){sum(:amount).over(:order=>:id, :frame=>:rows).as(:sum)}.all.should ==
|
821
|
-
[{:sum=>1, :id=>1}, {:sum=>11, :id=>2}, {:sum=>111, :id=>3}, {:sum=>1111, :id=>4}, {:sum=>11111, :id=>5}, {:sum=>111111, :id=>6}]
|
822
|
-
end
|
823
|
-
end
|
824
|
-
end
|
825
|
-
|
826
|
-
describe Sequel::SQL::Constants do
|
827
|
-
before do
|
828
|
-
@db = DB
|
829
|
-
@ds = @db[:constants]
|
830
|
-
@c = proc do |v|
|
831
|
-
case v
|
832
|
-
when Time
|
833
|
-
v
|
834
|
-
when DateTime, String
|
835
|
-
Time.parse(v.to_s)
|
836
|
-
else
|
837
|
-
v
|
838
|
-
end
|
839
|
-
end
|
840
|
-
@c2 = proc{|v| v.is_a?(Date) ? v : Date.parse(v) }
|
841
|
-
end
|
842
|
-
after do
|
843
|
-
@db.drop_table?(:constants)
|
844
|
-
end
|
845
|
-
|
846
|
-
cspecify "should have working CURRENT_DATE", [:jdbc, :sqlite], :oracle do
|
847
|
-
@db.create_table!(:constants){Date :d}
|
848
|
-
@ds.insert(:d=>Sequel::CURRENT_DATE)
|
849
|
-
d = @c2[@ds.get(:d)]
|
850
|
-
d.should be_a_kind_of(Date)
|
851
|
-
d.to_s.should == Date.today.to_s
|
852
|
-
end
|
853
|
-
|
854
|
-
cspecify "should have working CURRENT_TIME", [:jdbc, :sqlite], [:mysql2] do
|
855
|
-
@db.create_table!(:constants){Time :t, :only_time=>true}
|
856
|
-
@ds.insert(:t=>Sequel::CURRENT_TIME)
|
857
|
-
(Time.now - @c[@ds.get(:t)]).should be_within(60).of(0)
|
858
|
-
end
|
859
|
-
|
860
|
-
cspecify "should have working CURRENT_TIMESTAMP", [:jdbc, :sqlite], [:swift] do
|
861
|
-
@db.create_table!(:constants){DateTime :ts}
|
862
|
-
@ds.insert(:ts=>Sequel::CURRENT_TIMESTAMP)
|
863
|
-
(Time.now - @c[@ds.get(:ts)]).should be_within(60).of(0)
|
864
|
-
end
|
865
|
-
|
866
|
-
cspecify "should have working CURRENT_TIMESTAMP when used as a column default", [:jdbc, :sqlite], [:swift] do
|
867
|
-
@db.create_table!(:constants){DateTime :ts, :default=>Sequel::CURRENT_TIMESTAMP}
|
868
|
-
@ds.insert
|
869
|
-
(Time.now - @c[@ds.get(:ts)]).should be_within(60).of(0)
|
870
|
-
end
|
871
|
-
end
|
872
|
-
|
873
|
-
describe "Sequel::Dataset#import and #multi_insert" do
|
874
|
-
before(:all) do
|
875
|
-
@db = DB
|
876
|
-
@db.create_table!(:imp){Integer :i}
|
877
|
-
@ids = @db[:imp].order(:i)
|
878
|
-
end
|
879
|
-
before do
|
880
|
-
@ids.delete
|
881
|
-
end
|
882
|
-
after(:all) do
|
883
|
-
@db.drop_table?(:imp)
|
884
|
-
end
|
885
|
-
|
886
|
-
it "should import with multi_insert and an array of hashes" do
|
887
|
-
@ids.multi_insert([{:i=>10}, {:i=>20}])
|
888
|
-
@ids.all.should == [{:i=>10}, {:i=>20}]
|
889
|
-
end
|
890
|
-
|
891
|
-
it "should import with an array of arrays of values" do
|
892
|
-
@ids.import([:i], [[10], [20]])
|
893
|
-
@ids.all.should == [{:i=>10}, {:i=>20}]
|
894
|
-
end
|
895
|
-
|
896
|
-
it "should import with a dataset" do
|
897
|
-
@db.create_table!(:exp2){Integer :i}
|
898
|
-
@db[:exp2].import([:i], [[10], [20]])
|
899
|
-
@ids.import([:i], @db[:exp2])
|
900
|
-
@ids.all.should == [{:i=>10}, {:i=>20}]
|
901
|
-
@db.drop_table(:exp2)
|
902
|
-
end
|
903
|
-
|
904
|
-
it "should have import work with the :slice_size option" do
|
905
|
-
@ids.import([:i], [[10], [20], [30]], :slice_size=>1)
|
906
|
-
@ids.all.should == [{:i=>10}, {:i=>20}, {:i=>30}]
|
907
|
-
@ids.delete
|
908
|
-
@ids.import([:i], [[10], [20], [30]], :slice_size=>2)
|
909
|
-
@ids.all.should == [{:i=>10}, {:i=>20}, {:i=>30}]
|
910
|
-
@ids.delete
|
911
|
-
@ids.import([:i], [[10], [20], [30]], :slice_size=>3)
|
912
|
-
@ids.all.should == [{:i=>10}, {:i=>20}, {:i=>30}]
|
913
|
-
end
|
914
|
-
|
915
|
-
it "should import many rows at once" do
|
916
|
-
@ids.import([:i], (1..1000).to_a.map{|x| [x]})
|
917
|
-
@ids.select_order_map(:i).should == (1..1000).to_a
|
918
|
-
end
|
919
|
-
end
|
920
|
-
|
921
|
-
describe "Sequel::Dataset#import and #multi_insert :return=>:primary_key " do
|
922
|
-
before do
|
923
|
-
@db = DB
|
924
|
-
@db.create_table!(:imp){primary_key :id; Integer :i}
|
925
|
-
@ds = @db[:imp]
|
926
|
-
end
|
927
|
-
after do
|
928
|
-
@db.drop_table?(:imp)
|
929
|
-
end
|
930
|
-
|
931
|
-
specify "should return primary key values" do
|
932
|
-
@ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key).should == [1, 2, 3]
|
933
|
-
@ds.import([:i], [[40], [50], [60]], :return=>:primary_key).should == [4, 5, 6]
|
934
|
-
@ds.order(:id).map([:id, :i]).should == [[1, 10], [2, 20], [3, 30], [4, 40], [5, 50], [6, 60]]
|
935
|
-
end
|
936
|
-
|
937
|
-
specify "should return primary key values when :slice is used" do
|
938
|
-
@ds.multi_insert([{:i=>10}, {:i=>20}, {:i=>30}], :return=>:primary_key, :slice=>2).should == [1, 2, 3]
|
939
|
-
@ds.import([:i], [[40], [50], [60]], :return=>:primary_key, :slice=>2).should == [4, 5, 6]
|
940
|
-
@ds.order(:id).map([:id, :i]).should == [[1, 10], [2, 20], [3, 30], [4, 40], [5, 50], [6, 60]]
|
941
|
-
end
|
942
|
-
end
|
943
|
-
|
944
|
-
describe "Sequel::Dataset convenience methods" do
|
945
|
-
before(:all) do
|
946
|
-
@db = DB
|
947
|
-
@db.create_table!(:a){Integer :a; Integer :b; Integer :c}
|
948
|
-
@ds = @db[:a]
|
949
|
-
@ds.insert(1, 3, 5)
|
950
|
-
@ds.insert(1, 3, 6)
|
951
|
-
@ds.insert(1, 4, 5)
|
952
|
-
@ds.insert(2, 3, 5)
|
953
|
-
@ds.insert(2, 4, 6)
|
954
|
-
end
|
955
|
-
after(:all) do
|
956
|
-
@db.drop_table?(:a)
|
957
|
-
end
|
958
|
-
|
959
|
-
it "#group_rollup should include hierarchy of groupings" do
|
960
|
-
@ds.group_by(:a).group_rollup.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.inspect}.should == [[1, 10, 16], [2, 7, 11], [nil, 17, 27]]
|
961
|
-
@ds.group_by(:a, :b).group_rollup.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.inspect}.should == [[1, 3, 11], [1, 4, 5], [1, nil, 16], [2, 3, 5], [2, 4, 6], [2, nil, 11], [nil, nil, 27]]
|
962
|
-
end if DB.dataset.supports_group_rollup?
|
963
|
-
|
964
|
-
it "#group_cube should include all combinations of groupings" do
|
965
|
-
@ds.group_by(:a).group_cube.select_map([:a, Sequel.function(:sum, :b).cast(Integer).as(:b), Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.inspect}.should == [[1, 10, 16], [2, 7, 11], [nil, 17, 27]]
|
966
|
-
@ds.group_by(:a, :b).group_cube.select_map([:a, :b, Sequel.function(:sum, :c).cast(Integer).as(:c)]).sort_by{|x| x.inspect}.should == [[1, 3, 11], [1, 4, 5], [1, nil, 16], [2, 3, 5], [2, 4, 6], [2, nil, 11], [nil, 3, 16], [nil, 4, 11], [nil, nil, 27]]
|
967
|
-
end if DB.dataset.supports_group_cube?
|
968
|
-
end
|
969
|
-
|
970
|
-
describe "Sequel::Dataset convenience methods" do
|
971
|
-
before(:all) do
|
972
|
-
@db = DB
|
973
|
-
@db.create_table!(:a){Integer :a; Integer :b}
|
974
|
-
@ds = @db[:a].order(:a)
|
975
|
-
end
|
976
|
-
before do
|
977
|
-
@ds.delete
|
978
|
-
end
|
979
|
-
after(:all) do
|
980
|
-
@db.drop_table?(:a)
|
981
|
-
end
|
982
|
-
|
983
|
-
it "#[]= should update matching rows" do
|
984
|
-
@ds.insert(20, 10)
|
985
|
-
@ds.extension(:sequel_3_dataset_methods)[:a=>20] = {:b=>30}
|
986
|
-
@ds.all.should == [{:a=>20, :b=>30}]
|
987
|
-
end
|
988
|
-
|
989
|
-
it "#empty? should return whether the dataset returns no rows" do
|
990
|
-
@ds.empty?.should == true
|
991
|
-
@ds.insert(20, 10)
|
992
|
-
@ds.empty?.should == false
|
993
|
-
end
|
994
|
-
|
995
|
-
it "#empty? should work correctly for datasets with limits" do
|
996
|
-
ds = @ds.limit(1)
|
997
|
-
ds.empty?.should == true
|
998
|
-
ds.insert(20, 10)
|
999
|
-
ds.empty?.should == false
|
1000
|
-
end
|
1001
|
-
|
1002
|
-
it "#empty? should work correctly for datasets with limits and offsets" do
|
1003
|
-
ds = @ds.limit(1, 1)
|
1004
|
-
ds.empty?.should == true
|
1005
|
-
ds.insert(20, 10)
|
1006
|
-
ds.empty?.should == true
|
1007
|
-
ds.insert(20, 10)
|
1008
|
-
ds.empty?.should == false
|
1009
|
-
end
|
1010
|
-
|
1011
|
-
it "#group_and_count should return a grouping by count" do
|
1012
|
-
@ds.group_and_count(:a).order{count(:a)}.all.should == []
|
1013
|
-
@ds.insert(20, 10)
|
1014
|
-
@ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.should == [{:a=>20, :count=>1}]
|
1015
|
-
@ds.insert(20, 30)
|
1016
|
-
@ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.should == [{:a=>20, :count=>2}]
|
1017
|
-
@ds.insert(30, 30)
|
1018
|
-
@ds.group_and_count(:a).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.should == [{:a=>30, :count=>1}, {:a=>20, :count=>2}]
|
1019
|
-
end
|
1020
|
-
|
1021
|
-
it "#group_and_count should support column aliases" do
|
1022
|
-
@ds.group_and_count(:a___c).order{count(:a)}.all.should == []
|
1023
|
-
@ds.insert(20, 10)
|
1024
|
-
@ds.group_and_count(:a___c).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.should == [{:c=>20, :count=>1}]
|
1025
|
-
@ds.insert(20, 30)
|
1026
|
-
@ds.group_and_count(:a___c).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.should == [{:c=>20, :count=>2}]
|
1027
|
-
@ds.insert(30, 30)
|
1028
|
-
@ds.group_and_count(:a___c).order{count(:a)}.all.each{|h| h[:count] = h[:count].to_i}.should == [{:c=>30, :count=>1}, {:c=>20, :count=>2}]
|
1029
|
-
end
|
1030
|
-
|
1031
|
-
specify "#range should return the range between the maximum and minimum values" do
|
1032
|
-
@ds = @ds.unordered
|
1033
|
-
@ds.insert(20, 10)
|
1034
|
-
@ds.insert(30, 10)
|
1035
|
-
@ds.range(:a).should == (20..30)
|
1036
|
-
@ds.range(:b).should == (10..10)
|
1037
|
-
end
|
1038
|
-
|
1039
|
-
it "#interval should return the different between the maximum and minimum values" do
|
1040
|
-
@ds = @ds.unordered
|
1041
|
-
@ds.insert(20, 10)
|
1042
|
-
@ds.insert(30, 10)
|
1043
|
-
@ds.interval(:a).to_i.should == 10
|
1044
|
-
@ds.interval(:b).to_i.should == 0
|
1045
|
-
end
|
1046
|
-
end
|
1047
|
-
|
1048
|
-
describe "Sequel::Dataset main SQL methods" do
|
1049
|
-
before(:all) do
|
1050
|
-
@db = DB
|
1051
|
-
@db.create_table!(:d){Integer :a; Integer :b}
|
1052
|
-
@ds = @db[:d].order(:a)
|
1053
|
-
end
|
1054
|
-
before do
|
1055
|
-
@ds.delete
|
1056
|
-
end
|
1057
|
-
after(:all) do
|
1058
|
-
@db.drop_table?(:d)
|
1059
|
-
end
|
1060
|
-
|
1061
|
-
it "#exists should return a usable exists clause" do
|
1062
|
-
@ds.filter(@db[:d___c].filter(:c__a=>:d__b).exists).all.should == []
|
1063
|
-
@ds.insert(20, 30)
|
1064
|
-
@ds.insert(10, 20)
|
1065
|
-
@ds.filter(@db[:d___c].filter(:c__a=>:d__b).exists).all.should == [{:a=>10, :b=>20}]
|
1066
|
-
end
|
1067
|
-
|
1068
|
-
it "#filter and #exclude should work with placeholder strings" do
|
1069
|
-
@ds.insert(20, 30)
|
1070
|
-
@ds.filter("a > ?", 15).all.should == [{:a=>20, :b=>30}]
|
1071
|
-
@ds.exclude("b < ?", 15).all.should == [{:a=>20, :b=>30}]
|
1072
|
-
@ds.filter("b < ?", 15).invert.all.should == [{:a=>20, :b=>30}]
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
it "#and and #or should work correctly" do
|
1076
|
-
@ds.insert(20, 30)
|
1077
|
-
@ds.filter(:a=>20).and(:b=>30).all.should == [{:a=>20, :b=>30}]
|
1078
|
-
@ds.filter(:a=>20).and(:b=>15).all.should == []
|
1079
|
-
@ds.filter(:a=>20).or(:b=>15).all.should == [{:a=>20, :b=>30}]
|
1080
|
-
@ds.filter(:a=>10).or(:b=>15).all.should == []
|
1081
|
-
end
|
1082
|
-
|
1083
|
-
it "#select_group should work correctly" do
|
1084
|
-
@ds.unordered!
|
1085
|
-
@ds.select_group(:a).all.should == []
|
1086
|
-
@ds.insert(20, 30)
|
1087
|
-
@ds.select_group(:a).all.should == [{:a=>20}]
|
1088
|
-
@ds.select_group(:b).all.should == [{:b=>30}]
|
1089
|
-
@ds.insert(20, 40)
|
1090
|
-
@ds.select_group(:a).all.should == [{:a=>20}]
|
1091
|
-
@ds.order(:b).select_group(:b).all.should == [{:b=>30}, {:b=>40}]
|
1092
|
-
end
|
1093
|
-
|
1094
|
-
it "#select_group should work correctly when aliasing" do
|
1095
|
-
@ds.unordered!
|
1096
|
-
@ds.insert(20, 30)
|
1097
|
-
@ds.select_group(:b___c).all.should == [{:c=>30}]
|
1098
|
-
end
|
1099
|
-
|
1100
|
-
it "#having should work correctly" do
|
1101
|
-
@ds.unordered!
|
1102
|
-
@ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.should == []
|
1103
|
-
@ds.insert(20, 30)
|
1104
|
-
@ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.should == []
|
1105
|
-
@ds.insert(40, 20)
|
1106
|
-
@ds.select{[b, max(a).as(c)]}.group(:b).having{max(a) > 30}.all.each{|h| h[:c] = h[:c].to_i}.should == [{:b=>20, :c=>40}]
|
1107
|
-
end
|
1108
|
-
|
1109
|
-
cspecify "#having should work without a previous group", :sqlite do
|
1110
|
-
@ds.unordered!
|
1111
|
-
@ds.select{max(a).as(c)}.having{max(a) > 30}.all.should == []
|
1112
|
-
@ds.insert(20, 30)
|
1113
|
-
@ds.select{max(a).as(c)}.having{max(a) > 30}.all.should == []
|
1114
|
-
@ds.insert(40, 20)
|
1115
|
-
@ds.select{max(a).as(c)}.having{max(a) > 30}.all.each{|h| h[:c] = h[:c].to_i}.should == [{:c=>40}]
|
1116
|
-
end
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
describe "Sequel::Dataset convenience methods" do
|
1120
|
-
before(:all) do
|
1121
|
-
@db = DB
|
1122
|
-
@db.create_table!(:a){Integer :a; Integer :b; Integer :c; Integer :d}
|
1123
|
-
@ds = @db[:a].order(:a)
|
1124
|
-
end
|
1125
|
-
before do
|
1126
|
-
@ds.delete
|
1127
|
-
@ds.insert(1, 2, 3, 4)
|
1128
|
-
@ds.insert(5, 6, 7, 8)
|
1129
|
-
end
|
1130
|
-
after(:all) do
|
1131
|
-
@db.drop_table?(:a)
|
1132
|
-
end
|
1133
|
-
|
1134
|
-
specify "should have working #map" do
|
1135
|
-
@ds.map(:a).should == [1, 5]
|
1136
|
-
@ds.map(:b).should == [2, 6]
|
1137
|
-
@ds.map([:a, :b]).should == [[1, 2], [5, 6]]
|
1138
|
-
end
|
1139
|
-
|
1140
|
-
specify "should have working #to_hash" do
|
1141
|
-
@ds.to_hash(:a).should == {1=>{:a=>1, :b=>2, :c=>3, :d=>4}, 5=>{:a=>5, :b=>6, :c=>7, :d=>8}}
|
1142
|
-
@ds.to_hash(:b).should == {2=>{:a=>1, :b=>2, :c=>3, :d=>4}, 6=>{:a=>5, :b=>6, :c=>7, :d=>8}}
|
1143
|
-
@ds.to_hash([:a, :b]).should == {[1, 2]=>{:a=>1, :b=>2, :c=>3, :d=>4}, [5, 6]=>{:a=>5, :b=>6, :c=>7, :d=>8}}
|
1144
|
-
|
1145
|
-
@ds.to_hash(:a, :b).should == {1=>2, 5=>6}
|
1146
|
-
@ds.to_hash([:a, :c], :b).should == {[1, 3]=>2, [5, 7]=>6}
|
1147
|
-
@ds.to_hash(:a, [:b, :c]).should == {1=>[2, 3], 5=>[6, 7]}
|
1148
|
-
@ds.to_hash([:a, :c], [:b, :d]).should == {[1, 3]=>[2, 4], [5, 7]=>[6, 8]}
|
1149
|
-
end
|
1150
|
-
|
1151
|
-
specify "should have working #to_hash_groups" do
|
1152
|
-
ds = @ds.order(*@ds.columns)
|
1153
|
-
ds.insert(1, 2, 3, 9)
|
1154
|
-
ds.to_hash_groups(:a).should == {1=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], 5=>[{:a=>5, :b=>6, :c=>7, :d=>8}]}
|
1155
|
-
ds.to_hash_groups(:b).should == {2=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], 6=>[{:a=>5, :b=>6, :c=>7, :d=>8}]}
|
1156
|
-
ds.to_hash_groups([:a, :b]).should == {[1, 2]=>[{:a=>1, :b=>2, :c=>3, :d=>4}, {:a=>1, :b=>2, :c=>3, :d=>9}], [5, 6]=>[{:a=>5, :b=>6, :c=>7, :d=>8}]}
|
1157
|
-
|
1158
|
-
ds.to_hash_groups(:a, :d).should == {1=>[4, 9], 5=>[8]}
|
1159
|
-
ds.to_hash_groups([:a, :c], :d).should == {[1, 3]=>[4, 9], [5, 7]=>[8]}
|
1160
|
-
ds.to_hash_groups(:a, [:b, :d]).should == {1=>[[2, 4], [2, 9]], 5=>[[6, 8]]}
|
1161
|
-
ds.to_hash_groups([:a, :c], [:b, :d]).should == {[1, 3]=>[[2, 4], [2, 9]], [5, 7]=>[[6, 8]]}
|
1162
|
-
end
|
1163
|
-
|
1164
|
-
specify "should have working #select_map" do
|
1165
|
-
@ds.select_map(:a).should == [1, 5]
|
1166
|
-
@ds.select_map(:b).should == [2, 6]
|
1167
|
-
@ds.select_map([:a]).should == [[1], [5]]
|
1168
|
-
@ds.select_map([:a, :b]).should == [[1, 2], [5, 6]]
|
1169
|
-
|
1170
|
-
@ds.select_map(:a___e).should == [1, 5]
|
1171
|
-
@ds.select_map(:b___e).should == [2, 6]
|
1172
|
-
@ds.select_map([:a___e, :b___f]).should == [[1, 2], [5, 6]]
|
1173
|
-
@ds.select_map([:a__a___e, :a__b___f]).should == [[1, 2], [5, 6]]
|
1174
|
-
@ds.select_map([Sequel.expr(:a__a).as(:e), Sequel.expr(:a__b).as(:f)]).should == [[1, 2], [5, 6]]
|
1175
|
-
@ds.select_map([Sequel.qualify(:a, :a).as(:e), Sequel.qualify(:a, :b).as(:f)]).should == [[1, 2], [5, 6]]
|
1176
|
-
@ds.select_map([Sequel.identifier(:a).qualify(:a).as(:e), Sequel.qualify(:a, :b).as(:f)]).should == [[1, 2], [5, 6]]
|
1177
|
-
end
|
1178
|
-
|
1179
|
-
specify "should have working #select_order_map" do
|
1180
|
-
@ds.select_order_map(:a).should == [1, 5]
|
1181
|
-
@ds.select_order_map(Sequel.desc(:a__b)).should == [6, 2]
|
1182
|
-
@ds.select_order_map(Sequel.desc(:a__b___e)).should == [6, 2]
|
1183
|
-
@ds.select_order_map(Sequel.qualify(:a, :b).as(:e)).should == [2, 6]
|
1184
|
-
@ds.select_order_map([:a]).should == [[1], [5]]
|
1185
|
-
@ds.select_order_map([Sequel.desc(:a), :b]).should == [[5, 6], [1, 2]]
|
1186
|
-
|
1187
|
-
@ds.select_order_map(:a___e).should == [1, 5]
|
1188
|
-
@ds.select_order_map(:b___e).should == [2, 6]
|
1189
|
-
@ds.select_order_map([Sequel.desc(:a___e), :b___f]).should == [[5, 6], [1, 2]]
|
1190
|
-
@ds.select_order_map([Sequel.desc(:a__a___e), :a__b___f]).should == [[5, 6], [1, 2]]
|
1191
|
-
@ds.select_order_map([Sequel.desc(:a__a), Sequel.expr(:a__b).as(:f)]).should == [[5, 6], [1, 2]]
|
1192
|
-
@ds.select_order_map([Sequel.qualify(:a, :a).desc, Sequel.qualify(:a, :b).as(:f)]).should == [[5, 6], [1, 2]]
|
1193
|
-
@ds.select_order_map([Sequel.identifier(:a).qualify(:a).desc, Sequel.qualify(:a, :b).as(:f)]).should == [[5, 6], [1, 2]]
|
1194
|
-
end
|
1195
|
-
|
1196
|
-
specify "should have working #select_hash" do
|
1197
|
-
@ds.select_hash(:a, :b).should == {1=>2, 5=>6}
|
1198
|
-
@ds.select_hash(:a__a___e, :b).should == {1=>2, 5=>6}
|
1199
|
-
@ds.select_hash(Sequel.expr(:a__a).as(:e), :b).should == {1=>2, 5=>6}
|
1200
|
-
@ds.select_hash(Sequel.qualify(:a, :a).as(:e), :b).should == {1=>2, 5=>6}
|
1201
|
-
@ds.select_hash(Sequel.identifier(:a).qualify(:a).as(:e), :b).should == {1=>2, 5=>6}
|
1202
|
-
@ds.select_hash([:a, :c], :b).should == {[1, 3]=>2, [5, 7]=>6}
|
1203
|
-
@ds.select_hash(:a, [:b, :c]).should == {1=>[2, 3], 5=>[6, 7]}
|
1204
|
-
@ds.select_hash([:a, :c], [:b, :d]).should == {[1, 3]=>[2, 4], [5, 7]=>[6, 8]}
|
1205
|
-
end
|
1206
|
-
|
1207
|
-
specify "should have working #select_hash_groups" do
|
1208
|
-
ds = @ds.order(*@ds.columns)
|
1209
|
-
ds.insert(1, 2, 3, 9)
|
1210
|
-
ds.select_hash_groups(:a, :d).should == {1=>[4, 9], 5=>[8]}
|
1211
|
-
ds.select_hash_groups(:a__a___e, :d).should == {1=>[4, 9], 5=>[8]}
|
1212
|
-
ds.select_hash_groups(Sequel.expr(:a__a).as(:e), :d).should == {1=>[4, 9], 5=>[8]}
|
1213
|
-
ds.select_hash_groups(Sequel.qualify(:a, :a).as(:e), :d).should == {1=>[4, 9], 5=>[8]}
|
1214
|
-
ds.select_hash_groups(Sequel.identifier(:a).qualify(:a).as(:e), :d).should == {1=>[4, 9], 5=>[8]}
|
1215
|
-
ds.select_hash_groups([:a, :c], :d).should == {[1, 3]=>[4, 9], [5, 7]=>[8]}
|
1216
|
-
ds.select_hash_groups(:a, [:b, :d]).should == {1=>[[2, 4], [2, 9]], 5=>[[6, 8]]}
|
1217
|
-
ds.select_hash_groups([:a, :c], [:b, :d]).should == {[1, 3]=>[[2, 4], [2, 9]], [5, 7]=>[[6, 8]]}
|
1218
|
-
end
|
1219
|
-
end
|
1220
|
-
|
1221
|
-
describe "Sequel::Dataset DSL support" do
|
1222
|
-
before(:all) do
|
1223
|
-
@db = DB
|
1224
|
-
@db.create_table!(:a){Integer :a; Integer :b}
|
1225
|
-
@ds = @db[:a].order(:a)
|
1226
|
-
end
|
1227
|
-
before do
|
1228
|
-
@ds.delete
|
1229
|
-
end
|
1230
|
-
after(:all) do
|
1231
|
-
@db.drop_table?(:a)
|
1232
|
-
end
|
1233
|
-
|
1234
|
-
it "should work with standard mathematical operators" do
|
1235
|
-
@ds.insert(20, 10)
|
1236
|
-
@ds.get{a + b}.to_i.should == 30
|
1237
|
-
@ds.get{a - b}.to_i.should == 10
|
1238
|
-
@ds.get{a * b}.to_i.should == 200
|
1239
|
-
@ds.get{a / b}.to_i.should == 2
|
1240
|
-
end
|
1241
|
-
|
1242
|
-
cspecify "should work with bitwise shift operators", :derby do
|
1243
|
-
@ds.insert(3, 2)
|
1244
|
-
@ds.get{a.sql_number << b}.to_i.should == 12
|
1245
|
-
@ds.get{a.sql_number >> b}.to_i.should == 0
|
1246
|
-
@ds.get{a.sql_number << b << 1}.to_i.should == 24
|
1247
|
-
@ds.delete
|
1248
|
-
@ds.insert(3, 1)
|
1249
|
-
@ds.get{a.sql_number << b}.to_i.should == 6
|
1250
|
-
@ds.get{a.sql_number >> b}.to_i.should == 1
|
1251
|
-
@ds.get{a.sql_number >> b >> 1}.to_i.should == 0
|
1252
|
-
end
|
1253
|
-
|
1254
|
-
cspecify "should work with bitwise AND and OR operators", :derby do
|
1255
|
-
@ds.insert(3, 5)
|
1256
|
-
@ds.get{a.sql_number | b}.to_i.should == 7
|
1257
|
-
@ds.get{a.sql_number & b}.to_i.should == 1
|
1258
|
-
@ds.get{a.sql_number | b | 8}.to_i.should == 15
|
1259
|
-
@ds.get{a.sql_number & b & 8}.to_i.should == 0
|
1260
|
-
end
|
1261
|
-
|
1262
|
-
specify "should work with the bitwise compliment operator" do
|
1263
|
-
@ds.insert(-3, 3)
|
1264
|
-
@ds.get{~a.sql_number}.to_i.should == 2
|
1265
|
-
@ds.get{~b.sql_number}.to_i.should == -4
|
1266
|
-
end
|
1267
|
-
|
1268
|
-
cspecify "should work with the bitwise xor operator", :derby do
|
1269
|
-
@ds.insert(3, 5)
|
1270
|
-
@ds.get{a.sql_number ^ b}.to_i.should == 6
|
1271
|
-
@ds.get{a.sql_number ^ b ^ 1}.to_i.should == 7
|
1272
|
-
end
|
1273
|
-
|
1274
|
-
specify "should work with the modulus operator" do
|
1275
|
-
@ds.insert(3, 5)
|
1276
|
-
@ds.get{a.sql_number % 4}.to_i.should == 3
|
1277
|
-
@ds.get{b.sql_number % 4}.to_i.should == 1
|
1278
|
-
@ds.get{a.sql_number % 4 % 2}.to_i.should == 1
|
1279
|
-
end
|
1280
|
-
|
1281
|
-
specify "should work with inequality operators" do
|
1282
|
-
@ds.insert(10, 11)
|
1283
|
-
@ds.insert(11, 11)
|
1284
|
-
@ds.insert(20, 19)
|
1285
|
-
@ds.insert(20, 20)
|
1286
|
-
@ds.filter{a > b}.select_order_map(:a).should == [20]
|
1287
|
-
@ds.filter{a >= b}.select_order_map(:a).should == [11, 20, 20]
|
1288
|
-
@ds.filter{a < b}.select_order_map(:a).should == [10]
|
1289
|
-
@ds.filter{a <= b}.select_order_map(:a).should == [10, 11, 20]
|
1290
|
-
end
|
1291
|
-
|
1292
|
-
specify "should work with casting and string concatentation" do
|
1293
|
-
@ds.insert(20, 20)
|
1294
|
-
@ds.get{Sequel.cast(a, String).sql_string + Sequel.cast(b, String)}.should == '2020'
|
1295
|
-
end
|
1296
|
-
|
1297
|
-
it "should work with ordering" do
|
1298
|
-
@ds.insert(10, 20)
|
1299
|
-
@ds.insert(20, 10)
|
1300
|
-
@ds.order(:a, :b).all.should == [{:a=>10, :b=>20}, {:a=>20, :b=>10}]
|
1301
|
-
@ds.order(Sequel.asc(:a), Sequel.asc(:b)).all.should == [{:a=>10, :b=>20}, {:a=>20, :b=>10}]
|
1302
|
-
@ds.order(Sequel.desc(:a), Sequel.desc(:b)).all.should == [{:a=>20, :b=>10}, {:a=>10, :b=>20}]
|
1303
|
-
end
|
1304
|
-
|
1305
|
-
it "should work with qualifying" do
|
1306
|
-
@ds.insert(10, 20)
|
1307
|
-
@ds.get(:a__b).should == 20
|
1308
|
-
@ds.get{a__b}.should == 20
|
1309
|
-
@ds.get(Sequel.qualify(:a, :b)).should == 20
|
1310
|
-
end
|
1311
|
-
|
1312
|
-
it "should work with aliasing" do
|
1313
|
-
@ds.insert(10, 20)
|
1314
|
-
@ds.get(:a__b___c).should == 20
|
1315
|
-
@ds.get{a__b.as(c)}.should == 20
|
1316
|
-
@ds.get(Sequel.qualify(:a, :b).as(:c)).should == 20
|
1317
|
-
@ds.get(Sequel.as(:b, :c)).should == 20
|
1318
|
-
end
|
1319
|
-
|
1320
|
-
it "should work with selecting all columns of a table" do
|
1321
|
-
@ds.insert(20, 10)
|
1322
|
-
@ds.select_all(:a).all.should == [{:a=>20, :b=>10}]
|
1323
|
-
end
|
1324
|
-
|
1325
|
-
it "should work with ranges as hash values" do
|
1326
|
-
@ds.insert(20, 10)
|
1327
|
-
@ds.filter(:a=>(10..30)).all.should == [{:a=>20, :b=>10}]
|
1328
|
-
@ds.filter(:a=>(25..30)).all.should == []
|
1329
|
-
@ds.filter(:a=>(10..15)).all.should == []
|
1330
|
-
@ds.exclude(:a=>(10..30)).all.should == []
|
1331
|
-
@ds.exclude(:a=>(25..30)).all.should == [{:a=>20, :b=>10}]
|
1332
|
-
@ds.exclude(:a=>(10..15)).all.should == [{:a=>20, :b=>10}]
|
1333
|
-
end
|
1334
|
-
|
1335
|
-
it "should work with nil as hash value" do
|
1336
|
-
@ds.insert(20, nil)
|
1337
|
-
@ds.filter(:a=>nil).all.should == []
|
1338
|
-
@ds.filter(:b=>nil).all.should == [{:a=>20, :b=>nil}]
|
1339
|
-
@ds.exclude(:b=>nil).all.should == []
|
1340
|
-
@ds.exclude(:a=>nil).all.should == [{:a=>20, :b=>nil}]
|
1341
|
-
end
|
1342
|
-
|
1343
|
-
it "should work with arrays as hash values" do
|
1344
|
-
@ds.insert(20, 10)
|
1345
|
-
@ds.filter(:a=>[10]).all.should == []
|
1346
|
-
@ds.filter(:a=>[20, 10]).all.should == [{:a=>20, :b=>10}]
|
1347
|
-
@ds.exclude(:a=>[10]).all.should == [{:a=>20, :b=>10}]
|
1348
|
-
@ds.exclude(:a=>[20, 10]).all.should == []
|
1349
|
-
end
|
1350
|
-
|
1351
|
-
it "should work with ranges as hash values" do
|
1352
|
-
@ds.insert(20, 10)
|
1353
|
-
@ds.filter(:a=>(10..30)).all.should == [{:a=>20, :b=>10}]
|
1354
|
-
@ds.filter(:a=>(25..30)).all.should == []
|
1355
|
-
@ds.filter(:a=>(10..15)).all.should == []
|
1356
|
-
@ds.exclude(:a=>(10..30)).all.should == []
|
1357
|
-
@ds.exclude(:a=>(25..30)).all.should == [{:a=>20, :b=>10}]
|
1358
|
-
@ds.exclude(:a=>(10..15)).all.should == [{:a=>20, :b=>10}]
|
1359
|
-
end
|
1360
|
-
|
1361
|
-
it "should work with CASE statements" do
|
1362
|
-
@ds.insert(20, 10)
|
1363
|
-
@ds.filter(Sequel.case({{:a=>20}=>20}, 0) > 0).all.should == [{:a=>20, :b=>10}]
|
1364
|
-
@ds.filter(Sequel.case({{:a=>15}=>20}, 0) > 0).all.should == []
|
1365
|
-
@ds.filter(Sequel.case({20=>20}, 0, :a) > 0).all.should == [{:a=>20, :b=>10}]
|
1366
|
-
@ds.filter(Sequel.case({15=>20}, 0, :a) > 0).all.should == []
|
1367
|
-
end
|
1368
|
-
|
1369
|
-
specify "should work with multiple value arrays" do
|
1370
|
-
@ds.insert(20, 10)
|
1371
|
-
@ds.quote_identifiers = false
|
1372
|
-
@ds.filter([:a, :b]=>[[20, 10]]).all.should == [{:a=>20, :b=>10}]
|
1373
|
-
@ds.filter([:a, :b]=>[[10, 20]]).all.should == []
|
1374
|
-
@ds.filter([:a, :b]=>[[20, 10], [1, 2]]).all.should == [{:a=>20, :b=>10}]
|
1375
|
-
@ds.filter([:a, :b]=>[[10, 10], [20, 20]]).all.should == []
|
1376
|
-
|
1377
|
-
@ds.exclude([:a, :b]=>[[20, 10]]).all.should == []
|
1378
|
-
@ds.exclude([:a, :b]=>[[10, 20]]).all.should == [{:a=>20, :b=>10}]
|
1379
|
-
@ds.exclude([:a, :b]=>[[20, 10], [1, 2]]).all.should == []
|
1380
|
-
@ds.exclude([:a, :b]=>[[10, 10], [20, 20]]).all.should == [{:a=>20, :b=>10}]
|
1381
|
-
end
|
1382
|
-
|
1383
|
-
it "should work with IN/NOT in with datasets" do
|
1384
|
-
@ds.insert(20, 10)
|
1385
|
-
ds = @ds.unordered
|
1386
|
-
@ds.quote_identifiers = false
|
1387
|
-
|
1388
|
-
@ds.filter(:a=>ds.select(:a)).all.should == [{:a=>20, :b=>10}]
|
1389
|
-
@ds.filter(:a=>ds.select(:a).where(:a=>15)).all.should == []
|
1390
|
-
@ds.exclude(:a=>ds.select(:a)).all.should == []
|
1391
|
-
@ds.exclude(:a=>ds.select(:a).where(:a=>15)).all.should == [{:a=>20, :b=>10}]
|
1392
|
-
|
1393
|
-
@ds.filter([:a, :b]=>ds.select(:a, :b)).all.should == [{:a=>20, :b=>10}]
|
1394
|
-
@ds.filter([:a, :b]=>ds.select(:b, :a)).all.should == []
|
1395
|
-
@ds.exclude([:a, :b]=>ds.select(:a, :b)).all.should == []
|
1396
|
-
@ds.exclude([:a, :b]=>ds.select(:b, :a)).all.should == [{:a=>20, :b=>10}]
|
1397
|
-
|
1398
|
-
@ds.filter([:a, :b]=>ds.select(:a, :b).where(:a=>15)).all.should == []
|
1399
|
-
@ds.exclude([:a, :b]=>ds.select(:a, :b).where(:a=>15)).all.should == [{:a=>20, :b=>10}]
|
1400
|
-
end
|
1401
|
-
|
1402
|
-
specify "should work empty arrays" do
|
1403
|
-
@ds.insert(20, 10)
|
1404
|
-
@ds.filter(:a=>[]).all.should == []
|
1405
|
-
@ds.exclude(:a=>[]).all.should == [{:a=>20, :b=>10}]
|
1406
|
-
@ds.filter([:a, :b]=>[]).all.should == []
|
1407
|
-
@ds.exclude([:a, :b]=>[]).all.should == [{:a=>20, :b=>10}]
|
1408
|
-
end
|
1409
|
-
|
1410
|
-
specify "should work empty arrays with nulls" do
|
1411
|
-
@ds.insert(nil, nil)
|
1412
|
-
@ds.filter(:a=>[]).all.should == []
|
1413
|
-
@ds.exclude(:a=>[]).all.should == []
|
1414
|
-
@ds.filter([:a, :b]=>[]).all.should == []
|
1415
|
-
@ds.exclude([:a, :b]=>[]).all.should == []
|
1416
|
-
|
1417
|
-
unless Sequel.guarded?(:mssql, :oracle, :db2, :sqlanywhere)
|
1418
|
-
# Some databases don't like boolean results in the select list
|
1419
|
-
pr = proc{|r| r.is_a?(Integer) ? (r != 0) : r}
|
1420
|
-
pr[@ds.get(Sequel.expr(:a=>[]))].should == nil
|
1421
|
-
pr[@ds.get(~Sequel.expr(:a=>[]))].should == nil
|
1422
|
-
pr[@ds.get(Sequel.expr([:a, :b]=>[]))].should == nil
|
1423
|
-
pr[@ds.get(~Sequel.expr([:a, :b]=>[]))].should == nil
|
1424
|
-
end
|
1425
|
-
end
|
1426
|
-
|
1427
|
-
specify "should work empty arrays with nulls and the empty_array_ignore_nulls extension" do
|
1428
|
-
ds = @ds.extension(:empty_array_ignore_nulls)
|
1429
|
-
ds.insert(nil, nil)
|
1430
|
-
ds.filter(:a=>[]).all.should == []
|
1431
|
-
ds.exclude(:a=>[]).all.should == [{:a=>nil, :b=>nil}]
|
1432
|
-
ds.filter([:a, :b]=>[]).all.should == []
|
1433
|
-
ds.exclude([:a, :b]=>[]).all.should == [{:a=>nil, :b=>nil}]
|
1434
|
-
|
1435
|
-
unless Sequel.guarded?(:mssql, :oracle, :db2, :sqlanywhere)
|
1436
|
-
# Some databases don't like boolean results in the select list
|
1437
|
-
pr = proc{|r| r.is_a?(Integer) ? (r != 0) : r}
|
1438
|
-
pr[ds.get(Sequel.expr(:a=>[]))].should == false
|
1439
|
-
pr[ds.get(~Sequel.expr(:a=>[]))].should == true
|
1440
|
-
pr[ds.get(Sequel.expr([:a, :b]=>[]))].should == false
|
1441
|
-
pr[ds.get(~Sequel.expr([:a, :b]=>[]))].should == true
|
1442
|
-
end
|
1443
|
-
end
|
1444
|
-
|
1445
|
-
it "should work multiple conditions" do
|
1446
|
-
@ds.insert(20, 10)
|
1447
|
-
@ds.filter(:a=>20, :b=>10).all.should == [{:a=>20, :b=>10}]
|
1448
|
-
@ds.filter([[:a, 20], [:b, 10]]).all.should == [{:a=>20, :b=>10}]
|
1449
|
-
@ds.filter({:a=>20}, {:b=>10}).all.should == [{:a=>20, :b=>10}]
|
1450
|
-
@ds.filter(Sequel.|({:a=>20}, {:b=>5})).all.should == [{:a=>20, :b=>10}]
|
1451
|
-
@ds.filter(Sequel.~(:a=>10)).all.should == [{:a=>20, :b=>10}]
|
1452
|
-
end
|
1453
|
-
end
|
1454
|
-
|
1455
|
-
describe "SQL Extract Function" do
|
1456
|
-
before do
|
1457
|
-
@db = DB
|
1458
|
-
@db.create_table!(:a){DateTime :a}
|
1459
|
-
@ds = @db[:a].order(:a)
|
1460
|
-
end
|
1461
|
-
after do
|
1462
|
-
@db.drop_table?(:a)
|
1463
|
-
end
|
1464
|
-
|
1465
|
-
specify "should return the part of the datetime asked for" do
|
1466
|
-
t = Time.now
|
1467
|
-
def @ds.supports_timestamp_timezones?() false end
|
1468
|
-
@ds.insert(t)
|
1469
|
-
@ds.get{a.extract(:year)}.should == t.year
|
1470
|
-
@ds.get{a.extract(:month)}.should == t.month
|
1471
|
-
@ds.get{a.extract(:day)}.should == t.day
|
1472
|
-
@ds.get{a.extract(:hour)}.should == t.hour
|
1473
|
-
@ds.get{a.extract(:minute)}.should == t.min
|
1474
|
-
@ds.get{a.extract(:second)}.to_i.should == t.sec
|
1475
|
-
end
|
1476
|
-
end
|
1477
|
-
|
1478
|
-
describe "Dataset string methods" do
|
1479
|
-
before(:all) do
|
1480
|
-
@db = DB
|
1481
|
-
csc = {}
|
1482
|
-
cic = {}
|
1483
|
-
csc[:collate] = @db.dataset_class::CASE_SENSITIVE_COLLATION if defined? @db.dataset_class::CASE_SENSITIVE_COLLATION
|
1484
|
-
cic[:collate] = @db.dataset_class::CASE_INSENSITIVE_COLLATION if defined? @db.dataset_class::CASE_INSENSITIVE_COLLATION
|
1485
|
-
@db.create_table!(:a) do
|
1486
|
-
String :a, csc
|
1487
|
-
String :b, cic
|
1488
|
-
end
|
1489
|
-
@ds = @db[:a].order(:a)
|
1490
|
-
end
|
1491
|
-
before do
|
1492
|
-
@ds.delete
|
1493
|
-
end
|
1494
|
-
after(:all) do
|
1495
|
-
@db.drop_table?(:a)
|
1496
|
-
end
|
1497
|
-
|
1498
|
-
it "#grep should return matching rows" do
|
1499
|
-
@ds.insert('foo', 'bar')
|
1500
|
-
@ds.grep(:a, 'foo').all.should == [{:a=>'foo', :b=>'bar'}]
|
1501
|
-
@ds.grep(:b, 'foo').all.should == []
|
1502
|
-
@ds.grep(:b, 'bar').all.should == [{:a=>'foo', :b=>'bar'}]
|
1503
|
-
@ds.grep(:a, 'bar').all.should == []
|
1504
|
-
@ds.grep([:a, :b], %w'foo bar').all.should == [{:a=>'foo', :b=>'bar'}]
|
1505
|
-
@ds.grep([:a, :b], %w'boo far').all.should == []
|
1506
|
-
end
|
1507
|
-
|
1508
|
-
it "#grep should work with :all_patterns and :all_columns options" do
|
1509
|
-
@ds.insert('foo bar', ' ')
|
1510
|
-
@ds.insert('foo d', 'bar')
|
1511
|
-
@ds.insert('foo e', ' ')
|
1512
|
-
@ds.insert(' ', 'bar')
|
1513
|
-
@ds.insert('foo f', 'baz')
|
1514
|
-
@ds.insert('foo baz', 'bar baz')
|
1515
|
-
@ds.insert('foo boo', 'boo foo')
|
1516
|
-
|
1517
|
-
@ds.grep([:a, :b], %w'%foo% %bar%', :all_patterns=>true).all.should == [{:a=>'foo bar', :b=>' '}, {:a=>'foo baz', :b=>'bar baz'}, {:a=>'foo d', :b=>'bar'}]
|
1518
|
-
@ds.grep([:a, :b], %w'%foo% %bar% %blob%', :all_patterns=>true).all.should == []
|
1519
|
-
|
1520
|
-
@ds.grep([:a, :b], %w'%bar% %foo%', :all_columns=>true).all.should == [{:a=>"foo baz", :b=>"bar baz"}, {:a=>"foo boo", :b=>"boo foo"}, {:a=>"foo d", :b=>"bar"}]
|
1521
|
-
@ds.grep([:a, :b], %w'%baz%', :all_columns=>true).all.should == [{:a=>'foo baz', :b=>'bar baz'}]
|
1522
|
-
|
1523
|
-
@ds.grep([:a, :b], %w'%baz% %foo%', :all_columns=>true, :all_patterns=>true).all.should == []
|
1524
|
-
@ds.grep([:a, :b], %w'%boo% %foo%', :all_columns=>true, :all_patterns=>true).all.should == [{:a=>'foo boo', :b=>'boo foo'}]
|
1525
|
-
end
|
1526
|
-
|
1527
|
-
it "#like should return matching rows" do
|
1528
|
-
@ds.insert('foo', 'bar')
|
1529
|
-
@ds.filter(Sequel.expr(:a).like('foo')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1530
|
-
@ds.filter(Sequel.expr(:a).like('bar')).all.should == []
|
1531
|
-
@ds.filter(Sequel.expr(:a).like('foo', 'bar')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1532
|
-
@ds.exclude(Sequel.expr(:a).like('foo')).all.should == []
|
1533
|
-
@ds.exclude(Sequel.expr(:a).like('bar')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1534
|
-
@ds.exclude(Sequel.expr(:a).like('foo', 'bar')).all.should == []
|
1535
|
-
end
|
1536
|
-
|
1537
|
-
it "#like should be case sensitive" do
|
1538
|
-
@ds.insert('foo', 'bar')
|
1539
|
-
@ds.filter(Sequel.expr(:a).like('Foo')).all.should == []
|
1540
|
-
@ds.filter(Sequel.expr(:b).like('baR')).all.should == []
|
1541
|
-
@ds.filter(Sequel.expr(:a).like('FOO', 'BAR')).all.should == []
|
1542
|
-
@ds.exclude(Sequel.expr(:a).like('Foo')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1543
|
-
@ds.exclude(Sequel.expr(:b).like('baR')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1544
|
-
@ds.exclude(Sequel.expr(:a).like('FOO', 'BAR')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1545
|
-
end
|
1546
|
-
|
1547
|
-
it "#ilike should return matching rows, in a case insensitive manner" do
|
1548
|
-
@ds.insert('foo', 'bar')
|
1549
|
-
@ds.filter(Sequel.expr(:a).ilike('Foo')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1550
|
-
@ds.filter(Sequel.expr(:a).ilike('baR')).all.should == []
|
1551
|
-
@ds.filter(Sequel.expr(:a).ilike('FOO', 'BAR')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1552
|
-
@ds.exclude(Sequel.expr(:a).ilike('Foo')).all.should == []
|
1553
|
-
@ds.exclude(Sequel.expr(:a).ilike('baR')).all.should == [{:a=>'foo', :b=>'bar'}]
|
1554
|
-
@ds.exclude(Sequel.expr(:a).ilike('FOO', 'BAR')).all.should == []
|
1555
|
-
end
|
1556
|
-
|
1557
|
-
it "#escape_like should escape any metacharacters" do
|
1558
|
-
@ds.insert('foo', 'bar')
|
1559
|
-
@ds.insert('foo.', 'bar..')
|
1560
|
-
@ds.insert('foo\\..', 'bar\\..')
|
1561
|
-
@ds.insert('foo\\_', 'bar\\%')
|
1562
|
-
@ds.insert('foo_', 'bar%')
|
1563
|
-
@ds.insert('foo_.', 'bar%.')
|
1564
|
-
@ds.insert('foo_..', 'bar%..')
|
1565
|
-
@ds.insert('[f#*?oo_]', '[bar%]')
|
1566
|
-
@ds.filter(Sequel.expr(:a).like(@ds.escape_like('foo_'))).select_order_map(:a).should == ['foo_']
|
1567
|
-
@ds.filter(Sequel.expr(:b).like(@ds.escape_like('bar%'))).select_order_map(:b).should == ['bar%']
|
1568
|
-
@ds.filter(Sequel.expr(:a).like(@ds.escape_like('foo\\_'))).select_order_map(:a).should == ['foo\\_']
|
1569
|
-
@ds.filter(Sequel.expr(:b).like(@ds.escape_like('bar\\%'))).select_order_map(:b).should == ['bar\\%']
|
1570
|
-
@ds.filter(Sequel.expr(:a).like(@ds.escape_like('[f#*?oo_]'))).select_order_map(:a).should == ['[f#*?oo_]']
|
1571
|
-
@ds.filter(Sequel.expr(:b).like(@ds.escape_like('[bar%]'))).select_order_map(:b).should == ['[bar%]']
|
1572
|
-
@ds.filter(Sequel.expr(:b).like("#{@ds.escape_like('bar%')}_")).select_order_map(:b).should == ['bar%.']
|
1573
|
-
@ds.filter(Sequel.expr(:b).like("#{@ds.escape_like('bar%')}%")).select_order_map(:b).should == ['bar%', 'bar%.', 'bar%..']
|
1574
|
-
|
1575
|
-
@ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('Foo_'))).select_order_map(:a).should == ['foo_']
|
1576
|
-
@ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('Bar%'))).select_order_map(:b).should == ['bar%']
|
1577
|
-
@ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('Foo\\_'))).select_order_map(:a).should == ['foo\\_']
|
1578
|
-
@ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('Bar\\%'))).select_order_map(:b).should == ['bar\\%']
|
1579
|
-
@ds.filter(Sequel.expr(:a).ilike(@ds.escape_like('[F#*?oo_]'))).select_order_map(:a).should == ['[f#*?oo_]']
|
1580
|
-
@ds.filter(Sequel.expr(:b).ilike(@ds.escape_like('[Bar%]'))).select_order_map(:b).should == ['[bar%]']
|
1581
|
-
@ds.filter(Sequel.expr(:b).ilike("#{@ds.escape_like('Bar%')}_")).select_order_map(:b).should == ['bar%.']
|
1582
|
-
@ds.filter(Sequel.expr(:b).ilike("#{@ds.escape_like('Bar%')}%")).select_order_map(:b).should == ['bar%', 'bar%.', 'bar%..']
|
1583
|
-
end
|
1584
|
-
|
1585
|
-
if DB.dataset.supports_regexp?
|
1586
|
-
it "#like with regexp return matching rows" do
|
1587
|
-
@ds.insert('foo', 'bar')
|
1588
|
-
@ds.filter(Sequel.expr(:a).like(/fo/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1589
|
-
@ds.filter(Sequel.expr(:a).like(/fo$/)).all.should == []
|
1590
|
-
@ds.filter(Sequel.expr(:a).like(/fo/, /ar/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1591
|
-
@ds.exclude(Sequel.expr(:a).like(/fo/)).all.should == []
|
1592
|
-
@ds.exclude(Sequel.expr(:a).like(/fo$/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1593
|
-
@ds.exclude(Sequel.expr(:a).like(/fo/, /ar/)).all.should == []
|
1594
|
-
end
|
1595
|
-
|
1596
|
-
it "#like with regexp should be case sensitive if regexp is case sensitive" do
|
1597
|
-
@ds.insert('foo', 'bar')
|
1598
|
-
@ds.filter(Sequel.expr(:a).like(/Fo/)).all.should == []
|
1599
|
-
@ds.filter(Sequel.expr(:b).like(/baR/)).all.should == []
|
1600
|
-
@ds.filter(Sequel.expr(:a).like(/FOO/, /BAR/)).all.should == []
|
1601
|
-
@ds.exclude(Sequel.expr(:a).like(/Fo/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1602
|
-
@ds.exclude(Sequel.expr(:b).like(/baR/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1603
|
-
@ds.exclude(Sequel.expr(:a).like(/FOO/, /BAR/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1604
|
-
|
1605
|
-
@ds.filter(Sequel.expr(:a).like(/Fo/i)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1606
|
-
@ds.filter(Sequel.expr(:b).like(/baR/i)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1607
|
-
@ds.filter(Sequel.expr(:a).like(/FOO/i, /BAR/i)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1608
|
-
@ds.exclude(Sequel.expr(:a).like(/Fo/i)).all.should == []
|
1609
|
-
@ds.exclude(Sequel.expr(:b).like(/baR/i)).all.should == []
|
1610
|
-
@ds.exclude(Sequel.expr(:a).like(/FOO/i, /BAR/i)).all.should == []
|
1611
|
-
end
|
1612
|
-
|
1613
|
-
it "#ilike with regexp should return matching rows, in a case insensitive manner" do
|
1614
|
-
@ds.insert('foo', 'bar')
|
1615
|
-
@ds.filter(Sequel.expr(:a).ilike(/Fo/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1616
|
-
@ds.filter(Sequel.expr(:b).ilike(/baR/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1617
|
-
@ds.filter(Sequel.expr(:a).ilike(/FOO/, /BAR/)).all.should == [{:a=>'foo', :b=>'bar'}]
|
1618
|
-
@ds.exclude(Sequel.expr(:a).ilike(/Fo/)).all.should == []
|
1619
|
-
@ds.exclude(Sequel.expr(:b).ilike(/baR/)).all.should == []
|
1620
|
-
@ds.exclude(Sequel.expr(:a).ilike(/FOO/, /BAR/)).all.should == []
|
1621
|
-
end
|
1622
|
-
end
|
1623
|
-
|
1624
|
-
it "should work with strings created with Sequel.join" do
|
1625
|
-
@ds.insert('foo', 'bar')
|
1626
|
-
@ds.get(Sequel.join([:a, "bar"])).should == 'foobar'
|
1627
|
-
@ds.get(Sequel.join(["foo", :b], ' ')).should == 'foo bar'
|
1628
|
-
end
|
1629
|
-
end
|
1630
|
-
|
1631
|
-
describe "Dataset identifier methods" do
|
1632
|
-
before(:all) do
|
1633
|
-
class ::String
|
1634
|
-
def uprev
|
1635
|
-
upcase.reverse
|
1636
|
-
end
|
1637
|
-
end
|
1638
|
-
@db = DB
|
1639
|
-
@db.create_table!(:a){Integer :ab}
|
1640
|
-
@db[:a].insert(1)
|
1641
|
-
end
|
1642
|
-
before do
|
1643
|
-
@ds = @db[:a].order(:ab)
|
1644
|
-
end
|
1645
|
-
after(:all) do
|
1646
|
-
@db.drop_table?(:a)
|
1647
|
-
end
|
1648
|
-
|
1649
|
-
specify "#identifier_output_method should change how identifiers are output" do
|
1650
|
-
@ds.identifier_output_method = :upcase
|
1651
|
-
@ds.first.should == {:AB=>1}
|
1652
|
-
@ds.identifier_output_method = :uprev
|
1653
|
-
@ds.first.should == {:BA=>1}
|
1654
|
-
end
|
1655
|
-
|
1656
|
-
it "should work with a nil identifier_output_method" do
|
1657
|
-
@ds.identifier_output_method = nil
|
1658
|
-
[{:ab=>1}, {:AB=>1}].should include(@ds.first)
|
1659
|
-
end
|
1660
|
-
|
1661
|
-
it "should work when not quoting identifiers" do
|
1662
|
-
@ds.quote_identifiers = false
|
1663
|
-
@ds.first.should == {:ab=>1}
|
1664
|
-
end
|
1665
|
-
end
|
1666
|
-
|
1667
|
-
describe "Dataset defaults and overrides" do
|
1668
|
-
before(:all) do
|
1669
|
-
@db = DB
|
1670
|
-
@db.create_table!(:a){Integer :a}
|
1671
|
-
@ds = @db[:a].order(:a).extension(:set_overrides)
|
1672
|
-
end
|
1673
|
-
before do
|
1674
|
-
@ds.delete
|
1675
|
-
end
|
1676
|
-
after(:all) do
|
1677
|
-
@db.drop_table?(:a)
|
1678
|
-
end
|
1679
|
-
|
1680
|
-
it "#set_defaults should set defaults that can be overridden" do
|
1681
|
-
@ds = @ds.set_defaults(:a=>10)
|
1682
|
-
@ds.insert
|
1683
|
-
@ds.insert(:a=>20)
|
1684
|
-
@ds.all.should == [{:a=>10}, {:a=>20}]
|
1685
|
-
end
|
1686
|
-
|
1687
|
-
it "#set_overrides should set defaults that cannot be overridden" do
|
1688
|
-
@ds = @ds.set_overrides(:a=>10)
|
1689
|
-
@ds.insert
|
1690
|
-
@ds.insert(:a=>20)
|
1691
|
-
@ds.all.should == [{:a=>10}, {:a=>10}]
|
1692
|
-
end
|
1693
|
-
end
|
1694
|
-
|
1695
|
-
if DB.dataset.supports_modifying_joins?
|
1696
|
-
describe "Modifying joined datasets" do
|
1697
|
-
before do
|
1698
|
-
@db = DB
|
1699
|
-
@db.create_table!(:a){Integer :a; Integer :d}
|
1700
|
-
@db.create_table!(:b){Integer :b; Integer :e}
|
1701
|
-
@db.create_table!(:c){Integer :c; Integer :f}
|
1702
|
-
@ds = @db.from(:a, :b).join(:c, {:c=>Sequel.identifier(:e)}, :qualify=>:symbol).where(:d=>:b, :f=>6)
|
1703
|
-
@db[:a].insert(1, 2)
|
1704
|
-
@db[:a].insert(3, 4)
|
1705
|
-
@db[:b].insert(2, 5)
|
1706
|
-
@db[:c].insert(5, 6)
|
1707
|
-
@db[:b].insert(4, 7)
|
1708
|
-
@db[:c].insert(7, 8)
|
1709
|
-
end
|
1710
|
-
after do
|
1711
|
-
@db.drop_table?(:a, :b, :c)
|
1712
|
-
end
|
1713
|
-
|
1714
|
-
it "#update should allow updating joined datasets" do
|
1715
|
-
@ds.update(:a=>10)
|
1716
|
-
@ds.all.should == [{:c=>5, :b=>2, :a=>10, :d=>2, :e=>5, :f=>6}]
|
1717
|
-
@db[:a].order(:a).all.should == [{:a=>3, :d=>4}, {:a=>10, :d=>2}]
|
1718
|
-
@db[:b].order(:b).all.should == [{:b=>2, :e=>5}, {:b=>4, :e=>7}]
|
1719
|
-
@db[:c].order(:c).all.should == [{:c=>5, :f=>6}, {:c=>7, :f=>8}]
|
1720
|
-
end
|
1721
|
-
|
1722
|
-
it "#delete should allow deleting from joined datasets" do
|
1723
|
-
@ds.delete
|
1724
|
-
@ds.all.should == []
|
1725
|
-
@db[:a].order(:a).all.should == [{:a=>3, :d=>4}]
|
1726
|
-
@db[:b].order(:b).all.should == [{:b=>2, :e=>5}, {:b=>4, :e=>7}]
|
1727
|
-
@db[:c].order(:c).all.should == [{:c=>5, :f=>6}, {:c=>7, :f=>8}]
|
1728
|
-
end
|
1729
|
-
end
|
1730
|
-
end
|
1731
|
-
|
1732
|
-
describe "Emulated functions" do
|
1733
|
-
before(:all) do
|
1734
|
-
@db = DB
|
1735
|
-
@db.create_table!(:a){String :a}
|
1736
|
-
@ds = @db[:a]
|
1737
|
-
end
|
1738
|
-
after(:all) do
|
1739
|
-
@db.drop_table?(:a)
|
1740
|
-
end
|
1741
|
-
after do
|
1742
|
-
@ds.delete
|
1743
|
-
end
|
1744
|
-
|
1745
|
-
specify "Sequel.char_length should return the length of characters in the string" do
|
1746
|
-
@ds.get(Sequel.char_length(:a)).should == nil
|
1747
|
-
@ds.insert(:a=>'foo')
|
1748
|
-
@ds.get(Sequel.char_length(:a)).should == 3
|
1749
|
-
# Check behavior with leading/trailing blanks
|
1750
|
-
@ds.update(:a=>' foo22 ')
|
1751
|
-
@ds.get(Sequel.char_length(:a)).should == 7
|
1752
|
-
end
|
1753
|
-
|
1754
|
-
specify "Sequel.trim should return the string with spaces trimmed from both sides" do
|
1755
|
-
@ds.get(Sequel.trim(:a)).should == nil
|
1756
|
-
@ds.insert(:a=>'foo')
|
1757
|
-
@ds.get(Sequel.trim(:a)).should == 'foo'
|
1758
|
-
# Check behavior with leading/trailing blanks
|
1759
|
-
@ds.update(:a=>' foo22 ')
|
1760
|
-
@ds.get(Sequel.trim(:a)).should == 'foo22'
|
1761
|
-
end
|
1762
|
-
end
|
1763
|
-
|
1764
|
-
describe "Dataset replace" do
|
1765
|
-
before do
|
1766
|
-
DB.create_table(:items){Integer :id, :unique=>true; Integer :value}
|
1767
|
-
sqls = []
|
1768
|
-
DB.loggers << Class.new{%w'info error'.each{|m| define_method(m){|sql| sqls << sql}}}.new
|
1769
|
-
|
1770
|
-
@d = DB[:items]
|
1771
|
-
sqls.clear
|
1772
|
-
end
|
1773
|
-
|
1774
|
-
after do
|
1775
|
-
DB.drop_table?(:items)
|
1776
|
-
end
|
1777
|
-
|
1778
|
-
specify "should use support arrays, datasets, and multiple values" do
|
1779
|
-
@d.replace([1, 2])
|
1780
|
-
@d.all.should == [{:id=>1, :value=>2}]
|
1781
|
-
@d.replace(1, 2)
|
1782
|
-
@d.all.should == [{:id=>1, :value=>2}]
|
1783
|
-
@d.replace(@d)
|
1784
|
-
@d.all.should == [{:id=>1, :value=>2}]
|
1785
|
-
end
|
1786
|
-
|
1787
|
-
specify "should create a record if the condition is not met" do
|
1788
|
-
@d.replace(:id => 111, :value => 333)
|
1789
|
-
@d.all.should == [{:id => 111, :value => 333}]
|
1790
|
-
end
|
1791
|
-
|
1792
|
-
specify "should update a record if the condition is met" do
|
1793
|
-
@d << {:id => 111}
|
1794
|
-
@d.all.should == [{:id => 111, :value => nil}]
|
1795
|
-
@d.replace(:id => 111, :value => 333)
|
1796
|
-
@d.all.should == [{:id => 111, :value => 333}]
|
1797
|
-
end
|
1798
|
-
end if DB.dataset.supports_replace?
|