Skip to content

Commit 05bbcc2

Browse files
committed
Bump version to 0.2.0
1 parent 1b250d9 commit 05bbcc2

4 files changed

Lines changed: 21 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## [Unreleased]
22

3+
## [0.2.0] - 2026-03-06
4+
5+
- Rewrite core: stateless API classes take access_token directly
6+
- Remove Configuration and Client classes
7+
- Generate 20+ API classes from OpenAPI specs
8+
- Fix generator handling of $ref body parameters
9+
- Add VCR-based integration tests
10+
- Add client_id/client_secret with ENV fallback on AmazonAds module
11+
312
## [0.1.0] - 2025-12-27
413

514
- Initial release
@@ -9,3 +18,7 @@
918
- Sponsored Products API
1019
- OpenAPI-based code generator
1120
- RBS type signatures
21+
22+
[Unreleased]: https://github.com/lineofflight/amazon-ads-ruby/compare/v0.2.0...HEAD
23+
[0.2.0]: https://github.com/lineofflight/amazon-ads-ruby/compare/v0.1.0...v0.2.0
24+
[0.1.0]: https://github.com/lineofflight/amazon-ads-ruby/releases/tag/v0.1.0

lib/amazon_ads/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module AmazonAds
4-
VERSION = "0.1.0"
4+
VERSION = "0.2.0"
55
end

test/support/feature_helpers.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ def setup
1616

1717
def api_options
1818
@api_options ||= {
19-
region: ENV.fetch("AMAZON_ADS_TEST_REGION"),
19+
region: ENV.fetch("AMAZON_ADS_TEST_REGION", "na"),
2020
profile_id: ENV["AMAZON_ADS_TEST_PROFILE_ID"],
21-
access_token:,
21+
access_token: access_token,
2222
}
2323
end
2424

2525
def access_token
2626
data = AmazonAds::LWA.request(
27-
refresh_token: ENV.fetch("AMAZON_ADS_TEST_REFRESH_TOKEN"),
27+
refresh_token: ENV.fetch("AMAZON_ADS_TEST_REFRESH_TOKEN", "dummy"),
2828
)
2929

3030
data.fetch("access_token")

test/test_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
$LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
44

55
require "dotenv/load"
6+
7+
ENV["AMAZON_ADS_CLIENT_ID"] ||= "dummy"
8+
ENV["AMAZON_ADS_CLIENT_SECRET"] ||= "dummy"
9+
610
require "amazon_ads"
711

812
require "minitest/autorun"

0 commit comments

Comments
 (0)