foodietest123 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e1142803f31e06e584800e001a125aff59cc47f6c8c95526dec4935cad524277
4
+ data.tar.gz: 601a2eafbf463be84d3289b268d1e30da5dee6b009f98b2881b4e560166c31a0
5
+ SHA512:
6
+ metadata.gz: e1131c4816ebbe09501561019107e6b0e7924a183b9fc3094b9bdc39798b6581ae93d4d4acc1b39ef161ae270cb37c25ed7e6a9d58954fdaa15d32cc30ed69b3
7
+ data.tar.gz: 64f1368301cc59fb90110bb910c9dd6fdae53cdfd4f4f5761acbed0b1a41d4168e0ebefddbb97e25fb12d00c1d65c829a131c31185ec9866c4122f8630d39053
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "foodie"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,9 @@
1
+ module Foodie
2
+ module Client
3
+ class Test
4
+ def hola
5
+ JSON.parse(File.expand_path(File.join(__dir__, 'data/metric_units_catalog.json')))
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Foodie
4
+ VERSION = "0.1.0"
5
+ end
data/lib/foodie.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "foodie/version"
4
+
5
+ module Foodie
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: foodietest123
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - leonel gracia
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Write a longer description or delete this line.
14
+ email:
15
+ - leonel.gracia89@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - bin/console
21
+ - bin/setup
22
+ - lib/client/test.rb
23
+ - lib/foodie.rb
24
+ - lib/foodie/version.rb
25
+ homepage: https://rubygems.org/gems/foodie
26
+ licenses:
27
+ - MIT
28
+ metadata:
29
+ allowed_push_host: https://rubygems.org
30
+ homepage_uri: https://rubygems.org/gems/foodie
31
+ source_code_uri: https://github.com/LGraciaBarraza/foodie
32
+ post_install_message:
33
+ rdoc_options: []
34
+ require_paths:
35
+ - lib
36
+ required_ruby_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.6.0
41
+ required_rubygems_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ requirements: []
47
+ rubygems_version: 3.4.10
48
+ signing_key:
49
+ specification_version: 4
50
+ summary: te a short summary, because RubyGems requires one.
51
+ test_files: []