nuva 0.5.1 → 0.5.2

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: a5d1d66d1f5d5b9b5e770c71d441e14663dd379dcd6cf976fff239db9df601e0
4
- data.tar.gz: 5908983a10c103910cf0505b3a60df9f918d87d60cd4bd5f1578a07da18f5ce1
3
+ metadata.gz: 82acd70c0a5b198a39012c92d1094224e71dfb637dceaf9fbaaf45cc25e6ef8c
4
+ data.tar.gz: c1e69015254f080bf35e83aa2ec962b1131b47d926d0b846ae598b28a184f384
5
5
  SHA512:
6
- metadata.gz: 91c1bbfaef7424ad18043c051f8176eb492b56c848d6a36ca9c1701d3bd1351b798aede58c1dad50cbd36cbbe254be3dc8380e76cbe660270466e007794b4e8e
7
- data.tar.gz: c967dfb3a4e30a95cfabe02d6a43d64d853a7b096045e17d00a657cacd2990f9641c23a4046851826066160e33e456c0df38587fd3c40666c5dc6318fbe1d892
6
+ metadata.gz: 2591d93c4dec3b775eb61c5f19197520cda3a503d894c56adfc2dcffb8135c92b0cbd5e5c3b057cbabb83a984d3ae455000fe6c71398afab6269262fad105cc6
7
+ data.tar.gz: ecce6537ef36080c174e31983c8bee7f56157beaf3366ceb5ab629a345cdabd0bb93c41dbd4b88f750a706db715efa3317816c2226631cae339d7b2540f6a1fc
data/Changelog.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.2] - 2025-03-12
9
+
10
+ ### Fixed
11
+
12
+ - Actually use lang kwarg in `Nuva.load` method
13
+
8
14
  ## [0.5.1] - 2025-01-21
9
15
 
10
16
  ### Changed
data/lib/nuva/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nuva
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
data/lib/nuva.rb CHANGED
@@ -56,7 +56,7 @@ module Nuva
56
56
  end
57
57
 
58
58
  def inspect
59
- "#<Nuva::Nuva version=#{version.major}.#{version.minor}.#{version.patch} diseaseCount=#{repositories.diseases.all.count} vaccineCount=#{repositories.vaccines.all.count} valenceCount=#{repositories.valences.all.count}>"
59
+ "#<Nuva::Nuva version=#{version.major}.#{version.minor}.#{version.patch} disease_count=#{repositories.diseases.all.count} vaccine_count=#{repositories.vaccines.all.count} valence_count=#{repositories.valences.all.count}>"
60
60
  end
61
61
 
62
62
  class << self
@@ -67,7 +67,7 @@ module Nuva
67
67
  # Fetch version manifest if necessary
68
68
  hash ||= fetch_latest_version_hash(http:)
69
69
 
70
- response = http.get("/proto/#{hash}_en.db")
70
+ response = http.get("/proto/#{hash}_#{lang}.db")
71
71
  ::Nuva::Nuva.new(::Nuva::NuvaDatabase.decode(response.body))
72
72
  end
73
73
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nuva
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syadem
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-21 00:00:00.000000000 Z
11
+ date: 2025-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf