loc_mods 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +46 -1
  3. data/exe/loc-mods +6 -0
  4. data/lib/loc_mods/abstract.rb +2 -2
  5. data/lib/loc_mods/access_condition.rb +2 -2
  6. data/lib/loc_mods/alternative_name.rb +2 -2
  7. data/lib/loc_mods/area.rb +2 -2
  8. data/lib/loc_mods/base_mapper.rb +9 -0
  9. data/lib/loc_mods/cartographic_extension.rb +2 -2
  10. data/lib/loc_mods/cartographics.rb +2 -2
  11. data/lib/loc_mods/city_section.rb +2 -2
  12. data/lib/loc_mods/classification.rb +2 -2
  13. data/lib/loc_mods/cli.rb +101 -0
  14. data/lib/loc_mods/collection.rb +2 -2
  15. data/lib/loc_mods/comparable_mapper.rb +96 -0
  16. data/lib/loc_mods/copy_information.rb +2 -2
  17. data/lib/loc_mods/date.rb +2 -2
  18. data/lib/loc_mods/date_other.rb +2 -2
  19. data/lib/loc_mods/detail.rb +2 -2
  20. data/lib/loc_mods/edition.rb +2 -2
  21. data/lib/loc_mods/enumeration_and_chronology.rb +2 -2
  22. data/lib/loc_mods/extent.rb +2 -2
  23. data/lib/loc_mods/extent_definition.rb +2 -2
  24. data/lib/loc_mods/form.rb +2 -2
  25. data/lib/loc_mods/genre.rb +2 -2
  26. data/lib/loc_mods/geographic_code.rb +2 -2
  27. data/lib/loc_mods/hierarchical_geographic.rb +2 -2
  28. data/lib/loc_mods/hierarchical_part.rb +2 -2
  29. data/lib/loc_mods/holding_simple.rb +2 -2
  30. data/lib/loc_mods/identifier.rb +2 -2
  31. data/lib/loc_mods/item_identifier.rb +2 -2
  32. data/lib/loc_mods/language.rb +2 -2
  33. data/lib/loc_mods/language_term.rb +2 -2
  34. data/lib/loc_mods/location.rb +2 -2
  35. data/lib/loc_mods/name.rb +2 -2
  36. data/lib/loc_mods/name_part.rb +2 -2
  37. data/lib/loc_mods/non_sort.rb +2 -2
  38. data/lib/loc_mods/note.rb +2 -2
  39. data/lib/loc_mods/occupation.rb +2 -2
  40. data/lib/loc_mods/origin_info.rb +2 -2
  41. data/lib/loc_mods/part.rb +2 -2
  42. data/lib/loc_mods/physical_description.rb +2 -2
  43. data/lib/loc_mods/physical_description_note.rb +2 -2
  44. data/lib/loc_mods/physical_location.rb +2 -2
  45. data/lib/loc_mods/place.rb +2 -2
  46. data/lib/loc_mods/place_term.rb +2 -2
  47. data/lib/loc_mods/publisher.rb +2 -2
  48. data/lib/loc_mods/record.rb +2 -2
  49. data/lib/loc_mods/record_content_source.rb +2 -2
  50. data/lib/loc_mods/record_identifier.rb +2 -2
  51. data/lib/loc_mods/record_info.rb +2 -2
  52. data/lib/loc_mods/record_info_note.rb +2 -2
  53. data/lib/loc_mods/region.rb +2 -2
  54. data/lib/loc_mods/related_item.rb +2 -2
  55. data/lib/loc_mods/role.rb +2 -2
  56. data/lib/loc_mods/role_term.rb +2 -2
  57. data/lib/loc_mods/script_term.rb +2 -2
  58. data/lib/loc_mods/string_plus_language.rb +2 -2
  59. data/lib/loc_mods/string_plus_language_plus_authority.rb +2 -2
  60. data/lib/loc_mods/string_plus_language_plus_supplied.rb +2 -2
  61. data/lib/loc_mods/subject.rb +2 -2
  62. data/lib/loc_mods/subject_name.rb +2 -2
  63. data/lib/loc_mods/subject_title_info.rb +2 -2
  64. data/lib/loc_mods/table_of_contents.rb +2 -2
  65. data/lib/loc_mods/target_audience.rb +2 -2
  66. data/lib/loc_mods/temporal.rb +2 -2
  67. data/lib/loc_mods/text.rb +2 -2
  68. data/lib/loc_mods/title_info.rb +2 -2
  69. data/lib/loc_mods/type_of_resource.rb +2 -2
  70. data/lib/loc_mods/url.rb +2 -2
  71. data/lib/loc_mods/version.rb +1 -1
  72. metadata +22 -3
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class LanguageTerm < Shale::Mapper
6
+ class LanguageTerm < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :authority_uri, Shale::Type::Value
9
9
  attribute :value_uri, Shale::Type::Value
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "cartographic_extension"
6
6
  require_relative "holding_simple"
@@ -8,7 +8,7 @@ require_relative "physical_location"
8
8
  require_relative "url"
9
9
 
10
10
  module LocMods
11
- class Location < Shale::Mapper
11
+ class Location < BaseMapper
12
12
  attribute :lang, Shale::Type::String
13
13
  attribute :script, Shale::Type::String
14
14
  attribute :transliteration, Shale::Type::String
data/lib/loc_mods/name.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "alternative_name"
6
6
  require_relative "identifier"
@@ -8,7 +8,7 @@ require_relative "name_part"
8
8
  require_relative "role"
9
9
 
10
10
  module LocMods
11
- class Name < Shale::Mapper
11
+ class Name < BaseMapper
12
12
  attribute :id, Shale::Type::Value
13
13
  attribute :authority, Shale::Type::String
14
14
  attribute :authority_uri, Shale::Type::Value
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class NamePart < Shale::Mapper
6
+ class NamePart < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :type, Shale::Type::String
9
9
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class NonSort < Shale::Mapper
6
+ class NonSort < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :space, Shale::Type::String
9
9
 
data/lib/loc_mods/note.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class Note < Shale::Mapper
6
+ class Note < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :display_label, Shale::Type::String
9
9
  attribute :type, Shale::Type::String
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
6
  # LocMods::StringPlusLanguagePlusAuthority
7
- class Occupation < Shale::Mapper
7
+ class Occupation < BaseMapper
8
8
  attribute :content, Shale::Type::String
9
9
  attribute :authority, Shale::Type::String
10
10
  attribute :authority_uri, Shale::Type::Value
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "date"
6
6
  require_relative "date_other"
@@ -9,7 +9,7 @@ require_relative "publisher"
9
9
  require_relative "edition"
10
10
 
11
11
  module LocMods
12
- class OriginInfo < Shale::Mapper
12
+ class OriginInfo < BaseMapper
13
13
  attribute :lang, Shale::Type::String
14
14
  attribute :script, Shale::Type::String
15
15
  attribute :transliteration, Shale::Type::String
data/lib/loc_mods/part.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "date"
6
6
  require_relative "detail"
@@ -8,7 +8,7 @@ require_relative "extent_definition"
8
8
  require_relative "text"
9
9
 
10
10
  module LocMods
11
- class Part < Shale::Mapper
11
+ class Part < BaseMapper
12
12
  attribute :id, Shale::Type::Value
13
13
  attribute :type, Shale::Type::String
14
14
  attribute :order, Shale::Type::Integer
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "extent"
6
6
  require_relative "form"
7
7
  require_relative "physical_description_note"
8
8
 
9
9
  module LocMods
10
- class PhysicalDescription < Shale::Mapper
10
+ class PhysicalDescription < BaseMapper
11
11
  attribute :lang, Shale::Type::String
12
12
  attribute :script, Shale::Type::String
13
13
  attribute :transliteration, Shale::Type::String
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class PhysicalDescriptionNote < Shale::Mapper
6
+ class PhysicalDescriptionNote < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :display_label, Shale::Type::String
9
9
  attribute :type, Shale::Type::String
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class PhysicalLocation < Shale::Mapper
6
+ class PhysicalLocation < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :display_label, Shale::Type::String
9
9
  attribute :type, Shale::Type::String
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "place_term"
6
6
 
7
7
  module LocMods
8
- class Place < Shale::Mapper
8
+ class Place < BaseMapper
9
9
  attribute :supplied, Shale::Type::Value
10
10
  attribute :place_term, PlaceTerm, collection: true
11
11
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class PlaceTerm < Shale::Mapper
6
+ class PlaceTerm < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :authority_uri, Shale::Type::Value
9
9
  attribute :value_uri, Shale::Type::Value
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class Publisher < Shale::Mapper
6
+ class Publisher < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :authority, Shale::Type::String
9
9
  attribute :authority_uri, Shale::Type::Value
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "abstract"
6
6
  require_relative "access_condition"
@@ -24,7 +24,7 @@ require_relative "title_info"
24
24
  require_relative "type_of_resource"
25
25
 
26
26
  module LocMods
27
- class Record < Shale::Mapper
27
+ class Record < BaseMapper
28
28
  attribute :id, Shale::Type::Value
29
29
  attribute :version, Shale::Type::String
30
30
  attribute :abstract, Abstract, collection: true
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class RecordContentSource < Shale::Mapper
6
+ class RecordContentSource < BaseMapper
7
7
  attribute :authority, Shale::Type::String
8
8
  attribute :content, Shale::Type::String
9
9
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class RecordIdentifier < Shale::Mapper
6
+ class RecordIdentifier < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :source, Shale::Type::String
9
9
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "date"
6
6
  require_relative "language"
@@ -9,7 +9,7 @@ require_relative "record_identifier"
9
9
  require_relative "record_content_source"
10
10
 
11
11
  module LocMods
12
- class RecordInfo < Shale::Mapper
12
+ class RecordInfo < BaseMapper
13
13
  attribute :lang, Shale::Type::String
14
14
  attribute :script, Shale::Type::String
15
15
  attribute :transliteration, Shale::Type::String
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class RecordInfoNote < Shale::Mapper
6
+ class RecordInfoNote < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :display_label, Shale::Type::String
9
9
  attribute :type, Shale::Type::String
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "hierarchical_part"
6
6
 
7
7
  module LocMods
8
- class Region < Shale::Mapper
8
+ class Region < BaseMapper
9
9
  attribute :content, HierarchicalPart
10
10
  attribute :region_type, Shale::Type::Value
11
11
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "abstract"
6
6
  require_relative "access_condition"
@@ -23,7 +23,7 @@ require_relative "title_info"
23
23
  require_relative "type_of_resource"
24
24
 
25
25
  module LocMods
26
- class RelatedItem < Shale::Mapper
26
+ class RelatedItem < BaseMapper
27
27
  attribute :type, Shale::Type::String
28
28
  attribute :other_type, Shale::Type::String
29
29
  attribute :other_type_auth, Shale::Type::String
data/lib/loc_mods/role.rb CHANGED
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "role_term"
6
6
 
7
7
  module LocMods
8
- class Role < Shale::Mapper
8
+ class Role < BaseMapper
9
9
  attribute :role_term, RoleTerm, collection: true
10
10
 
11
11
  xml do
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class RoleTerm < Shale::Mapper
6
+ class RoleTerm < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :type, Shale::Type::String
9
9
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class ScriptTerm < Shale::Mapper
6
+ class ScriptTerm < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :type, Shale::Type::String
9
9
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class StringPlusLanguage < Shale::Mapper
6
+ class StringPlusLanguage < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :lang, Shale::Type::String
9
9
  attribute :script, Shale::Type::String
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class StringPlusLanguagePlusAuthority < Shale::Mapper
6
+ class StringPlusLanguagePlusAuthority < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :authority, Shale::Type::String
9
9
  attribute :authority_uri, Shale::Type::Value
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class StringPlusLanguagePlusSupplied < Shale::Mapper
6
+ class StringPlusLanguagePlusSupplied < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :supplied, Shale::Type::Value
9
9
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "cartographics"
6
6
  require_relative "genre"
@@ -12,7 +12,7 @@ require_relative "temporal"
12
12
  require_relative "occupation"
13
13
 
14
14
  module LocMods
15
- class Subject < Shale::Mapper
15
+ class Subject < BaseMapper
16
16
  attribute :id, Shale::Type::Value
17
17
  attribute :authority, Shale::Type::String
18
18
  attribute :authority_uri, Shale::Type::Value
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "identifier"
6
6
  require_relative "name_part"
7
7
  require_relative "role"
8
8
 
9
9
  module LocMods
10
- class SubjectName < Shale::Mapper
10
+ class SubjectName < BaseMapper
11
11
  attribute :type, Shale::Type::String
12
12
  attribute :id, Shale::Type::Value
13
13
  attribute :authority, Shale::Type::String
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class SubjectTitleInfo < Shale::Mapper
6
+ class SubjectTitleInfo < BaseMapper
7
7
  attribute :id, Shale::Type::Value
8
8
  attribute :authority, Shale::Type::String
9
9
  attribute :authority_uri, Shale::Type::Value
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class TableOfContents < Shale::Mapper
6
+ class TableOfContents < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :display_label, Shale::Type::String
9
9
  attribute :type, Shale::Type::String
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class TargetAudience < Shale::Mapper
6
+ class TargetAudience < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :display_label, Shale::Type::String
9
9
  attribute :alt_rep_group, Shale::Type::String
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  require_relative "date"
6
6
 
7
7
  module LocMods
8
- class Temporal < Shale::Mapper
8
+ class Temporal < BaseMapper
9
9
  attribute :content, Date
10
10
  attribute :authority, Shale::Type::String
11
11
  attribute :authority_uri, Shale::Type::Value
data/lib/loc_mods/text.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class Text < Shale::Mapper
6
+ class Text < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :display_label, Shale::Type::String
9
9
  attribute :type, Shale::Type::String
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
  require_relative "non_sort"
5
5
 
6
6
  module LocMods
7
- class TitleInfo < Shale::Mapper
7
+ class TitleInfo < BaseMapper
8
8
  attribute :type, Shale::Type::String
9
9
  attribute :other_type, Shale::Type::Value
10
10
  attribute :supplied, Shale::Type::Value
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class TypeOfResource < Shale::Mapper
6
+ class TypeOfResource < BaseMapper
7
7
  attribute :content, Shale::Type::String
8
8
  attribute :collection, Shale::Type::Value
9
9
  attribute :manuscript, Shale::Type::Value
data/lib/loc_mods/url.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shale"
3
+ require_relative "base_mapper"
4
4
 
5
5
  module LocMods
6
- class Url < Shale::Mapper
6
+ class Url < BaseMapper
7
7
  attribute :content, Shale::Type::Value
8
8
  attribute :date_last_accessed, Shale::Type::String
9
9
  attribute :display_label, Shale::Type::String
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LocMods
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loc_mods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-14 00:00:00.000000000 Z
11
+ date: 2024-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -111,7 +125,8 @@ dependencies:
111
125
  description: Library of Congress MODS / MADS parser
112
126
  email:
113
127
  - open.source@ribose.com
114
- executables: []
128
+ executables:
129
+ - loc-mods
115
130
  extensions: []
116
131
  extra_rdoc_files: []
117
132
  files:
@@ -120,16 +135,20 @@ files:
120
135
  - CODE_OF_CONDUCT.md
121
136
  - README.adoc
122
137
  - Rakefile
138
+ - exe/loc-mods
123
139
  - lib/loc_mods.rb
124
140
  - lib/loc_mods/abstract.rb
125
141
  - lib/loc_mods/access_condition.rb
126
142
  - lib/loc_mods/alternative_name.rb
127
143
  - lib/loc_mods/area.rb
144
+ - lib/loc_mods/base_mapper.rb
128
145
  - lib/loc_mods/cartographic_extension.rb
129
146
  - lib/loc_mods/cartographics.rb
130
147
  - lib/loc_mods/city_section.rb
131
148
  - lib/loc_mods/classification.rb
149
+ - lib/loc_mods/cli.rb
132
150
  - lib/loc_mods/collection.rb
151
+ - lib/loc_mods/comparable_mapper.rb
133
152
  - lib/loc_mods/copy_information.rb
134
153
  - lib/loc_mods/date.rb
135
154
  - lib/loc_mods/date_other.rb