price_pulse 0.1.3 → 0.1.4
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 +4 -4
- data/lib/price_pulse/configuration.rb +13 -0
- data/price_pulse.gemspec +2 -2
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ca685aad4589fe3034b4a0b87747db56a6a512c840d0eafdeaeefbbbecbacc0
|
|
4
|
+
data.tar.gz: 9bbfc1a496e671792263b299525e437be9e7f58e0b240b4ced3ba1830bfe7c13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6cfab586a8a2703c6373d7ffb3240a64dbd063a3291b1ccd11878277cd103d24ea779c9ed6da76329ce5507befed77d3d4ba4f239481843ae1aee7a2a0b1864
|
|
7
|
+
data.tar.gz: eaaac01fbfe628b9ad5af12329a82a11f51b99e3925a3782c36b13521679ac28dfc1e09d62d726feeadc0f4f41101e4e81b5d985204c6cf0066a43f405aaf10e
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module PricePulse
|
|
4
|
+
module Configuration
|
|
5
|
+
# The official version of the Gem
|
|
6
|
+
VERSION = "0.1.4"
|
|
7
|
+
|
|
8
|
+
# Base URL used for testing, validation, and general lookups
|
|
9
|
+
BASE_VALIDATION_URL = "https://en.wikipedia.org/wiki/"
|
|
10
|
+
|
|
11
|
+
# Add more settings here in the future, like API keys or timeout settings.
|
|
12
|
+
end
|
|
13
|
+
end
|
data/price_pulse.gemspec
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
require_relative "lib/price_pulse/configuration" # NEW: Load the configuration file
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "price_pulse"
|
|
7
|
-
spec.version = VERSION
|
|
7
|
+
spec.version = PricePulse::Configuration::VERSION # Reference the version from the configuration (0.1.4)
|
|
8
8
|
spec.authors = ["Your Name"]
|
|
9
9
|
spec.email = ["your@email.com"]
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: price_pulse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Your Name
|
|
@@ -34,6 +34,7 @@ files:
|
|
|
34
34
|
- lib/price_pulse.rb
|
|
35
35
|
- lib/price_pulse/amazon_parser.rb
|
|
36
36
|
- lib/price_pulse/best_buy_parser.rb
|
|
37
|
+
- lib/price_pulse/configuration.rb
|
|
37
38
|
- lib/price_pulse/tracker.rb
|
|
38
39
|
- lib/price_pulse/walmart_parser.rb
|
|
39
40
|
- price_pulse.gemspec
|