relaton-iso-bib 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: cb3d96d937a721f78915905103686c4aeb3e76807a7bdb3f8964cb8ebea38c04
4
- data.tar.gz: 2b5dd91960bbfa14b4cae54aa8d1b4a178f20a583297ff4aeeaccf59fe03df4a
3
+ metadata.gz: 0def3c77abdc57fc345160848965efa24a14fe06823e75ec0443f0481edf0051
4
+ data.tar.gz: 8b246cd0b3beeffa848d2d5951a41edc178de2c83dfc912bdf111cac09c5aabd
5
5
  SHA512:
6
- metadata.gz: 6c66c8f2925003a3d4c4ace4d12fd31e33ab9652562cbaa8ed4bcaf34a4054a5cf0ee743faaf80c4dc8043b2be633a8e07dbe544c1cfd05c5b18bdeed5cd9da2
7
- data.tar.gz: 3bb6b8038df81e8a38a2b9245b230016fe0b03b54174790fb74cb66292e5c5a94986050c0eab9394026966aa6bec21f0844428c0d2c0f6e1efd9c952a8b7c567
6
+ metadata.gz: 2e733d3fc374bacd105f850cd27b78d3bb1824161d9158e7b349754bda3fcc371d2a81b20cfb45aa57afdd860b867c751eba0f21f6e402987cf92ca44df3bbd1
7
+ data.tar.gz: 839f652ecccd8fb9dc11d05757c6b4e014c1d2b501e12910b80cba6b18d9dffb13f1cd2aeded8df94930fc10200914e4bd71ea5c109b482c7904e5afc3520cf0
data/.travis.yml CHANGED
@@ -1,14 +1,17 @@
1
- sudo: false
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
2
3
  language: ruby
3
-
4
+ cache: bundler
5
+ os:
6
+ - linux
7
+ - osx
4
8
  rvm:
5
- - 2.5
6
- - 2.4
7
- - 2.3
8
- - ruby-head
9
-
10
- before_install: gem install bundler -v 2.0.1
11
-
9
+ - 2.5
10
+ - 2.4
11
+ - ruby-head
12
+ before_install:
13
+ - gem install bundler -v 2.0.1
14
+ - bundle update
12
15
  matrix:
13
16
  allow_failures:
14
17
  - rvm: ruby-head
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-iso-bib (0.2.0)
4
+ relaton-iso-bib (0.2.1)
5
5
  isoics (~> 0.1.6)
6
6
  nokogiri (~> 1.8.4)
7
7
  relaton-bib (~> 0.2.0)
@@ -35,7 +35,7 @@ GEM
35
35
  pry (~> 0.10)
36
36
  public_suffix (3.1.0)
37
37
  rake (10.5.0)
38
- relaton-bib (0.2.0)
38
+ relaton-bib (0.2.1)
39
39
  addressable
40
40
  nokogiri (~> 1.8.4)
41
41
  rspec (3.8.0)
@@ -23,6 +23,7 @@ module RelatonIsoBib
23
23
  # Bibliographic item.
24
24
  class IsoBibliographicItem < RelatonBib::BibliographicItem
25
25
  TYPES = %w[
26
+ standard
26
27
  international-standard technical-specification technical-report
27
28
  publicly-available-specification international-workshop-agreement guide
28
29
  ].freeze
@@ -131,7 +132,7 @@ module RelatonIsoBib
131
132
  edition version relations biblionote series medium place copyright
132
133
  link fetched docid formattedref extent accesslocation classification
133
134
  validity].include? k
134
- end
135
+ end.merge(type: "standard")
135
136
  super(super_args)
136
137
 
137
138
  @title = args.fetch(:titles, []).reduce([]) do |a, t|
@@ -1,3 +1,3 @@
1
1
  module RelatonIsoBib
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.bindir = "exe"
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
26
27
 
27
28
  spec.add_development_dependency "bundler", "~> 2.0"
28
29
  spec.add_development_dependency "pry-byebug"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iso-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -218,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - ">="
220
220
  - !ruby/object:Gem::Version
221
- version: '0'
221
+ version: 2.4.0
222
222
  required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  requirements:
224
224
  - - ">="