ynab 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ynab/models/account.rb +0 -5
- data/lib/ynab/models/category.rb +0 -30
- data/lib/ynab/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4163c8bedd6bd272ab35d15802ae2200407b218a18c18fc2749306b85f27e39b
|
|
4
|
+
data.tar.gz: 40a59df0f9b6d91f7a3b35fec3bd2b9b5231516bc3a59c7bf8d16c4aff115925
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a84d1f7422db85a048bfcb3ac33f6c1142a7f1a0dd32e0300c07b702ebb9d680d4092f5891948fd9e389ed95394fd7b0990a4baf4bf135b1293568bb9a12d907
|
|
7
|
+
data.tar.gz: 971c9132f00ddc5be982f9f4ff95474942d9788c0c0baded9c9e9c4bbe10fb3f204662b111a0682effed25379f1159bf3c779d86af5ff4fc58c041cb366b4044
|
data/lib/ynab/models/account.rb
CHANGED
|
@@ -177,10 +177,6 @@ module YNAB
|
|
|
177
177
|
invalid_properties.push('invalid value for "closed", closed cannot be nil.')
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
if @note.nil?
|
|
181
|
-
invalid_properties.push('invalid value for "note", note cannot be nil.')
|
|
182
|
-
end
|
|
183
|
-
|
|
184
180
|
if @balance.nil?
|
|
185
181
|
invalid_properties.push('invalid value for "balance", balance cannot be nil.')
|
|
186
182
|
end
|
|
@@ -214,7 +210,6 @@ module YNAB
|
|
|
214
210
|
return false unless type_validator.valid?(@type)
|
|
215
211
|
return false if @on_budget.nil?
|
|
216
212
|
return false if @closed.nil?
|
|
217
|
-
return false if @note.nil?
|
|
218
213
|
return false if @balance.nil?
|
|
219
214
|
return false if @cleared_balance.nil?
|
|
220
215
|
return false if @uncleared_balance.nil?
|
data/lib/ynab/models/category.rb
CHANGED
|
@@ -208,10 +208,6 @@ module YNAB
|
|
|
208
208
|
invalid_properties.push('invalid value for "hidden", hidden cannot be nil.')
|
|
209
209
|
end
|
|
210
210
|
|
|
211
|
-
if @note.nil?
|
|
212
|
-
invalid_properties.push('invalid value for "note", note cannot be nil.')
|
|
213
|
-
end
|
|
214
|
-
|
|
215
211
|
if @budgeted.nil?
|
|
216
212
|
invalid_properties.push('invalid value for "budgeted", budgeted cannot be nil.')
|
|
217
213
|
end
|
|
@@ -224,26 +220,6 @@ module YNAB
|
|
|
224
220
|
invalid_properties.push('invalid value for "balance", balance cannot be nil.')
|
|
225
221
|
end
|
|
226
222
|
|
|
227
|
-
if @goal_type.nil?
|
|
228
|
-
invalid_properties.push('invalid value for "goal_type", goal_type cannot be nil.')
|
|
229
|
-
end
|
|
230
|
-
|
|
231
|
-
if @goal_creation_month.nil?
|
|
232
|
-
invalid_properties.push('invalid value for "goal_creation_month", goal_creation_month cannot be nil.')
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
if @goal_target.nil?
|
|
236
|
-
invalid_properties.push('invalid value for "goal_target", goal_target cannot be nil.')
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
if @goal_target_month.nil?
|
|
240
|
-
invalid_properties.push('invalid value for "goal_target_month", goal_target_month cannot be nil.')
|
|
241
|
-
end
|
|
242
|
-
|
|
243
|
-
if @goal_percentage_complete.nil?
|
|
244
|
-
invalid_properties.push('invalid value for "goal_percentage_complete", goal_percentage_complete cannot be nil.')
|
|
245
|
-
end
|
|
246
|
-
|
|
247
223
|
if @deleted.nil?
|
|
248
224
|
invalid_properties.push('invalid value for "deleted", deleted cannot be nil.')
|
|
249
225
|
end
|
|
@@ -258,17 +234,11 @@ module YNAB
|
|
|
258
234
|
return false if @category_group_id.nil?
|
|
259
235
|
return false if @name.nil?
|
|
260
236
|
return false if @hidden.nil?
|
|
261
|
-
return false if @note.nil?
|
|
262
237
|
return false if @budgeted.nil?
|
|
263
238
|
return false if @activity.nil?
|
|
264
239
|
return false if @balance.nil?
|
|
265
|
-
return false if @goal_type.nil?
|
|
266
240
|
goal_type_validator = EnumAttributeValidator.new('String', ['TB', 'TBD', 'MF', 'NEED'])
|
|
267
241
|
return false unless goal_type_validator.valid?(@goal_type)
|
|
268
|
-
return false if @goal_creation_month.nil?
|
|
269
|
-
return false if @goal_target.nil?
|
|
270
|
-
return false if @goal_target_month.nil?
|
|
271
|
-
return false if @goal_percentage_complete.nil?
|
|
272
242
|
return false if @deleted.nil?
|
|
273
243
|
true
|
|
274
244
|
end
|
data/lib/ynab/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.15.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: 2019-08
|
|
11
|
+
date: 2019-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
253
253
|
- !ruby/object:Gem::Version
|
|
254
254
|
version: '0'
|
|
255
255
|
requirements: []
|
|
256
|
-
rubygems_version: 3.0.
|
|
256
|
+
rubygems_version: 3.0.3
|
|
257
257
|
signing_key:
|
|
258
258
|
specification_version: 4
|
|
259
259
|
summary: YNAB API Endpoints Ruby Gem
|