Skip to content

Commit 0b97071

Browse files
committed
[lint] allow misssing frozen string literal comment
[readme] remove link to remove gitaction
1 parent ab7a4c2 commit 0b97071

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ Gemfile.lock
3434
build_table.rb
3535

3636
# local script only
37-
/script
37+
/script
38+
README_ruby_EXAMPLE_SECTION.md

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Style/OptionalBooleanParameter:
1818
Style/SymbolArray:
1919
Enabled: false
2020

21+
# too restrictive
22+
Style/FrozenStringLiteralComment:
23+
Enabled: false
24+
2125
AllCops:
2226
NewCops: enable
2327
Exclude:

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
![serpapi ruby library logo](https://user-images.githubusercontent.com/78694043/235409962-7afe3a25-9272-4d56-9678-9972b771453b.png)
55

6-
[![Gem Version](https://badge.fury.io/rb/serpapi.svg)](https://badge.fury.io/rb/serpapi) [![serpapi-ruby](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml) [![serpapi-ruby-alternative](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_alt.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_alt.yml) [![serpapi-ruby-sanity-1](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_1.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_1.yml) [![serpapi-ruby-sanity-2](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_2.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_2.yml)
6+
[![Gem Version](https://badge.fury.io/rb/serpapi.svg)](https://badge.fury.io/rb/serpapi) [![serpapi-ruby](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml)
77
</div>
88

99
Integrate search data into your Ruby application. This library is the official wrapper for SerpApi (https://serpapi.com).
@@ -394,7 +394,7 @@ results = client.search({
394394
})
395395

396396
# print the output of the response in formatted JSON
397-
pp results[:organic_results]
397+
pp results[:visual_matches]
398398
# doc: https://serpapi.com/google_lens
399399
```
400400

@@ -412,7 +412,7 @@ results = client.search({
412412
})
413413

414414
# print the output of the response in formatted JSON
415-
pp results[:organic_results]
415+
pp results[:images_results]
416416
# doc: https://serpapi.com/google_images_light
417417
```
418418

@@ -436,7 +436,7 @@ results = client.search({
436436
})
437437

438438
# print the output of the response in formatted JSON
439-
pp results[:organic_results]
439+
pp results[:properties]
440440
# doc: https://serpapi.com/google_hotels
441441
```
442442

@@ -459,7 +459,7 @@ results = client.search({
459459
})
460460

461461
# print the output of the response in formatted JSON
462-
pp results[:organic_results]
462+
pp results[:best_flights]
463463
# doc: https://serpapi.com/google_flights
464464
```
465465

@@ -477,7 +477,7 @@ results = client.search({
477477
})
478478

479479
# print the output of the response in formatted JSON
480-
pp results[:organic_results]
480+
pp results[:markets]
481481
# doc: https://serpapi.com/google_finance
482482
```
483483

@@ -495,7 +495,7 @@ results = client.search({
495495
})
496496

497497
# print the output of the response in formatted JSON
498-
pp results[:organic_results]
498+
pp results[:ai_overview]
499499
# doc: https://serpapi.com/google_ai_overview
500500
```
501501

@@ -515,7 +515,7 @@ results = client.search({
515515
})
516516

517517
# print the output of the response in formatted JSON
518-
pp results[:organic_results]
518+
pp results[:news_results]
519519
# doc: https://serpapi.com/google_news
520520
```
521521

@@ -552,7 +552,7 @@ results = client.search({
552552
})
553553

554554
# print the output of the response in formatted JSON
555-
pp results[:organic_results]
555+
pp results[:interest_over_time]
556556
# doc: https://serpapi.com/google_trends
557557
```
558558

@@ -570,7 +570,7 @@ results = client.search({
570570
})
571571

572572
# print the output of the response in formatted JSON
573-
pp results[:organic_results]
573+
pp results[:shopping_results]
574574
# doc: https://serpapi.com/google_shopping
575575
```
576576

README.md.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222

2323
![serpapi ruby library logo](https://user-images.githubusercontent.com/78694043/235409962-7afe3a25-9272-4d56-9678-9972b771453b.png)
2424

25-
[![Gem Version](https://badge.fury.io/rb/serpapi.svg)](https://badge.fury.io/rb/serpapi) [![serpapi-ruby](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml) [![serpapi-ruby-alternative](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_alt.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_alt.yml) [![serpapi-ruby-sanity-1](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_1.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_1.yml) [![serpapi-ruby-sanity-2](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_2.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/sanity_2.yml)
25+
[![Gem Version](https://badge.fury.io/rb/serpapi.svg)](https://badge.fury.io/rb/serpapi) [![serpapi-ruby](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/serpapi/serpapi-ruby/actions/workflows/ci.yml)
2626
</div>
2727

2828
Integrate search data into your Ruby application. This library is the official wrapper for SerpApi (https://serpapi.com).

0 commit comments

Comments
 (0)