jimmy 0.5.4 → 0.5.5

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: a7355dc3b49711e877b6d589187406220731be24
4
- data.tar.gz: 62e462f6c6133f33312d78ef275b20abfa4f17bd
3
+ metadata.gz: 189b5833da044ec29e5cf06d708960564a08a47f
4
+ data.tar.gz: 30c672d61e39c2e84e131404b6efdf5c4bdcecad
5
5
  SHA512:
6
- metadata.gz: c39f36e9fa0fe9226b690153ce256179f2eefe8eab954a99f84d3d091195dff5a6c1c3e47df5ee86eff8f2a4e03ce1df346f8f0a4525d828ee3fcae38ca5ef01
7
- data.tar.gz: e62781481e845481b1827d23c9adb4db48e1d7cedfeeb12ca354f0ccef61e79e7074fae171e356c0ef69dd69caea058d9b7f491c6d9419bd872e30e233c582af
6
+ metadata.gz: 1e225b091d344c3c72fd660e3672821c49c2be5403a8b43db54f2f22b2b0cf3fe2ce4867c3371d6462fed1ca7395c274fed29ef7f634ebb012ba9e3ebe161204
7
+ data.tar.gz: 3ee1e87f5329b4296ceaa9b664f8aa13c10ffcf7f72ffdbd1b486829e77b603a8a2e467552057e0801ccd458d566c375b914e82de62d480503fdb56c9ed3fca2
@@ -16,7 +16,7 @@ module Jimmy
16
16
  end
17
17
 
18
18
  def transform(sym, method)
19
- if method
19
+ if method && sym.is_a?(Symbol)
20
20
  cache(method)[sym] ||= __send__(method, sym.to_s).to_sym
21
21
  else
22
22
  sym
data/lib/jimmy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jimmy
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jimmy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil E. Pearson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-02 00:00:00.000000000 Z
11
+ date: 2017-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema