Skip to content

Commit 6502ecc

Browse files
committed
Restoring block forwarding, changes for minor release
Change-Id: I0ea415ec0b4fdc59de33e385244b879afcec2cd7
1 parent 6242fcc commit 6502ecc

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
41.1.0
2+
-----
3+
- Added Bundler autorequire support
4+
- Restored block forwarding.
5+
16
41.0.0
27
-----
38
- Compatibility with v24 of the API: https://developers.google.com/google-ads/api/docs/release-notes

lib/google/ads/google_ads/service_wrapper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ def method_missing(name, *args, **kwargs, &blk)
4141
write_field(request, value, name)
4242
end
4343

44-
service.public_send(name, request, options)
44+
service.public_send(name, request, options, &blk)
4545
elsif !kwargs.empty? && args.empty?
4646
kwargs.each do |name, value|
4747
write_field(request, value, name)
4848
end
4949

50-
service.public_send(name, request, nil)
50+
service.public_send(name, request, nil, &blk)
5151
elsif args.empty?
5252
# no args specified at all, just pass through
53-
service.public_send(name, request, nil)
53+
service.public_send(name, request, nil, &blk)
5454
else
5555
# this branch is the legacy version, which is no longer supported
5656

lib/google/ads/google_ads/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Google
2020
module Ads
2121
module GoogleAds
2222
CLIENT_LIB_NAME = 'gccl'.freeze
23-
CLIENT_LIB_VERSION = '41.0.0'.freeze
23+
CLIENT_LIB_VERSION = '41.1.0'.freeze
2424
VERSION = CLIENT_LIB_VERSION
2525
end
2626
end

0 commit comments

Comments
 (0)