bibliothecary 8.3.3 → 8.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 137de2598a6dc8e47bbaea1e232bb1c46e6efd9986e7307846fb371dc89439a2
4
- data.tar.gz: ca97f6776e335b52dfc5f9b97d8bf24d8271d22cfd87d3f82f0e9c683e1a3dd9
3
+ metadata.gz: 9bd6e1d72ef747c4e0a6070e71609c20e4f801de4e61f05cd53bc8b20d30fc53
4
+ data.tar.gz: 0b0e70fde9855df7c3e18a6824b3d1b43ca83646128ee3972aed7eed1cf90df7
5
5
  SHA512:
6
- metadata.gz: 209aed3d49a29f62078f56bbb9c5ff7192adfd3c3c5f432cdb6993901f53e68c01451b6f5965a57cd3cfb30d0a25a3bb3435e6c96e4a7e7f26e097d00596cd01
7
- data.tar.gz: 562ba360db10d9864ab9d18a90c9a10f5acd8e408eaef5c69be5afa99e0229a3078ba35b6919b63a91f523a6c3c7619b26006a8e56b337e9f004d264e4dbbd83
6
+ metadata.gz: e3766156e6f96ad25947cd3b5f5d5703e288720f996870e80993e3297df9fa9697793109a0e3d4a8affdc8e87839a7c67374bda098befcac47578c3d61b3a3ee
7
+ data.tar.gz: 886ede7d0f5e7f91bc788a3cc7922be2cf9243deb3e5c8b45109b41a5bb0ed70e1d2d24049fd354ed230da1be9deb0b62cdbebc6e3db10a188fac7ae065a94b4
data/README.md CHANGED
@@ -164,7 +164,7 @@ All available config options are in: https://github.com/librariesio/bibliothecar
164
164
 
165
165
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
166
166
 
167
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
167
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, bump and commit the version number in `version.rb` in the `main` branch, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
168
168
 
169
169
  ## Contributing
170
170
 
@@ -150,7 +150,7 @@ module Bibliothecary
150
150
  def self.parse_go_resolved(file_contents, options: {})
151
151
  JSON.parse(file_contents)
152
152
  .select { |dep| dep["Main"] != "true" }
153
- .map { |dep| { name: dep["Path"], requirement: dep["Version"], type: 'runtime' } }
153
+ .map { |dep| { name: dep["Path"], requirement: dep["Version"], type: dep.fetch("Scope") { "runtime" } } }
154
154
  end
155
155
 
156
156
  def self.map_dependencies(manifest, attr_name, dep_attr_name, version_attr_name, type)
@@ -1,3 +1,3 @@
1
1
  module Bibliothecary
2
- VERSION = "8.3.3"
2
+ VERSION = "8.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibliothecary
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.3.3
4
+ version: 8.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-15 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tomlrb