omniconf 0.0.1.pre → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -2
- data/.rvmrc +1 -1
- data/.travis.yml +5 -0
- data/Gemfile +0 -4
- data/LICENSE +5 -0
- data/README.md +75 -34
- data/lib/omniconf/adapters/active_record.rb +38 -35
- data/lib/omniconf/adapters/base.rb +3 -20
- data/lib/omniconf/adapters/read_only.rb +12 -0
- data/lib/omniconf/adapters/yaml.rb +12 -7
- data/lib/omniconf/blank_state.rb +9 -0
- data/lib/omniconf/configuration.rb +91 -0
- data/lib/omniconf/errors.rb +7 -0
- data/lib/omniconf/helpers.rb +30 -0
- data/lib/omniconf/version.rb +1 -1
- data/lib/omniconf.rb +59 -22
- data/omniconf.gemspec +6 -8
- data/spec/fixtures/omniconf/adapters/active_record/db/schema.rb +5 -2
- data/spec/fixtures/omniconf/adapters/yaml/config/settings.yml +6 -7
- data/spec/omniconf/adapters/active_record_spec.rb +54 -18
- data/spec/omniconf/adapters/yaml_spec.rb +72 -12
- data/spec/omniconf/configuration_spec.rb +86 -0
- data/spec/omniconf/helpers_spec.rb +13 -0
- data/spec/omniconf_spec.rb +66 -20
- data/spec/spec_helper.rb +6 -2
- metadata +68 -107
- data/spec/data.sqlite3 +0 -0
- data/spec/support/mock.rb +0 -15