odata-model 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 269ebaa9525c03bb34e59517fc8657e06a951383
4
- data.tar.gz: a85b55e10c0381eda40d39a908b53e86d2f97379
3
+ metadata.gz: e80ca3aeef8bbcae5c9a1e8174f10a864ab8967d
4
+ data.tar.gz: e5878a1c6128c9cd1b50cccd987a738c399ed1dd
5
5
  SHA512:
6
- metadata.gz: 9057ff92d9540726feda14dd0714eed804c7742196d41b872560036e3bbdf306f45878b08dd583dab257be1c193067bbcd819627e9b07a2934e2bb0080366030
7
- data.tar.gz: 581744635b90a28556ba50e1ee85bc2476b3ff90ed881b4929b1aca30e9708a76aa7d1e4820499e73d94ee99d1a9d82dbaaeae1e81f3d27be86bfea660c45b44
6
+ metadata.gz: 8eec2f68f064976117bc3d0771b6d6e164f7950e75fce52869c4a26c873d715688b12a8d5e653144e8a0894de450e81ff3f9520fc46910faff0fba5b5a6f7169
7
+ data.tar.gz: facfea56e9cfd9268b9736e591f8ac26dab1363cb5f7dc526aadacbc384d2f87050017d0754a32eb507154629fcaa09745f9f3eaf616e633ec5c544df777f841
@@ -16,7 +16,8 @@ module OData
16
16
 
17
17
  def parse_configuration(app)
18
18
  config_file = File.open(File.join(Rails.root, 'config/odata.yml')).read
19
- configuration = YAML.load(config_file).deep_symbolize_keys
19
+ parsed_config = YAML.load(config_file)
20
+ configuration = ActiveSupport::HashWithIndifferentAccess.new(parsed_config).deep_symbolize_keys
20
21
  end
21
22
 
22
23
  def process_configuration(app)
@@ -1,5 +1,5 @@
1
1
  module OData
2
2
  module Model
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odata-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Thompson