google_suggest 1.0.3 → 1.1.0
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/CHANGELOG.md +5 -0
- data/Gemfile +0 -4
- data/Gemfile.lock +34 -36
- data/README.md +3 -3
- data/google_suggest.gemspec +25 -0
- data/lib/google_suggest/version.rb +1 -1
- metadata +27 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffd260b1addbb7ef31c712b20bd25083b5adf349b993b24a437c40c2f6586218
|
|
4
|
+
data.tar.gz: 704a9b4961814af668998d153eeb40dba4416f9f6b74e28ad1c4971ff911e952
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b895594e5e8591804e2f08cc7d47d2f3ce34a6321940079fd05fbb7042a6c210f1c452a07c43908203dc03c842e23a99d128d124b3b890999a41a0eeea29bfec
|
|
7
|
+
data.tar.gz: 75fea7fa4200ad474d2efdf3519d1b8b2fce11bf6e3916f70e0d2366aeca075c4f63f0276124fbc26c55bcfa6539a7057d312e6c910ba76b745b5bbeac795f70
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# ChangeLog
|
|
2
2
|
|
|
3
|
+
## GoogleSuggest 1.1.0
|
|
4
|
+
|
|
5
|
+
* Migrate CI from Travis CI to GitHub Actions. [#32](https://github.com/satoryu/google_suggest/pull/32)
|
|
6
|
+
* And from this version, starts to support ruby v3.0
|
|
7
|
+
|
|
3
8
|
## GoogleSuggest 1.0.3
|
|
4
9
|
|
|
5
10
|
* BugFix: Failed to parse Suggest API response since encoding issue. [#29](https://github.com/satoryu/google_suggest/pull/29)
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,56 +1,54 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
google_suggest (1.0
|
|
4
|
+
google_suggest (1.1.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
addressable (2.
|
|
10
|
-
public_suffix (>= 2.0.2, <
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
rspec-
|
|
23
|
-
|
|
24
|
-
rspec-
|
|
25
|
-
rspec-
|
|
26
|
-
rspec-support (~> 3.5.0)
|
|
27
|
-
rspec-expectations (3.5.0)
|
|
9
|
+
addressable (2.7.0)
|
|
10
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
11
|
+
crack (0.4.5)
|
|
12
|
+
rexml
|
|
13
|
+
diff-lcs (1.4.4)
|
|
14
|
+
docile (1.3.5)
|
|
15
|
+
hashdiff (1.0.1)
|
|
16
|
+
public_suffix (4.0.6)
|
|
17
|
+
rake (13.0.3)
|
|
18
|
+
rexml (3.2.4)
|
|
19
|
+
rspec (3.10.0)
|
|
20
|
+
rspec-core (~> 3.10.0)
|
|
21
|
+
rspec-expectations (~> 3.10.0)
|
|
22
|
+
rspec-mocks (~> 3.10.0)
|
|
23
|
+
rspec-core (3.10.1)
|
|
24
|
+
rspec-support (~> 3.10.0)
|
|
25
|
+
rspec-expectations (3.10.1)
|
|
28
26
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
29
|
-
rspec-support (~> 3.
|
|
30
|
-
rspec-mocks (3.
|
|
27
|
+
rspec-support (~> 3.10.0)
|
|
28
|
+
rspec-mocks (3.10.1)
|
|
31
29
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
32
|
-
rspec-support (~> 3.
|
|
33
|
-
rspec-support (3.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
webmock (3.
|
|
30
|
+
rspec-support (~> 3.10.0)
|
|
31
|
+
rspec-support (3.10.1)
|
|
32
|
+
simplecov (0.21.2)
|
|
33
|
+
docile (~> 1.1)
|
|
34
|
+
simplecov-html (~> 0.11)
|
|
35
|
+
simplecov_json_formatter (~> 0.1)
|
|
36
|
+
simplecov-html (0.12.3)
|
|
37
|
+
simplecov_json_formatter (0.1.2)
|
|
38
|
+
webmock (3.11.1)
|
|
41
39
|
addressable (>= 2.3.6)
|
|
42
40
|
crack (>= 0.3.2)
|
|
43
|
-
hashdiff
|
|
41
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
44
42
|
|
|
45
43
|
PLATFORMS
|
|
46
44
|
ruby
|
|
47
45
|
|
|
48
46
|
DEPENDENCIES
|
|
49
|
-
codeclimate-test-reporter (~> 1.0.0)
|
|
50
47
|
google_suggest!
|
|
51
48
|
rake
|
|
52
|
-
rspec (~> 3.
|
|
53
|
-
|
|
49
|
+
rspec (~> 3.10)
|
|
50
|
+
simplecov
|
|
51
|
+
webmock (~> 3.11)
|
|
54
52
|
|
|
55
53
|
BUNDLED WITH
|
|
56
|
-
|
|
54
|
+
2.2.6
|
data/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# GoogleSuggest
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/google_suggest)
|
|
4
|
-
[](https://github.com/satoryu/google_suggest/actions?query=workflow%3ACI)
|
|
5
5
|
[](https://codeclimate.com/github/satoryu/google_suggest/coverage)
|
|
6
6
|
|
|
7
|
-
This gem allows you to access google suggest API in your ruby codes.
|
|
7
|
+
This gem allows you to access google suggest API in your ruby codes.
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ Or install it yourself as:
|
|
|
24
24
|
|
|
25
25
|
## Usage
|
|
26
26
|
|
|
27
|
-
`GoogleSuggest.suggest_for` gives suggestions for a given keyword.
|
|
27
|
+
`GoogleSuggest.suggest_for` gives suggestions for a given keyword.
|
|
28
28
|
|
|
29
29
|
```ruby
|
|
30
30
|
GoogleSuggest.suggest_for 'google'
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
+
|
|
4
|
+
require 'google_suggest/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = 'google_suggest'
|
|
8
|
+
spec.required_ruby_version = '>= 2.5.0'
|
|
9
|
+
spec.summary = 'A gem which allows us to retrieve suggest words from Google in your Ruby Code.'
|
|
10
|
+
spec.version = GoogleSuggest::VERSION
|
|
11
|
+
spec.author = 'Tatsuya Sato'
|
|
12
|
+
spec.email = 'satoryu.1981@gmail.com'
|
|
13
|
+
spec.homepage = 'http://github.com/satoryu/google_suggest/'
|
|
14
|
+
spec.license = 'MIT'
|
|
15
|
+
spec.files = Dir[
|
|
16
|
+
'lib/**/*.rb',
|
|
17
|
+
'[A-Z]*',
|
|
18
|
+
'spec/**/*'
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
spec.add_development_dependency 'rake'
|
|
22
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
|
23
|
+
spec.add_development_dependency 'simplecov'
|
|
24
|
+
spec.add_development_dependency 'webmock', '~> 3.11'
|
|
25
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google_suggest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tatsuya Sato
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -30,29 +30,43 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 3.
|
|
33
|
+
version: '3.10'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 3.
|
|
40
|
+
version: '3.10'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: simplecov
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
41
55
|
- !ruby/object:Gem::Dependency
|
|
42
56
|
name: webmock
|
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
|
44
58
|
requirements:
|
|
45
59
|
- - "~>"
|
|
46
60
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 3.
|
|
61
|
+
version: '3.11'
|
|
48
62
|
type: :development
|
|
49
63
|
prerelease: false
|
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
65
|
requirements:
|
|
52
66
|
- - "~>"
|
|
53
67
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 3.
|
|
55
|
-
description:
|
|
68
|
+
version: '3.11'
|
|
69
|
+
description:
|
|
56
70
|
email: satoryu.1981@gmail.com
|
|
57
71
|
executables: []
|
|
58
72
|
extensions: []
|
|
@@ -65,6 +79,7 @@ files:
|
|
|
65
79
|
- LICENSE.txt
|
|
66
80
|
- README.md
|
|
67
81
|
- Rakefile
|
|
82
|
+
- google_suggest.gemspec
|
|
68
83
|
- lib/google_suggest.rb
|
|
69
84
|
- lib/google_suggest/configuration.rb
|
|
70
85
|
- lib/google_suggest/region.rb
|
|
@@ -78,7 +93,7 @@ homepage: http://github.com/satoryu/google_suggest/
|
|
|
78
93
|
licenses:
|
|
79
94
|
- MIT
|
|
80
95
|
metadata: {}
|
|
81
|
-
post_install_message:
|
|
96
|
+
post_install_message:
|
|
82
97
|
rdoc_options: []
|
|
83
98
|
require_paths:
|
|
84
99
|
- lib
|
|
@@ -86,15 +101,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
86
101
|
requirements:
|
|
87
102
|
- - ">="
|
|
88
103
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 2.
|
|
104
|
+
version: 2.5.0
|
|
90
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
106
|
requirements:
|
|
92
107
|
- - ">="
|
|
93
108
|
- !ruby/object:Gem::Version
|
|
94
109
|
version: '0'
|
|
95
110
|
requirements: []
|
|
96
|
-
rubygems_version: 3.0.
|
|
97
|
-
signing_key:
|
|
111
|
+
rubygems_version: 3.0.3
|
|
112
|
+
signing_key:
|
|
98
113
|
specification_version: 4
|
|
99
114
|
summary: A gem which allows us to retrieve suggest words from Google in your Ruby
|
|
100
115
|
Code.
|