active_fedora_finders 0.1.2 → 0.1.3

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.
@@ -1,5 +1,5 @@
1
1
  module ActiveFedora
2
2
  module Finders
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
@@ -9,12 +9,12 @@ module ActiveFedora
9
9
  autoload :Version
10
10
 
11
11
  SINGLE_VALUE_FIELDS = [:pid, :cDate, :mDate, :label]
12
- SYSTEM_FIELDS = SINGLE_VALUE_FIELDS.concat [:ownerId]
12
+ SYSTEM_FIELDS = [:ownerId].concat(SINGLE_VALUE_FIELDS)
13
13
  DC_FIELDS = [:contributor, :coverage, :creator, :date, :description, :format,
14
14
  :identifier, :language, :publisher, :relation, :rights, :source,
15
15
  :subject, :title, :type ]
16
16
  SUPPORTED_ALTS = [:cdate, :create_date, :mdate, :modified_date, :owner_id]
17
- ALL_FIELDS = SYSTEM_FIELDS.concat(DC_FIELDS)
17
+ ALL_FIELDS = [].concat(SYSTEM_FIELDS).concat(DC_FIELDS)
18
18
  FIELD_KEYS = begin
19
19
  fk = Hash[ALL_FIELDS.map {|a| [a.to_s, a]}]
20
20
  fk["cdate"] = :cDate
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_fedora_finders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: