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 +4 -4
- data/fatsecret_lite.gemspec +1 -1
- data/lib/fatsecret_lite/version.rb +1 -1
- data/lib/fatsecret_lite.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36eaf7148c1397b728204bfedee7d091c219ad1c1eb65ef695c50f8e41073690
|
4
|
+
data.tar.gz: ba55fa1869f9858aa55a563c56857574f3878a32d5fb61f480801b7926e79865
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b7f6dc249d9954a4d0c52e6fb02d1ec93788be923668383627991368aee059f096b9343312818f8c9a05adb128cac956d7e81a7dcb47be7065f51a8c6a5078
|
7
|
+
data.tar.gz: d8472d6dd06b8b8488ce93b3a93c79f544a09a01001921bb88037eb9e39e41f8cf018b78bb5d91d156b670581eee629318f7da60c81ec91479cb26b2dc3e5aed
|
data/fatsecret_lite.gemspec
CHANGED
@@ -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"
|
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
|
data/lib/fatsecret_lite.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|