rubocop-google_ads 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -2
- data/.github/workflows/auto-update-get-methods.yml +1 -1
- data/Gemfile.lock +46 -40
- data/Rakefile +0 -2
- data/bin/deprecated_methods_generator +6 -1
- data/lib/rubocop/cop/google_ads/deprecated_get_methods.yml +6 -0
- data/lib/rubocop/google_ads/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0054fe93ba0665d2925e999de8a8d3b711388ebb4f8025b62facfe6547a63683
|
4
|
+
data.tar.gz: cf0c4f2204c7fc66083c632d349e4a17d71b96a82a461f3bb332ff5d7e369afd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '081b882cb1828d5f41cec452aaa4004483d8290501302009335e73b5efeb4f01b5779d50f3ddc5135a48aa05decc0dcd842daae4191e13abf8a4839e1644ba6f'
|
7
|
+
data.tar.gz: 3de7c4813ec38916832f55e3cbc02329e45f856f72b555279e52acc5f745efca751ef8e7532040acc09d4543903d9a694ad9591f676856848b96798f72dc53c9
|
data/.circleci/config.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop-google_ads (
|
4
|
+
rubocop-google_ads (1.0.0)
|
5
5
|
rubocop
|
6
6
|
|
7
7
|
GEM
|
@@ -12,43 +12,48 @@ GEM
|
|
12
12
|
ast (2.4.1)
|
13
13
|
byebug (11.1.3)
|
14
14
|
coderay (1.1.2)
|
15
|
-
diff-lcs (1.
|
16
|
-
faraday (1.0
|
15
|
+
diff-lcs (1.4.4)
|
16
|
+
faraday (1.1.0)
|
17
17
|
multipart-post (>= 1.2, < 3)
|
18
|
-
|
19
|
-
|
20
|
-
google-protobuf (
|
21
|
-
google-gax (1.8.1)
|
22
|
-
google-protobuf (~> 3.9)
|
18
|
+
ruby2_keywords
|
19
|
+
gapic-common (0.3.4)
|
20
|
+
google-protobuf (~> 3.12, >= 3.12.2)
|
23
21
|
googleapis-common-protos (>= 1.3.9, < 2.0)
|
22
|
+
googleapis-common-protos-types (>= 1.0.4, < 2.0)
|
24
23
|
googleauth (~> 0.9)
|
25
|
-
grpc (~> 1.
|
26
|
-
|
27
|
-
|
24
|
+
grpc (~> 1.25)
|
25
|
+
google-ads-googleads (8.1.0)
|
26
|
+
gapic-common (~> 0.3.0)
|
27
|
+
google-protobuf (~> 3.12)
|
28
|
+
google-protobuf (3.14.0)
|
29
|
+
google-protobuf (3.14.0-x86_64-linux)
|
28
30
|
googleapis-common-protos (1.3.10)
|
29
31
|
google-protobuf (~> 3.11)
|
30
32
|
googleapis-common-protos-types (>= 1.0.5, < 2.0)
|
31
33
|
grpc (~> 1.27)
|
32
34
|
googleapis-common-protos-types (1.0.5)
|
33
35
|
google-protobuf (~> 3.11)
|
34
|
-
googleauth (0.
|
36
|
+
googleauth (0.14.0)
|
35
37
|
faraday (>= 0.17.3, < 2.0)
|
36
38
|
jwt (>= 1.4, < 3.0)
|
37
39
|
memoist (~> 0.16)
|
38
40
|
multi_json (~> 1.11)
|
39
41
|
os (>= 0.9, < 2.0)
|
40
42
|
signet (~> 0.14)
|
41
|
-
grpc (1.
|
42
|
-
google-protobuf (~> 3.
|
43
|
+
grpc (1.34.0)
|
44
|
+
google-protobuf (~> 3.13)
|
45
|
+
googleapis-common-protos-types (~> 1.0)
|
46
|
+
grpc (1.34.0-x86_64-linux)
|
47
|
+
google-protobuf (~> 3.13)
|
43
48
|
googleapis-common-protos-types (~> 1.0)
|
44
|
-
jwt (2.2.
|
49
|
+
jwt (2.2.2)
|
45
50
|
memoist (0.16.2)
|
46
51
|
method_source (1.0.0)
|
47
52
|
multi_json (1.15.0)
|
48
53
|
multipart-post (2.1.1)
|
49
|
-
os (1.1.
|
50
|
-
parallel (1.
|
51
|
-
parser (
|
54
|
+
os (1.1.1)
|
55
|
+
parallel (1.20.1)
|
56
|
+
parser (3.0.0.0)
|
52
57
|
ast (~> 2.4.1)
|
53
58
|
pry (0.13.1)
|
54
59
|
coderay (~> 1.1)
|
@@ -56,39 +61,39 @@ GEM
|
|
56
61
|
pry-byebug (3.9.0)
|
57
62
|
byebug (~> 11.0)
|
58
63
|
pry (~> 0.13.0)
|
59
|
-
public_suffix (4.0.
|
64
|
+
public_suffix (4.0.6)
|
60
65
|
rainbow (3.0.0)
|
61
|
-
rake (13.0.
|
62
|
-
regexp_parser (
|
66
|
+
rake (13.0.3)
|
67
|
+
regexp_parser (2.0.2)
|
63
68
|
rexml (3.2.4)
|
64
|
-
|
65
|
-
|
66
|
-
rspec-
|
67
|
-
rspec-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
rspec-expectations (3.9.0)
|
69
|
+
rspec (3.10.0)
|
70
|
+
rspec-core (~> 3.10.0)
|
71
|
+
rspec-expectations (~> 3.10.0)
|
72
|
+
rspec-mocks (~> 3.10.0)
|
73
|
+
rspec-core (3.10.0)
|
74
|
+
rspec-support (~> 3.10.0)
|
75
|
+
rspec-expectations (3.10.0)
|
72
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
73
|
-
rspec-support (~> 3.
|
74
|
-
rspec-mocks (3.
|
77
|
+
rspec-support (~> 3.10.0)
|
78
|
+
rspec-mocks (3.10.0)
|
75
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
-
rspec-support (~> 3.
|
77
|
-
rspec-support (3.
|
80
|
+
rspec-support (~> 3.10.0)
|
81
|
+
rspec-support (3.10.0)
|
78
82
|
rspec_junit_formatter (0.4.1)
|
79
83
|
rspec-core (>= 2, < 4, != 2.12.0)
|
80
|
-
rubocop (
|
84
|
+
rubocop (1.7.0)
|
81
85
|
parallel (~> 1.10)
|
82
|
-
parser (>= 2.7.1.
|
86
|
+
parser (>= 2.7.1.5)
|
83
87
|
rainbow (>= 2.2.2, < 4.0)
|
84
|
-
regexp_parser (>= 1.
|
88
|
+
regexp_parser (>= 1.8, < 3.0)
|
85
89
|
rexml
|
86
|
-
rubocop-ast (>=
|
90
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
87
91
|
ruby-progressbar (~> 1.7)
|
88
92
|
unicode-display_width (>= 1.4.0, < 2.0)
|
89
|
-
rubocop-ast (
|
90
|
-
parser (>= 2.7.1.
|
93
|
+
rubocop-ast (1.3.0)
|
94
|
+
parser (>= 2.7.1.5)
|
91
95
|
ruby-progressbar (1.10.1)
|
96
|
+
ruby2_keywords (0.0.2)
|
92
97
|
signet (0.14.0)
|
93
98
|
addressable (~> 2.3)
|
94
99
|
faraday (>= 0.17.3, < 2.0)
|
@@ -98,6 +103,7 @@ GEM
|
|
98
103
|
|
99
104
|
PLATFORMS
|
100
105
|
ruby
|
106
|
+
x86_64-linux
|
101
107
|
|
102
108
|
DEPENDENCIES
|
103
109
|
google-ads-googleads
|
@@ -108,4 +114,4 @@ DEPENDENCIES
|
|
108
114
|
rubocop-google_ads!
|
109
115
|
|
110
116
|
BUNDLED WITH
|
111
|
-
2.
|
117
|
+
2.2.0
|
data/Rakefile
CHANGED
@@ -10,7 +10,12 @@ get_methods = []
|
|
10
10
|
|
11
11
|
methods.each do |m|
|
12
12
|
begin
|
13
|
-
get_method_name = client
|
13
|
+
get_method_name = client
|
14
|
+
.service
|
15
|
+
.send(m)
|
16
|
+
.send(:service)
|
17
|
+
.public_methods
|
18
|
+
.find { |v| v.start_with?('get_') }
|
14
19
|
|
15
20
|
if get_method_name
|
16
21
|
get_methods << get_method_name
|
@@ -24,6 +24,7 @@
|
|
24
24
|
- get_bidding_strategy
|
25
25
|
- get_billing_setup
|
26
26
|
- get_campaign
|
27
|
+
- get_campaign_asset
|
27
28
|
- get_campaign_audience_view
|
28
29
|
- get_campaign_bid_modifier
|
29
30
|
- get_campaign_budget
|
@@ -38,8 +39,10 @@
|
|
38
39
|
- get_carrier_constant
|
39
40
|
- get_change_status
|
40
41
|
- get_click_view
|
42
|
+
- get_combined_audience
|
41
43
|
- get_conversion_action
|
42
44
|
- get_currency_constant
|
45
|
+
- get_custom_audience
|
43
46
|
- get_custom_interest
|
44
47
|
- get_customer
|
45
48
|
- get_customer_client
|
@@ -49,6 +52,7 @@
|
|
49
52
|
- get_customer_label
|
50
53
|
- get_customer_manager_link
|
51
54
|
- get_customer_negative_criterion
|
55
|
+
- get_customer_user_access
|
52
56
|
- get_detail_placement_view
|
53
57
|
- get_display_keyword_view
|
54
58
|
- get_distance_view
|
@@ -58,6 +62,8 @@
|
|
58
62
|
- get_extension_feed_item
|
59
63
|
- get_feed
|
60
64
|
- get_feed_item
|
65
|
+
- get_feed_item_set
|
66
|
+
- get_feed_item_set_link
|
61
67
|
- get_feed_item_target
|
62
68
|
- get_feed_mapping
|
63
69
|
- get_feed_placeholder_view
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-google_ads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hanocha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.
|
80
|
+
rubygems_version: 3.1.2
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Custom cops for Google Ads API Ruby Client Library
|