google_search_cse 0.0.2 → 0.0.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/google_search_cse.gemspec +21 -2
- data/lib/google_search_cse/version.rb +1 -1
- data/lib/google_search_cse.rb +9 -0
- metadata +20 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f366f526c0f4facab4f55abf7d47245d82a12bd043aeda0b04f6c72f0a54718c
|
|
4
|
+
data.tar.gz: f27f2430e12c362954ce2eb3a77831e58727a2a5cb2d771ab70e03d00484e74c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 564a13c175eae7e9294464e34afe8e0b40bcecaa9dce9214025cc3ebee890cacd56389da22336be154766dbfbbc902d593687514c34c278d408239469b80f706
|
|
7
|
+
data.tar.gz: 5441b8a1ca2628e9eb52fffe064b9a9e67db8a6eb1f5d6dd851e4d31ea42fe3aa1a447694d1fa5c1f8cc091dd6a0b98fff055ae9d5475bff670351cf0c77229d
|
data/google_search_cse.gemspec
CHANGED
|
@@ -5,12 +5,31 @@ Gem::Specification.new do |spec|
|
|
|
5
5
|
spec.version = GoogleSearchCse::VERSION
|
|
6
6
|
spec.authors = ["Abhishek Sharma"]
|
|
7
7
|
spec.email = ["abhsss96@gmail.com"]
|
|
8
|
-
spec.summary = "
|
|
9
|
-
spec.description =
|
|
8
|
+
spec.summary = "[DEPRECATED] Google Custom Search Engine for Rails — CSE API shuts down Jan 1 2027"
|
|
9
|
+
spec.description = <<~DESC
|
|
10
|
+
DEPRECATED: Google has announced the Custom Search JSON API will be shut down
|
|
11
|
+
on January 1, 2027. This gem will raise a DeprecatedError on instantiation.
|
|
12
|
+
|
|
13
|
+
Please migrate to one of these alternatives before the shutdown date:
|
|
14
|
+
- Algolia (https://www.algolia.com/) — hosted search with a generous free tier
|
|
15
|
+
- Meilisearch (https://www.meilisearch.com/) — fast, open-source, self-hostable
|
|
16
|
+
- Typesense (https://typesense.org/) — open-source, typo-tolerant search
|
|
17
|
+
|
|
18
|
+
Original purpose: Ruby interface for the Google Custom Search JSON API,
|
|
19
|
+
allowing Rails applications to add Google-powered site search using a
|
|
20
|
+
Custom Search Engine ID.
|
|
21
|
+
DESC
|
|
10
22
|
spec.homepage = "https://github.com/abhsss96/google_search_cse"
|
|
11
23
|
spec.license = "MIT"
|
|
12
24
|
spec.required_ruby_version = ">= 2.7"
|
|
13
25
|
|
|
26
|
+
spec.metadata = {
|
|
27
|
+
"homepage_uri" => "https://github.com/abhsss96/google_search_cse",
|
|
28
|
+
"source_code_uri" => "https://github.com/abhsss96/google_search_cse",
|
|
29
|
+
"bug_tracker_uri" => "https://github.com/abhsss96/google_search_cse/issues",
|
|
30
|
+
"changelog_uri" => "https://github.com/abhsss96/google_search_cse/releases"
|
|
31
|
+
}
|
|
32
|
+
|
|
14
33
|
spec.files = Dir["lib/**/*", "README.md", "*.gemspec"]
|
|
15
34
|
spec.require_paths = ["lib"]
|
|
16
35
|
|
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
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google_search_cse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abhishek Sharma
|
|
@@ -24,7 +24,18 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '3.12'
|
|
27
|
-
description:
|
|
27
|
+
description: |
|
|
28
|
+
DEPRECATED: Google has announced the Custom Search JSON API will be shut down
|
|
29
|
+
on January 1, 2027. This gem will raise a DeprecatedError on instantiation.
|
|
30
|
+
|
|
31
|
+
Please migrate to one of these alternatives before the shutdown date:
|
|
32
|
+
- Algolia (https://www.algolia.com/) — hosted search with a generous free tier
|
|
33
|
+
- Meilisearch (https://www.meilisearch.com/) — fast, open-source, self-hostable
|
|
34
|
+
- Typesense (https://typesense.org/) — open-source, typo-tolerant search
|
|
35
|
+
|
|
36
|
+
Original purpose: Ruby interface for the Google Custom Search JSON API,
|
|
37
|
+
allowing Rails applications to add Google-powered site search using a
|
|
38
|
+
Custom Search Engine ID.
|
|
28
39
|
email:
|
|
29
40
|
- abhsss96@gmail.com
|
|
30
41
|
executables: []
|
|
@@ -38,7 +49,11 @@ files:
|
|
|
38
49
|
homepage: https://github.com/abhsss96/google_search_cse
|
|
39
50
|
licenses:
|
|
40
51
|
- MIT
|
|
41
|
-
metadata:
|
|
52
|
+
metadata:
|
|
53
|
+
homepage_uri: https://github.com/abhsss96/google_search_cse
|
|
54
|
+
source_code_uri: https://github.com/abhsss96/google_search_cse
|
|
55
|
+
bug_tracker_uri: https://github.com/abhsss96/google_search_cse/issues
|
|
56
|
+
changelog_uri: https://github.com/abhsss96/google_search_cse/releases
|
|
42
57
|
post_install_message:
|
|
43
58
|
rdoc_options: []
|
|
44
59
|
require_paths:
|
|
@@ -57,5 +72,6 @@ requirements: []
|
|
|
57
72
|
rubygems_version: 3.5.22
|
|
58
73
|
signing_key:
|
|
59
74
|
specification_version: 4
|
|
60
|
-
summary:
|
|
75
|
+
summary: "[DEPRECATED] Google Custom Search Engine for Rails — CSE API shuts down
|
|
76
|
+
Jan 1 2027"
|
|
61
77
|
test_files: []
|