active_fedora-registered_attributes 0.0.10 → 0.0.11

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: acf6fedf5ef07e0c6ee4980fa4b55e1c20e6d14d
4
- data.tar.gz: ea3d14821d8eff5005d19546e10df8cc736ca732
3
+ metadata.gz: b887a80c42a23d768044efdc1789e8488905d664
4
+ data.tar.gz: 2369e72e5eb8aa5bde961ad20bedf1878ce7ce3a
5
5
  SHA512:
6
- metadata.gz: 07a2a2ad776d9ea8b7bdd82e53038e8dcfdbe96f13e84fd8a140685e114bba196144fb794d8b8d22f2c9641c198ba0b708d6d604a71983cf2593a50e2c0db05a
7
- data.tar.gz: 8ea7bd3745875363039529543b0c5e09bbf62d38893db8729da25c6954a8882a7091919b601df9358540b29e508f064765af784c7ab9a3e30c1f34df72756a8b
6
+ metadata.gz: 6e13df7082a1c40b7f61aa83a3b0e8860e22201f8243c6f660a19f8c69c860afa257d6b8660436c0a47676426f50ae81e2a0714ed7f92cfc7ca8cb7b07ef315f
7
+ data.tar.gz: adf51f7d99800c41569f7adf6253e2edda40ea5a7a4a986fcb610e0fe4a0643be3132c50cebaf6a5b5969fa725fc927425546aac8bd9fb95966ef4047e58e470
@@ -23,7 +23,7 @@ module ActiveFedora
23
23
 
24
24
  module ClassMethods
25
25
  def registered_attribute_names
26
- attribute_registry.keys.collect(&:to_sym)
26
+ attribute_registry.keys.collect(&:to_s)
27
27
  end
28
28
 
29
29
  def editable_attributes
@@ -1,5 +1,5 @@
1
1
  module ActiveFedora
2
2
  module RegisteredAttributes
3
- VERSION = "0.0.10"
3
+ VERSION = "0.0.11"
4
4
  end
5
5
  end
@@ -79,7 +79,7 @@ describe 'ActiveFedora::RegisteredAttributes' do
79
79
 
80
80
  describe '.registered_attribute_names' do
81
81
  let(:expected_attribute_names) {
82
- [:title, :description, :creator, :file_names, :locations, :created_on, :not_in_the_datastream, :modified_on]
82
+ ["title", "description", "creator", "file_names", "locations", "created_on", "not_in_the_datastream", "modified_on"]
83
83
  }
84
84
  it {
85
85
  expect(MockDelegateAttribute.registered_attribute_names).to eq(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_fedora-registered_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Friesen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-13 00:00:00.000000000 Z
11
+ date: 2013-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-fedora