ynap 1.0.0 → 1.1.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/CHANGELOG.md +8 -1
- data/README.md +1 -2
- data/config/ynap.yml.example +0 -1
- data/lib/ynap/cli.rb +2 -2
- data/lib/ynap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 475211b790e49d8b9cd11a82fc3c599e9759e988a379ca4049c45027957d61bb
|
|
4
|
+
data.tar.gz: edbc19ef52564f7ca9f81820e1113491a8f4e463d266481f90ba19dc61e0dd5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7db5befd48004df874ce3dc6bc1eab10965f1a59fa7560ee9885c6b0d92773a551d38bd0f49f0bd2e041750aacf1bbe186e0807b5dd276e023e05e3ba0e4575
|
|
7
|
+
data.tar.gz: 0d584d94bf23fd399c8aeca2b0791ce1245e78bb8468fcae5b8076357bb850629ddeb39a4f2652ca709df5e8c3ba35fb7130cfd193cc7941a5b0d1113445f993
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [1.0] - 2020-10-29
|
|
3
|
+
## [1.1.0] - 2020-10-29
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Fixed the path used to launch the console and plaid web server
|
|
8
|
+
- Removed a reference to Plaid's public_key which has been deprecated and is not used anymore
|
|
9
|
+
|
|
10
|
+
## [1.0.0] - 2020-10-29
|
|
4
11
|
|
|
5
12
|
### Added
|
|
6
13
|
|
data/README.md
CHANGED
|
@@ -40,7 +40,6 @@ It looks like this, and we'll complete it in the next steps.
|
|
|
40
40
|
```yml
|
|
41
41
|
:plaid:
|
|
42
42
|
:client_id: 1234567890a
|
|
43
|
-
:public_key: 1234567890a
|
|
44
43
|
:secret: 1234567890a
|
|
45
44
|
:env: development
|
|
46
45
|
:country_codes: FR
|
|
@@ -127,7 +126,7 @@ The Plaid development environment requires https and a callback URI, so we'll us
|
|
|
127
126
|
The plaid server is just an easier to use copy of the official [ruby quickstart app](https://github.com/plaid/quickstart/tree/master/ruby). You can find more about the quickstart app here: https://plaid.com/docs/quickstart/.
|
|
128
127
|
|
|
129
128
|
* Create a [free account](https://dashboard.plaid.com/signup) on Plaid.com
|
|
130
|
-
* Copy the **development** [credentials](https://dashboard.plaid.com/overview/development) (client_id/
|
|
129
|
+
* Copy the **development** [credentials](https://dashboard.plaid.com/overview/development) (client_id/secret) into the `:plaid:` section
|
|
131
130
|
* Change the `country_codes` to the one you need. If you have more than one, separate them with a comma, no space (e.g. "FR,GB")
|
|
132
131
|
* Assuming your file is accessible in the current folder as `ynap.yml`, start the server:
|
|
133
132
|
|
data/config/ynap.yml.example
CHANGED
data/lib/ynap/cli.rb
CHANGED
|
@@ -13,13 +13,13 @@ module Ynap
|
|
|
13
13
|
|
|
14
14
|
desc "console", "Start a YNAP console"
|
|
15
15
|
def console
|
|
16
|
-
system("ruby bin/console")
|
|
16
|
+
system("ruby #{File.expand_path File.dirname(__FILE__)}/../../bin/console")
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
desc "plaid", "Start the Plaid web server, used during setup to retrieve access tokens"
|
|
20
20
|
method_option :config, type: :string, aliases: '-c', default: DEFAULT_CONFIG_PATH
|
|
21
21
|
def plaid
|
|
22
|
-
system("ruby bin/plaid #{options.config}")
|
|
22
|
+
system("ruby #{File.expand_path File.dirname(__FILE__)}/../../bin/plaid #{options.config}")
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
#
|
data/lib/ynap/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arnaud Joubay
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: plaid
|