duracloud-client 0.7.0 → 0.7.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: 37ba6ce5cc5015994ed96ce7d5fc1ad987b5ef96
4
- data.tar.gz: 34d6471b5dbc0a84b65c06f8c2604f7e3c5b0f88
3
+ metadata.gz: e127a8f69c5e52bb5a1f415b62584dcdd503ff42
4
+ data.tar.gz: 82277fd18f38a035671fc5be8f2321021acf5470
5
5
  SHA512:
6
- metadata.gz: 239504e09b5efb3d8db2e46afd0d24d935dcd8258c67ab996b302946ba9bb3a1322f6f385864e1f955be4d073a0790e8fd57202f6a788c7b6303189c7a137c23
7
- data.tar.gz: 85b33cbfb16b8f4529fb88b6120904929407fe5532c7699c0a4a350d51fc9dcf9c645a7e1d25ec31eea399dd569de3cfd07339a4751ad51c22ba29fdce2e92bb
6
+ metadata.gz: 25ba1e478886dfb3266e2b600e1d8f956830e76a3dfd4ade3aa0f03d2375c63d40fca4459bf6724281410a9a53dbc979ccd6fa4486798a266caf25680575d85e
7
+ data.tar.gz: 3c0f307f2b77aac5afe1a7b7eddb64307bc1ff6554774455aa5b1c7d0cf938edb3a45b2b90eb76457236f4cd2ff182c89b677dc0e90c8485253e384f2398d518
@@ -9,13 +9,12 @@ module Duracloud
9
9
  class Properties < Hashie::Mash
10
10
 
11
11
  PREFIX = "x-dura-meta-".freeze
12
- PREFIX_RE = /\A#{PREFIX}/i
13
12
 
14
13
  # Is the property name valid?
15
14
  # @param prop [String] the property name
16
15
  # @return [Boolean]
17
16
  def self.property?(prop)
18
- !!( PREFIX_RE =~ prop.to_s )
17
+ prop.to_s.start_with?(PREFIX)
19
18
  end
20
19
 
21
20
  def initialize(source = nil, default = nil, &block)
@@ -27,11 +26,6 @@ module Duracloud
27
26
  self.class.property?(prop)
28
27
  end
29
28
 
30
- # @api private
31
- def convert_key(key)
32
- force_ascii(key)
33
- end
34
-
35
29
  # @api private
36
30
  def convert_value(value, _ = nil)
37
31
  case value
@@ -1,3 +1,3 @@
1
1
  module Duracloud
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duracloud-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark