eagleclaw 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. data/lib/eagleclaw/constmatch.rb +1 -1
  2. metadata +2 -2
@@ -22,7 +22,7 @@ module EagleClaw
22
22
  #
23
23
  def [](constant)
24
24
  constants.each do |const|
25
- return const_get(const) if const.downcase == constant.to_s.downcase
25
+ return const_get(const) if const.to_s.downcase == constant.to_s.downcase
26
26
  end
27
27
  raise NameError, "Constant #{constant.inspect} not found"
28
28
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 7
9
- version: 0.1.7
8
+ - 8
9
+ version: 0.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Zachary Voase