scripref 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog +3 -0
- data/LICENSE +1 -1
- data/lib/scripref/bookname.rb +1 -1
- data/lib/scripref.rb +1 -1
- data/scripref.gemspec +1 -0
- data/test/test_german.rb +12 -12
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5799e584189e442c2d2f4c5dbf56ae36e26a461280ac94f656527897d0995dab
|
4
|
+
data.tar.gz: 68e9ab8f3c1422eb2cc77a1d81e66390711b616b981556af1c9bd1ddf10d82f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db67b8fc06cea9e737b7cbc89b7f0e26fb2c9604da8dbdb7dd871a3ea38c1ce2df6d154cdd7b6c74fd3e3be42ca870c59ff63f36a9f3f320e249f387995f2936
|
7
|
+
data.tar.gz: 6f65fe7594467f62542022e560f7f873f69dc2b7d0758cc8eca048583d16c59fec351803c9256be26834a52abd6184c2f908e28fd217cea5191364691431bdb4
|
data/Changelog
CHANGED
data/LICENSE
CHANGED
data/lib/scripref/bookname.rb
CHANGED
data/lib/scripref.rb
CHANGED
data/scripref.gemspec
CHANGED
data/test/test_german.rb
CHANGED
@@ -32,21 +32,21 @@ class TestGerman < Test::Unit::TestCase
|
|
32
32
|
assert_match book_re, 'Off'
|
33
33
|
end
|
34
34
|
|
35
|
-
def
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
35
|
+
def test_book2osis_id
|
36
|
+
assert_osis_book_id :Gen, '1. Mose'
|
37
|
+
assert_osis_book_id :Matt, 'Matthäus'
|
38
|
+
assert_osis_book_id :Rev, 'Offenbarung'
|
39
|
+
assert_osis_book_id :Gen, '1. Mo'
|
40
|
+
assert_osis_book_id :Gen, '1.Mo'
|
41
|
+
assert_osis_book_id :Gen, '1M'
|
42
|
+
assert_osis_book_id :Matt, 'Mat'
|
43
|
+
assert_osis_book_id :Phil, 'Phil'
|
44
|
+
assert_osis_book_id :Rev, 'Off'
|
45
45
|
end
|
46
46
|
|
47
|
-
def
|
47
|
+
def assert_osis_book_id id, str
|
48
48
|
@parser ||= Scripref::Parser.new(Scripref::German)
|
49
|
-
assert_equal
|
49
|
+
assert_equal id, @parser.parse(str).first.b1
|
50
50
|
end
|
51
51
|
|
52
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scripref
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
original_platform: ''
|
7
7
|
authors:
|
8
8
|
- Jan Friedrich
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -92,7 +92,8 @@ files:
|
|
92
92
|
- test/test_pipelining.rb
|
93
93
|
- test/test_processor.rb
|
94
94
|
homepage: https://github.com/janfri/scripref
|
95
|
-
licenses:
|
95
|
+
licenses:
|
96
|
+
- MIT
|
96
97
|
metadata:
|
97
98
|
homepage_uri: https://github.com/janfri/scripref
|
98
99
|
source_code_uri: https://github.com/janfri/scripref
|