google_suggest 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a3e9bdc9fbba9c974aaef9edc750bf7e25ada054f4b4d61bce93f024092abda
4
- data.tar.gz: 33ddf30287efc93bf8a52ae5e1d3db696203d88a6b2baea9a16d3d5abf13d783
3
+ metadata.gz: ffd260b1addbb7ef31c712b20bd25083b5adf349b993b24a437c40c2f6586218
4
+ data.tar.gz: 704a9b4961814af668998d153eeb40dba4416f9f6b74e28ad1c4971ff911e952
5
5
  SHA512:
6
- metadata.gz: 597d07a3b8abc51b26c02e16c7e14ba13a515e2a81f5358a782b2f8e5fcdc11310ef0d6b9ded2670c531e2831a47c161ab805a38ead317cdf05b86055160846e
7
- data.tar.gz: b88ec7c3f0d8f42b3439a840d49b952a8824a2852277e45b00537c9a3d38c5b30de4f6e7ac491fa58d90b238cf8a560bcf7bbcbcdb361fcd40bf4af261119107
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
@@ -1,7 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
5
- group :test do
6
- gem 'codeclimate-test-reporter', '~> 1.0.0'
7
- end
data/Gemfile.lock CHANGED
@@ -1,56 +1,54 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_suggest (1.0.3)
4
+ google_suggest (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- addressable (2.5.2)
10
- public_suffix (>= 2.0.2, < 4.0)
11
- codeclimate-test-reporter (1.0.9)
12
- simplecov (<= 0.13)
13
- crack (0.4.3)
14
- safe_yaml (~> 1.0.0)
15
- diff-lcs (1.3)
16
- docile (1.1.5)
17
- hashdiff (0.3.8)
18
- json (2.1.0)
19
- public_suffix (3.0.3)
20
- rake (12.3.2)
21
- rspec (3.5.0)
22
- rspec-core (~> 3.5.0)
23
- rspec-expectations (~> 3.5.0)
24
- rspec-mocks (~> 3.5.0)
25
- rspec-core (3.5.4)
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.5.0)
30
- rspec-mocks (3.5.0)
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.5.0)
33
- rspec-support (3.5.0)
34
- safe_yaml (1.0.4)
35
- simplecov (0.13.0)
36
- docile (~> 1.1.0)
37
- json (>= 1.8, < 3)
38
- simplecov-html (~> 0.10.0)
39
- simplecov-html (0.10.2)
40
- webmock (3.2.1)
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.5.0)
53
- webmock (~> 3.2.1)
49
+ rspec (~> 3.10)
50
+ simplecov
51
+ webmock (~> 3.11)
54
52
 
55
53
  BUNDLED WITH
56
- 1.17.2
54
+ 2.2.6
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # GoogleSuggest
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/google_suggest.svg)](https://badge.fury.io/rb/google_suggest)
4
- [![Build Status](https://travis-ci.org/satoryu/google_suggest.svg?branch=master)](https://travis-ci.org/satoryu/google_suggest)
4
+ [![CI](https://github.com/satoryu/google_suggest/workflows/CI/badge.svg)](https://github.com/satoryu/google_suggest/actions?query=workflow%3ACI)
5
5
  [![Test Coverage](https://codeclimate.com/github/satoryu/google_suggest/badges/coverage.svg)](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
@@ -1,3 +1,3 @@
1
1
  class GoogleSuggest
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  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.3
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: 2019-04-15 00:00:00.000000000 Z
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.5.0
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.5.0
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.2.1
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.2.1
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.4.0
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.1
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.