ynab 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -30
  3. data/lib/ynab.rb +4 -1
  4. data/lib/ynab/api/categories_api.rb +10 -10
  5. data/lib/ynab/api/deprecated_api.rb +81 -0
  6. data/lib/ynab/api/months_api.rb +2 -2
  7. data/lib/ynab/api/payee_locations_api.rb +2 -2
  8. data/lib/ynab/api/transactions_api.rb +12 -58
  9. data/lib/ynab/models/bulk_ids.rb +1 -1
  10. data/lib/ynab/models/category.rb +3 -3
  11. data/lib/ynab/models/category_group_with_categories.rb +1 -1
  12. data/lib/ynab/models/month_detail.rb +1 -1
  13. data/lib/ynab/models/transactions_wrapper.rb +19 -4
  14. data/lib/ynab/overrides/transactions_api.rb +44 -0
  15. data/lib/ynab/version.rb +1 -1
  16. data/spec/api/transactions_spec.rb +23 -1
  17. data/spec/fixtures/vcr_cassettes/create_transactions.yml +46 -0
  18. metadata +6 -105
  19. data/Gemfile +0 -7
  20. data/Gemfile.lock +0 -44
  21. data/Rakefile +0 -34
  22. data/config.json +0 -10
  23. data/docs/Account.md +0 -18
  24. data/docs/AccountResponse.md +0 -8
  25. data/docs/AccountWrapper.md +0 -8
  26. data/docs/AccountsApi.md +0 -45
  27. data/docs/AccountsResponse.md +0 -8
  28. data/docs/AccountsWrapper.md +0 -8
  29. data/docs/BudgetDetail.md +0 -22
  30. data/docs/BudgetDetailResponse.md +0 -8
  31. data/docs/BudgetDetailWrapper.md +0 -9
  32. data/docs/BudgetSettings.md +0 -9
  33. data/docs/BudgetSettingsResponse.md +0 -8
  34. data/docs/BudgetSettingsWrapper.md +0 -8
  35. data/docs/BudgetSummary.md +0 -12
  36. data/docs/BudgetSummaryResponse.md +0 -8
  37. data/docs/BudgetSummaryWrapper.md +0 -8
  38. data/docs/BudgetsApi.md +0 -60
  39. data/docs/BulkIdWrapper.md +0 -8
  40. data/docs/BulkIds.md +0 -9
  41. data/docs/BulkResponse.md +0 -8
  42. data/docs/BulkTransactionCreateResponse.md +0 -8
  43. data/docs/BulkTransactionIds.md +0 -8
  44. data/docs/BulkTransactions.md +0 -8
  45. data/docs/CategoriesApi.md +0 -86
  46. data/docs/CategoriesResponse.md +0 -8
  47. data/docs/Category.md +0 -22
  48. data/docs/CategoryGroup.md +0 -11
  49. data/docs/CategoryGroupWithCategories.md +0 -12
  50. data/docs/CategoryGroupsWrapper.md +0 -8
  51. data/docs/CategoryResponse.md +0 -8
  52. data/docs/CategoryWrapper.md +0 -8
  53. data/docs/CurrencyFormat.md +0 -15
  54. data/docs/DateFormat.md +0 -8
  55. data/docs/ErrorDetail.md +0 -10
  56. data/docs/ErrorResponse.md +0 -8
  57. data/docs/HybridTransaction.md +0 -26
  58. data/docs/HybridTransactionsResponse.md +0 -8
  59. data/docs/HybridTransactionsWrapper.md +0 -8
  60. data/docs/MonthDetail.md +0 -15
  61. data/docs/MonthDetailResponse.md +0 -8
  62. data/docs/MonthDetailWrapper.md +0 -8
  63. data/docs/MonthSummariesResponse.md +0 -8
  64. data/docs/MonthSummariesWrapper.md +0 -8
  65. data/docs/MonthSummary.md +0 -14
  66. data/docs/MonthsApi.md +0 -45
  67. data/docs/Payee.md +0 -11
  68. data/docs/PayeeLocation.md +0 -12
  69. data/docs/PayeeLocationResponse.md +0 -8
  70. data/docs/PayeeLocationWrapper.md +0 -8
  71. data/docs/PayeeLocationsApi.md +0 -64
  72. data/docs/PayeeLocationsResponse.md +0 -8
  73. data/docs/PayeeLocationsWrapper.md +0 -8
  74. data/docs/PayeeResponse.md +0 -8
  75. data/docs/PayeeWrapper.md +0 -8
  76. data/docs/PayeesApi.md +0 -45
  77. data/docs/PayeesResponse.md +0 -8
  78. data/docs/PayeesWrapper.md +0 -8
  79. data/docs/SaveMonthCategory.md +0 -8
  80. data/docs/SaveMonthCategoryWrapper.md +0 -8
  81. data/docs/SaveTransaction.md +0 -18
  82. data/docs/SaveTransactionWrapper.md +0 -8
  83. data/docs/SaveTransactionsResponse.md +0 -8
  84. data/docs/SaveTransactionsResponseData.md +0 -11
  85. data/docs/SaveTransactionsWrapper.md +0 -9
  86. data/docs/ScheduledSubTransaction.md +0 -15
  87. data/docs/ScheduledTransactionDetail.md +0 -23
  88. data/docs/ScheduledTransactionResponse.md +0 -8
  89. data/docs/ScheduledTransactionSummary.md +0 -19
  90. data/docs/ScheduledTransactionWrapper.md +0 -8
  91. data/docs/ScheduledTransactionsApi.md +0 -45
  92. data/docs/ScheduledTransactionsResponse.md +0 -8
  93. data/docs/ScheduledTransactionsWrapper.md +0 -8
  94. data/docs/SubTransaction.md +0 -15
  95. data/docs/TransactionDetail.md +0 -25
  96. data/docs/TransactionResponse.md +0 -8
  97. data/docs/TransactionSummary.md +0 -21
  98. data/docs/TransactionWrapper.md +0 -8
  99. data/docs/TransactionsApi.md +0 -168
  100. data/docs/TransactionsResponse.md +0 -8
  101. data/docs/TransactionsWrapper.md +0 -8
  102. data/docs/User.md +0 -8
  103. data/docs/UserApi.md +0 -23
  104. data/docs/UserResponse.md +0 -8
  105. data/docs/UserWrapper.md +0 -8
  106. data/examples/budget-list.rb +0 -24
  107. data/examples/budget-month.rb +0 -35
  108. data/examples/category-balance.rb +0 -26
  109. data/examples/create-multiple-transactions.rb +0 -44
  110. data/examples/create-transaction.rb +0 -31
  111. data/examples/update-category-budgeted.rb +0 -23
  112. data/pkg/ynab-1.0.0.gem +0 -0
  113. data/pkg/ynab-1.1.0.gem +0 -0
  114. data/pkg/ynab-1.3.0.gem +0 -0
  115. data/pkg/ynab-1.4.0.gem +0 -0
  116. data/spec-v1-swagger.json +0 -2729
  117. data/swagger-templates/api_client.mustache +0 -386
  118. data/swagger-templates/api_doc.mustache +0 -32
  119. data/swagger-templates/gem.mustache +0 -83
  120. data/swagger-templates/gemspec.mustache +0 -37
  121. data/ynab.gemspec +0 -40
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module YNAB
16
16
  class BulkIds
17
- # The list of Transaction IDs that were created.
17
+ # The list of Transaction ids that were created.
18
18
  attr_accessor :transaction_ids
19
19
 
20
20
  # If any Transactions were not created because they had an import_id matching a transaction already on the same account, the specified import_id(s) will be included in this list.
@@ -28,13 +28,13 @@ module YNAB
28
28
 
29
29
  attr_accessor :note
30
30
 
31
- # Budgeted amount in current month in milliunits format
31
+ # Budgeted amount in milliunits format
32
32
  attr_accessor :budgeted
33
33
 
34
- # Activity amount in current month in milliunits format
34
+ # Activity amount in milliunits format
35
35
  attr_accessor :activity
36
36
 
37
- # Balance in current month in milliunits format
37
+ # Balance in milliunits format
38
38
  attr_accessor :balance
39
39
 
40
40
  # The type of goal, if the cagegory has a goal (TB=Target Category Balance, TBD=Target Category Balance by Date, MF=Monthly Funding)
@@ -24,7 +24,7 @@ module YNAB
24
24
  # Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests.
25
25
  attr_accessor :deleted
26
26
 
27
- # Category group categories
27
+ # Category group categories. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
28
28
  attr_accessor :categories
29
29
 
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,7 +33,7 @@ module YNAB
33
33
  # The Age of Money as of the month
34
34
  attr_accessor :age_of_money
35
35
 
36
- # the budget month categories
36
+ # The budget month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified.
37
37
  attr_accessor :categories
38
38
 
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -16,17 +16,22 @@ module YNAB
16
16
  class TransactionsWrapper
17
17
  attr_accessor :transactions
18
18
 
19
+ # The knowledge of the server
20
+ attr_accessor :server_knowledge
21
+
19
22
  # Attribute mapping from ruby-style variable name to JSON key.
20
23
  def self.attribute_map
21
24
  {
22
- :'transactions' => :'transactions'
25
+ :'transactions' => :'transactions',
26
+ :'server_knowledge' => :'server_knowledge'
23
27
  }
24
28
  end
25
29
 
26
30
  # Attribute type mapping.
27
31
  def self.swagger_types
28
32
  {
29
- :'transactions' => :'Array<TransactionDetail>'
33
+ :'transactions' => :'Array<TransactionDetail>',
34
+ :'server_knowledge' => :'Integer'
30
35
  }
31
36
  end
32
37
 
@@ -43,6 +48,10 @@ module YNAB
43
48
  self.transactions = value
44
49
  end
45
50
  end
51
+
52
+ if attributes.has_key?(:'server_knowledge')
53
+ self.server_knowledge = attributes[:'server_knowledge']
54
+ end
46
55
  end
47
56
 
48
57
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -53,6 +62,10 @@ module YNAB
53
62
  invalid_properties.push('invalid value for "transactions", transactions cannot be nil.')
54
63
  end
55
64
 
65
+ if @server_knowledge.nil?
66
+ invalid_properties.push('invalid value for "server_knowledge", server_knowledge cannot be nil.')
67
+ end
68
+
56
69
  invalid_properties
57
70
  end
58
71
 
@@ -60,6 +73,7 @@ module YNAB
60
73
  # @return true if the model is valid
61
74
  def valid?
62
75
  return false if @transactions.nil?
76
+ return false if @server_knowledge.nil?
63
77
  true
64
78
  end
65
79
 
@@ -68,7 +82,8 @@ module YNAB
68
82
  def ==(o)
69
83
  return true if self.equal?(o)
70
84
  self.class == o.class &&
71
- transactions == o.transactions
85
+ transactions == o.transactions &&
86
+ server_knowledge == o.server_knowledge
72
87
  end
73
88
 
74
89
  # @see the `==` method
@@ -80,7 +95,7 @@ module YNAB
80
95
  # Calculates hash code according to all attributes.
81
96
  # @return [Fixnum] Hash code
82
97
  def hash
83
- [transactions].hash
98
+ [transactions, server_knowledge].hash
84
99
  end
85
100
 
86
101
  # Builds the object from hash
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #YNAB API Endpoints
3
+
4
+ #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
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+ require 'ynab/api/deprecated_api'
15
+
16
+ module YNAB
17
+ module Overrides
18
+ class TransactionsApi < YNAB::TransactionsApi
19
+ def initialize(api_client = ApiClient.default)
20
+ super(api_client)
21
+ end
22
+ # Create a single transaction or multiple transactions
23
+ # Creates a single transaction or multiple transactions. If you provide a body containing a 'transaction' object, a single transaction will be created and if you provide a body containing a 'transactions' array, multiple transactions will be created.
24
+ # @param budget_id The id of the budget (\&quot;last-used\&quot; can also be used to specify the last used budget)
25
+ # @param save_transactions The transaction or transactions to create
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [SaveTransactionsResponse]
28
+ def create_transactions(budget_id, save_transactions, opts = {})
29
+ data, _status_code, _headers = create_transaction_with_http_info(budget_id, save_transactions, opts)
30
+ data
31
+ end
32
+
33
+ # Bulk create transactions
34
+ # Creates multiple transactions
35
+ # @param budget_id The id of the budget (\&quot;last-used\&quot; can also be used to specify the last used budget)
36
+ # @param transactions The list of transactions to create
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [BulkResponse]
39
+ def bulk_create_transactions(budget_id, transactions, opts = {})
40
+ DeprecatedApi.new(@api_client).bulk_create_transactions(budget_id, transactions, opts)
41
+ end
42
+ end
43
+ end
44
+ end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module YNAB
14
- VERSION = '1.5.0'
14
+ VERSION = '1.6.0'
15
15
  end
@@ -11,7 +11,7 @@ describe 'transactions' do
11
11
 
12
12
  describe 'test an instance of TransactionsApi' do
13
13
  it 'should create an instance of TransactionApi' do
14
- expect(instance).to be_instance_of(YNAB::TransactionsApi)
14
+ expect(instance).to be_instance_of(YNAB::Overrides::TransactionsApi)
15
15
  end
16
16
  end
17
17
 
@@ -92,6 +92,28 @@ describe 'transactions' do
92
92
  expect(response.data.transaction.amount).to eq 20000
93
93
  end
94
94
  end
95
+
96
+ it "creates multiple transactions" do
97
+ VCR.use_cassette("create_transaction") do
98
+ response = instance.create_transactions(budget_id, {
99
+ transactions: [
100
+ {
101
+ date: '2018-01-01',
102
+ account_id: '5982e895-98e5-41ca-9681-0b6de1036a1c',
103
+ amount: 20000
104
+ },
105
+ {
106
+ date: '2018-01-02',
107
+ account_id: '5982e895-98e5-41ca-9681-0b6de1036a1c',
108
+ amount: 30000
109
+ },
110
+ ]
111
+ })
112
+ expect(client.last_request.response.options[:code]).to be 201
113
+ expect(response.data.transaction).to be
114
+ expect(response.data.transaction.amount).to eq 20000
115
+ end
116
+ end
95
117
  end
96
118
 
97
119
  describe 'PUT /budgets/{budget_id}/transactions/{transaction_id}' do
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"transactions":[{"date":"2018-01-01","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":20000},{"date":"2018-01-02","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":30000}]}'
9
+ headers:
10
+ User-Agent:
11
+ - api_client/ruby/0.1.0
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ Authorization:
17
+ - Bearer 9f1a2c4842b614a771aaae9220fc54ae835e298c4654dc2c9205fc1d7bd1a045
18
+ Expect:
19
+ - ''
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Vary:
28
+ - Accept-Encoding, Origin
29
+ ETag:
30
+ - W/"b7035ecde34f8285e495491652ea37ff"
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 57b66218-70d4-467e-9151-7b223c416f3b
35
+ X-Runtime:
36
+ - '0.265999'
37
+ Transfer-Encoding:
38
+ - chunked
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"data":{"transactions":[{"id":"4cd63d34-3814-4f50-abd0-59ce05b40d91","date":"2018-01-01","amount":20000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":null,"category_id":null,"transfer_account_id":null,"import_id":null,"subtransactions":[]},{"id":"4b857bae-5529-44ee-bf8d-ed29d8c151dd","date":"2018-01-02","amount":20000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":null,"category_id":null,"transfer_account_id":null,"import_id":null,"subtransactions":[]}]}}'
42
+ http_version: '1.1'
43
+ adapter_metadata:
44
+ effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
45
+ recorded_at: Thu, 15 Feb 2018 19:06:36 GMT
46
+ recorded_with: VCR 3.0.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ynab
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - You Need A Budget, LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-27 00:00:00.000000000 Z
11
+ date: 2018-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -97,105 +97,13 @@ executables: []
97
97
  extensions: []
98
98
  extra_rdoc_files: []
99
99
  files:
100
- - Gemfile
101
- - Gemfile.lock
102
100
  - LICENSE.md
103
101
  - README.md
104
- - Rakefile
105
- - config.json
106
- - docs/Account.md
107
- - docs/AccountResponse.md
108
- - docs/AccountWrapper.md
109
- - docs/AccountsApi.md
110
- - docs/AccountsResponse.md
111
- - docs/AccountsWrapper.md
112
- - docs/BudgetDetail.md
113
- - docs/BudgetDetailResponse.md
114
- - docs/BudgetDetailWrapper.md
115
- - docs/BudgetSettings.md
116
- - docs/BudgetSettingsResponse.md
117
- - docs/BudgetSettingsWrapper.md
118
- - docs/BudgetSummary.md
119
- - docs/BudgetSummaryResponse.md
120
- - docs/BudgetSummaryWrapper.md
121
- - docs/BudgetsApi.md
122
- - docs/BulkIdWrapper.md
123
- - docs/BulkIds.md
124
- - docs/BulkResponse.md
125
- - docs/BulkTransactionCreateResponse.md
126
- - docs/BulkTransactionIds.md
127
- - docs/BulkTransactions.md
128
- - docs/CategoriesApi.md
129
- - docs/CategoriesResponse.md
130
- - docs/Category.md
131
- - docs/CategoryGroup.md
132
- - docs/CategoryGroupWithCategories.md
133
- - docs/CategoryGroupsWrapper.md
134
- - docs/CategoryResponse.md
135
- - docs/CategoryWrapper.md
136
- - docs/CurrencyFormat.md
137
- - docs/DateFormat.md
138
- - docs/ErrorDetail.md
139
- - docs/ErrorResponse.md
140
- - docs/HybridTransaction.md
141
- - docs/HybridTransactionsResponse.md
142
- - docs/HybridTransactionsWrapper.md
143
- - docs/MonthDetail.md
144
- - docs/MonthDetailResponse.md
145
- - docs/MonthDetailWrapper.md
146
- - docs/MonthSummariesResponse.md
147
- - docs/MonthSummariesWrapper.md
148
- - docs/MonthSummary.md
149
- - docs/MonthsApi.md
150
- - docs/Payee.md
151
- - docs/PayeeLocation.md
152
- - docs/PayeeLocationResponse.md
153
- - docs/PayeeLocationWrapper.md
154
- - docs/PayeeLocationsApi.md
155
- - docs/PayeeLocationsResponse.md
156
- - docs/PayeeLocationsWrapper.md
157
- - docs/PayeeResponse.md
158
- - docs/PayeeWrapper.md
159
- - docs/PayeesApi.md
160
- - docs/PayeesResponse.md
161
- - docs/PayeesWrapper.md
162
- - docs/SaveMonthCategory.md
163
- - docs/SaveMonthCategoryWrapper.md
164
- - docs/SaveTransaction.md
165
- - docs/SaveTransactionWrapper.md
166
- - docs/SaveTransactionsResponse.md
167
- - docs/SaveTransactionsResponseData.md
168
- - docs/SaveTransactionsWrapper.md
169
- - docs/ScheduledSubTransaction.md
170
- - docs/ScheduledTransactionDetail.md
171
- - docs/ScheduledTransactionResponse.md
172
- - docs/ScheduledTransactionSummary.md
173
- - docs/ScheduledTransactionWrapper.md
174
- - docs/ScheduledTransactionsApi.md
175
- - docs/ScheduledTransactionsResponse.md
176
- - docs/ScheduledTransactionsWrapper.md
177
- - docs/SubTransaction.md
178
- - docs/TransactionDetail.md
179
- - docs/TransactionResponse.md
180
- - docs/TransactionSummary.md
181
- - docs/TransactionWrapper.md
182
- - docs/TransactionsApi.md
183
- - docs/TransactionsResponse.md
184
- - docs/TransactionsWrapper.md
185
- - docs/User.md
186
- - docs/UserApi.md
187
- - docs/UserResponse.md
188
- - docs/UserWrapper.md
189
- - examples/budget-list.rb
190
- - examples/budget-month.rb
191
- - examples/category-balance.rb
192
- - examples/create-multiple-transactions.rb
193
- - examples/create-transaction.rb
194
- - examples/update-category-budgeted.rb
195
102
  - lib/ynab.rb
196
103
  - lib/ynab/api/accounts_api.rb
197
104
  - lib/ynab/api/budgets_api.rb
198
105
  - lib/ynab/api/categories_api.rb
106
+ - lib/ynab/api/deprecated_api.rb
199
107
  - lib/ynab/api/months_api.rb
200
108
  - lib/ynab/api/payee_locations_api.rb
201
109
  - lib/ynab/api/payees_api.rb
@@ -279,12 +187,8 @@ files:
279
187
  - lib/ynab/models/user.rb
280
188
  - lib/ynab/models/user_response.rb
281
189
  - lib/ynab/models/user_wrapper.rb
190
+ - lib/ynab/overrides/transactions_api.rb
282
191
  - lib/ynab/version.rb
283
- - pkg/ynab-1.0.0.gem
284
- - pkg/ynab-1.1.0.gem
285
- - pkg/ynab-1.3.0.gem
286
- - pkg/ynab-1.4.0.gem
287
- - spec-v1-swagger.json
288
192
  - spec/api/accounts_spec.rb
289
193
  - spec/api/budgets_spec.rb
290
194
  - spec/api/categories_spec.rb
@@ -307,6 +211,7 @@ files:
307
211
  - spec/fixtures/vcr_cassettes/category.yml
308
212
  - spec/fixtures/vcr_cassettes/category_transactions.yml
309
213
  - spec/fixtures/vcr_cassettes/create_transaction.yml
214
+ - spec/fixtures/vcr_cassettes/create_transactions.yml
310
215
  - spec/fixtures/vcr_cassettes/month.yml
311
216
  - spec/fixtures/vcr_cassettes/months.yml
312
217
  - spec/fixtures/vcr_cassettes/months_unauthorized.yml
@@ -327,11 +232,6 @@ files:
327
232
  - spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
328
233
  - spec/fixtures/vcr_cassettes/update_transaction.yml
329
234
  - spec/spec_helper.rb
330
- - swagger-templates/api_client.mustache
331
- - swagger-templates/api_doc.mustache
332
- - swagger-templates/gem.mustache
333
- - swagger-templates/gemspec.mustache
334
- - ynab.gemspec
335
235
  homepage: https://github.com/ynab/ynab-sdk-ruby
336
236
  licenses:
337
237
  - Apache-2.0
@@ -375,6 +275,7 @@ test_files:
375
275
  - spec/fixtures/vcr_cassettes/budget.yml
376
276
  - spec/fixtures/vcr_cassettes/scheduled_transaction.yml
377
277
  - spec/fixtures/vcr_cassettes/update_transaction.yml
278
+ - spec/fixtures/vcr_cassettes/create_transactions.yml
378
279
  - spec/fixtures/vcr_cassettes/payees_unauthorized.yml
379
280
  - spec/fixtures/vcr_cassettes/create_transaction.yml
380
281
  - spec/fixtures/vcr_cassettes/budgets.yml
data/Gemfile DELETED
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development, :test do
6
- gem 'rake', '~> 12.0.0'
7
- end
@@ -1,44 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ynab (1.5.0)
5
- json (~> 2.1, >= 2.1.0)
6
- typhoeus (~> 1.0, >= 1.0.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- diff-lcs (1.3)
12
- ethon (0.11.0)
13
- ffi (>= 1.3.0)
14
- ffi (1.9.23)
15
- json (2.1.0)
16
- rake (12.0.0)
17
- rspec (3.7.0)
18
- rspec-core (~> 3.7.0)
19
- rspec-expectations (~> 3.7.0)
20
- rspec-mocks (~> 3.7.0)
21
- rspec-core (3.7.1)
22
- rspec-support (~> 3.7.0)
23
- rspec-expectations (3.7.0)
24
- diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.7.0)
26
- rspec-mocks (3.7.0)
27
- diff-lcs (>= 1.2.0, < 2.0)
28
- rspec-support (~> 3.7.0)
29
- rspec-support (3.7.1)
30
- typhoeus (1.3.0)
31
- ethon (>= 0.9.0)
32
- vcr (3.0.3)
33
-
34
- PLATFORMS
35
- ruby
36
-
37
- DEPENDENCIES
38
- rake (~> 12.0.0)
39
- rspec (~> 3.6, >= 3.6.0)
40
- vcr (~> 3.0, >= 3.0.1)
41
- ynab!
42
-
43
- BUNDLED WITH
44
- 1.16.4