traject_plus 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/traject_plus/macros/fgdc.rb +1 -3
- data/lib/traject_plus/macros/mods.rb +2 -4
- data/lib/traject_plus/macros/tei.rb +1 -3
- data/lib/traject_plus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b27a18435a3547cc2d7e8c89b881b19371312e3abc0670a7648eb25a0eec3ab
|
4
|
+
data.tar.gz: 34a5e4f57e063c19687dfdcb3e5be6fda683e040ce0401450ddd7453cb940522
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e31021d1869a7d98f9b4f2f834eb77bcd7f8347d1b492cffd46f2817ea143492b7f3d057047f070a6e7ee3fde27f2b7c8ef5f8b15217b24c3eb10ff97a663829
|
7
|
+
data.tar.gz: 638cefd62dd2bca34952a37ab307a2209a6c5e621c08258647fe6f285ced151084d41af5a3901bfe78284bf0e4ab4136270c3ba16b73ce57f4e4f0aa474aa192
|
@@ -6,9 +6,7 @@ module TrajectPlus
|
|
6
6
|
module FGDC
|
7
7
|
NS = { fgdc: 'http://www.fgdc.gov/metadata/fgdc-std-001-1998.dtd' }.freeze
|
8
8
|
|
9
|
-
|
10
|
-
mod.extended Traject::Macros::NokogiriMacros
|
11
|
-
end
|
9
|
+
include Traject::Macros::NokogiriMacros
|
12
10
|
|
13
11
|
# @param xpath [String] the xpath query expression
|
14
12
|
def extract_fgdc(xpath)
|
@@ -9,13 +9,11 @@ module TrajectPlus
|
|
9
9
|
dc: 'http://purl.org/dc/elements/1.1/',
|
10
10
|
xlink: 'http://www.w3.org/1999/xlink' }.freeze
|
11
11
|
|
12
|
-
|
13
|
-
mod.extended Traject::Macros::NokogiriMacros
|
14
|
-
end
|
12
|
+
include Traject::Macros::NokogiriMacros
|
15
13
|
|
16
14
|
# @param xpath [String] the xpath query expression
|
17
15
|
def extract_mods(xpath)
|
18
|
-
extract_xpath(xpath, NS)
|
16
|
+
extract_xpath(xpath, ns: NS)
|
19
17
|
end
|
20
18
|
end
|
21
19
|
end
|
@@ -5,9 +5,7 @@ module TrajectPlus
|
|
5
5
|
module Tei
|
6
6
|
NS = { tei: 'http://www.tei-c.org/ns/1.0' }.freeze
|
7
7
|
|
8
|
-
|
9
|
-
mod.extended Traject::Macros::NokogiriMacros
|
10
|
-
end
|
8
|
+
include Traject::Macros::NokogiriMacros
|
11
9
|
|
12
10
|
# @param xpath [String] the xpath query expression
|
13
11
|
def extract_tei(xpath)
|
data/lib/traject_plus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: traject_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-09-
|
14
|
+
date: 2019-09-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
|
-
rubygems_version: 3.0.
|
181
|
+
rubygems_version: 3.0.1
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Extensions to Traject for non-MARC formats
|