relaton-iso-bib 0.3.0 → 0.3.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
- SHA1:
3
- metadata.gz: 2a8f8aa9ba99729a50ba5fc2eab63740b576628e
4
- data.tar.gz: 247308010387c4838c56001b8efddad5fadde7fa
2
+ SHA256:
3
+ metadata.gz: 96c8bc651b400a1a47258902e120c22e76b0f6c59f88afbde70feadccf8eb603
4
+ data.tar.gz: 7a29f9f0b18c98d9a01e195dc7882d41d424e53ee9a3ba82e7192b18a4707f11
5
5
  SHA512:
6
- metadata.gz: 2681d0833b05755f655a423675964f093120b3bec9c7cc59b0abddc91c6effa8b3a42c125d5fc6c7b715eec235002149ab426dce4fce52148967eee86f821e8c
7
- data.tar.gz: 9647416af631193cfb4f82e8f9ccd62db863748a364b3cfe4f3842719923f24f24c863919182d780ee9569621a10053bf8e706e9ba8ade8af80d6e4835cc65d0
6
+ metadata.gz: b796b4e591373fddb7da04b5fcf38f791aaa02338f5d765b63b30415a2a2b253f8bc5c5dd80a103c2bd4bbb03f445f4a789adc5f42597d1baa6a8f04e015b318
7
+ data.tar.gz: 479ea647b0d5fcd39bae8694d79513a244ee66834a11277341b4a6c446739b9da492f60c5dd9eb8beac451f79abb2cf5d56341962ad8a62a695a9e2e42d0a022
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-iso-bib (0.3.0)
4
+ relaton-iso-bib (0.3.1)
5
5
  isoics (~> 0.1.6)
6
6
  relaton-bib (~> 0.3.0)
7
7
  ruby_deep_clone (~> 0.8.0)
@@ -34,7 +34,7 @@ GEM
34
34
  pry (~> 0.10)
35
35
  public_suffix (3.1.1)
36
36
  rake (10.5.0)
37
- relaton-bib (0.3.0)
37
+ relaton-bib (0.3.1)
38
38
  addressable
39
39
  nokogiri (~> 1.10)
40
40
  rspec (3.8.0)
@@ -283,16 +283,16 @@ module RelatonIsoBib
283
283
  # @return [Array<RelatonIsoBib::TypedTitleStrig>]
284
284
  def typed_titles(title)
285
285
  titles = []
286
- if title[:title_main]
286
+ if title[:title_intro]
287
287
  titles << TypedTitleString.new(
288
- type: "title-main", content: title[:title_main],
288
+ type: "title-intro", content: title[:title_intro],
289
289
  language: title[:language], script: title[:script], format: "text/plain",
290
290
  )
291
291
  end
292
292
 
293
- if title[:title_intro]
293
+ if title[:title_main]
294
294
  titles << TypedTitleString.new(
295
- type: "title-intro", content: title[:title_intro],
295
+ type: "title-main", content: title[:title_main],
296
296
  language: title[:language], script: title[:script], format: "text/plain",
297
297
  )
298
298
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonIsoBib
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iso-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-24 00:00:00.000000000 Z
11
+ date: 2019-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  version: '0'
214
214
  requirements: []
215
215
  rubyforge_project:
216
- rubygems_version: 2.6.12
216
+ rubygems_version: 2.7.6
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: 'RelatonIsoBib: Ruby ISOXMLDOC impementation.'