google_search_cse 0.0.2 → 0.0.3
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/google_search_cse/version.rb +1 -1
- data/lib/google_search_cse.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33cf6b709fc10e912d900c5fd0f0488e91246f7d5c20d126b5d895e380891b9e
|
|
4
|
+
data.tar.gz: a4fea602bb89ce7c25da00d236cb36ee6fcf28ffc3b01c1cb16200a420c2df0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03b1a964fade7c2d480b437d23ab71416775d84e96a4c1dc27cd6a8054e08aff0fa552f476828150b946735b5235bea51d184083f51feb792c9b921722a094a4
|
|
7
|
+
data.tar.gz: 954c059fc3fc291f58d9f363a918d3c93a1084cef2495b2e1a9f8847e384fd9c142438afa08b218d81a56a95b2096d4e5805706b71ffdddfd78fbd3e24d82385
|
data/lib/google_search_cse.rb
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
require_relative "google_search_cse/version"
|
|
2
2
|
|
|
3
3
|
class GoogleSearchCse
|
|
4
|
+
class DeprecatedError < StandardError; end
|
|
5
|
+
|
|
6
|
+
def initialize(*)
|
|
7
|
+
raise DeprecatedError,
|
|
8
|
+
"[DEPRECATED] google_search_cse: Google Custom Search API is being shut down on " \
|
|
9
|
+
"January 1, 2027. This gem has no implementation. " \
|
|
10
|
+
"Please migrate to Algolia (https://www.algolia.com/), " \
|
|
11
|
+
"Meilisearch (https://www.meilisearch.com/), or Typesense (https://typesense.org/)."
|
|
12
|
+
end
|
|
4
13
|
end
|