Skip to content

Commit f8dfa85

Browse files
authored
Merge pull request #84 from ynab/package-description
Misc gemspec and README improvements
2 parents 6095db2 + 5d54017 commit f8dfa85

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# YNAB API Ruby Library
22

3-
[![Continuous Integration](https://github.com/ynab/ynab-sdk-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/ynab/ynab-sdk-ruby/actions/workflows/ci.yml)
3+
[![Build](https://github.com/ynab/ynab-sdk-ruby/actions/workflows/build-test.yml/badge.svg)](https://github.com/ynab/ynab-sdk-ruby/actions/workflows/build-test.yml)
44
[![Gem Version](https://badge.fury.io/rb/ynab.svg)](https://rubygems.org/gems/ynab)
55

66
This is the Ruby client for the YNAB API.
@@ -80,6 +80,10 @@ The following methods are available in this library.
8080
| | [scheduled_transactions.get_scheduled_transaction_by_id(budget_id, scheduled_transaction_id)](https://github.com/ynab/ynab-sdk-ruby/blob/master/docs/ScheduledTransactionsApi.md#get_scheduled_transaction_by_id) | Returns a single scheduled transaction |
8181
| | [scheduled_transactions.create_scheduled_transaction(budget_id, data)](https://github.com/ynab/ynab-sdk-ruby/blob/master/docs/ScheduledTransactionsApi.md#create_scheduled_transaction) | Creates a single scheduled transaction |
8282

83+
## Versioning
84+
85+
The version of this client is defined in the `ynab.gemspec` file and follows [semantic versioning](https://semver.org/). The version of this client is maintained independently and does not align with the the version of YNAB API itself (which is defined in the [OpenAPI spec](https://api.ynab.com/papi/open_api_spec.yaml)). To determine which spec version of the YNAB API was used when generating this client you can refer to the "description" in the field in the `ynab.gemspec` file.
86+
8387
## License
8488

8589
Copyright (c) 2024 You Need A Budget, LLC

config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
gemName: ynab
22
moduleName: YNAB
3-
gemSummary: YNAB API Client for Ruby
4-
gemDescription: Ruby gem wrapper for the YNAB API. API documentation available at https://api.ynab.com.
3+
gemSummary: Official Ruby client for the YNAB API
4+
gemDescription: Official Ruby client for the YNAB API. API documentation available at https://api.ynab.com.
55
gemHomepage: https://github.com/ynab/ynab-sdk-ruby
66
gemLicense: Apache-2.0
77
gemAuthor: YNAB

templates/gemspec.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
1515
s.email = ["{{gemAuthorEmail}}{{^gemAuthorEmail}}{{infoEmail}}{{/gemAuthorEmail}}"]
1616
s.homepage = "{{gemHomepage}}{{^gemHomepage}}https://openapi-generator.tech{{/gemHomepage}}"
1717
s.summary = "{{gemSummary}}{{^gemSummary}}{{{appName}}} Ruby Gem{{/gemSummary}}"
18-
s.description = "{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}} Generated from server specification version {{version}} using OpenAPI Generator version {{generatorVersion}}."
18+
s.description = "{{gemDescription}}{{/gemDescription}} Generated from server specification version {{version}}."
1919
s.license = "{{{gemLicense}}}{{^gemLicense}}Unlicense{{/gemLicense}}"
2020
s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.7{{/gemRequiredRubyVersion}}"
2121
s.metadata = {{{gemMetadata}}}{{^gemMetadata}}{}{{/gemMetadata}}

0 commit comments

Comments
 (0)