rfcbib 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.rubocop.yml +4 -0
- data/.travis.yml +5 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +66 -0
- data/LICENSE.txt +21 -0
- data/README.adoc +86 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/rfcbib/rfc_bibliography.rb +14 -0
- data/lib/rfcbib/scrapper.rb +204 -0
- data/lib/rfcbib/version.rb +3 -0
- data/lib/rfcbib.rb +4 -0
- data/rfcbib.gemspec +35 -0
- metadata +160 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7efca45eeb81da661be8978f11a8c042cada52ad1afcf7f83778c61ff42cb95c
|
4
|
+
data.tar.gz: d62cbf6337e4888925de63b0074144b971370e967ad3440ee67d9236548d4277
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 53d845481efaf30667074e82c9808385d346ac9907701b1869f634e2118f8d4f4cf0bee37daa84ef4063cf256f535449e78b00a49c5eba01215f60119dd00459
|
7
|
+
data.tar.gz: 76610c06062009a941b6bb8d31ae75ed9e11ad617ef0374ca809e5ea1a661d29bf43e55272b29276eb9a9d747ac79cbe3e080fd8036abd796ed151050e3cfc41
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rfcbib (0.1.0)
|
5
|
+
iso-bib-item (~> 0.1.10)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
byebug (10.0.2)
|
11
|
+
coderay (1.1.2)
|
12
|
+
diff-lcs (1.3)
|
13
|
+
docile (1.3.1)
|
14
|
+
duplicate (1.1.1)
|
15
|
+
equivalent-xml (0.6.0)
|
16
|
+
nokogiri (>= 1.4.3)
|
17
|
+
iso-bib-item (0.1.10)
|
18
|
+
duplicate
|
19
|
+
isoics (~> 0.1.6)
|
20
|
+
nokogiri
|
21
|
+
isoics (0.1.6)
|
22
|
+
json (2.1.0)
|
23
|
+
method_source (0.9.0)
|
24
|
+
mini_portile2 (2.3.0)
|
25
|
+
nokogiri (1.8.3)
|
26
|
+
mini_portile2 (~> 2.3.0)
|
27
|
+
pry (0.11.3)
|
28
|
+
coderay (~> 1.1.0)
|
29
|
+
method_source (~> 0.9.0)
|
30
|
+
pry-byebug (3.6.0)
|
31
|
+
byebug (~> 10.0)
|
32
|
+
pry (~> 0.10)
|
33
|
+
rake (10.5.0)
|
34
|
+
rspec (3.7.0)
|
35
|
+
rspec-core (~> 3.7.0)
|
36
|
+
rspec-expectations (~> 3.7.0)
|
37
|
+
rspec-mocks (~> 3.7.0)
|
38
|
+
rspec-core (3.7.1)
|
39
|
+
rspec-support (~> 3.7.0)
|
40
|
+
rspec-expectations (3.7.0)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.7.0)
|
43
|
+
rspec-mocks (3.7.0)
|
44
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
+
rspec-support (~> 3.7.0)
|
46
|
+
rspec-support (3.7.1)
|
47
|
+
simplecov (0.16.1)
|
48
|
+
docile (~> 1.1)
|
49
|
+
json (>= 1.8, < 3)
|
50
|
+
simplecov-html (~> 0.10.0)
|
51
|
+
simplecov-html (0.10.2)
|
52
|
+
|
53
|
+
PLATFORMS
|
54
|
+
ruby
|
55
|
+
|
56
|
+
DEPENDENCIES
|
57
|
+
bundler (~> 1.16)
|
58
|
+
equivalent-xml (~> 0.6)
|
59
|
+
pry-byebug
|
60
|
+
rake (~> 10.0)
|
61
|
+
rfcbib!
|
62
|
+
rspec (~> 3.0)
|
63
|
+
simplecov
|
64
|
+
|
65
|
+
BUNDLED WITH
|
66
|
+
1.16.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Andrei Kislichenko
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.adoc
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
= Rfcbib
|
2
|
+
|
3
|
+
RFCBib is a Ruby gem that search and fetch RFC standards.
|
4
|
+
The standards scrape form https://www.rfc-editor.org/search/rfc_search.php
|
5
|
+
|
6
|
+
== Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
[source, ruby]
|
11
|
+
----
|
12
|
+
gem 'rfcbib'
|
13
|
+
----
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install rfcbib
|
22
|
+
|
23
|
+
== Usage
|
24
|
+
|
25
|
+
=== Search document
|
26
|
+
|
27
|
+
[source,ruby]
|
28
|
+
----
|
29
|
+
item = RfcBib::RfcBibliography.search 'RFC 8341'
|
30
|
+
=> #<IsoBibItem::BibliographicItem:0x007fdb0803a0f8>
|
31
|
+
|
32
|
+
# Return nil if document doesn't exist.
|
33
|
+
RfcBib::RfcBibliography.search '1111'
|
34
|
+
=> nil
|
35
|
+
----
|
36
|
+
|
37
|
+
=== Serialization
|
38
|
+
|
39
|
+
[source,ruby]
|
40
|
+
----
|
41
|
+
item.to_xml
|
42
|
+
=>"<bibitem id='RFC8341'>
|
43
|
+
<title format='plain' language='en' script='Latn'>Network Configuration Access Control Model</title>
|
44
|
+
<link type='src'>https://www.rfc-editor.org/info/rfc8341</link>
|
45
|
+
<date type='published'>
|
46
|
+
<on>2018</on>
|
47
|
+
</date>
|
48
|
+
<contributor>
|
49
|
+
<role type='author'/>
|
50
|
+
<person>
|
51
|
+
<name>
|
52
|
+
<completename language='en'>A. Bierman</completename>
|
53
|
+
</name>
|
54
|
+
<affilation>
|
55
|
+
<organization>
|
56
|
+
<name/>
|
57
|
+
<abbreviation>IETF</abbreviation>
|
58
|
+
</organization>
|
59
|
+
</affilation>
|
60
|
+
</person>
|
61
|
+
</contributor>
|
62
|
+
<contributor>
|
63
|
+
<role type='author'/>
|
64
|
+
<person>
|
65
|
+
<name>
|
66
|
+
<completename language='en'>M. Bjorklund</completename>
|
67
|
+
</name>
|
68
|
+
<affilation>
|
69
|
+
<organization>
|
70
|
+
<name/>
|
71
|
+
<abbreviation>IETF</abbreviation>
|
72
|
+
</organization>
|
73
|
+
</affilation>
|
74
|
+
</person>
|
75
|
+
</contributor>
|
76
|
+
<language>en</language>
|
77
|
+
</bibitem>"
|
78
|
+
----
|
79
|
+
|
80
|
+
== Contributing
|
81
|
+
|
82
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rfcbib.
|
83
|
+
|
84
|
+
== License
|
85
|
+
|
86
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "rfcbib"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,204 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'net/http'
|
4
|
+
require 'nokogiri'
|
5
|
+
require 'iso_bib_item'
|
6
|
+
|
7
|
+
module RfcBib
|
8
|
+
# rubocop:disable Metrics/ModuleLength
|
9
|
+
|
10
|
+
# Scrapper module
|
11
|
+
module Scrapper
|
12
|
+
class << self
|
13
|
+
# @param text [String]
|
14
|
+
# @return [IsoBibItem::BibliographicItem]
|
15
|
+
def scrape_page(text)
|
16
|
+
ref = text.sub(' ', '.') + '.xml'
|
17
|
+
uri = URI("https://www.rfc-editor.org/refs/bibxml/reference.#{ref}")
|
18
|
+
doc = Nokogiri::HTML Net::HTTP.get(uri)
|
19
|
+
@reference = doc.at('//reference')
|
20
|
+
return unless @reference
|
21
|
+
bib_item
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
# rubocop:disable Metrics/MethodLength
|
27
|
+
|
28
|
+
# @return [IsoBibItem::BibliographicItem]
|
29
|
+
def bib_item
|
30
|
+
IsoBibItem::BibliographicItem.new(
|
31
|
+
id: @reference[:anchor],
|
32
|
+
docid: docids,
|
33
|
+
status: status,
|
34
|
+
language: [language],
|
35
|
+
link: [{ type: 'src', content: @reference[:target] }],
|
36
|
+
titles: titles,
|
37
|
+
contributors: contributors,
|
38
|
+
dates: dates,
|
39
|
+
series: series
|
40
|
+
)
|
41
|
+
end
|
42
|
+
# rubocop:enable Metrics/MethodLength
|
43
|
+
|
44
|
+
# @return [String]
|
45
|
+
def language
|
46
|
+
@reference[:lang] || 'en'
|
47
|
+
end
|
48
|
+
|
49
|
+
# @return [Array<Hash>]
|
50
|
+
def titles
|
51
|
+
title = @reference.at('//front/title')
|
52
|
+
[{ content: title.text, language: language, script: 'Latn' }]
|
53
|
+
end
|
54
|
+
|
55
|
+
# @return [Array<Hash>]
|
56
|
+
def contributors
|
57
|
+
persons + organizations
|
58
|
+
end
|
59
|
+
|
60
|
+
# @return [Array<Hash{Symbol=>IsoBibItem::Person,Symbol=>Array<String>}>]
|
61
|
+
def persons
|
62
|
+
@reference.xpath('//front/author').map do |author|
|
63
|
+
entity = IsoBibItem::Person.new(
|
64
|
+
name: full_name(author),
|
65
|
+
affilation: [affilation(author)],
|
66
|
+
contacts: contacts(author.at('//address'))
|
67
|
+
)
|
68
|
+
{ entity: entity, roles: [contributor_role(author)] }
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# @return [Array<Hash{Symbol=>IsoBibItem::Organization,Symbol=>Array<String>}>]
|
73
|
+
def organizations
|
74
|
+
@reference.xpath('//seriesinfo').map do |si|
|
75
|
+
next unless si[:stream]
|
76
|
+
entity = IsoBibItem::Organization.new name: si[:stream]
|
77
|
+
{ entity: entity, roles: ['author'] }
|
78
|
+
end.compact
|
79
|
+
end
|
80
|
+
|
81
|
+
# @param author [Nokogiri::XML::Document]
|
82
|
+
# @return [IsoBibItem::FullName]
|
83
|
+
def full_name(author)
|
84
|
+
IsoBibItem::FullName.new(
|
85
|
+
completename: localized_string(author[:fullname]),
|
86
|
+
initials: [localized_string(author[:initials])],
|
87
|
+
surname: [localized_string(author[:surname])]
|
88
|
+
)
|
89
|
+
end
|
90
|
+
|
91
|
+
# @param content [String]
|
92
|
+
# @return [IsoBibItem::LocalizedString]
|
93
|
+
def localized_string(content)
|
94
|
+
IsoBibItem::LocalizedString.new(content, language)
|
95
|
+
end
|
96
|
+
|
97
|
+
# @param postal [Nokogiri::XML::Document]
|
98
|
+
# @return [Array<IsoBibItem::Address, IsoBibItem::Phone>]
|
99
|
+
def contacts(addr)
|
100
|
+
contacts = []
|
101
|
+
return contacts unless addr
|
102
|
+
postal = addr.at('//postal')
|
103
|
+
contacts << address(postal) if postal
|
104
|
+
add_contact(contacts, 'phone', addr.at('//phone'))
|
105
|
+
add_contact(contacts, 'email', addr.at('//email'))
|
106
|
+
add_contact(contacts, 'uri', addr.at('//uri'))
|
107
|
+
contacts
|
108
|
+
end
|
109
|
+
|
110
|
+
# @param postal [Nokogiri::XML::Document]
|
111
|
+
# @rerurn [IsoBibItem::Address]
|
112
|
+
def address(postal)
|
113
|
+
IsoBibItem::Address.new(
|
114
|
+
street: [(postal.at('//postalLine') || postal.at('//street')).text],
|
115
|
+
city: postal.at('//city').text,
|
116
|
+
postcode: postal.at('//code').text,
|
117
|
+
country: postal.at('//country').text,
|
118
|
+
state: postal.at('//region').text
|
119
|
+
)
|
120
|
+
end
|
121
|
+
|
122
|
+
# @param type [String] allowed "phone", "email" or "uri"
|
123
|
+
# @param value [String]
|
124
|
+
def add_contact(contacts, type, value)
|
125
|
+
return unless value
|
126
|
+
contacts << IsoBibItem::Contact.new(type: type, value: value.text)
|
127
|
+
end
|
128
|
+
|
129
|
+
# @param author [Nokogiri::XML::Document]
|
130
|
+
# @return [IsoBibItem::Affilation]
|
131
|
+
def affilation(author)
|
132
|
+
organization = author.at('//organization')
|
133
|
+
IsoBibItem::Affilation.new IsoBibItem::Organization.new(
|
134
|
+
name: organization.text.empty? ? 'IETF' : organization.text,
|
135
|
+
abbreviation: organization[:abbrev] || 'IETF'
|
136
|
+
)
|
137
|
+
end
|
138
|
+
|
139
|
+
# @param author [Nokogiri::XML::Document]
|
140
|
+
# @return [String]
|
141
|
+
def contributor_role(author)
|
142
|
+
author[:role] || 'author'
|
143
|
+
end
|
144
|
+
|
145
|
+
#
|
146
|
+
# Extract date from reference.
|
147
|
+
#
|
148
|
+
# @return [Array<IsoBibItem::BibliographicDate>] published data.
|
149
|
+
#
|
150
|
+
def dates
|
151
|
+
return unless (date = @reference.at '//front/date')
|
152
|
+
d = [date[:year], date[:month], date[:day]].compact.join '-'
|
153
|
+
date = Time.parse(d).strftime '%Y-%m-%d'
|
154
|
+
[IsoBibItem::BibliographicDate.new(type: 'published', on: date)]
|
155
|
+
end
|
156
|
+
|
157
|
+
#
|
158
|
+
# Extract document identifiers from reference
|
159
|
+
#
|
160
|
+
# @return [Array<IsoBibItem::DocumentIdentifier>]
|
161
|
+
#
|
162
|
+
def docids
|
163
|
+
@reference.xpath('//seriesinfo').map do |si|
|
164
|
+
next unless si[:name] == 'DOI'
|
165
|
+
IsoBibItem::DocumentIdentifier.new(
|
166
|
+
id: si[:value],
|
167
|
+
type: si[:name]
|
168
|
+
)
|
169
|
+
end.compact
|
170
|
+
end
|
171
|
+
|
172
|
+
#
|
173
|
+
# Extract series form reference
|
174
|
+
#
|
175
|
+
# @return [Array<IsoBibItem::FormattedString>]
|
176
|
+
#
|
177
|
+
def series
|
178
|
+
@reference.xpath('//seriesinfo').map do |si|
|
179
|
+
next if si[:name] == 'DOI' || si[:stream] || si[:status]
|
180
|
+
IsoBibItem::Series.new(
|
181
|
+
title: IsoBibItem::FormattedString.new(
|
182
|
+
content: si[:name], language: language, script: 'Latn'
|
183
|
+
),
|
184
|
+
number: si[:value]
|
185
|
+
)
|
186
|
+
end.compact
|
187
|
+
end
|
188
|
+
|
189
|
+
#
|
190
|
+
# extract status
|
191
|
+
#
|
192
|
+
# @return [IsoBibItem::DocumentStatus]
|
193
|
+
#
|
194
|
+
def status
|
195
|
+
st = @reference.at('//seriesinfo[@status]')
|
196
|
+
return unless st
|
197
|
+
IsoBibItem::DocumentStatus.new(
|
198
|
+
IsoBibItem::LocalizedString.new(st[:status])
|
199
|
+
)
|
200
|
+
end
|
201
|
+
end
|
202
|
+
end
|
203
|
+
# rubocop:enable Metrics/ModuleLength
|
204
|
+
end
|
data/lib/rfcbib.rb
ADDED
data/rfcbib.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'rfcbib/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'rfcbib'
|
9
|
+
spec.version = Rfcbib::VERSION
|
10
|
+
spec.authors = ['Ribose Inc.']
|
11
|
+
spec.email = ['open.source@ribose.com']
|
12
|
+
|
13
|
+
spec.summary = 'RfcBib: retrieve RFC Standards for bibliographic use '\
|
14
|
+
'using the BibliographicItem model'
|
15
|
+
spec.description = 'RfcBib: retrieve RFC Standards for bibliographic use '\
|
16
|
+
'using the BibliographicItem model'
|
17
|
+
spec.homepage = 'https://github.com/riboseinc/rfcbib'
|
18
|
+
spec.license = 'MIT'
|
19
|
+
|
20
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
21
|
+
f.match(%r{^(test|spec|features)/})
|
22
|
+
end
|
23
|
+
spec.bindir = 'exe'
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
28
|
+
spec.add_development_dependency 'pry-byebug'
|
29
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
30
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
|
+
spec.add_development_dependency 'simplecov'
|
32
|
+
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
33
|
+
|
34
|
+
spec.add_dependency 'iso-bib-item', '~> 0.1.10'
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rfcbib
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ribose Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-07-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pry-byebug
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: equivalent-xml
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.6'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: iso-bib-item
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.1.10
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.1.10
|
111
|
+
description: 'RfcBib: retrieve RFC Standards for bibliographic use using the BibliographicItem
|
112
|
+
model'
|
113
|
+
email:
|
114
|
+
- open.source@ribose.com
|
115
|
+
executables: []
|
116
|
+
extensions: []
|
117
|
+
extra_rdoc_files: []
|
118
|
+
files:
|
119
|
+
- ".gitignore"
|
120
|
+
- ".rspec"
|
121
|
+
- ".rubocop.yml"
|
122
|
+
- ".travis.yml"
|
123
|
+
- Gemfile
|
124
|
+
- Gemfile.lock
|
125
|
+
- LICENSE.txt
|
126
|
+
- README.adoc
|
127
|
+
- Rakefile
|
128
|
+
- bin/console
|
129
|
+
- bin/setup
|
130
|
+
- lib/rfcbib.rb
|
131
|
+
- lib/rfcbib/rfc_bibliography.rb
|
132
|
+
- lib/rfcbib/scrapper.rb
|
133
|
+
- lib/rfcbib/version.rb
|
134
|
+
- rfcbib.gemspec
|
135
|
+
homepage: https://github.com/riboseinc/rfcbib
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.7.6
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: 'RfcBib: retrieve RFC Standards for bibliographic use using the BibliographicItem
|
159
|
+
model'
|
160
|
+
test_files: []
|