ynab 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 106c09fac8b8fd8ff6ba374c41f5b7b8a758d5fc
4
- data.tar.gz: c0cd9ae29591b000e8c899c96a83c6fbe2606989
3
+ metadata.gz: 69ec9bd6f5c67e0bbb248e2334e3754e345a604e
4
+ data.tar.gz: 76aa486bdad86177ec11d9043d0195d288cbdeb1
5
5
  SHA512:
6
- metadata.gz: c5a9e803094834e5d568ce0c931502ecd9008722c33bbcb1d5ac419dedcaa456e8f74f13206cab5124a93ea123ace2041d25112a6a2d8fa1faebcc18f0e56913
7
- data.tar.gz: 22ea1370cec511ac9e2cf7534ebe3899d2b58920b0b34eaa6fd529fb68f4bba78f6d193ada531e6d13eaa5aca70495996eb80acdc15b2e6670e442d16826a913
6
+ metadata.gz: 68679167f76ff3eefc8f80e3330ad4df2559a48576b8d1933c84eb81c777ae623138e007e4094e6fb2db3f7d7a0a8a82e3b045318365c3f443d1e3e751eee225
7
+ data.tar.gz: eb0a9f8d73d96658f15f2d01f19da3edfd064ad800f06456eaecaf485235f1fe1b4e5d4fd4441d1f278c32331a32c955107b4a03f959e70858005313a477d279
data/README.md CHANGED
@@ -49,6 +49,7 @@ See the [examples folder](https://github.com/ynab/ynab-sdk-ruby/tree/master/exam
49
49
  - Install dependencies: `bundle`
50
50
  - Generate latest client based on swagger spec: `rake generate`
51
51
  - Run tests: `rake spec` or `rspec`
52
+ - Publish: Update `gemVersion` in config.json and then `rake generate && rspec && gem build ynab && gem push ynab`
52
53
 
53
54
  ## License
54
55
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "gemName": "ynab",
3
3
  "moduleName": "YnabApi",
4
- "gemVersion": "0.2.0",
4
+ "gemVersion": "0.3.0",
5
5
  "gemDescription": "Ruby gem wrapper for the YNAB API. Read the documentation at https://api.youneedabudget.com",
6
6
  "gemHomepage": "https://github.com/ynab/ynab-sdk-ruby",
7
7
  "gemLicense": "Apache-2.0",
@@ -185,7 +185,7 @@ module YnabApi
185
185
  return false if @id.nil?
186
186
  return false if @name.nil?
187
187
  return false if @type.nil?
188
- type_validator = EnumAttributeValidator.new('String', ["checking", "savings", "creditCard"])
188
+ type_validator = EnumAttributeValidator.new('String', ["checking", "savings", "creditCard", "cash", "lineOfCredit", "merchantAccount", "investmentAccount", "mortgage", "otherAsset", "otherLiability"])
189
189
  return false unless type_validator.valid?(@type)
190
190
  return false if @on_budget.nil?
191
191
  return false if @closed.nil?
@@ -199,7 +199,7 @@ module YnabApi
199
199
  # Custom attribute writer method checking allowed values (enum).
200
200
  # @param [Object] type Object to be assigned
201
201
  def type=(type)
202
- validator = EnumAttributeValidator.new('String', ["checking", "savings", "creditCard"])
202
+ validator = EnumAttributeValidator.new('String', ["checking", "savings", "creditCard", "cash", "lineOfCredit", "merchantAccount", "investmentAccount", "mortgage", "otherAsset", "otherLiability"])
203
203
  unless validator.valid?(type)
204
204
  fail ArgumentError, "invalid value for 'type', must be one of #{validator.allowable_values}."
205
205
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.3.1
11
11
  =end
12
12
 
13
13
  module YnabApi
14
- VERSION = "0.2.0"
14
+ VERSION = "0.3.0"
15
15
  end
@@ -1294,7 +1294,18 @@
1294
1294
  },
1295
1295
  "type": {
1296
1296
  "type": "string",
1297
- "enum": ["checking", "savings", "creditCard"]
1297
+ "enum": [
1298
+ "checking",
1299
+ "savings",
1300
+ "creditCard",
1301
+ "cash",
1302
+ "lineOfCredit",
1303
+ "merchantAccount",
1304
+ "investmentAccount",
1305
+ "mortgage",
1306
+ "otherAsset",
1307
+ "otherLiability"
1308
+ ]
1298
1309
  },
1299
1310
  "on_budget": {
1300
1311
  "type": "boolean",
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: 0.2.0
4
+ version: 0.3.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-02-21 00:00:00.000000000 Z
11
+ date: 2018-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -247,8 +247,6 @@ files:
247
247
  - lib/ynab/models/transactions_response.rb
248
248
  - lib/ynab/models/transactions_wrapper.rb
249
249
  - lib/ynab/version.rb
250
- - pkg/ynab-0.1.0.gem
251
- - pkg/ynab-0.2.0.gem
252
250
  - spec-v1-swagger.json
253
251
  - spec/api/accounts_spec.rb
254
252
  - spec/api/budgets_spec.rb
Binary file
Binary file