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,36 +0,0 @@
|
|
1
|
-
#!/usr/local/bin/ruby -w
|
2
|
-
|
3
|
-
# shortcut_interface.rb
|
4
|
-
#
|
5
|
-
# Created by James Edward Gray II on 2006-04-01.
|
6
|
-
# Copyright 2012 Gray Productions. All rights reserved.
|
7
|
-
#
|
8
|
-
# Feature implementation and example code by Ara.T.Howard.
|
9
|
-
|
10
|
-
require "faster_csv"
|
11
|
-
|
12
|
-
#
|
13
|
-
# So now it's this easy to write to STDOUT.
|
14
|
-
#
|
15
|
-
FCSV { |f| f << %w( a b c) << %w( d e f ) }
|
16
|
-
|
17
|
-
#
|
18
|
-
# Writing to a String.
|
19
|
-
#
|
20
|
-
FCSV(csv = '') do |f|
|
21
|
-
f << %w( q r s )
|
22
|
-
f << %w( x y z )
|
23
|
-
end
|
24
|
-
puts csv
|
25
|
-
|
26
|
-
#
|
27
|
-
# Writing to STDERR.
|
28
|
-
#
|
29
|
-
FCSV(STDERR) do |f|
|
30
|
-
f << %w( 0 1 2 )
|
31
|
-
f << %w( A B C )
|
32
|
-
end
|
33
|
-
# >> a,b,c
|
34
|
-
# >> d,e,f
|
35
|
-
# >> q,r,s
|
36
|
-
# >> x,y,z
|
@@ -1,2025 +0,0 @@
|
|
1
|
-
#!/usr/local/bin/ruby -w
|
2
|
-
|
3
|
-
# = faster_csv.rb -- Faster CSV Reading and Writing
|
4
|
-
#
|
5
|
-
# Created by James Edward Gray II on 2005-10-31.
|
6
|
-
# Copyright 2005 Gray Productions. All rights reserved.
|
7
|
-
#
|
8
|
-
# See FasterCSV for documentation.
|
9
|
-
|
10
|
-
if RUBY_VERSION >= "1.9"
|
11
|
-
class FasterCSV
|
12
|
-
def self.const_missing(*_)
|
13
|
-
raise NotImplementedError, "Please switch to Ruby 1.9's standard CSV " +
|
14
|
-
"library. It's FasterCSV plus support for " +
|
15
|
-
"Ruby 1.9's m17n encoding engine."
|
16
|
-
end
|
17
|
-
|
18
|
-
def self.method_missing(*_)
|
19
|
-
const_missing
|
20
|
-
end
|
21
|
-
|
22
|
-
def method_missing(*_)
|
23
|
-
self.class.const_missing
|
24
|
-
end
|
25
|
-
end
|
26
|
-
else
|
27
|
-
require "forwardable"
|
28
|
-
require "English"
|
29
|
-
require "enumerator"
|
30
|
-
require "date"
|
31
|
-
require "stringio"
|
32
|
-
|
33
|
-
#
|
34
|
-
# This class provides a complete interface to CSV files and data. It offers
|
35
|
-
# tools to enable you to read and write to and from Strings or IO objects, as
|
36
|
-
# needed.
|
37
|
-
#
|
38
|
-
# == Reading
|
39
|
-
#
|
40
|
-
# === From a File
|
41
|
-
#
|
42
|
-
# ==== A Line at a Time
|
43
|
-
#
|
44
|
-
# FasterCSV.foreach("path/to/file.csv") do |row|
|
45
|
-
# # use row here...
|
46
|
-
# end
|
47
|
-
#
|
48
|
-
# ==== All at Once
|
49
|
-
#
|
50
|
-
# arr_of_arrs = FasterCSV.read("path/to/file.csv")
|
51
|
-
#
|
52
|
-
# === From a String
|
53
|
-
#
|
54
|
-
# ==== A Line at a Time
|
55
|
-
#
|
56
|
-
# FasterCSV.parse("CSV,data,String") do |row|
|
57
|
-
# # use row here...
|
58
|
-
# end
|
59
|
-
#
|
60
|
-
# ==== All at Once
|
61
|
-
#
|
62
|
-
# arr_of_arrs = FasterCSV.parse("CSV,data,String")
|
63
|
-
#
|
64
|
-
# == Writing
|
65
|
-
#
|
66
|
-
# === To a File
|
67
|
-
#
|
68
|
-
# FasterCSV.open("path/to/file.csv", "w") do |csv|
|
69
|
-
# csv << ["row", "of", "CSV", "data"]
|
70
|
-
# csv << ["another", "row"]
|
71
|
-
# # ...
|
72
|
-
# end
|
73
|
-
#
|
74
|
-
# === To a String
|
75
|
-
#
|
76
|
-
# csv_string = FasterCSV.generate do |csv|
|
77
|
-
# csv << ["row", "of", "CSV", "data"]
|
78
|
-
# csv << ["another", "row"]
|
79
|
-
# # ...
|
80
|
-
# end
|
81
|
-
#
|
82
|
-
# == Convert a Single Line
|
83
|
-
#
|
84
|
-
# csv_string = ["CSV", "data"].to_csv # to CSV
|
85
|
-
# csv_array = "CSV,String".parse_csv # from CSV
|
86
|
-
#
|
87
|
-
# == Shortcut Interface
|
88
|
-
#
|
89
|
-
# FCSV { |csv_out| csv_out << %w{my data here} } # to $stdout
|
90
|
-
# FCSV(csv = "") { |csv_str| csv_str << %w{my data here} } # to a String
|
91
|
-
# FCSV($stderr) { |csv_err| csv_err << %w{my data here} } # to $stderr
|
92
|
-
# FCSV($stdin) { |csv_in| csv_in.each { |row| p row } } # from $stdin
|
93
|
-
#
|
94
|
-
# == Advanced Usage
|
95
|
-
#
|
96
|
-
# === Wrap an IO Object
|
97
|
-
#
|
98
|
-
# csv = FCSV.new(io, options)
|
99
|
-
# # ... read (with gets() or each()) from and write (with <<) to csv here ...
|
100
|
-
#
|
101
|
-
class FasterCSV
|
102
|
-
# The version of the installed library.
|
103
|
-
VERSION = "1.5.5".freeze
|
104
|
-
|
105
|
-
#
|
106
|
-
# A FasterCSV::Row is part Array and part Hash. It retains an order for the
|
107
|
-
# fields and allows duplicates just as an Array would, but also allows you to
|
108
|
-
# access fields by name just as you could if they were in a Hash.
|
109
|
-
#
|
110
|
-
# All rows returned by FasterCSV will be constructed from this class, if
|
111
|
-
# header row processing is activated.
|
112
|
-
#
|
113
|
-
class Row
|
114
|
-
#
|
115
|
-
# Construct a new FasterCSV::Row from +headers+ and +fields+, which are
|
116
|
-
# expected to be Arrays. If one Array is shorter than the other, it will be
|
117
|
-
# padded with +nil+ objects.
|
118
|
-
#
|
119
|
-
# The optional +header_row+ parameter can be set to +true+ to indicate, via
|
120
|
-
# FasterCSV::Row.header_row?() and FasterCSV::Row.field_row?(), that this is
|
121
|
-
# a header row. Otherwise, the row is assumes to be a field row.
|
122
|
-
#
|
123
|
-
# A FasterCSV::Row object supports the following Array methods through
|
124
|
-
# delegation:
|
125
|
-
#
|
126
|
-
# * empty?()
|
127
|
-
# * length()
|
128
|
-
# * size()
|
129
|
-
#
|
130
|
-
def initialize(headers, fields, header_row = false)
|
131
|
-
@header_row = header_row
|
132
|
-
|
133
|
-
# handle extra headers or fields
|
134
|
-
@row = if headers.size > fields.size
|
135
|
-
headers.zip(fields)
|
136
|
-
else
|
137
|
-
fields.zip(headers).map { |pair| pair.reverse }
|
138
|
-
end
|
139
|
-
end
|
140
|
-
|
141
|
-
# Internal data format used to compare equality.
|
142
|
-
attr_reader :row
|
143
|
-
protected :row
|
144
|
-
|
145
|
-
### Array Delegation ###
|
146
|
-
|
147
|
-
extend Forwardable
|
148
|
-
def_delegators :@row, :empty?, :length, :size
|
149
|
-
|
150
|
-
# Returns +true+ if this is a header row.
|
151
|
-
def header_row?
|
152
|
-
@header_row
|
153
|
-
end
|
154
|
-
|
155
|
-
# Returns +true+ if this is a field row.
|
156
|
-
def field_row?
|
157
|
-
not header_row?
|
158
|
-
end
|
159
|
-
|
160
|
-
# Returns the headers of this row.
|
161
|
-
def headers
|
162
|
-
@row.map { |pair| pair.first }
|
163
|
-
end
|
164
|
-
|
165
|
-
#
|
166
|
-
# :call-seq:
|
167
|
-
# field( header )
|
168
|
-
# field( header, offset )
|
169
|
-
# field( index )
|
170
|
-
#
|
171
|
-
# This method will fetch the field value by +header+ or +index+. If a field
|
172
|
-
# is not found, +nil+ is returned.
|
173
|
-
#
|
174
|
-
# When provided, +offset+ ensures that a header match occurrs on or later
|
175
|
-
# than the +offset+ index. You can use this to find duplicate headers,
|
176
|
-
# without resorting to hard-coding exact indices.
|
177
|
-
#
|
178
|
-
def field(header_or_index, minimum_index = 0)
|
179
|
-
# locate the pair
|
180
|
-
finder = header_or_index.is_a?(Integer) ? :[] : :assoc
|
181
|
-
pair = @row[minimum_index..-1].send(finder, header_or_index)
|
182
|
-
|
183
|
-
# return the field if we have a pair
|
184
|
-
pair.nil? ? nil : pair.last
|
185
|
-
end
|
186
|
-
alias_method :[], :field
|
187
|
-
|
188
|
-
#
|
189
|
-
# :call-seq:
|
190
|
-
# []=( header, value )
|
191
|
-
# []=( header, offset, value )
|
192
|
-
# []=( index, value )
|
193
|
-
#
|
194
|
-
# Looks up the field by the semantics described in FasterCSV::Row.field()
|
195
|
-
# and assigns the +value+.
|
196
|
-
#
|
197
|
-
# Assigning past the end of the row with an index will set all pairs between
|
198
|
-
# to <tt>[nil, nil]</tt>. Assigning to an unused header appends the new
|
199
|
-
# pair.
|
200
|
-
#
|
201
|
-
def []=(*args)
|
202
|
-
value = args.pop
|
203
|
-
|
204
|
-
if args.first.is_a? Integer
|
205
|
-
if @row[args.first].nil? # extending past the end with index
|
206
|
-
@row[args.first] = [nil, value]
|
207
|
-
@row.map! { |pair| pair.nil? ? [nil, nil] : pair }
|
208
|
-
else # normal index assignment
|
209
|
-
@row[args.first][1] = value
|
210
|
-
end
|
211
|
-
else
|
212
|
-
index = index(*args)
|
213
|
-
if index.nil? # appending a field
|
214
|
-
self << [args.first, value]
|
215
|
-
else # normal header assignment
|
216
|
-
@row[index][1] = value
|
217
|
-
end
|
218
|
-
end
|
219
|
-
end
|
220
|
-
|
221
|
-
#
|
222
|
-
# :call-seq:
|
223
|
-
# <<( field )
|
224
|
-
# <<( header_and_field_array )
|
225
|
-
# <<( header_and_field_hash )
|
226
|
-
#
|
227
|
-
# If a two-element Array is provided, it is assumed to be a header and field
|
228
|
-
# and the pair is appended. A Hash works the same way with the key being
|
229
|
-
# the header and the value being the field. Anything else is assumed to be
|
230
|
-
# a lone field which is appended with a +nil+ header.
|
231
|
-
#
|
232
|
-
# This method returns the row for chaining.
|
233
|
-
#
|
234
|
-
def <<(arg)
|
235
|
-
if arg.is_a?(Array) and arg.size == 2 # appending a header and name
|
236
|
-
@row << arg
|
237
|
-
elsif arg.is_a?(Hash) # append header and name pairs
|
238
|
-
arg.each { |pair| @row << pair }
|
239
|
-
else # append field value
|
240
|
-
@row << [nil, arg]
|
241
|
-
end
|
242
|
-
|
243
|
-
self # for chaining
|
244
|
-
end
|
245
|
-
|
246
|
-
#
|
247
|
-
# A shortcut for appending multiple fields. Equivalent to:
|
248
|
-
#
|
249
|
-
# args.each { |arg| faster_csv_row << arg }
|
250
|
-
#
|
251
|
-
# This method returns the row for chaining.
|
252
|
-
#
|
253
|
-
def push(*args)
|
254
|
-
args.each { |arg| self << arg }
|
255
|
-
|
256
|
-
self # for chaining
|
257
|
-
end
|
258
|
-
|
259
|
-
#
|
260
|
-
# :call-seq:
|
261
|
-
# delete( header )
|
262
|
-
# delete( header, offset )
|
263
|
-
# delete( index )
|
264
|
-
#
|
265
|
-
# Used to remove a pair from the row by +header+ or +index+. The pair is
|
266
|
-
# located as described in FasterCSV::Row.field(). The deleted pair is
|
267
|
-
# returned, or +nil+ if a pair could not be found.
|
268
|
-
#
|
269
|
-
def delete(header_or_index, minimum_index = 0)
|
270
|
-
if header_or_index.is_a? Integer # by index
|
271
|
-
@row.delete_at(header_or_index)
|
272
|
-
elsif i = index(header_or_index, minimum_index) # by header
|
273
|
-
@row.delete_at(i)
|
274
|
-
else
|
275
|
-
[ ]
|
276
|
-
end
|
277
|
-
end
|
278
|
-
|
279
|
-
#
|
280
|
-
# The provided +block+ is passed a header and field for each pair in the row
|
281
|
-
# and expected to return +true+ or +false+, depending on whether the pair
|
282
|
-
# should be deleted.
|
283
|
-
#
|
284
|
-
# This method returns the row for chaining.
|
285
|
-
#
|
286
|
-
def delete_if(&block)
|
287
|
-
@row.delete_if(&block)
|
288
|
-
|
289
|
-
self # for chaining
|
290
|
-
end
|
291
|
-
|
292
|
-
#
|
293
|
-
# This method accepts any number of arguments which can be headers, indices,
|
294
|
-
# Ranges of either, or two-element Arrays containing a header and offset.
|
295
|
-
# Each argument will be replaced with a field lookup as described in
|
296
|
-
# FasterCSV::Row.field().
|
297
|
-
#
|
298
|
-
# If called with no arguments, all fields are returned.
|
299
|
-
#
|
300
|
-
def fields(*headers_and_or_indices)
|
301
|
-
if headers_and_or_indices.empty? # return all fields--no arguments
|
302
|
-
@row.map { |pair| pair.last }
|
303
|
-
else # or work like values_at()
|
304
|
-
headers_and_or_indices.inject(Array.new) do |all, h_or_i|
|
305
|
-
all + if h_or_i.is_a? Range
|
306
|
-
index_begin = h_or_i.begin.is_a?(Integer) ? h_or_i.begin :
|
307
|
-
index(h_or_i.begin)
|
308
|
-
index_end = h_or_i.end.is_a?(Integer) ? h_or_i.end :
|
309
|
-
index(h_or_i.end)
|
310
|
-
new_range = h_or_i.exclude_end? ? (index_begin...index_end) :
|
311
|
-
(index_begin..index_end)
|
312
|
-
fields.values_at(new_range)
|
313
|
-
else
|
314
|
-
[field(*Array(h_or_i))]
|
315
|
-
end
|
316
|
-
end
|
317
|
-
end
|
318
|
-
end
|
319
|
-
alias_method :values_at, :fields
|
320
|
-
|
321
|
-
#
|
322
|
-
# :call-seq:
|
323
|
-
# index( header )
|
324
|
-
# index( header, offset )
|
325
|
-
#
|
326
|
-
# This method will return the index of a field with the provided +header+.
|
327
|
-
# The +offset+ can be used to locate duplicate header names, as described in
|
328
|
-
# FasterCSV::Row.field().
|
329
|
-
#
|
330
|
-
def index(header, minimum_index = 0)
|
331
|
-
# find the pair
|
332
|
-
index = headers[minimum_index..-1].index(header)
|
333
|
-
# return the index at the right offset, if we found one
|
334
|
-
index.nil? ? nil : index + minimum_index
|
335
|
-
end
|
336
|
-
|
337
|
-
# Returns +true+ if +name+ is a header for this row, and +false+ otherwise.
|
338
|
-
def header?(name)
|
339
|
-
headers.include? name
|
340
|
-
end
|
341
|
-
alias_method :include?, :header?
|
342
|
-
|
343
|
-
#
|
344
|
-
# Returns +true+ if +data+ matches a field in this row, and +false+
|
345
|
-
# otherwise.
|
346
|
-
#
|
347
|
-
def field?(data)
|
348
|
-
fields.include? data
|
349
|
-
end
|
350
|
-
|
351
|
-
include Enumerable
|
352
|
-
|
353
|
-
#
|
354
|
-
# Yields each pair of the row as header and field tuples (much like
|
355
|
-
# iterating over a Hash).
|
356
|
-
#
|
357
|
-
# Support for Enumerable.
|
358
|
-
#
|
359
|
-
# This method returns the row for chaining.
|
360
|
-
#
|
361
|
-
def each(&block)
|
362
|
-
@row.each(&block)
|
363
|
-
|
364
|
-
self # for chaining
|
365
|
-
end
|
366
|
-
|
367
|
-
#
|
368
|
-
# Returns +true+ if this row contains the same headers and fields in the
|
369
|
-
# same order as +other+.
|
370
|
-
#
|
371
|
-
def ==(other)
|
372
|
-
@row == other.row
|
373
|
-
end
|
374
|
-
|
375
|
-
#
|
376
|
-
# Collapses the row into a simple Hash. Be warning that this discards field
|
377
|
-
# order and clobbers duplicate fields.
|
378
|
-
#
|
379
|
-
def to_hash
|
380
|
-
# flatten just one level of the internal Array
|
381
|
-
Hash[*@row.inject(Array.new) { |ary, pair| ary.push(*pair) }]
|
382
|
-
end
|
383
|
-
|
384
|
-
#
|
385
|
-
# Returns the row as a CSV String. Headers are not used. Equivalent to:
|
386
|
-
#
|
387
|
-
# faster_csv_row.fields.to_csv( options )
|
388
|
-
#
|
389
|
-
def to_csv(options = Hash.new)
|
390
|
-
fields.to_csv(options)
|
391
|
-
end
|
392
|
-
alias_method :to_s, :to_csv
|
393
|
-
|
394
|
-
# A summary of fields, by header.
|
395
|
-
def inspect
|
396
|
-
str = "#<#{self.class}"
|
397
|
-
each do |header, field|
|
398
|
-
str << " #{header.is_a?(Symbol) ? header.to_s : header.inspect}:" <<
|
399
|
-
field.inspect
|
400
|
-
end
|
401
|
-
str << ">"
|
402
|
-
end
|
403
|
-
end
|
404
|
-
|
405
|
-
#
|
406
|
-
# A FasterCSV::Table is a two-dimensional data structure for representing CSV
|
407
|
-
# documents. Tables allow you to work with the data by row or column,
|
408
|
-
# manipulate the data, and even convert the results back to CSV, if needed.
|
409
|
-
#
|
410
|
-
# All tables returned by FasterCSV will be constructed from this class, if
|
411
|
-
# header row processing is activated.
|
412
|
-
#
|
413
|
-
class Table
|
414
|
-
#
|
415
|
-
# Construct a new FasterCSV::Table from +array_of_rows+, which are expected
|
416
|
-
# to be FasterCSV::Row objects. All rows are assumed to have the same
|
417
|
-
# headers.
|
418
|
-
#
|
419
|
-
# A FasterCSV::Table object supports the following Array methods through
|
420
|
-
# delegation:
|
421
|
-
#
|
422
|
-
# * empty?()
|
423
|
-
# * length()
|
424
|
-
# * size()
|
425
|
-
#
|
426
|
-
def initialize(array_of_rows)
|
427
|
-
@table = array_of_rows
|
428
|
-
@mode = :col_or_row
|
429
|
-
end
|
430
|
-
|
431
|
-
# The current access mode for indexing and iteration.
|
432
|
-
attr_reader :mode
|
433
|
-
|
434
|
-
# Internal data format used to compare equality.
|
435
|
-
attr_reader :table
|
436
|
-
protected :table
|
437
|
-
|
438
|
-
### Array Delegation ###
|
439
|
-
|
440
|
-
extend Forwardable
|
441
|
-
def_delegators :@table, :empty?, :length, :size
|
442
|
-
|
443
|
-
#
|
444
|
-
# Returns a duplicate table object, in column mode. This is handy for
|
445
|
-
# chaining in a single call without changing the table mode, but be aware
|
446
|
-
# that this method can consume a fair amount of memory for bigger data sets.
|
447
|
-
#
|
448
|
-
# This method returns the duplicate table for chaining. Don't chain
|
449
|
-
# destructive methods (like []=()) this way though, since you are working
|
450
|
-
# with a duplicate.
|
451
|
-
#
|
452
|
-
def by_col
|
453
|
-
self.class.new(@table.dup).by_col!
|
454
|
-
end
|
455
|
-
|
456
|
-
#
|
457
|
-
# Switches the mode of this table to column mode. All calls to indexing and
|
458
|
-
# iteration methods will work with columns until the mode is changed again.
|
459
|
-
#
|
460
|
-
# This method returns the table and is safe to chain.
|
461
|
-
#
|
462
|
-
def by_col!
|
463
|
-
@mode = :col
|
464
|
-
|
465
|
-
self
|
466
|
-
end
|
467
|
-
|
468
|
-
#
|
469
|
-
# Returns a duplicate table object, in mixed mode. This is handy for
|
470
|
-
# chaining in a single call without changing the table mode, but be aware
|
471
|
-
# that this method can consume a fair amount of memory for bigger data sets.
|
472
|
-
#
|
473
|
-
# This method returns the duplicate table for chaining. Don't chain
|
474
|
-
# destructive methods (like []=()) this way though, since you are working
|
475
|
-
# with a duplicate.
|
476
|
-
#
|
477
|
-
def by_col_or_row
|
478
|
-
self.class.new(@table.dup).by_col_or_row!
|
479
|
-
end
|
480
|
-
|
481
|
-
#
|
482
|
-
# Switches the mode of this table to mixed mode. All calls to indexing and
|
483
|
-
# iteration methods will use the default intelligent indexing system until
|
484
|
-
# the mode is changed again. In mixed mode an index is assumed to be a row
|
485
|
-
# reference while anything else is assumed to be column access by headers.
|
486
|
-
#
|
487
|
-
# This method returns the table and is safe to chain.
|
488
|
-
#
|
489
|
-
def by_col_or_row!
|
490
|
-
@mode = :col_or_row
|
491
|
-
|
492
|
-
self
|
493
|
-
end
|
494
|
-
|
495
|
-
#
|
496
|
-
# Returns a duplicate table object, in row mode. This is handy for chaining
|
497
|
-
# in a single call without changing the table mode, but be aware that this
|
498
|
-
# method can consume a fair amount of memory for bigger data sets.
|
499
|
-
#
|
500
|
-
# This method returns the duplicate table for chaining. Don't chain
|
501
|
-
# destructive methods (like []=()) this way though, since you are working
|
502
|
-
# with a duplicate.
|
503
|
-
#
|
504
|
-
def by_row
|
505
|
-
self.class.new(@table.dup).by_row!
|
506
|
-
end
|
507
|
-
|
508
|
-
#
|
509
|
-
# Switches the mode of this table to row mode. All calls to indexing and
|
510
|
-
# iteration methods will work with rows until the mode is changed again.
|
511
|
-
#
|
512
|
-
# This method returns the table and is safe to chain.
|
513
|
-
#
|
514
|
-
def by_row!
|
515
|
-
@mode = :row
|
516
|
-
|
517
|
-
self
|
518
|
-
end
|
519
|
-
|
520
|
-
#
|
521
|
-
# Returns the headers for the first row of this table (assumed to match all
|
522
|
-
# other rows). An empty Array is returned for empty tables.
|
523
|
-
#
|
524
|
-
def headers
|
525
|
-
if @table.empty?
|
526
|
-
Array.new
|
527
|
-
else
|
528
|
-
@table.first.headers
|
529
|
-
end
|
530
|
-
end
|
531
|
-
|
532
|
-
#
|
533
|
-
# In the default mixed mode, this method returns rows for index access and
|
534
|
-
# columns for header access. You can force the index association by first
|
535
|
-
# calling by_col!() or by_row!().
|
536
|
-
#
|
537
|
-
# Columns are returned as an Array of values. Altering that Array has no
|
538
|
-
# effect on the table.
|
539
|
-
#
|
540
|
-
def [](index_or_header)
|
541
|
-
if @mode == :row or # by index
|
542
|
-
(@mode == :col_or_row and index_or_header.is_a? Integer)
|
543
|
-
@table[index_or_header]
|
544
|
-
else # by header
|
545
|
-
@table.map { |row| row[index_or_header] }
|
546
|
-
end
|
547
|
-
end
|
548
|
-
|
549
|
-
#
|
550
|
-
# In the default mixed mode, this method assigns rows for index access and
|
551
|
-
# columns for header access. You can force the index association by first
|
552
|
-
# calling by_col!() or by_row!().
|
553
|
-
#
|
554
|
-
# Rows may be set to an Array of values (which will inherit the table's
|
555
|
-
# headers()) or a FasterCSV::Row.
|
556
|
-
#
|
557
|
-
# Columns may be set to a single value, which is copied to each row of the
|
558
|
-
# column, or an Array of values. Arrays of values are assigned to rows top
|
559
|
-
# to bottom in row major order. Excess values are ignored and if the Array
|
560
|
-
# does not have a value for each row the extra rows will receive a +nil+.
|
561
|
-
#
|
562
|
-
# Assigning to an existing column or row clobbers the data. Assigning to
|
563
|
-
# new columns creates them at the right end of the table.
|
564
|
-
#
|
565
|
-
def []=(index_or_header, value)
|
566
|
-
if @mode == :row or # by index
|
567
|
-
(@mode == :col_or_row and index_or_header.is_a? Integer)
|
568
|
-
if value.is_a? Array
|
569
|
-
@table[index_or_header] = Row.new(headers, value)
|
570
|
-
else
|
571
|
-
@table[index_or_header] = value
|
572
|
-
end
|
573
|
-
else # set column
|
574
|
-
if value.is_a? Array # multiple values
|
575
|
-
@table.each_with_index do |row, i|
|
576
|
-
if row.header_row?
|
577
|
-
row[index_or_header] = index_or_header
|
578
|
-
else
|
579
|
-
row[index_or_header] = value[i]
|
580
|
-
end
|
581
|
-
end
|
582
|
-
else # repeated value
|
583
|
-
@table.each do |row|
|
584
|
-
if row.header_row?
|
585
|
-
row[index_or_header] = index_or_header
|
586
|
-
else
|
587
|
-
row[index_or_header] = value
|
588
|
-
end
|
589
|
-
end
|
590
|
-
end
|
591
|
-
end
|
592
|
-
end
|
593
|
-
|
594
|
-
#
|
595
|
-
# The mixed mode default is to treat a list of indices as row access,
|
596
|
-
# returning the rows indicated. Anything else is considered columnar
|
597
|
-
# access. For columnar access, the return set has an Array for each row
|
598
|
-
# with the values indicated by the headers in each Array. You can force
|
599
|
-
# column or row mode using by_col!() or by_row!().
|
600
|
-
#
|
601
|
-
# You cannot mix column and row access.
|
602
|
-
#
|
603
|
-
def values_at(*indices_or_headers)
|
604
|
-
if @mode == :row or # by indices
|
605
|
-
( @mode == :col_or_row and indices_or_headers.all? do |index|
|
606
|
-
index.is_a?(Integer) or
|
607
|
-
( index.is_a?(Range) and
|
608
|
-
index.first.is_a?(Integer) and
|
609
|
-
index.last.is_a?(Integer) )
|
610
|
-
end )
|
611
|
-
@table.values_at(*indices_or_headers)
|
612
|
-
else # by headers
|
613
|
-
@table.map { |row| row.values_at(*indices_or_headers) }
|
614
|
-
end
|
615
|
-
end
|
616
|
-
|
617
|
-
#
|
618
|
-
# Adds a new row to the bottom end of this table. You can provide an Array,
|
619
|
-
# which will be converted to a FasterCSV::Row (inheriting the table's
|
620
|
-
# headers()), or a FasterCSV::Row.
|
621
|
-
#
|
622
|
-
# This method returns the table for chaining.
|
623
|
-
#
|
624
|
-
def <<(row_or_array)
|
625
|
-
if row_or_array.is_a? Array # append Array
|
626
|
-
@table << Row.new(headers, row_or_array)
|
627
|
-
else # append Row
|
628
|
-
@table << row_or_array
|
629
|
-
end
|
630
|
-
|
631
|
-
self # for chaining
|
632
|
-
end
|
633
|
-
|
634
|
-
#
|
635
|
-
# A shortcut for appending multiple rows. Equivalent to:
|
636
|
-
#
|
637
|
-
# rows.each { |row| self << row }
|
638
|
-
#
|
639
|
-
# This method returns the table for chaining.
|
640
|
-
#
|
641
|
-
def push(*rows)
|
642
|
-
rows.each { |row| self << row }
|
643
|
-
|
644
|
-
self # for chaining
|
645
|
-
end
|
646
|
-
|
647
|
-
#
|
648
|
-
# Removes and returns the indicated column or row. In the default mixed
|
649
|
-
# mode indices refer to rows and everything else is assumed to be a column
|
650
|
-
# header. Use by_col!() or by_row!() to force the lookup.
|
651
|
-
#
|
652
|
-
def delete(index_or_header)
|
653
|
-
if @mode == :row or # by index
|
654
|
-
(@mode == :col_or_row and index_or_header.is_a? Integer)
|
655
|
-
@table.delete_at(index_or_header)
|
656
|
-
else # by header
|
657
|
-
@table.map { |row| row.delete(index_or_header).last }
|
658
|
-
end
|
659
|
-
end
|
660
|
-
|
661
|
-
#
|
662
|
-
# Removes any column or row for which the block returns +true+. In the
|
663
|
-
# default mixed mode or row mode, iteration is the standard row major
|
664
|
-
# walking of rows. In column mode, interation will +yield+ two element
|
665
|
-
# tuples containing the column name and an Array of values for that column.
|
666
|
-
#
|
667
|
-
# This method returns the table for chaining.
|
668
|
-
#
|
669
|
-
def delete_if(&block)
|
670
|
-
if @mode == :row or @mode == :col_or_row # by index
|
671
|
-
@table.delete_if(&block)
|
672
|
-
else # by header
|
673
|
-
to_delete = Array.new
|
674
|
-
headers.each_with_index do |header, i|
|
675
|
-
to_delete << header if block[[header, self[header]]]
|
676
|
-
end
|
677
|
-
to_delete.map { |header| delete(header) }
|
678
|
-
end
|
679
|
-
|
680
|
-
self # for chaining
|
681
|
-
end
|
682
|
-
|
683
|
-
include Enumerable
|
684
|
-
|
685
|
-
#
|
686
|
-
# In the default mixed mode or row mode, iteration is the standard row major
|
687
|
-
# walking of rows. In column mode, interation will +yield+ two element
|
688
|
-
# tuples containing the column name and an Array of values for that column.
|
689
|
-
#
|
690
|
-
# This method returns the table for chaining.
|
691
|
-
#
|
692
|
-
def each(&block)
|
693
|
-
if @mode == :col
|
694
|
-
headers.each { |header| block[[header, self[header]]] }
|
695
|
-
else
|
696
|
-
@table.each(&block)
|
697
|
-
end
|
698
|
-
|
699
|
-
self # for chaining
|
700
|
-
end
|
701
|
-
|
702
|
-
# Returns +true+ if all rows of this table ==() +other+'s rows.
|
703
|
-
def ==(other)
|
704
|
-
@table == other.table
|
705
|
-
end
|
706
|
-
|
707
|
-
#
|
708
|
-
# Returns the table as an Array of Arrays. Headers will be the first row,
|
709
|
-
# then all of the field rows will follow.
|
710
|
-
#
|
711
|
-
def to_a
|
712
|
-
@table.inject([headers]) do |array, row|
|
713
|
-
if row.header_row?
|
714
|
-
array
|
715
|
-
else
|
716
|
-
array + [row.fields]
|
717
|
-
end
|
718
|
-
end
|
719
|
-
end
|
720
|
-
|
721
|
-
#
|
722
|
-
# Returns the table as a complete CSV String. Headers will be listed first,
|
723
|
-
# then all of the field rows.
|
724
|
-
#
|
725
|
-
# This method assumes you want the Table.headers(), unless you explicitly
|
726
|
-
# pass <tt>:write_headers => false</tt>.
|
727
|
-
#
|
728
|
-
def to_csv(options = Hash.new)
|
729
|
-
wh = options.fetch(:write_headers, true)
|
730
|
-
@table.inject(wh ? [headers.to_csv(options)] : [ ]) do |rows, row|
|
731
|
-
if row.header_row?
|
732
|
-
rows
|
733
|
-
else
|
734
|
-
rows + [row.fields.to_csv(options)]
|
735
|
-
end
|
736
|
-
end.join
|
737
|
-
end
|
738
|
-
alias_method :to_s, :to_csv
|
739
|
-
|
740
|
-
def inspect
|
741
|
-
"#<#{self.class} mode:#{@mode} row_count:#{to_a.size}>"
|
742
|
-
end
|
743
|
-
end
|
744
|
-
|
745
|
-
# The error thrown when the parser encounters illegal CSV formatting.
|
746
|
-
class MalformedCSVError < RuntimeError; end
|
747
|
-
|
748
|
-
#
|
749
|
-
# A FieldInfo Struct contains details about a field's position in the data
|
750
|
-
# source it was read from. FasterCSV will pass this Struct to some blocks
|
751
|
-
# that make decisions based on field structure. See
|
752
|
-
# FasterCSV.convert_fields() for an example.
|
753
|
-
#
|
754
|
-
# <b><tt>index</tt></b>:: The zero-based index of the field in its row.
|
755
|
-
# <b><tt>line</tt></b>:: The line of the data source this row is from.
|
756
|
-
# <b><tt>header</tt></b>:: The header for the column, when available.
|
757
|
-
#
|
758
|
-
FieldInfo = Struct.new(:index, :line, :header)
|
759
|
-
|
760
|
-
# A Regexp used to find and convert some common Date formats.
|
761
|
-
DateMatcher = / \A(?: (\w+,?\s+)?\w+\s+\d{1,2},?\s+\d{2,4} |
|
762
|
-
\d{4}-\d{2}-\d{2} )\z /x
|
763
|
-
# A Regexp used to find and convert some common DateTime formats.
|
764
|
-
DateTimeMatcher =
|
765
|
-
/ \A(?: (\w+,?\s+)?\w+\s+\d{1,2}\s+\d{1,2}:\d{1,2}:\d{1,2},?\s+\d{2,4} |
|
766
|
-
\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2} )\z /x
|
767
|
-
#
|
768
|
-
# This Hash holds the built-in converters of FasterCSV that can be accessed by
|
769
|
-
# name. You can select Converters with FasterCSV.convert() or through the
|
770
|
-
# +options+ Hash passed to FasterCSV::new().
|
771
|
-
#
|
772
|
-
# <b><tt>:integer</tt></b>:: Converts any field Integer() accepts.
|
773
|
-
# <b><tt>:float</tt></b>:: Converts any field Float() accepts.
|
774
|
-
# <b><tt>:numeric</tt></b>:: A combination of <tt>:integer</tt>
|
775
|
-
# and <tt>:float</tt>.
|
776
|
-
# <b><tt>:date</tt></b>:: Converts any field Date::parse() accepts.
|
777
|
-
# <b><tt>:date_time</tt></b>:: Converts any field DateTime::parse() accepts.
|
778
|
-
# <b><tt>:all</tt></b>:: All built-in converters. A combination of
|
779
|
-
# <tt>:date_time</tt> and <tt>:numeric</tt>.
|
780
|
-
#
|
781
|
-
# This Hash is intetionally left unfrozen and users should feel free to add
|
782
|
-
# values to it that can be accessed by all FasterCSV objects.
|
783
|
-
#
|
784
|
-
# To add a combo field, the value should be an Array of names. Combo fields
|
785
|
-
# can be nested with other combo fields.
|
786
|
-
#
|
787
|
-
Converters = { :integer => lambda { |f| Integer(f) rescue f },
|
788
|
-
:float => lambda { |f| Float(f) rescue f },
|
789
|
-
:numeric => [:integer, :float],
|
790
|
-
:date => lambda { |f|
|
791
|
-
f =~ DateMatcher ? (Date.parse(f) rescue f) : f
|
792
|
-
},
|
793
|
-
:date_time => lambda { |f|
|
794
|
-
f =~ DateTimeMatcher ? (DateTime.parse(f) rescue f) : f
|
795
|
-
},
|
796
|
-
:all => [:date_time, :numeric] }
|
797
|
-
|
798
|
-
#
|
799
|
-
# This Hash holds the built-in header converters of FasterCSV that can be
|
800
|
-
# accessed by name. You can select HeaderConverters with
|
801
|
-
# FasterCSV.header_convert() or through the +options+ Hash passed to
|
802
|
-
# FasterCSV::new().
|
803
|
-
#
|
804
|
-
# <b><tt>:downcase</tt></b>:: Calls downcase() on the header String.
|
805
|
-
# <b><tt>:symbol</tt></b>:: The header String is downcased, spaces are
|
806
|
-
# replaced with underscores, non-word characters
|
807
|
-
# are dropped, and finally to_sym() is called.
|
808
|
-
#
|
809
|
-
# This Hash is intetionally left unfrozen and users should feel free to add
|
810
|
-
# values to it that can be accessed by all FasterCSV objects.
|
811
|
-
#
|
812
|
-
# To add a combo field, the value should be an Array of names. Combo fields
|
813
|
-
# can be nested with other combo fields.
|
814
|
-
#
|
815
|
-
HeaderConverters = {
|
816
|
-
:downcase => lambda { |h| h.downcase },
|
817
|
-
:symbol => lambda { |h|
|
818
|
-
h.downcase.tr(" ", "_").delete("^a-z0-9_").to_sym
|
819
|
-
}
|
820
|
-
}
|
821
|
-
|
822
|
-
#
|
823
|
-
# The options used when no overrides are given by calling code. They are:
|
824
|
-
#
|
825
|
-
# <b><tt>:col_sep</tt></b>:: <tt>","</tt>
|
826
|
-
# <b><tt>:row_sep</tt></b>:: <tt>:auto</tt>
|
827
|
-
# <b><tt>:quote_char</tt></b>:: <tt>'"'</tt>
|
828
|
-
# <b><tt>:converters</tt></b>:: +nil+
|
829
|
-
# <b><tt>:unconverted_fields</tt></b>:: +nil+
|
830
|
-
# <b><tt>:headers</tt></b>:: +false+
|
831
|
-
# <b><tt>:return_headers</tt></b>:: +false+
|
832
|
-
# <b><tt>:header_converters</tt></b>:: +nil+
|
833
|
-
# <b><tt>:skip_blanks</tt></b>:: +false+
|
834
|
-
# <b><tt>:force_quotes</tt></b>:: +false+
|
835
|
-
#
|
836
|
-
DEFAULT_OPTIONS = { :col_sep => ",",
|
837
|
-
:row_sep => :auto,
|
838
|
-
:quote_char => '"',
|
839
|
-
:converters => nil,
|
840
|
-
:unconverted_fields => nil,
|
841
|
-
:headers => false,
|
842
|
-
:return_headers => false,
|
843
|
-
:header_converters => nil,
|
844
|
-
:skip_blanks => false,
|
845
|
-
:force_quotes => false }.freeze
|
846
|
-
|
847
|
-
#
|
848
|
-
# This method will build a drop-in replacement for many of the standard CSV
|
849
|
-
# methods. It allows you to write code like:
|
850
|
-
#
|
851
|
-
# begin
|
852
|
-
# require "faster_csv"
|
853
|
-
# FasterCSV.build_csv_interface
|
854
|
-
# rescue LoadError
|
855
|
-
# require "csv"
|
856
|
-
# end
|
857
|
-
# # ... use CSV here ...
|
858
|
-
#
|
859
|
-
# This is not a complete interface with completely identical behavior.
|
860
|
-
# However, it is intended to be close enough that you won't notice the
|
861
|
-
# difference in most cases. CSV methods supported are:
|
862
|
-
#
|
863
|
-
# * foreach()
|
864
|
-
# * generate_line()
|
865
|
-
# * open()
|
866
|
-
# * parse()
|
867
|
-
# * parse_line()
|
868
|
-
# * readlines()
|
869
|
-
#
|
870
|
-
# Be warned that this interface is slower than vanilla FasterCSV due to the
|
871
|
-
# extra layer of method calls. Depending on usage, this can slow it down to
|
872
|
-
# near CSV speeds.
|
873
|
-
#
|
874
|
-
def self.build_csv_interface
|
875
|
-
Object.const_set(:CSV, Class.new).class_eval do
|
876
|
-
def self.foreach(path, rs = :auto, &block) # :nodoc:
|
877
|
-
FasterCSV.foreach(path, :row_sep => rs, &block)
|
878
|
-
end
|
879
|
-
|
880
|
-
def self.generate_line(row, fs = ",", rs = "") # :nodoc:
|
881
|
-
FasterCSV.generate_line(row, :col_sep => fs, :row_sep => rs)
|
882
|
-
end
|
883
|
-
|
884
|
-
def self.open(path, mode, fs = ",", rs = :auto, &block) # :nodoc:
|
885
|
-
if block and mode.include? "r"
|
886
|
-
FasterCSV.open(path, mode, :col_sep => fs, :row_sep => rs) do |csv|
|
887
|
-
csv.each(&block)
|
888
|
-
end
|
889
|
-
else
|
890
|
-
FasterCSV.open(path, mode, :col_sep => fs, :row_sep => rs, &block)
|
891
|
-
end
|
892
|
-
end
|
893
|
-
|
894
|
-
def self.parse(str_or_readable, fs = ",", rs = :auto, &block) # :nodoc:
|
895
|
-
FasterCSV.parse(str_or_readable, :col_sep => fs, :row_sep => rs, &block)
|
896
|
-
end
|
897
|
-
|
898
|
-
def self.parse_line(src, fs = ",", rs = :auto) # :nodoc:
|
899
|
-
FasterCSV.parse_line(src, :col_sep => fs, :row_sep => rs)
|
900
|
-
end
|
901
|
-
|
902
|
-
def self.readlines(path, rs = :auto) # :nodoc:
|
903
|
-
FasterCSV.readlines(path, :row_sep => rs)
|
904
|
-
end
|
905
|
-
end
|
906
|
-
end
|
907
|
-
|
908
|
-
#
|
909
|
-
# This method allows you to serialize an Array of Ruby objects to a String or
|
910
|
-
# File of CSV data. This is not as powerful as Marshal or YAML, but perhaps
|
911
|
-
# useful for spreadsheet and database interaction.
|
912
|
-
#
|
913
|
-
# Out of the box, this method is intended to work with simple data objects or
|
914
|
-
# Structs. It will serialize a list of instance variables and/or
|
915
|
-
# Struct.members().
|
916
|
-
#
|
917
|
-
# If you need need more complicated serialization, you can control the process
|
918
|
-
# by adding methods to the class to be serialized.
|
919
|
-
#
|
920
|
-
# A class method csv_meta() is responsible for returning the first row of the
|
921
|
-
# document (as an Array). This row is considered to be a Hash of the form
|
922
|
-
# key_1,value_1,key_2,value_2,... FasterCSV::load() expects to find a class
|
923
|
-
# key with a value of the stringified class name and FasterCSV::dump() will
|
924
|
-
# create this, if you do not define this method. This method is only called
|
925
|
-
# on the first object of the Array.
|
926
|
-
#
|
927
|
-
# The next method you can provide is an instance method called csv_headers().
|
928
|
-
# This method is expected to return the second line of the document (again as
|
929
|
-
# an Array), which is to be used to give each column a header. By default,
|
930
|
-
# FasterCSV::load() will set an instance variable if the field header starts
|
931
|
-
# with an @ character or call send() passing the header as the method name and
|
932
|
-
# the field value as an argument. This method is only called on the first
|
933
|
-
# object of the Array.
|
934
|
-
#
|
935
|
-
# Finally, you can provide an instance method called csv_dump(), which will
|
936
|
-
# be passed the headers. This should return an Array of fields that can be
|
937
|
-
# serialized for this object. This method is called once for every object in
|
938
|
-
# the Array.
|
939
|
-
#
|
940
|
-
# The +io+ parameter can be used to serialize to a File, and +options+ can be
|
941
|
-
# anything FasterCSV::new() accepts.
|
942
|
-
#
|
943
|
-
def self.dump(ary_of_objs, io = "", options = Hash.new)
|
944
|
-
obj_template = ary_of_objs.first
|
945
|
-
|
946
|
-
csv = FasterCSV.new(io, options)
|
947
|
-
|
948
|
-
# write meta information
|
949
|
-
begin
|
950
|
-
csv << obj_template.class.csv_meta
|
951
|
-
rescue NoMethodError
|
952
|
-
csv << [:class, obj_template.class]
|
953
|
-
end
|
954
|
-
|
955
|
-
# write headers
|
956
|
-
begin
|
957
|
-
headers = obj_template.csv_headers
|
958
|
-
rescue NoMethodError
|
959
|
-
headers = obj_template.instance_variables.sort
|
960
|
-
if obj_template.class.ancestors.find { |cls| cls.to_s =~ /\AStruct\b/ }
|
961
|
-
headers += obj_template.members.map { |mem| "#{mem}=" }.sort
|
962
|
-
end
|
963
|
-
end
|
964
|
-
csv << headers
|
965
|
-
|
966
|
-
# serialize each object
|
967
|
-
ary_of_objs.each do |obj|
|
968
|
-
begin
|
969
|
-
csv << obj.csv_dump(headers)
|
970
|
-
rescue NoMethodError
|
971
|
-
csv << headers.map do |var|
|
972
|
-
if var[0] == ?@
|
973
|
-
obj.instance_variable_get(var)
|
974
|
-
else
|
975
|
-
obj[var[0..-2]]
|
976
|
-
end
|
977
|
-
end
|
978
|
-
end
|
979
|
-
end
|
980
|
-
|
981
|
-
if io.is_a? String
|
982
|
-
csv.string
|
983
|
-
else
|
984
|
-
csv.close
|
985
|
-
end
|
986
|
-
end
|
987
|
-
|
988
|
-
#
|
989
|
-
# :call-seq:
|
990
|
-
# filter( options = Hash.new ) { |row| ... }
|
991
|
-
# filter( input, options = Hash.new ) { |row| ... }
|
992
|
-
# filter( input, output, options = Hash.new ) { |row| ... }
|
993
|
-
#
|
994
|
-
# This method is a convenience for building Unix-like filters for CSV data.
|
995
|
-
# Each row is yielded to the provided block which can alter it as needed.
|
996
|
-
# After the block returns, the row is appended to +output+ altered or not.
|
997
|
-
#
|
998
|
-
# The +input+ and +output+ arguments can be anything FasterCSV::new() accepts
|
999
|
-
# (generally String or IO objects). If not given, they default to
|
1000
|
-
# <tt>ARGF</tt> and <tt>$stdout</tt>.
|
1001
|
-
#
|
1002
|
-
# The +options+ parameter is also filtered down to FasterCSV::new() after some
|
1003
|
-
# clever key parsing. Any key beginning with <tt>:in_</tt> or
|
1004
|
-
# <tt>:input_</tt> will have that leading identifier stripped and will only
|
1005
|
-
# be used in the +options+ Hash for the +input+ object. Keys starting with
|
1006
|
-
# <tt>:out_</tt> or <tt>:output_</tt> affect only +output+. All other keys
|
1007
|
-
# are assigned to both objects.
|
1008
|
-
#
|
1009
|
-
# The <tt>:output_row_sep</tt> +option+ defaults to
|
1010
|
-
# <tt>$INPUT_RECORD_SEPARATOR</tt> (<tt>$/</tt>).
|
1011
|
-
#
|
1012
|
-
def self.filter(*args)
|
1013
|
-
# parse options for input, output, or both
|
1014
|
-
in_options, out_options = Hash.new, {:row_sep => $INPUT_RECORD_SEPARATOR}
|
1015
|
-
if args.last.is_a? Hash
|
1016
|
-
args.pop.each do |key, value|
|
1017
|
-
case key.to_s
|
1018
|
-
when /\Ain(?:put)?_(.+)\Z/
|
1019
|
-
in_options[$1.to_sym] = value
|
1020
|
-
when /\Aout(?:put)?_(.+)\Z/
|
1021
|
-
out_options[$1.to_sym] = value
|
1022
|
-
else
|
1023
|
-
in_options[key] = value
|
1024
|
-
out_options[key] = value
|
1025
|
-
end
|
1026
|
-
end
|
1027
|
-
end
|
1028
|
-
# build input and output wrappers
|
1029
|
-
input = FasterCSV.new(args.shift || ARGF, in_options)
|
1030
|
-
output = FasterCSV.new(args.shift || $stdout, out_options)
|
1031
|
-
|
1032
|
-
# read, yield, write
|
1033
|
-
input.each do |row|
|
1034
|
-
yield row
|
1035
|
-
output << row
|
1036
|
-
end
|
1037
|
-
end
|
1038
|
-
|
1039
|
-
#
|
1040
|
-
# This method is intended as the primary interface for reading CSV files. You
|
1041
|
-
# pass a +path+ and any +options+ you wish to set for the read. Each row of
|
1042
|
-
# file will be passed to the provided +block+ in turn.
|
1043
|
-
#
|
1044
|
-
# The +options+ parameter can be anything FasterCSV::new() understands.
|
1045
|
-
#
|
1046
|
-
def self.foreach(path, options = Hash.new, &block)
|
1047
|
-
open(path, "rb", options) do |csv|
|
1048
|
-
csv.each(&block)
|
1049
|
-
end
|
1050
|
-
end
|
1051
|
-
|
1052
|
-
#
|
1053
|
-
# :call-seq:
|
1054
|
-
# generate( str, options = Hash.new ) { |faster_csv| ... }
|
1055
|
-
# generate( options = Hash.new ) { |faster_csv| ... }
|
1056
|
-
#
|
1057
|
-
# This method wraps a String you provide, or an empty default String, in a
|
1058
|
-
# FasterCSV object which is passed to the provided block. You can use the
|
1059
|
-
# block to append CSV rows to the String and when the block exits, the
|
1060
|
-
# final String will be returned.
|
1061
|
-
#
|
1062
|
-
# Note that a passed String *is* modfied by this method. Call dup() before
|
1063
|
-
# passing if you need a new String.
|
1064
|
-
#
|
1065
|
-
# The +options+ parameter can be anthing FasterCSV::new() understands.
|
1066
|
-
#
|
1067
|
-
def self.generate(*args)
|
1068
|
-
# add a default empty String, if none was given
|
1069
|
-
if args.first.is_a? String
|
1070
|
-
io = StringIO.new(args.shift)
|
1071
|
-
io.seek(0, IO::SEEK_END)
|
1072
|
-
args.unshift(io)
|
1073
|
-
else
|
1074
|
-
args.unshift("")
|
1075
|
-
end
|
1076
|
-
faster_csv = new(*args) # wrap
|
1077
|
-
yield faster_csv # yield for appending
|
1078
|
-
faster_csv.string # return final String
|
1079
|
-
end
|
1080
|
-
|
1081
|
-
#
|
1082
|
-
# This method is a shortcut for converting a single row (Array) into a CSV
|
1083
|
-
# String.
|
1084
|
-
#
|
1085
|
-
# The +options+ parameter can be anthing FasterCSV::new() understands.
|
1086
|
-
#
|
1087
|
-
# The <tt>:row_sep</tt> +option+ defaults to <tt>$INPUT_RECORD_SEPARATOR</tt>
|
1088
|
-
# (<tt>$/</tt>) when calling this method.
|
1089
|
-
#
|
1090
|
-
def self.generate_line(row, options = Hash.new)
|
1091
|
-
options = {:row_sep => $INPUT_RECORD_SEPARATOR}.merge(options)
|
1092
|
-
(new("", options) << row).string
|
1093
|
-
end
|
1094
|
-
|
1095
|
-
#
|
1096
|
-
# This method will return a FasterCSV instance, just like FasterCSV::new(),
|
1097
|
-
# but the instance will be cached and returned for all future calls to this
|
1098
|
-
# method for the same +data+ object (tested by Object#object_id()) with the
|
1099
|
-
# same +options+.
|
1100
|
-
#
|
1101
|
-
# If a block is given, the instance is passed to the block and the return
|
1102
|
-
# value becomes the return value of the block.
|
1103
|
-
#
|
1104
|
-
def self.instance(data = $stdout, options = Hash.new)
|
1105
|
-
# create a _signature_ for this method call, data object and options
|
1106
|
-
sig = [data.object_id] +
|
1107
|
-
options.values_at(*DEFAULT_OPTIONS.keys.sort_by { |sym| sym.to_s })
|
1108
|
-
|
1109
|
-
# fetch or create the instance for this signature
|
1110
|
-
@@instances ||= Hash.new
|
1111
|
-
instance = (@@instances[sig] ||= new(data, options))
|
1112
|
-
|
1113
|
-
if block_given?
|
1114
|
-
yield instance # run block, if given, returning result
|
1115
|
-
else
|
1116
|
-
instance # or return the instance
|
1117
|
-
end
|
1118
|
-
end
|
1119
|
-
|
1120
|
-
#
|
1121
|
-
# This method is the reading counterpart to FasterCSV::dump(). See that
|
1122
|
-
# method for a detailed description of the process.
|
1123
|
-
#
|
1124
|
-
# You can customize loading by adding a class method called csv_load() which
|
1125
|
-
# will be passed a Hash of meta information, an Array of headers, and an Array
|
1126
|
-
# of fields for the object the method is expected to return.
|
1127
|
-
#
|
1128
|
-
# Remember that all fields will be Strings after this load. If you need
|
1129
|
-
# something else, use +options+ to setup converters or provide a custom
|
1130
|
-
# csv_load() implementation.
|
1131
|
-
#
|
1132
|
-
def self.load(io_or_str, options = Hash.new)
|
1133
|
-
csv = FasterCSV.new(io_or_str, options)
|
1134
|
-
|
1135
|
-
# load meta information
|
1136
|
-
meta = Hash[*csv.shift]
|
1137
|
-
cls = meta["class"].split("::").inject(Object) do |c, const|
|
1138
|
-
c.const_get(const)
|
1139
|
-
end
|
1140
|
-
|
1141
|
-
# load headers
|
1142
|
-
headers = csv.shift
|
1143
|
-
|
1144
|
-
# unserialize each object stored in the file
|
1145
|
-
results = csv.inject(Array.new) do |all, row|
|
1146
|
-
begin
|
1147
|
-
obj = cls.csv_load(meta, headers, row)
|
1148
|
-
rescue NoMethodError
|
1149
|
-
obj = cls.allocate
|
1150
|
-
headers.zip(row) do |name, value|
|
1151
|
-
if name[0] == ?@
|
1152
|
-
obj.instance_variable_set(name, value)
|
1153
|
-
else
|
1154
|
-
obj.send(name, value)
|
1155
|
-
end
|
1156
|
-
end
|
1157
|
-
end
|
1158
|
-
all << obj
|
1159
|
-
end
|
1160
|
-
|
1161
|
-
csv.close unless io_or_str.is_a? String
|
1162
|
-
|
1163
|
-
results
|
1164
|
-
end
|
1165
|
-
|
1166
|
-
#
|
1167
|
-
# :call-seq:
|
1168
|
-
# open( filename, mode="rb", options = Hash.new ) { |faster_csv| ... }
|
1169
|
-
# open( filename, mode="rb", options = Hash.new )
|
1170
|
-
#
|
1171
|
-
# This method opens an IO object, and wraps that with FasterCSV. This is
|
1172
|
-
# intended as the primary interface for writing a CSV file.
|
1173
|
-
#
|
1174
|
-
# You may pass any +args+ Ruby's open() understands followed by an optional
|
1175
|
-
# Hash containing any +options+ FasterCSV::new() understands.
|
1176
|
-
#
|
1177
|
-
# This method works like Ruby's open() call, in that it will pass a FasterCSV
|
1178
|
-
# object to a provided block and close it when the block termminates, or it
|
1179
|
-
# will return the FasterCSV object when no block is provided. (*Note*: This
|
1180
|
-
# is different from the standard CSV library which passes rows to the block.
|
1181
|
-
# Use FasterCSV::foreach() for that behavior.)
|
1182
|
-
#
|
1183
|
-
# An opened FasterCSV object will delegate to many IO methods, for
|
1184
|
-
# convenience. You may call:
|
1185
|
-
#
|
1186
|
-
# * binmode()
|
1187
|
-
# * close()
|
1188
|
-
# * close_read()
|
1189
|
-
# * close_write()
|
1190
|
-
# * closed?()
|
1191
|
-
# * eof()
|
1192
|
-
# * eof?()
|
1193
|
-
# * fcntl()
|
1194
|
-
# * fileno()
|
1195
|
-
# * flush()
|
1196
|
-
# * fsync()
|
1197
|
-
# * ioctl()
|
1198
|
-
# * isatty()
|
1199
|
-
# * pid()
|
1200
|
-
# * pos()
|
1201
|
-
# * reopen()
|
1202
|
-
# * seek()
|
1203
|
-
# * stat()
|
1204
|
-
# * sync()
|
1205
|
-
# * sync=()
|
1206
|
-
# * tell()
|
1207
|
-
# * to_i()
|
1208
|
-
# * to_io()
|
1209
|
-
# * tty?()
|
1210
|
-
#
|
1211
|
-
def self.open(*args)
|
1212
|
-
# find the +options+ Hash
|
1213
|
-
options = if args.last.is_a? Hash then args.pop else Hash.new end
|
1214
|
-
# default to a binary open mode
|
1215
|
-
args << "rb" if args.size == 1
|
1216
|
-
# wrap a File opened with the remaining +args+
|
1217
|
-
csv = new(File.open(*args), options)
|
1218
|
-
|
1219
|
-
# handle blocks like Ruby's open(), not like the CSV library
|
1220
|
-
if block_given?
|
1221
|
-
begin
|
1222
|
-
yield csv
|
1223
|
-
ensure
|
1224
|
-
csv.close
|
1225
|
-
end
|
1226
|
-
else
|
1227
|
-
csv
|
1228
|
-
end
|
1229
|
-
end
|
1230
|
-
|
1231
|
-
#
|
1232
|
-
# :call-seq:
|
1233
|
-
# parse( str, options = Hash.new ) { |row| ... }
|
1234
|
-
# parse( str, options = Hash.new )
|
1235
|
-
#
|
1236
|
-
# This method can be used to easily parse CSV out of a String. You may either
|
1237
|
-
# provide a +block+ which will be called with each row of the String in turn,
|
1238
|
-
# or just use the returned Array of Arrays (when no +block+ is given).
|
1239
|
-
#
|
1240
|
-
# You pass your +str+ to read from, and an optional +options+ Hash containing
|
1241
|
-
# anything FasterCSV::new() understands.
|
1242
|
-
#
|
1243
|
-
def self.parse(*args, &block)
|
1244
|
-
csv = new(*args)
|
1245
|
-
if block.nil? # slurp contents, if no block is given
|
1246
|
-
begin
|
1247
|
-
csv.read
|
1248
|
-
ensure
|
1249
|
-
csv.close
|
1250
|
-
end
|
1251
|
-
else # or pass each row to a provided block
|
1252
|
-
csv.each(&block)
|
1253
|
-
end
|
1254
|
-
end
|
1255
|
-
|
1256
|
-
#
|
1257
|
-
# This method is a shortcut for converting a single line of a CSV String into
|
1258
|
-
# a into an Array. Note that if +line+ contains multiple rows, anything
|
1259
|
-
# beyond the first row is ignored.
|
1260
|
-
#
|
1261
|
-
# The +options+ parameter can be anything FasterCSV::new() understands.
|
1262
|
-
#
|
1263
|
-
def self.parse_line(line, options = Hash.new)
|
1264
|
-
new(line, options).shift
|
1265
|
-
end
|
1266
|
-
|
1267
|
-
#
|
1268
|
-
# Use to slurp a CSV file into an Array of Arrays. Pass the +path+ to the
|
1269
|
-
# file and any +options+ FasterCSV::new() understands.
|
1270
|
-
#
|
1271
|
-
def self.read(path, options = Hash.new)
|
1272
|
-
open(path, "rb", options) { |csv| csv.read }
|
1273
|
-
end
|
1274
|
-
|
1275
|
-
# Alias for FasterCSV::read().
|
1276
|
-
def self.readlines(*args)
|
1277
|
-
read(*args)
|
1278
|
-
end
|
1279
|
-
|
1280
|
-
#
|
1281
|
-
# A shortcut for:
|
1282
|
-
#
|
1283
|
-
# FasterCSV.read( path, { :headers => true,
|
1284
|
-
# :converters => :numeric,
|
1285
|
-
# :header_converters => :symbol }.merge(options) )
|
1286
|
-
#
|
1287
|
-
def self.table(path, options = Hash.new)
|
1288
|
-
read( path, { :headers => true,
|
1289
|
-
:converters => :numeric,
|
1290
|
-
:header_converters => :symbol }.merge(options) )
|
1291
|
-
end
|
1292
|
-
|
1293
|
-
#
|
1294
|
-
# This constructor will wrap either a String or IO object passed in +data+ for
|
1295
|
-
# reading and/or writing. In addition to the FasterCSV instance methods,
|
1296
|
-
# several IO methods are delegated. (See FasterCSV::open() for a complete
|
1297
|
-
# list.) If you pass a String for +data+, you can later retrieve it (after
|
1298
|
-
# writing to it, for example) with FasterCSV.string().
|
1299
|
-
#
|
1300
|
-
# Note that a wrapped String will be positioned at the beginning (for
|
1301
|
-
# reading). If you want it at the end (for writing), use
|
1302
|
-
# FasterCSV::generate(). If you want any other positioning, pass a preset
|
1303
|
-
# StringIO object instead.
|
1304
|
-
#
|
1305
|
-
# You may set any reading and/or writing preferences in the +options+ Hash.
|
1306
|
-
# Available options are:
|
1307
|
-
#
|
1308
|
-
# <b><tt>:col_sep</tt></b>:: The String placed between each field.
|
1309
|
-
# <b><tt>:row_sep</tt></b>:: The String appended to the end of each
|
1310
|
-
# row. This can be set to the special
|
1311
|
-
# <tt>:auto</tt> setting, which requests
|
1312
|
-
# that FasterCSV automatically discover
|
1313
|
-
# this from the data. Auto-discovery
|
1314
|
-
# reads ahead in the data looking for
|
1315
|
-
# the next <tt>"\r\n"</tt>,
|
1316
|
-
# <tt>"\n"</tt>, or <tt>"\r"</tt>
|
1317
|
-
# sequence. A sequence will be selected
|
1318
|
-
# even if it occurs in a quoted field,
|
1319
|
-
# assuming that you would have the same
|
1320
|
-
# line endings there. If none of those
|
1321
|
-
# sequences is found,
|
1322
|
-
# or the stream is only available for
|
1323
|
-
# output, the default
|
1324
|
-
# <tt>$INPUT_RECORD_SEPARATOR</tt>
|
1325
|
-
# (<tt>$/</tt>) is used. Obviously,
|
1326
|
-
# discovery takes a little time. Set
|
1327
|
-
# manually if speed is important. Also
|
1328
|
-
# note that IO objects should be opened
|
1329
|
-
# in binary mode on Windows if this
|
1330
|
-
# feature will be used as the
|
1331
|
-
# line-ending translation can cause
|
1332
|
-
# problems with resetting the document
|
1333
|
-
# position to where it was before the
|
1334
|
-
# read ahead.
|
1335
|
-
# <b><tt>:quote_char</tt></b>:: The character used to quote fields.
|
1336
|
-
# This has to be a single character
|
1337
|
-
# String. This is useful for
|
1338
|
-
# application that incorrectly use
|
1339
|
-
# <tt>'</tt> as the quote character
|
1340
|
-
# instead of the correct <tt>"</tt>.
|
1341
|
-
# FasterCSV will always consider a
|
1342
|
-
# double sequence this character to be
|
1343
|
-
# an escaped quote.
|
1344
|
-
# <b><tt>:encoding</tt></b>:: The encoding to use when parsing the
|
1345
|
-
# file. Defaults to your <tt>$KCODE</tt>
|
1346
|
-
# setting. Valid values: <tt>`n’</tt> or
|
1347
|
-
# <tt>`N’</tt> for none, <tt>`e’</tt> or
|
1348
|
-
# <tt>`E’</tt> for EUC, <tt>`s’</tt> or
|
1349
|
-
# <tt>`S’</tt> for SJIS, and
|
1350
|
-
# <tt>`u’</tt> or <tt>`U’</tt> for UTF-8
|
1351
|
-
# (see Regexp.new()).
|
1352
|
-
# <b><tt>:field_size_limit</tt></b>:: This is a maximum size FasterCSV will
|
1353
|
-
# read ahead looking for the closing
|
1354
|
-
# quote for a field. (In truth, it
|
1355
|
-
# reads to the first line ending beyond
|
1356
|
-
# this size.) If a quote cannot be
|
1357
|
-
# found within the limit FasterCSV will
|
1358
|
-
# raise a MalformedCSVError, assuming
|
1359
|
-
# the data is faulty. You can use this
|
1360
|
-
# limit to prevent what are effectively
|
1361
|
-
# DoS attacks on the parser. However,
|
1362
|
-
# this limit can cause a legitimate
|
1363
|
-
# parse to fail and thus is set to
|
1364
|
-
# +nil+, or off, by default.
|
1365
|
-
# <b><tt>:converters</tt></b>:: An Array of names from the Converters
|
1366
|
-
# Hash and/or lambdas that handle custom
|
1367
|
-
# conversion. A single converter
|
1368
|
-
# doesn't have to be in an Array.
|
1369
|
-
# <b><tt>:unconverted_fields</tt></b>:: If set to +true+, an
|
1370
|
-
# unconverted_fields() method will be
|
1371
|
-
# added to all returned rows (Array or
|
1372
|
-
# FasterCSV::Row) that will return the
|
1373
|
-
# fields as they were before convertion.
|
1374
|
-
# Note that <tt>:headers</tt> supplied
|
1375
|
-
# by Array or String were not fields of
|
1376
|
-
# the document and thus will have an
|
1377
|
-
# empty Array attached.
|
1378
|
-
# <b><tt>:headers</tt></b>:: If set to <tt>:first_row</tt> or
|
1379
|
-
# +true+, the initial row of the CSV
|
1380
|
-
# file will be treated as a row of
|
1381
|
-
# headers. If set to an Array, the
|
1382
|
-
# contents will be used as the headers.
|
1383
|
-
# If set to a String, the String is run
|
1384
|
-
# through a call of
|
1385
|
-
# FasterCSV::parse_line() with the same
|
1386
|
-
# <tt>:col_sep</tt>, <tt>:row_sep</tt>,
|
1387
|
-
# and <tt>:quote_char</tt> as this
|
1388
|
-
# instance to produce an Array of
|
1389
|
-
# headers. This setting causes
|
1390
|
-
# FasterCSV.shift() to return rows as
|
1391
|
-
# FasterCSV::Row objects instead of
|
1392
|
-
# Arrays and FasterCSV.read() to return
|
1393
|
-
# FasterCSV::Table objects instead of
|
1394
|
-
# an Array of Arrays.
|
1395
|
-
# <b><tt>:return_headers</tt></b>:: When +false+, header rows are silently
|
1396
|
-
# swallowed. If set to +true+, header
|
1397
|
-
# rows are returned in a FasterCSV::Row
|
1398
|
-
# object with identical headers and
|
1399
|
-
# fields (save that the fields do not go
|
1400
|
-
# through the converters).
|
1401
|
-
# <b><tt>:write_headers</tt></b>:: When +true+ and <tt>:headers</tt> is
|
1402
|
-
# set, a header row will be added to the
|
1403
|
-
# output. Note that if the table only
|
1404
|
-
# contains header rows,
|
1405
|
-
# <tt>:return_headers</tt> must also be
|
1406
|
-
# set in order for a header row to be
|
1407
|
-
# output.
|
1408
|
-
# <b><tt>:header_converters</tt></b>:: Identical in functionality to
|
1409
|
-
# <tt>:converters</tt> save that the
|
1410
|
-
# conversions are only made to header
|
1411
|
-
# rows.
|
1412
|
-
# <b><tt>:skip_blanks</tt></b>:: When set to a +true+ value, FasterCSV
|
1413
|
-
# will skip over any rows with no
|
1414
|
-
# content.
|
1415
|
-
# <b><tt>:force_quotes</tt></b>:: When set to a +true+ value, FasterCSV
|
1416
|
-
# will quote all CSV fields it creates.
|
1417
|
-
#
|
1418
|
-
# See FasterCSV::DEFAULT_OPTIONS for the default settings.
|
1419
|
-
#
|
1420
|
-
# Options cannot be overriden in the instance methods for performance reasons,
|
1421
|
-
# so be sure to set what you want here.
|
1422
|
-
#
|
1423
|
-
def initialize(data, options = Hash.new)
|
1424
|
-
# build the options for this read/write
|
1425
|
-
options = DEFAULT_OPTIONS.merge(options)
|
1426
|
-
|
1427
|
-
# create the IO object we will read from
|
1428
|
-
@io = if data.is_a? String then StringIO.new(data) else data end
|
1429
|
-
|
1430
|
-
init_separators(options)
|
1431
|
-
init_parsers(options)
|
1432
|
-
init_converters(options)
|
1433
|
-
init_headers(options)
|
1434
|
-
|
1435
|
-
unless options.empty?
|
1436
|
-
raise ArgumentError, "Unknown options: #{options.keys.join(', ')}."
|
1437
|
-
end
|
1438
|
-
|
1439
|
-
# track our own lineno since IO gets confused about line-ends is CSV fields
|
1440
|
-
@lineno = 0
|
1441
|
-
end
|
1442
|
-
|
1443
|
-
#
|
1444
|
-
# The line number of the last row read from this file. Fields with nested
|
1445
|
-
# line-end characters will not affect this count.
|
1446
|
-
#
|
1447
|
-
attr_reader :lineno
|
1448
|
-
|
1449
|
-
### IO and StringIO Delegation ###
|
1450
|
-
|
1451
|
-
extend Forwardable
|
1452
|
-
def_delegators :@io, :binmode, :close, :close_read, :close_write, :closed?,
|
1453
|
-
:eof, :eof?, :fcntl, :fileno, :flush, :fsync, :ioctl,
|
1454
|
-
:isatty, :pid, :pos, :reopen, :seek, :stat, :string,
|
1455
|
-
:sync, :sync=, :tell, :to_i, :to_io, :tty?
|
1456
|
-
|
1457
|
-
# Rewinds the underlying IO object and resets FasterCSV's lineno() counter.
|
1458
|
-
def rewind
|
1459
|
-
@headers = nil
|
1460
|
-
@lineno = 0
|
1461
|
-
|
1462
|
-
@io.rewind
|
1463
|
-
end
|
1464
|
-
|
1465
|
-
### End Delegation ###
|
1466
|
-
|
1467
|
-
#
|
1468
|
-
# The primary write method for wrapped Strings and IOs, +row+ (an Array or
|
1469
|
-
# FasterCSV::Row) is converted to CSV and appended to the data source. When a
|
1470
|
-
# FasterCSV::Row is passed, only the row's fields() are appended to the
|
1471
|
-
# output.
|
1472
|
-
#
|
1473
|
-
# The data source must be open for writing.
|
1474
|
-
#
|
1475
|
-
def <<(row)
|
1476
|
-
# make sure headers have been assigned
|
1477
|
-
if header_row? and [Array, String].include? @use_headers.class
|
1478
|
-
parse_headers # won't read data for Array or String
|
1479
|
-
self << @headers if @write_headers
|
1480
|
-
end
|
1481
|
-
|
1482
|
-
# Handle FasterCSV::Row objects and Hashes
|
1483
|
-
row = case row
|
1484
|
-
when self.class::Row then row.fields
|
1485
|
-
when Hash then @headers.map { |header| row[header] }
|
1486
|
-
else row
|
1487
|
-
end
|
1488
|
-
|
1489
|
-
@headers = row if header_row?
|
1490
|
-
@lineno += 1
|
1491
|
-
|
1492
|
-
@io << row.map(&@quote).join(@col_sep) + @row_sep # quote and separate
|
1493
|
-
|
1494
|
-
self # for chaining
|
1495
|
-
end
|
1496
|
-
alias_method :add_row, :<<
|
1497
|
-
alias_method :puts, :<<
|
1498
|
-
|
1499
|
-
#
|
1500
|
-
# :call-seq:
|
1501
|
-
# convert( name )
|
1502
|
-
# convert { |field| ... }
|
1503
|
-
# convert { |field, field_info| ... }
|
1504
|
-
#
|
1505
|
-
# You can use this method to install a FasterCSV::Converters built-in, or
|
1506
|
-
# provide a block that handles a custom conversion.
|
1507
|
-
#
|
1508
|
-
# If you provide a block that takes one argument, it will be passed the field
|
1509
|
-
# and is expected to return the converted value or the field itself. If your
|
1510
|
-
# block takes two arguments, it will also be passed a FieldInfo Struct,
|
1511
|
-
# containing details about the field. Again, the block should return a
|
1512
|
-
# converted field or the field itself.
|
1513
|
-
#
|
1514
|
-
def convert(name = nil, &converter)
|
1515
|
-
add_converter(:converters, self.class::Converters, name, &converter)
|
1516
|
-
end
|
1517
|
-
|
1518
|
-
#
|
1519
|
-
# :call-seq:
|
1520
|
-
# header_convert( name )
|
1521
|
-
# header_convert { |field| ... }
|
1522
|
-
# header_convert { |field, field_info| ... }
|
1523
|
-
#
|
1524
|
-
# Identical to FasterCSV.convert(), but for header rows.
|
1525
|
-
#
|
1526
|
-
# Note that this method must be called before header rows are read to have any
|
1527
|
-
# effect.
|
1528
|
-
#
|
1529
|
-
def header_convert(name = nil, &converter)
|
1530
|
-
add_converter( :header_converters,
|
1531
|
-
self.class::HeaderConverters,
|
1532
|
-
name,
|
1533
|
-
&converter )
|
1534
|
-
end
|
1535
|
-
|
1536
|
-
include Enumerable
|
1537
|
-
|
1538
|
-
#
|
1539
|
-
# Yields each row of the data source in turn.
|
1540
|
-
#
|
1541
|
-
# Support for Enumerable.
|
1542
|
-
#
|
1543
|
-
# The data source must be open for reading.
|
1544
|
-
#
|
1545
|
-
def each
|
1546
|
-
while row = shift
|
1547
|
-
yield row
|
1548
|
-
end
|
1549
|
-
end
|
1550
|
-
|
1551
|
-
#
|
1552
|
-
# Slurps the remaining rows and returns an Array of Arrays.
|
1553
|
-
#
|
1554
|
-
# The data source must be open for reading.
|
1555
|
-
#
|
1556
|
-
def read
|
1557
|
-
rows = to_a
|
1558
|
-
if @use_headers
|
1559
|
-
Table.new(rows)
|
1560
|
-
else
|
1561
|
-
rows
|
1562
|
-
end
|
1563
|
-
end
|
1564
|
-
alias_method :readlines, :read
|
1565
|
-
|
1566
|
-
# Returns +true+ if the next row read will be a header row.
|
1567
|
-
def header_row?
|
1568
|
-
@use_headers and @headers.nil?
|
1569
|
-
end
|
1570
|
-
|
1571
|
-
#
|
1572
|
-
# The primary read method for wrapped Strings and IOs, a single row is pulled
|
1573
|
-
# from the data source, parsed and returned as an Array of fields (if header
|
1574
|
-
# rows are not used) or a FasterCSV::Row (when header rows are used).
|
1575
|
-
#
|
1576
|
-
# The data source must be open for reading.
|
1577
|
-
#
|
1578
|
-
def shift
|
1579
|
-
#########################################################################
|
1580
|
-
### This method is purposefully kept a bit long as simple conditional ###
|
1581
|
-
### checks are faster than numerous (expensive) method calls. ###
|
1582
|
-
#########################################################################
|
1583
|
-
|
1584
|
-
# handle headers not based on document content
|
1585
|
-
if header_row? and @return_headers and
|
1586
|
-
[Array, String].include? @use_headers.class
|
1587
|
-
if @unconverted_fields
|
1588
|
-
return add_unconverted_fields(parse_headers, Array.new)
|
1589
|
-
else
|
1590
|
-
return parse_headers
|
1591
|
-
end
|
1592
|
-
end
|
1593
|
-
|
1594
|
-
# begin with a blank line, so we can always add to it
|
1595
|
-
line = String.new
|
1596
|
-
|
1597
|
-
#
|
1598
|
-
# it can take multiple calls to <tt>@io.gets()</tt> to get a full line,
|
1599
|
-
# because of \r and/or \n characters embedded in quoted fields
|
1600
|
-
#
|
1601
|
-
loop do
|
1602
|
-
# add another read to the line
|
1603
|
-
if read_line = @io.gets(@row_sep)
|
1604
|
-
line += read_line
|
1605
|
-
else
|
1606
|
-
return nil
|
1607
|
-
end
|
1608
|
-
# copy the line so we can chop it up in parsing
|
1609
|
-
parse = line.dup
|
1610
|
-
parse.sub!(@parsers[:line_end], "")
|
1611
|
-
|
1612
|
-
#
|
1613
|
-
# I believe a blank line should be an <tt>Array.new</tt>, not
|
1614
|
-
# CSV's <tt>[nil]</tt>
|
1615
|
-
#
|
1616
|
-
if parse.empty?
|
1617
|
-
@lineno += 1
|
1618
|
-
if @skip_blanks
|
1619
|
-
line = ""
|
1620
|
-
next
|
1621
|
-
elsif @unconverted_fields
|
1622
|
-
return add_unconverted_fields(Array.new, Array.new)
|
1623
|
-
elsif @use_headers
|
1624
|
-
return FasterCSV::Row.new(Array.new, Array.new)
|
1625
|
-
else
|
1626
|
-
return Array.new
|
1627
|
-
end
|
1628
|
-
end
|
1629
|
-
|
1630
|
-
# parse the fields with a mix of String#split and regular expressions
|
1631
|
-
csv = Array.new
|
1632
|
-
current_field = String.new
|
1633
|
-
field_quotes = 0
|
1634
|
-
parse.split(@col_sep, -1).each do |match|
|
1635
|
-
if current_field.empty? && match.count(@quote_and_newlines).zero?
|
1636
|
-
csv << (match.empty? ? nil : match)
|
1637
|
-
elsif (current_field.empty? ? match[0] : current_field[0]) ==
|
1638
|
-
@quote_char[0]
|
1639
|
-
current_field << match
|
1640
|
-
field_quotes += match.count(@quote_char)
|
1641
|
-
if field_quotes % 2 == 0
|
1642
|
-
in_quotes = current_field[@parsers[:quoted_field], 1]
|
1643
|
-
if !in_quotes || in_quotes[@parsers[:stray_quote]]
|
1644
|
-
raise MalformedCSVError,
|
1645
|
-
"Missing or stray quote in line #{lineno + 1}"
|
1646
|
-
end
|
1647
|
-
current_field = in_quotes
|
1648
|
-
current_field.gsub!(@quote_char * 2, @quote_char) # unescape contents
|
1649
|
-
csv << current_field
|
1650
|
-
current_field = String.new
|
1651
|
-
field_quotes = 0
|
1652
|
-
else # we found a quoted field that spans multiple lines
|
1653
|
-
current_field << @col_sep
|
1654
|
-
end
|
1655
|
-
elsif match.count("\r\n").zero?
|
1656
|
-
raise MalformedCSVError, "Illegal quoting in line #{lineno + 1}."
|
1657
|
-
else
|
1658
|
-
raise MalformedCSVError, "Unquoted fields do not allow " +
|
1659
|
-
"\\r or \\n (line #{lineno + 1})."
|
1660
|
-
end
|
1661
|
-
end
|
1662
|
-
|
1663
|
-
# if parse is empty?(), we found all the fields on the line...
|
1664
|
-
if field_quotes % 2 == 0
|
1665
|
-
@lineno += 1
|
1666
|
-
|
1667
|
-
# save fields unconverted fields, if needed...
|
1668
|
-
unconverted = csv.dup if @unconverted_fields
|
1669
|
-
|
1670
|
-
# convert fields, if needed...
|
1671
|
-
csv = convert_fields(csv) unless @use_headers or @converters.empty?
|
1672
|
-
# parse out header rows and handle FasterCSV::Row conversions...
|
1673
|
-
csv = parse_headers(csv) if @use_headers
|
1674
|
-
|
1675
|
-
# inject unconverted fields and accessor, if requested...
|
1676
|
-
if @unconverted_fields and not csv.respond_to? :unconverted_fields
|
1677
|
-
add_unconverted_fields(csv, unconverted)
|
1678
|
-
end
|
1679
|
-
|
1680
|
-
# return the results
|
1681
|
-
break csv
|
1682
|
-
end
|
1683
|
-
# if we're not empty?() but at eof?(), a quoted field wasn't closed...
|
1684
|
-
if @io.eof?
|
1685
|
-
raise MalformedCSVError, "Unclosed quoted field on line #{lineno + 1}."
|
1686
|
-
elsif @field_size_limit and current_field.size >= @field_size_limit
|
1687
|
-
raise MalformedCSVError, "Field size exceeded on line #{lineno + 1}."
|
1688
|
-
end
|
1689
|
-
# otherwise, we need to loop and pull some more data to complete the row
|
1690
|
-
end
|
1691
|
-
end
|
1692
|
-
alias_method :gets, :shift
|
1693
|
-
alias_method :readline, :shift
|
1694
|
-
|
1695
|
-
# Returns a simplified description of the key FasterCSV attributes.
|
1696
|
-
def inspect
|
1697
|
-
str = "<##{self.class} io_type:"
|
1698
|
-
# show type of wrapped IO
|
1699
|
-
if @io == $stdout then str << "$stdout"
|
1700
|
-
elsif @io == $stdin then str << "$stdin"
|
1701
|
-
elsif @io == $stderr then str << "$stderr"
|
1702
|
-
else str << @io.class.to_s
|
1703
|
-
end
|
1704
|
-
# show IO.path(), if available
|
1705
|
-
if @io.respond_to?(:path) and (p = @io.path)
|
1706
|
-
str << " io_path:#{p.inspect}"
|
1707
|
-
end
|
1708
|
-
# show other attributes
|
1709
|
-
%w[ lineno col_sep row_sep
|
1710
|
-
quote_char skip_blanks encoding ].each do |attr_name|
|
1711
|
-
if a = instance_variable_get("@#{attr_name}")
|
1712
|
-
str << " #{attr_name}:#{a.inspect}"
|
1713
|
-
end
|
1714
|
-
end
|
1715
|
-
if @use_headers
|
1716
|
-
str << " headers:#{(@headers || true).inspect}"
|
1717
|
-
end
|
1718
|
-
str << ">"
|
1719
|
-
end
|
1720
|
-
|
1721
|
-
private
|
1722
|
-
|
1723
|
-
#
|
1724
|
-
# Stores the indicated separators for later use.
|
1725
|
-
#
|
1726
|
-
# If auto-discovery was requested for <tt>@row_sep</tt>, this method will read
|
1727
|
-
# ahead in the <tt>@io</tt> and try to find one. +ARGF+, +STDIN+, +STDOUT+,
|
1728
|
-
# +STDERR+ and any stream open for output only with a default
|
1729
|
-
# <tt>@row_sep</tt> of <tt>$INPUT_RECORD_SEPARATOR</tt> (<tt>$/</tt>).
|
1730
|
-
#
|
1731
|
-
# This method also establishes the quoting rules used for CSV output.
|
1732
|
-
#
|
1733
|
-
def init_separators(options)
|
1734
|
-
# store the selected separators
|
1735
|
-
@col_sep = options.delete(:col_sep)
|
1736
|
-
@row_sep = options.delete(:row_sep)
|
1737
|
-
@quote_char = options.delete(:quote_char)
|
1738
|
-
@quote_and_newlines = "\r\n#{@quote_char}"
|
1739
|
-
|
1740
|
-
if @quote_char.length != 1
|
1741
|
-
raise ArgumentError, ":quote_char has to be a single character String"
|
1742
|
-
end
|
1743
|
-
|
1744
|
-
# automatically discover row separator when requested
|
1745
|
-
if @row_sep == :auto
|
1746
|
-
begin
|
1747
|
-
#
|
1748
|
-
# remember where we were (pos() will raise an axception if @io is pipe
|
1749
|
-
# or not opened for reading)
|
1750
|
-
#
|
1751
|
-
saved_pos = @io.pos
|
1752
|
-
while @row_sep == :auto
|
1753
|
-
#
|
1754
|
-
# if we run out of data, it's probably a single line
|
1755
|
-
# (ensure will set default value)
|
1756
|
-
#
|
1757
|
-
break if @io.eof?
|
1758
|
-
|
1759
|
-
# read ahead a bit
|
1760
|
-
sample = @io.read(1024)
|
1761
|
-
sample += @io.read(1) if sample[-1..-1] == "\r" and not @io.eof?
|
1762
|
-
|
1763
|
-
# try to find a standard separator
|
1764
|
-
if sample =~ /\r\n?|\n/
|
1765
|
-
@row_sep = $&
|
1766
|
-
break
|
1767
|
-
end
|
1768
|
-
end
|
1769
|
-
|
1770
|
-
# tricky seek() clone to work around GzipReader's lack of seek()
|
1771
|
-
@io.rewind
|
1772
|
-
# reset back to the remembered position
|
1773
|
-
while saved_pos > 1024 # avoid loading a lot of data into memory
|
1774
|
-
@io.read(1024)
|
1775
|
-
saved_pos -= 1024
|
1776
|
-
end
|
1777
|
-
@io.read(saved_pos) if saved_pos.nonzero?
|
1778
|
-
rescue IOError # not opened for reading
|
1779
|
-
# do nothing: ensure will set default
|
1780
|
-
rescue NoMethodError # Zlib::GzipWriter doesn't have eof?
|
1781
|
-
# do nothing: ensure will set default
|
1782
|
-
rescue SystemCallError # pipe
|
1783
|
-
# do nothing: ensure will set default
|
1784
|
-
ensure
|
1785
|
-
#
|
1786
|
-
# set default if we failed to detect
|
1787
|
-
# (stream not opened for reading, a pipe, or a single line of data)
|
1788
|
-
#
|
1789
|
-
@row_sep = $INPUT_RECORD_SEPARATOR if @row_sep == :auto
|
1790
|
-
end
|
1791
|
-
end
|
1792
|
-
|
1793
|
-
# establish quoting rules
|
1794
|
-
do_quote = lambda do |field|
|
1795
|
-
@quote_char +
|
1796
|
-
String(field).gsub(@quote_char, @quote_char * 2) +
|
1797
|
-
@quote_char
|
1798
|
-
end
|
1799
|
-
@quote = if options.delete(:force_quotes)
|
1800
|
-
do_quote
|
1801
|
-
else
|
1802
|
-
lambda do |field|
|
1803
|
-
if field.nil? # represent +nil+ fields as empty unquoted fields
|
1804
|
-
""
|
1805
|
-
else
|
1806
|
-
field = String(field) # Stringify fields
|
1807
|
-
# represent empty fields as empty quoted fields
|
1808
|
-
if field.empty? or
|
1809
|
-
field.count("\r\n#{@col_sep}#{@quote_char}").nonzero?
|
1810
|
-
do_quote.call(field)
|
1811
|
-
else
|
1812
|
-
field # unquoted field
|
1813
|
-
end
|
1814
|
-
end
|
1815
|
-
end
|
1816
|
-
end
|
1817
|
-
end
|
1818
|
-
|
1819
|
-
# Pre-compiles parsers and stores them by name for access during reads.
|
1820
|
-
def init_parsers(options)
|
1821
|
-
# store the parser behaviors
|
1822
|
-
@skip_blanks = options.delete(:skip_blanks)
|
1823
|
-
@encoding = options.delete(:encoding) # nil will use $KCODE
|
1824
|
-
@field_size_limit = options.delete(:field_size_limit)
|
1825
|
-
|
1826
|
-
# prebuild Regexps for faster parsing
|
1827
|
-
esc_col_sep = Regexp.escape(@col_sep)
|
1828
|
-
esc_row_sep = Regexp.escape(@row_sep)
|
1829
|
-
esc_quote = Regexp.escape(@quote_char)
|
1830
|
-
@parsers = {
|
1831
|
-
:any_field => Regexp.new( "[^#{esc_col_sep}]+",
|
1832
|
-
Regexp::MULTILINE,
|
1833
|
-
@encoding ),
|
1834
|
-
:quoted_field => Regexp.new( "^#{esc_quote}(.*)#{esc_quote}$",
|
1835
|
-
Regexp::MULTILINE,
|
1836
|
-
@encoding ),
|
1837
|
-
:stray_quote => Regexp.new( "[^#{esc_quote}]#{esc_quote}[^#{esc_quote}]",
|
1838
|
-
Regexp::MULTILINE,
|
1839
|
-
@encoding ),
|
1840
|
-
# safer than chomp!()
|
1841
|
-
:line_end => Regexp.new("#{esc_row_sep}\\z", nil, @encoding)
|
1842
|
-
}
|
1843
|
-
end
|
1844
|
-
|
1845
|
-
#
|
1846
|
-
# Loads any converters requested during construction.
|
1847
|
-
#
|
1848
|
-
# If +field_name+ is set <tt>:converters</tt> (the default) field converters
|
1849
|
-
# are set. When +field_name+ is <tt>:header_converters</tt> header converters
|
1850
|
-
# are added instead.
|
1851
|
-
#
|
1852
|
-
# The <tt>:unconverted_fields</tt> option is also actived for
|
1853
|
-
# <tt>:converters</tt> calls, if requested.
|
1854
|
-
#
|
1855
|
-
def init_converters(options, field_name = :converters)
|
1856
|
-
if field_name == :converters
|
1857
|
-
@unconverted_fields = options.delete(:unconverted_fields)
|
1858
|
-
end
|
1859
|
-
|
1860
|
-
instance_variable_set("@#{field_name}", Array.new)
|
1861
|
-
|
1862
|
-
# find the correct method to add the coverters
|
1863
|
-
convert = method(field_name.to_s.sub(/ers\Z/, ""))
|
1864
|
-
|
1865
|
-
# load converters
|
1866
|
-
unless options[field_name].nil?
|
1867
|
-
# allow a single converter not wrapped in an Array
|
1868
|
-
unless options[field_name].is_a? Array
|
1869
|
-
options[field_name] = [options[field_name]]
|
1870
|
-
end
|
1871
|
-
# load each converter...
|
1872
|
-
options[field_name].each do |converter|
|
1873
|
-
if converter.is_a? Proc # custom code block
|
1874
|
-
convert.call(&converter)
|
1875
|
-
else # by name
|
1876
|
-
convert.call(converter)
|
1877
|
-
end
|
1878
|
-
end
|
1879
|
-
end
|
1880
|
-
|
1881
|
-
options.delete(field_name)
|
1882
|
-
end
|
1883
|
-
|
1884
|
-
# Stores header row settings and loads header converters, if needed.
|
1885
|
-
def init_headers(options)
|
1886
|
-
@use_headers = options.delete(:headers)
|
1887
|
-
@return_headers = options.delete(:return_headers)
|
1888
|
-
@write_headers = options.delete(:write_headers)
|
1889
|
-
|
1890
|
-
# headers must be delayed until shift(), in case they need a row of content
|
1891
|
-
@headers = nil
|
1892
|
-
|
1893
|
-
init_converters(options, :header_converters)
|
1894
|
-
end
|
1895
|
-
|
1896
|
-
#
|
1897
|
-
# The actual work method for adding converters, used by both
|
1898
|
-
# FasterCSV.convert() and FasterCSV.header_convert().
|
1899
|
-
#
|
1900
|
-
# This method requires the +var_name+ of the instance variable to place the
|
1901
|
-
# converters in, the +const+ Hash to lookup named converters in, and the
|
1902
|
-
# normal parameters of the FasterCSV.convert() and FasterCSV.header_convert()
|
1903
|
-
# methods.
|
1904
|
-
#
|
1905
|
-
def add_converter(var_name, const, name = nil, &converter)
|
1906
|
-
if name.nil? # custom converter
|
1907
|
-
instance_variable_get("@#{var_name}") << converter
|
1908
|
-
else # named converter
|
1909
|
-
combo = const[name]
|
1910
|
-
case combo
|
1911
|
-
when Array # combo converter
|
1912
|
-
combo.each do |converter_name|
|
1913
|
-
add_converter(var_name, const, converter_name)
|
1914
|
-
end
|
1915
|
-
else # individual named converter
|
1916
|
-
instance_variable_get("@#{var_name}") << combo
|
1917
|
-
end
|
1918
|
-
end
|
1919
|
-
end
|
1920
|
-
|
1921
|
-
#
|
1922
|
-
# Processes +fields+ with <tt>@converters</tt>, or <tt>@header_converters</tt>
|
1923
|
-
# if +headers+ is passed as +true+, returning the converted field set. Any
|
1924
|
-
# converter that changes the field into something other than a String halts
|
1925
|
-
# the pipeline of conversion for that field. This is primarily an efficiency
|
1926
|
-
# shortcut.
|
1927
|
-
#
|
1928
|
-
def convert_fields(fields, headers = false)
|
1929
|
-
# see if we are converting headers or fields
|
1930
|
-
converters = headers ? @header_converters : @converters
|
1931
|
-
|
1932
|
-
fields.enum_for(:each_with_index).map do |field, index| # map_with_index
|
1933
|
-
converters.each do |converter|
|
1934
|
-
field = if converter.arity == 1 # straight field converter
|
1935
|
-
converter[field]
|
1936
|
-
else # FieldInfo converter
|
1937
|
-
header = @use_headers && !headers ? @headers[index] : nil
|
1938
|
-
converter[field, FieldInfo.new(index, lineno, header)]
|
1939
|
-
end
|
1940
|
-
break unless field.is_a? String # short-curcuit pipeline for speed
|
1941
|
-
end
|
1942
|
-
field # return final state of each field, converted or original
|
1943
|
-
end
|
1944
|
-
end
|
1945
|
-
|
1946
|
-
#
|
1947
|
-
# This methods is used to turn a finished +row+ into a FasterCSV::Row. Header
|
1948
|
-
# rows are also dealt with here, either by returning a FasterCSV::Row with
|
1949
|
-
# identical headers and fields (save that the fields do not go through the
|
1950
|
-
# converters) or by reading past them to return a field row. Headers are also
|
1951
|
-
# saved in <tt>@headers</tt> for use in future rows.
|
1952
|
-
#
|
1953
|
-
# When +nil+, +row+ is assumed to be a header row not based on an actual row
|
1954
|
-
# of the stream.
|
1955
|
-
#
|
1956
|
-
def parse_headers(row = nil)
|
1957
|
-
if @headers.nil? # header row
|
1958
|
-
@headers = case @use_headers # save headers
|
1959
|
-
# Array of headers
|
1960
|
-
when Array then @use_headers
|
1961
|
-
# CSV header String
|
1962
|
-
when String
|
1963
|
-
self.class.parse_line( @use_headers,
|
1964
|
-
:col_sep => @col_sep,
|
1965
|
-
:row_sep => @row_sep,
|
1966
|
-
:quote_char => @quote_char )
|
1967
|
-
# first row is headers
|
1968
|
-
else row
|
1969
|
-
end
|
1970
|
-
|
1971
|
-
# prepare converted and unconverted copies
|
1972
|
-
row = @headers if row.nil?
|
1973
|
-
@headers = convert_fields(@headers, true)
|
1974
|
-
|
1975
|
-
if @return_headers # return headers
|
1976
|
-
return FasterCSV::Row.new(@headers, row, true)
|
1977
|
-
elsif not [Array, String].include? @use_headers.class # skip to field row
|
1978
|
-
return shift
|
1979
|
-
end
|
1980
|
-
end
|
1981
|
-
|
1982
|
-
FasterCSV::Row.new(@headers, convert_fields(row)) # field row
|
1983
|
-
end
|
1984
|
-
|
1985
|
-
#
|
1986
|
-
# Thiw methods injects an instance variable <tt>unconverted_fields</tt> into
|
1987
|
-
# +row+ and an accessor method for it called unconverted_fields(). The
|
1988
|
-
# variable is set to the contents of +fields+.
|
1989
|
-
#
|
1990
|
-
def add_unconverted_fields(row, fields)
|
1991
|
-
class << row
|
1992
|
-
attr_reader :unconverted_fields
|
1993
|
-
end
|
1994
|
-
row.instance_eval { @unconverted_fields = fields }
|
1995
|
-
row
|
1996
|
-
end
|
1997
|
-
end
|
1998
|
-
end
|
1999
|
-
|
2000
|
-
# Another name for FasterCSV.
|
2001
|
-
FCSV = FasterCSV
|
2002
|
-
|
2003
|
-
# Another name for FasterCSV::instance().
|
2004
|
-
def FasterCSV(*args, &block)
|
2005
|
-
FasterCSV.instance(*args, &block)
|
2006
|
-
end
|
2007
|
-
|
2008
|
-
# Another name for FCSV::instance().
|
2009
|
-
def FCSV(*args, &block)
|
2010
|
-
FCSV.instance(*args, &block)
|
2011
|
-
end
|
2012
|
-
|
2013
|
-
class Array
|
2014
|
-
# Equivalent to <tt>FasterCSV::generate_line(self, options)</tt>.
|
2015
|
-
def to_csv(options = Hash.new)
|
2016
|
-
FasterCSV.generate_line(self, options)
|
2017
|
-
end
|
2018
|
-
end
|
2019
|
-
|
2020
|
-
class String
|
2021
|
-
# Equivalent to <tt>FasterCSV::parse_line(self, options)</tt>.
|
2022
|
-
def parse_csv(options = Hash.new)
|
2023
|
-
FasterCSV.parse_line(self, options)
|
2024
|
-
end
|
2025
|
-
end
|