isobib 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d62f351ae28675a812c4f9f7b0805dfd5e6c062b
4
- data.tar.gz: 67bc5f11880b0f5d9cb97e90b382471bf765aa92
3
+ metadata.gz: 99d6a2bc95e20bf725a2ebb975d0c743dcf95912
4
+ data.tar.gz: 893d09e8750b2fa4b9c449e36d18d4ff2ee4e68a
5
5
  SHA512:
6
- metadata.gz: 7cea46abc70f17b42cfaf5f82874ce65cf7d466e40392ce9a3440231c641bb14703220ebe09f08aaf5124baf984d5d0af4b34c811be55ff9a1b5d79ef30e9912
7
- data.tar.gz: 44532dda226d6039eae9dac6b827f9825bd4938a31294374cd01080e38ef21ff433f911211d594c85c1cdeb04716096f0b3288adfbaa24a936070848663692cf
6
+ metadata.gz: 231d92813a6c052f12fb21aaa9623bf1a04246d4aea9ff6a2f2d2b62e10714b563768450055e99f1fdeaebd1640ec22e4779cd56bb2b6bd516b8921d084cbf08
7
+ data.tar.gz: dd1bd4cb0d50a22a7778f0e6c98944d0934329243c2af7697cd6dc574706277ca1981e23335bcdeff651b85e748fb92d396dbd89423765b02e04c5eb71999276
data/Gemfile.lock CHANGED
@@ -1,22 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- isobib (0.1.2)
4
+ isobib (0.1.3)
5
5
  algoliasearch
6
6
  iso-bib-item
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- algoliasearch (1.19.1)
12
- httpclient (~> 2.8.3)
11
+ algoliasearch (1.20.0)
12
+ httpclient (~> 2.8, >= 2.8.3)
13
13
  json (>= 1.5.1)
14
14
  byebug (10.0.0)
15
15
  coderay (1.1.2)
16
16
  diff-lcs (1.3)
17
17
  docile (1.1.5)
18
18
  httpclient (2.8.3)
19
- iso-bib-item (0.1.0)
19
+ iso-bib-item (0.1.1)
20
20
  isoics
21
21
  nokogiri
22
22
  isoics (0.1.5)
data/README.adoc CHANGED
@@ -12,14 +12,14 @@ You can use it to retrieve metadata of ISO Standards from https://www.iso.org, a
12
12
 
13
13
  [source,ruby]
14
14
  ----
15
- IsoBibliography.search("19115")
15
+ Isobib::IsoBibliography.search("19115")
16
16
  => [
17
17
  <<IsoBibliographicItem: docIdentifier <<projectNumber:19115; partNumber: 1>>; edition: 1 ...>>,
18
18
  <<IsoBibliographicItem: docIdentifier <<projectNumber:19115; partNumber: 1>>; edition: 2 ...>>,
19
19
  ...
20
20
  ]
21
21
 
22
- collection = IsoBibliography.search("19115")
22
+ collection = Isobib::IsoBibliography.search("19115")
23
23
  iso191151 = collection.first
24
24
  iso191152 = collection[1]
25
25
  ----
@@ -297,7 +297,7 @@ module Isobib
297
297
  dates = []
298
298
  publish_date = doc.xpath("//span[@itemprop='releaseDate']").text
299
299
  unless publish_date.empty?
300
- dates << { type: 'published', from: publish_date }
300
+ dates << { type: 'published', on: publish_date }
301
301
  end
302
302
  dates
303
303
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Isobib
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isobib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-10 00:00:00.000000000 Z
11
+ date: 2018-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler