relaton-bib 1.0.1 → 1.0.2

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: 2f93b20bcbcbd2d652863860202263c53c18c3434dbcb25dadacd6df3215bd07
4
- data.tar.gz: 58213431b368fdcf86f6391f3a4c5c807379885f8265ab11eaf032256d2c9308
3
+ metadata.gz: cf7f7fdcccb7d2f3eb0b90d3587b7cfd50dee1b053b0d9e8132fb6eb951a9791
4
+ data.tar.gz: 1624c2c3d7ccdd0d63055f4235e22fed6a7dd053a2d122d1010adb967d005a8b
5
5
  SHA512:
6
- metadata.gz: fb175953b587708dbf1b7ca6b56249ed32a4a14b9b1107eb302cd9578d0a2ed178b8d048a14c20735bf591f9b6f9534b93fd205149b837295754762f2956b63e
7
- data.tar.gz: 0fc9fa117bd8d87a3ee1f2a9be33e03e6e189f72ceb3194fe39a4e8ad6f8ccee2461f7d378995e11a7f2ff2675ee67ad2ddefbdbb105d59465e9221f0b7e2d7e
6
+ metadata.gz: d75fa292183abc36290aeaf09893b4f899fe597c91652a90643af78c53d3ef6ad6ef00fa034f5e79dbe73914c5c099a26116ea93534edbd1dc092cb7f6dddbb0
7
+ data.tar.gz: 9aec03e6ac2b3a338a326551c6a2fbc44aa2e74fe5b0d48d1b992fff828aa5de3fd2997972be2cbc5618053b2dd70df9c6fa3cf3b019af40e8f5da5f55002df0
@@ -27,8 +27,8 @@ module RelatonBib
27
27
  # method or delete it.
28
28
  #
29
29
  # @return [RelatonBib::DocRelationCollection]
30
- # def replaces
31
- # DocRelationCollection.new @array.select { |r| r.type == "replace" }
32
- # end
30
+ def replaces
31
+ DocRelationCollection.new(@array.select { |r| r.type == "replace" })
32
+ end
33
33
  end
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.