ynap 1.1.0 → 1.1.1

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
  SHA256:
3
- metadata.gz: 475211b790e49d8b9cd11a82fc3c599e9759e988a379ca4049c45027957d61bb
4
- data.tar.gz: edbc19ef52564f7ca9f81820e1113491a8f4e463d266481f90ba19dc61e0dd5b
3
+ metadata.gz: 0765046cb49d7117703debee94759aaffbb9e148ee1571f7e415e9f13dfad4ee
4
+ data.tar.gz: 0f5bc910bcffcacb6d36834619a29bf55c5cc2b442de6ae83e00a40911c08920
5
5
  SHA512:
6
- metadata.gz: c7db5befd48004df874ce3dc6bc1eab10965f1a59fa7560ee9885c6b0d92773a551d38bd0f49f0bd2e041750aacf1bbe186e0807b5dd276e023e05e3ba0e4575
7
- data.tar.gz: 0d584d94bf23fd399c8aeca2b0791ce1245e78bb8468fcae5b8076357bb850629ddeb39a4f2652ca709df5e8c3ba35fb7130cfd193cc7941a5b0d1113445f993
6
+ metadata.gz: ecab12eb36bb7669f5ca593f4ec3f882fe5eca263d5a409f58c7bbb3590c6b82e8c8c9a5fc976df899f2106baff94aec472b773f1df1c6c335e905af3ed1c9a9
7
+ data.tar.gz: d02958ec66441c3315136bad52340d3009506dfc9272c6c02cbbc8af9b08c4db992a2e8d1f358ff9a6b1364b798367f1abd0520652b571eae63254b92a1f0a42
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.1] - 2020-10-29
4
+
5
+ ### Changed
6
+
7
+ - Fix missing method when balance is an Integer
8
+
3
9
  ## [1.1.0] - 2020-10-29
4
10
 
5
11
  ### Changed
data/README.md CHANGED
@@ -145,7 +145,7 @@ ynap plaid -c path/to/ynap.yml
145
145
  "request_id": "moreRandomString"
146
146
  }
147
147
  ```
148
- * Paste the `access_token` in front of `:plaid_access_token:` in your `config.yml` file, and `item_id` as the `plaid_id` for your account (Most API requests interact with an Item, which is a Plaid term for a login at a financial institution)
148
+ * Paste the `access_token` in front of `:plaid_access_token:` in your `config.yml` file, and `item_id` as the `plaid_id` for your account (Most API requests interact with an Item, which is a Plaid term for a login at a financial institution). If that `item_id` does not work, get it with `be bin/ynap plaid_ids boursorama`.
149
149
 
150
150
  **What if you have more than one account at this bank?**
151
151
 
@@ -2,4 +2,8 @@ class Integer
2
2
  def to_plaid
3
3
  self.to_f / 1000
4
4
  end
5
+
6
+ def to_ynab
7
+ self.to_f * 1000
8
+ end
5
9
  end
@@ -6,7 +6,7 @@ class Account < BridgeRecord
6
6
 
7
7
  attr_reader :plaid_id, :start_date, :ynab_id
8
8
 
9
- def initialize(plaid_id:, plaid_access_token:, ynab_id:, start_date: nil)
9
+ def initialize(plaid_id:, plaid_access_token:, ynab_id: nil, start_date: nil)
10
10
  super(plaid_access_token)
11
11
  @plaid_id = plaid_id
12
12
  @ynab_id = ynab_id
data/lib/ynap/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ynap
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ynap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Joubay
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-03 00:00:00.000000000 Z
11
+ date: 2021-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plaid
@@ -138,7 +138,7 @@ dependencies:
138
138
  version: '1.0'
139
139
  description: YNAP allows you to automatically import into YNAB the transactions of
140
140
  any bank supported by Plaid.
141
- email:
141
+ email:
142
142
  executables:
143
143
  - ynap
144
144
  extensions: []
@@ -175,7 +175,7 @@ metadata:
175
175
  homepage_uri: https://github.com/sowenjub/ynap
176
176
  source_code_uri: https://github.com/sowenjub/ynap
177
177
  changelog_uri: https://github.com/sowenjub/ynap/CHANGELOG.md
178
- post_install_message:
178
+ post_install_message:
179
179
  rdoc_options: []
180
180
  require_paths:
181
181
  - lib
@@ -190,8 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.0.3
194
- signing_key:
193
+ rubygems_version: 3.1.4
194
+ signing_key:
195
195
  specification_version: 4
196
196
  summary: You Need A Plaid
197
197
  test_files: []