exercism-config 0.65.0 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4ee8bd41a5f762b518a5510028a4b913c87390a8fa74bb10f7f0d295d3efff5
4
- data.tar.gz: 48d18aa707cd2f1562412d57763427d08c8a2bd58d2da428a23e346dcf9fcb83
3
+ metadata.gz: ef54401db2ec45fcd48ae7bd12a88537d46df71d371739588c7d7cc7e34f3109
4
+ data.tar.gz: f4729fc4ea1efb5a51d1e6ad1f47ddd75d312807a277ec6ad84ce10591ce39bc
5
5
  SHA512:
6
- metadata.gz: 005bc9e61b363021dcd154791a623d99c4bcac9732211ab64f9c2851a75b660c5973c7d224d80f7258fd01a29e6f4119ce846f1f8ccbdc71e6bd482f4ae88617
7
- data.tar.gz: 63b50fb4d9e4b0faffab1926ad244bc975af3361136525dc0a3e521f02e3fad4b2df03f86f242d794136b4e0ea043f82a846e91a2a49bac107d38fc20cff6aa4
6
+ metadata.gz: d970f9ebeea112c6d548ffbd47c46e99c98a3bad9a7aa71a7d7eac48f59a790f8707455ff182e5cce70842f784c5665992079e4994ab3a874234c83a1ec42976
7
+ data.tar.gz: c92ec0a05dfa0105f31a40dc1cb3df7c09cced6cc29937e33031d98d484f55df52025d2ce9c13ccdf879369b23717dfd37f2ce548acb097b704ba3463fc0b6f6
@@ -44,21 +44,21 @@ module Exercism
44
44
 
45
45
  def initialize(id, data)
46
46
  @id = id
47
- @data = data.freeze
47
+ @data = data.transform_keys(&:to_sym).freeze
48
48
  end
49
49
 
50
50
  def to_h
51
51
  data.to_h
52
52
  end
53
53
 
54
- def respond_to_missing?(meth)
55
- data.key?(meth.to_s) || super
54
+ def respond_to_missing?(meth, include_all = true)
55
+ data.key?(meth) || super
56
56
  end
57
57
 
58
58
  def method_missing(meth)
59
59
  super unless respond_to_missing?(meth)
60
60
 
61
- data[meth.to_s]
61
+ data[meth]
62
62
  end
63
63
 
64
64
  def locked!
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.65.0'.freeze
2
+ VERSION = '0.66.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exercism-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.0
4
+ version: 0.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker