cosing 0.1.2 → 0.2.0

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: f8245d14649aa663ff0ca0040225bc053ed852f7c031aa3bb47f79ca56661053
4
- data.tar.gz: e781a56530b98ae057254e5a8d1519ed0a0ba92bf92f31bc40e48e71ff9d4576
3
+ metadata.gz: 040ee7054dacb1ad6141f23af73e66a02b4cea59db00b62cba8a74024f9aa172
4
+ data.tar.gz: 1be033e088188c64142674029aad1f95882aadc8dec765c89abbc81b6aa0a948
5
5
  SHA512:
6
- metadata.gz: dbf059495373b414a5a369b8e099b02809c2f977eb34263802c984841a640994489c75448df2c39c0e963fcdc0cd9ce8a071b635206c268b5aecf93754ce8c02
7
- data.tar.gz: 686d2f6b59dea8a9d110cff1e2fe0aa711b1c8265d7922968425a741d6f2f7762c8942954b28d134df85621e3e755e7baeaa56293dc4ce127b5ab04dafb105d5
6
+ metadata.gz: 144863d22513abfaf81ca0ce90a0962aad5dcaa67ec2c959881d22cab6febc412698b6ff462f890b07c312b3db6ebf8242582c985691558568634d6edbbc3fca
7
+ data.tar.gz: c785be08ec43ecb134cef5aa67270c1f6c1269a1d35065ff5b6237c81c325a7f5782154863a9139f4de9119aa8b4a34799b30d185a0f97c0226ea2c338dab5d9
data/.rubocop.yml CHANGED
@@ -4,3 +4,6 @@ require:
4
4
  inherit_gem:
5
5
  rubocop-inhouse:
6
6
  - config/default.yml
7
+
8
+ AllCops:
9
+ TargetRubyVersion: 3.1
data/README.md CHANGED
@@ -20,7 +20,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
20
20
  ```ruby
21
21
  database = Cosing.load
22
22
  database.ingredients #=> Hash<ID, Ingredient>
23
- database.ingredients.sample(2)
23
+ database.ingredients.values.sample(2)
24
24
  database.save("output.json", pretty: true) # Will save the whole database to a json file
25
25
  ```
26
26
 
data/cosing.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = spec.summary
13
13
  spec.homepage = "https://github.com/inhouse-work/cosing"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 3"
15
+ spec.required_ruby_version = ">= 3.1"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = spec.homepage
@@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ["lib"]
32
32
 
33
33
  # Uncomment to register a new dependency of your gem
34
+ spec.add_dependency "csv", "~> 3.2"
34
35
  spec.add_dependency "dry-struct", "~> 1.6"
35
36
  spec.add_dependency "dry-types", "~> 1.7"
36
37