diatheke 0.2.1 → 0.2.2
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.
- checksums.yaml +5 -5
- data/Changelog +3 -0
- data/Rakefile +4 -1
- data/diatheke.gemspec +10 -10
- data/lib/diatheke.rb +6 -3
- metadata +19 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 39288da2f246a4cab38eaedd40bbf2a627c96822f0137a90e1102465a0592cfe
|
|
4
|
+
data.tar.gz: e297800b1edd3f0c3bcb5f6cd0b70219b4f9086be8322b9e0a7e4bb6e8e229b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cdb33d60e45a09c5b55977484fa51700413f0031f3d5ddf40b944528658b9e5b82067a87fa808e5bf1ff8cfc3912ac86ea5859e6db01cc16017ae87996ee6d1a
|
|
7
|
+
data.tar.gz: 76a20f6b2137df568fdc8951fc791035f79320b20a9d293f635f62331bc157f26657924f89cd9328f84a0f0f8e79e7ebdd46be60d5b4161d9c4da3ac0c698186
|
data/Changelog
CHANGED
data/Rakefile
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
|
|
1
3
|
require 'rim/tire'
|
|
2
4
|
require 'rim/version'
|
|
5
|
+
require_relative 'lib/diatheke'
|
|
3
6
|
|
|
4
7
|
Rim.setup do
|
|
5
8
|
name 'diatheke'
|
|
6
9
|
authors 'Jan Friedrich'
|
|
7
10
|
email 'janfri26@gmail.com'
|
|
8
|
-
version
|
|
11
|
+
version Diatheke::VERSION
|
|
9
12
|
summary 'This library is a wrapper of the diatheke command-line client of the sword project.'
|
|
10
13
|
end
|
data/diatheke.gemspec
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: diatheke 0.2.
|
|
2
|
+
# stub: diatheke 0.2.2 ruby lib
|
|
3
3
|
#
|
|
4
4
|
# This file is automatically generated by rim.
|
|
5
5
|
# PLEASE DO NOT EDIT IT DIRECTLY!
|
|
@@ -7,27 +7,27 @@
|
|
|
7
7
|
|
|
8
8
|
Gem::Specification.new do |s|
|
|
9
9
|
s.name = "diatheke"
|
|
10
|
-
s.version = "0.2.
|
|
10
|
+
s.version = "0.2.2"
|
|
11
11
|
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
13
13
|
s.require_paths = ["lib"]
|
|
14
14
|
s.authors = ["Jan Friedrich"]
|
|
15
|
-
s.date = "
|
|
15
|
+
s.date = "2020-01-03"
|
|
16
16
|
s.description = ""
|
|
17
17
|
s.email = "janfri26@gmail.com"
|
|
18
18
|
s.files = ["COPYING", "Changelog", "README.md", "Rakefile", "diatheke.gemspec", "lib/diatheke.rb", "test/test_diatheke.rb"]
|
|
19
|
-
s.rubygems_version = "
|
|
19
|
+
s.rubygems_version = "3.1.2"
|
|
20
20
|
s.summary = "This library is a wrapper of the diatheke command-line client of the sword project."
|
|
21
21
|
|
|
22
22
|
if s.respond_to? :specification_version then
|
|
23
23
|
s.specification_version = 4
|
|
24
|
+
end
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
s.add_dependency(%q<rim>, ["~> 2.11"])
|
|
29
|
-
end
|
|
26
|
+
if s.respond_to? :add_runtime_dependency then
|
|
27
|
+
s.add_development_dependency(%q<rake>, [">= 0"])
|
|
28
|
+
s.add_development_dependency(%q<rim>, ["~> 2.17"])
|
|
30
29
|
else
|
|
31
|
-
s.add_dependency(%q<
|
|
30
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
|
31
|
+
s.add_dependency(%q<rim>, ["~> 2.17"])
|
|
32
32
|
end
|
|
33
33
|
end
|
data/lib/diatheke.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
|
|
2
3
|
#
|
|
3
4
|
# Diatheke
|
|
4
5
|
#
|
|
@@ -13,6 +14,8 @@ require 'shellwords'
|
|
|
13
14
|
|
|
14
15
|
module Diatheke
|
|
15
16
|
|
|
17
|
+
VERSION = '0.2.2'
|
|
18
|
+
|
|
16
19
|
class << self
|
|
17
20
|
|
|
18
21
|
def mods
|
|
@@ -20,7 +23,7 @@ module Diatheke
|
|
|
20
23
|
end
|
|
21
24
|
|
|
22
25
|
def passage(mod, key, **opts)
|
|
23
|
-
s = call(mod, key, opts)
|
|
26
|
+
s = call(mod, key, **opts)
|
|
24
27
|
parse_passage s
|
|
25
28
|
end
|
|
26
29
|
|
|
@@ -36,7 +39,7 @@ module Diatheke
|
|
|
36
39
|
search_key = key.join(' ')
|
|
37
40
|
end
|
|
38
41
|
opts[:search_type] = search_type
|
|
39
|
-
s = call(mod, search_key, opts)
|
|
42
|
+
s = call(mod, search_key, **opts)
|
|
40
43
|
parse_search s
|
|
41
44
|
end
|
|
42
45
|
|
metadata
CHANGED
|
@@ -1,29 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: diatheke
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Friedrich
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rake
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: rim
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
16
30
|
requirements:
|
|
17
31
|
- - "~>"
|
|
18
32
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '2.
|
|
33
|
+
version: '2.17'
|
|
20
34
|
type: :development
|
|
21
35
|
prerelease: false
|
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
37
|
requirements:
|
|
24
38
|
- - "~>"
|
|
25
39
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '2.
|
|
40
|
+
version: '2.17'
|
|
27
41
|
description: ''
|
|
28
42
|
email: janfri26@gmail.com
|
|
29
43
|
executables: []
|
|
@@ -55,8 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
55
69
|
- !ruby/object:Gem::Version
|
|
56
70
|
version: '0'
|
|
57
71
|
requirements: []
|
|
58
|
-
|
|
59
|
-
rubygems_version: 2.6.12
|
|
72
|
+
rubygems_version: 3.1.2
|
|
60
73
|
signing_key:
|
|
61
74
|
specification_version: 4
|
|
62
75
|
summary: This library is a wrapper of the diatheke command-line client of the sword
|