…mbol keys This commit will try the following in order to find the parameters to use: # Assume yaml_hash is the hash returned by YAML.load for the # file given on the command line, and env is the environment # specified by the user (or 'development' by default) params = yaml_hash[env] || yaml_hash[env.to_sym] || yaml_hash Notice that in addition to supporting symbol keys (such as :development), Sequel now also supports a plain yaml file for parameters, such as: --- :adapter: sqlite :database: ':memory:'
…ads all Sequel::Models
For merging the READMEs, I put the model README at the bottom of the core README and used that. For merging the CHANGELOGs, I merged them manually back to 1.4.0, and copied the rest of the model CHANGELOG to the bottom of the file. Most of the Rakefile code was duplicative, but I think I got all tasks except spec_adapters. I figure few people have all 5 adapters necessary to run the adapter specs. I only have 3 of them, so I never used spec_adapters. The specs are still split up so they can be run independently. Additionally, the adapter specs are split off from the core specs, which helps if you want to put Sequel.connect lines in spec_config.rb. The only other spec changes were for path changes. There weren't conflicts merging anything else, IIRC. I hope there is no fallout from this. I haven't noticed any yet, running the specs and the test suites for all of my apps that use Sequel.
…amed Pool#conn_maker to Pool#connection_proc. Added Dataset# method. Refactored Model#find and Model#.
…rt. Added sequel console for quick'n'dirty access to databases. Added support for exclusive ranges (thanks Christian Neukirchen.) Add Dataset#sum method.