ynab 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -30
- data/lib/ynab.rb +4 -1
- data/lib/ynab/api/categories_api.rb +10 -10
- data/lib/ynab/api/deprecated_api.rb +81 -0
- data/lib/ynab/api/months_api.rb +2 -2
- data/lib/ynab/api/payee_locations_api.rb +2 -2
- data/lib/ynab/api/transactions_api.rb +12 -58
- data/lib/ynab/models/bulk_ids.rb +1 -1
- data/lib/ynab/models/category.rb +3 -3
- data/lib/ynab/models/category_group_with_categories.rb +1 -1
- data/lib/ynab/models/month_detail.rb +1 -1
- data/lib/ynab/models/transactions_wrapper.rb +19 -4
- data/lib/ynab/overrides/transactions_api.rb +44 -0
- data/lib/ynab/version.rb +1 -1
- data/spec/api/transactions_spec.rb +23 -1
- data/spec/fixtures/vcr_cassettes/create_transactions.yml +46 -0
- metadata +6 -105
- data/Gemfile +0 -7
- data/Gemfile.lock +0 -44
- data/Rakefile +0 -34
- data/config.json +0 -10
- data/docs/Account.md +0 -18
- data/docs/AccountResponse.md +0 -8
- data/docs/AccountWrapper.md +0 -8
- data/docs/AccountsApi.md +0 -45
- data/docs/AccountsResponse.md +0 -8
- data/docs/AccountsWrapper.md +0 -8
- data/docs/BudgetDetail.md +0 -22
- data/docs/BudgetDetailResponse.md +0 -8
- data/docs/BudgetDetailWrapper.md +0 -9
- data/docs/BudgetSettings.md +0 -9
- data/docs/BudgetSettingsResponse.md +0 -8
- data/docs/BudgetSettingsWrapper.md +0 -8
- data/docs/BudgetSummary.md +0 -12
- data/docs/BudgetSummaryResponse.md +0 -8
- data/docs/BudgetSummaryWrapper.md +0 -8
- data/docs/BudgetsApi.md +0 -60
- data/docs/BulkIdWrapper.md +0 -8
- data/docs/BulkIds.md +0 -9
- data/docs/BulkResponse.md +0 -8
- data/docs/BulkTransactionCreateResponse.md +0 -8
- data/docs/BulkTransactionIds.md +0 -8
- data/docs/BulkTransactions.md +0 -8
- data/docs/CategoriesApi.md +0 -86
- data/docs/CategoriesResponse.md +0 -8
- data/docs/Category.md +0 -22
- data/docs/CategoryGroup.md +0 -11
- data/docs/CategoryGroupWithCategories.md +0 -12
- data/docs/CategoryGroupsWrapper.md +0 -8
- data/docs/CategoryResponse.md +0 -8
- data/docs/CategoryWrapper.md +0 -8
- data/docs/CurrencyFormat.md +0 -15
- data/docs/DateFormat.md +0 -8
- data/docs/ErrorDetail.md +0 -10
- data/docs/ErrorResponse.md +0 -8
- data/docs/HybridTransaction.md +0 -26
- data/docs/HybridTransactionsResponse.md +0 -8
- data/docs/HybridTransactionsWrapper.md +0 -8
- data/docs/MonthDetail.md +0 -15
- data/docs/MonthDetailResponse.md +0 -8
- data/docs/MonthDetailWrapper.md +0 -8
- data/docs/MonthSummariesResponse.md +0 -8
- data/docs/MonthSummariesWrapper.md +0 -8
- data/docs/MonthSummary.md +0 -14
- data/docs/MonthsApi.md +0 -45
- data/docs/Payee.md +0 -11
- data/docs/PayeeLocation.md +0 -12
- data/docs/PayeeLocationResponse.md +0 -8
- data/docs/PayeeLocationWrapper.md +0 -8
- data/docs/PayeeLocationsApi.md +0 -64
- data/docs/PayeeLocationsResponse.md +0 -8
- data/docs/PayeeLocationsWrapper.md +0 -8
- data/docs/PayeeResponse.md +0 -8
- data/docs/PayeeWrapper.md +0 -8
- data/docs/PayeesApi.md +0 -45
- data/docs/PayeesResponse.md +0 -8
- data/docs/PayeesWrapper.md +0 -8
- data/docs/SaveMonthCategory.md +0 -8
- data/docs/SaveMonthCategoryWrapper.md +0 -8
- data/docs/SaveTransaction.md +0 -18
- data/docs/SaveTransactionWrapper.md +0 -8
- data/docs/SaveTransactionsResponse.md +0 -8
- data/docs/SaveTransactionsResponseData.md +0 -11
- data/docs/SaveTransactionsWrapper.md +0 -9
- data/docs/ScheduledSubTransaction.md +0 -15
- data/docs/ScheduledTransactionDetail.md +0 -23
- data/docs/ScheduledTransactionResponse.md +0 -8
- data/docs/ScheduledTransactionSummary.md +0 -19
- data/docs/ScheduledTransactionWrapper.md +0 -8
- data/docs/ScheduledTransactionsApi.md +0 -45
- data/docs/ScheduledTransactionsResponse.md +0 -8
- data/docs/ScheduledTransactionsWrapper.md +0 -8
- data/docs/SubTransaction.md +0 -15
- data/docs/TransactionDetail.md +0 -25
- data/docs/TransactionResponse.md +0 -8
- data/docs/TransactionSummary.md +0 -21
- data/docs/TransactionWrapper.md +0 -8
- data/docs/TransactionsApi.md +0 -168
- data/docs/TransactionsResponse.md +0 -8
- data/docs/TransactionsWrapper.md +0 -8
- data/docs/User.md +0 -8
- data/docs/UserApi.md +0 -23
- data/docs/UserResponse.md +0 -8
- data/docs/UserWrapper.md +0 -8
- data/examples/budget-list.rb +0 -24
- data/examples/budget-month.rb +0 -35
- data/examples/category-balance.rb +0 -26
- data/examples/create-multiple-transactions.rb +0 -44
- data/examples/create-transaction.rb +0 -31
- data/examples/update-category-budgeted.rb +0 -23
- data/pkg/ynab-1.0.0.gem +0 -0
- data/pkg/ynab-1.1.0.gem +0 -0
- data/pkg/ynab-1.3.0.gem +0 -0
- data/pkg/ynab-1.4.0.gem +0 -0
- data/spec-v1-swagger.json +0 -2729
- data/swagger-templates/api_client.mustache +0 -386
- data/swagger-templates/api_doc.mustache +0 -32
- data/swagger-templates/gem.mustache +0 -83
- data/swagger-templates/gemspec.mustache +0 -37
- data/ynab.gemspec +0 -40
@@ -1,37 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
=begin
|
4
|
-
{{> api_info}}
|
5
|
-
=end
|
6
|
-
|
7
|
-
$:.push File.expand_path('../lib', __FILE__)
|
8
|
-
require '{{gemName}}/version'
|
9
|
-
|
10
|
-
Gem::Specification.new do |s|
|
11
|
-
s.name = '{{gemName}}{{^gemName}}{{{appName}}}{{/gemName}}'
|
12
|
-
s.version = {{moduleName}}::VERSION
|
13
|
-
s.platform = Gem::Platform::RUBY
|
14
|
-
s.authors = ['{{gemAuthor}}{{^gemAuthor}}Swagger-Codegen{{/gemAuthor}}']
|
15
|
-
s.email = ['{{gemAuthorEmail}}{{^gemAuthorEmail}}{{infoEmail}}{{/gemAuthorEmail}}']
|
16
|
-
s.homepage = '{{gemHomepage}}{{^gemHomepage}}https://github.com/swagger-api/swagger-codegen{{/gemHomepage}}'
|
17
|
-
s.summary = '{{gemSummary}}{{^gemSummary}}{{{appName}}} Ruby Gem{{/gemSummary}}'
|
18
|
-
s.description = '{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}}'
|
19
|
-
{{#gemLicense}}
|
20
|
-
s.license = '{{{gemLicense}}}'
|
21
|
-
{{/gemLicense}}
|
22
|
-
{{^gemLicense}}
|
23
|
-
s.license = 'Unlicense'
|
24
|
-
{{/gemLicense}}
|
25
|
-
s.required_ruby_version = '{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.2{{/gemRequiredRubyVersion}}'
|
26
|
-
|
27
|
-
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
28
|
-
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
29
|
-
|
30
|
-
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
31
|
-
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
32
|
-
|
33
|
-
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
34
|
-
s.test_files = `find spec/*`.split("\n")
|
35
|
-
s.executables = []
|
36
|
-
s.require_paths = ["lib"]
|
37
|
-
end
|
data/ynab.gemspec
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
=begin
|
4
|
-
#YNAB API Endpoints
|
5
|
-
|
6
|
-
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.youneedabudget.com
|
7
|
-
|
8
|
-
OpenAPI spec version: 1.0.0
|
9
|
-
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
Swagger Codegen version: 2.4.0-SNAPSHOT
|
12
|
-
|
13
|
-
=end
|
14
|
-
|
15
|
-
$:.push File.expand_path('../lib', __FILE__)
|
16
|
-
require 'ynab/version'
|
17
|
-
|
18
|
-
Gem::Specification.new do |s|
|
19
|
-
s.name = 'ynab'
|
20
|
-
s.version = YNAB::VERSION
|
21
|
-
s.platform = Gem::Platform::RUBY
|
22
|
-
s.authors = ['You Need A Budget, LLC']
|
23
|
-
s.email = ['help@youneedabudget.com']
|
24
|
-
s.homepage = 'https://github.com/ynab/ynab-sdk-ruby'
|
25
|
-
s.summary = 'YNAB API Endpoints Ruby Gem'
|
26
|
-
s.description = 'Ruby gem wrapper for the YNAB API. Read the documentation at https://api.youneedabudget.com'
|
27
|
-
s.license = 'Apache-2.0'
|
28
|
-
s.required_ruby_version = '>= 2.2'
|
29
|
-
|
30
|
-
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
|
-
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
|
-
|
33
|
-
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
|
-
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
35
|
-
|
36
|
-
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
37
|
-
s.test_files = `find spec/*`.split("\n")
|
38
|
-
s.executables = []
|
39
|
-
s.require_paths = ["lib"]
|
40
|
-
end
|