moneta-api 1.0.3 → 1.0.4

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: 4192eed5365c133e3c6bc389e40a74d17316d71d
4
- data.tar.gz: db8d500824d3b5b2a71e4b0b5b80f550c713051c
3
+ metadata.gz: 1eba803ac44b2c7a38578bc70ca778f106f65a23
4
+ data.tar.gz: ebd0399cc781f82bd4963b006f8b907f55610aba
5
5
  SHA512:
6
- metadata.gz: 9fa32bced67c2a982e0ea79066f34143005aecd29476a78fb2c5b8caf53a44f1abfa2506c334ed0d056258356f02ec0822e06d9fa5b77b8a17ff5779e56c7a53
7
- data.tar.gz: 93e61d41bbeb69ac6ff507fd34f87874e8ac48e75ff2c39cb62dc3acb87c8460fc190f567339c0991800cdbe49fca6cbc4f1886e9544c59be282bec96ad09fd3
6
+ metadata.gz: 7a0094ba974d4a1fb42e27ff6761e0f9148be6afdf076597627e7be28baa8d27c81348b18c15dcc1443d337a249e8d33af96d2c3c92ebeb5789b07fb046a6e98
7
+ data.tar.gz: 707b356c70f3f3995895f8f2d602681e0c89cadf73ff1915a9ccd0e702cf7fef5138706b82fb6c310191f3d050dd6358dc94f2f324e0a068b7f3742415c4a06b
@@ -1,5 +1,5 @@
1
1
  module Moneta
2
2
  module Api
3
- VERSION = '1.0.3'
3
+ VERSION = '1.0.4'
4
4
  end
5
5
  end
@@ -3,9 +3,7 @@ module Moneta
3
3
  module String
4
4
 
5
5
  def self.included(base)
6
- unless 'moneta'.respond_to?(:classify)
7
- base.send(:include, Extension)
8
- end
6
+ base.send(:include, Extension)
9
7
  end
10
8
 
11
9
  module Extension
@@ -18,7 +16,7 @@ module Moneta
18
16
  end
19
17
 
20
18
  def classify
21
- dup.split('_').map(&:capitalize).join
19
+ defined?(super) ? super : dup.split('_').map(&:capitalize).join
22
20
  end
23
21
  end
24
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneta-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssnikolay