fatsecret_lite 0.2.1 → 0.2.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: 5149013aa9d2cfe3fba8106c74c67744fc584bd3773f60795c46f4602bfc4360
4
- data.tar.gz: 33ae4f1b63aa0d9648ba4e626c2fda5e56e80eb812fbffc56d64458674413c67
3
+ metadata.gz: 36eaf7148c1397b728204bfedee7d091c219ad1c1eb65ef695c50f8e41073690
4
+ data.tar.gz: ba55fa1869f9858aa55a563c56857574f3878a32d5fb61f480801b7926e79865
5
5
  SHA512:
6
- metadata.gz: d206b7beec5f855509d03757c9b4a3c8196a5728cba5a1315ea21e4ffbb0e14dabed0c7aa321b83b0b885783c0bbea0eccc7524c976bcb3b9f7fac61eee00846
7
- data.tar.gz: bf358c126d3c8a89635f84822ef6dab6d6e8fd11b31e4845232c9c541226255085fb76f37bb3b9353e2b868a0eac836dc067479470a23ce1bc72dd5849adbf75
6
+ metadata.gz: a4b7f6dc249d9954a4d0c52e6fb02d1ec93788be923668383627991368aee059f096b9343312818f8c9a05adb128cac956d7e81a7dcb47be7065f51a8c6a5078
7
+ data.tar.gz: d8472d6dd06b8b8488ce93b3a93c79f544a09a01001921bb88037eb9e39e41f8cf018b78bb5d91d156b670581eee629318f7da60c81ec91479cb26b2dc3e5aed
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "This gem provides a simple interface to interact with the FatSecret API using OAuth2 and RestClient."
13
13
  spec.homepage = "https://github.com/KapilDevPal/fatsecret_lite"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 2.5" # Define minimum Ruby version
15
+ spec.required_ruby_version = ">= 2.5"
16
16
 
17
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
18
  spec.metadata["homepage_uri"] = spec.homepage
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FatsecretLite
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
@@ -2,8 +2,10 @@
2
2
  require "oauth2"
3
3
  require "rest-client"
4
4
  require "json"
5
+ require_relative 'fatsecret_search'
5
6
 
6
7
  module FatsecretLite
8
+ extend FatsecretSearch
7
9
  class Configuration
8
10
  attr_accessor :client_id, :client_secret
9
11
 
@@ -87,4 +89,5 @@ module FatsecretLite
87
89
  puts "An error occurred: #{e.message}"
88
90
  end
89
91
  end
92
+ include FatsecretLite::Search
90
93
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fatsecret_lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - KapilDevPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2