ynab_convert 2.0.1 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish.yml +36 -0
- data/.github/workflows/test.yml +31 -0
- data/Gemfile.lock +5 -5
- data/lib/ynab_convert/api_clients/currency_api.rb +1 -1
- data/lib/ynab_convert/version.rb +1 -1
- metadata +5 -4
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bf2757d23c956861b13c958af34d8777d696a932559bd16613f45759948ac6b
|
4
|
+
data.tar.gz: b37121a85fc1fb517bc39708cd8d406d2b39dfc6deff1c7b4502e8ecb7e52926
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 840015cda8650024c4268c4f7fc05af56968ea4c1b2a9e037dfe92f13c3c77663a7b23e803422ffc5a9cad245c8a2d826e7b0e3c1f8a48b0fb98e40f82ed60fd
|
7
|
+
data.tar.gz: 1879cba9e0e6ef71e52cfd2fa4171e565b4ac926047bd56e7dc9a3a3711191aaba731fd731915ddbe28009d9104dda7be5f0fef8a140957d0982675030c72a15
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
name: ruby
|
3
|
+
|
4
|
+
on:
|
5
|
+
push:
|
6
|
+
branches: [master]
|
7
|
+
|
8
|
+
permissions:
|
9
|
+
contents: read
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
publish:
|
13
|
+
name: Build + Publish
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
permissions:
|
16
|
+
packages: write
|
17
|
+
contents: read
|
18
|
+
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@v3
|
21
|
+
- name: Set up Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
25
|
+
- name: Run tests
|
26
|
+
run: bundle exec rake ci
|
27
|
+
- name: Publish to RubyGems
|
28
|
+
run: |
|
29
|
+
mkdir -p $HOME/.gem
|
30
|
+
touch $HOME/.gem/credentials
|
31
|
+
chmod 0600 $HOME/.gem/credentials
|
32
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
33
|
+
gem build *.gemspec
|
34
|
+
gem push *.gem
|
35
|
+
env:
|
36
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
name: ruby
|
3
|
+
|
4
|
+
on:
|
5
|
+
push:
|
6
|
+
branches: [master]
|
7
|
+
pull_request:
|
8
|
+
branches: [master]
|
9
|
+
|
10
|
+
permissions:
|
11
|
+
contents: read
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
test:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
strategy:
|
17
|
+
matrix:
|
18
|
+
ruby-version: ["2.6", "2.7"]
|
19
|
+
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v3
|
22
|
+
- name: Set up Ruby
|
23
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
24
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
25
|
+
# uses: ruby/setup-ruby@v1
|
26
|
+
uses: ruby/setup-ruby@v1
|
27
|
+
with:
|
28
|
+
ruby-version: ${{ matrix.ruby-version }}
|
29
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
30
|
+
- name: Run tests
|
31
|
+
run: bundle exec rake ci
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ynab_convert (2.0.
|
4
|
+
ynab_convert (2.0.5)
|
5
5
|
i18n
|
6
6
|
slop
|
7
7
|
timecop
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
backport (1.1.2)
|
16
16
|
byebug (11.0.1)
|
17
17
|
coderay (1.1.2)
|
18
|
-
concurrent-ruby (1.1.
|
18
|
+
concurrent-ruby (1.1.10)
|
19
19
|
crack (0.4.5)
|
20
20
|
rexml
|
21
21
|
diff-lcs (1.3)
|
@@ -41,7 +41,7 @@ GEM
|
|
41
41
|
rubocop (~> 0.20)
|
42
42
|
hashdiff (1.0.1)
|
43
43
|
htmlentities (4.3.4)
|
44
|
-
i18n (1.
|
44
|
+
i18n (1.12.0)
|
45
45
|
concurrent-ruby (~> 1.0)
|
46
46
|
jaro_winkler (1.5.4)
|
47
47
|
json (2.5.1)
|
@@ -52,7 +52,7 @@ GEM
|
|
52
52
|
method_source (0.9.2)
|
53
53
|
mini_portile2 (2.8.0)
|
54
54
|
nenv (0.3.0)
|
55
|
-
nokogiri (1.13.
|
55
|
+
nokogiri (1.13.8)
|
56
56
|
mini_portile2 (~> 2.8.0)
|
57
57
|
racc (~> 1.4)
|
58
58
|
notiffany (0.1.3)
|
@@ -114,7 +114,7 @@ GEM
|
|
114
114
|
json (>= 1.8, < 3)
|
115
115
|
simplecov-html (~> 0.10.0)
|
116
116
|
simplecov-html (0.10.2)
|
117
|
-
slop (4.9.
|
117
|
+
slop (4.9.2)
|
118
118
|
solargraph (0.37.2)
|
119
119
|
backport (~> 1.1)
|
120
120
|
bundler (>= 1.17.2)
|
@@ -8,7 +8,7 @@ module APIClients
|
|
8
8
|
class CurrencyAPI < APIClient
|
9
9
|
# The days that are missing from the API's otherwise normally available
|
10
10
|
# range
|
11
|
-
MISSING_DAYS = { '2021-09-14' => true }.freeze
|
11
|
+
MISSING_DAYS = { '2021-09-14' => true, '2022-05-01' => true }.freeze
|
12
12
|
|
13
13
|
def initialize
|
14
14
|
api_base_path = 'https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/'
|
data/lib/ynab_convert/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ynab_convert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- coaxial
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -261,13 +261,14 @@ executables:
|
|
261
261
|
extensions: []
|
262
262
|
extra_rdoc_files: []
|
263
263
|
files:
|
264
|
+
- ".github/workflows/publish.yml"
|
265
|
+
- ".github/workflows/test.yml"
|
264
266
|
- ".gitignore"
|
265
267
|
- ".rspec"
|
266
268
|
- ".rubocop.yml"
|
267
269
|
- ".ruby-gemset"
|
268
270
|
- ".ruby-version"
|
269
271
|
- ".solargraph.yml"
|
270
|
-
- ".travis.yml"
|
271
272
|
- Gemfile
|
272
273
|
- Gemfile.lock
|
273
274
|
- Guardfile
|
@@ -342,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
342
343
|
- !ruby/object:Gem::Version
|
343
344
|
version: '0'
|
344
345
|
requirements: []
|
345
|
-
rubygems_version: 3.0.
|
346
|
+
rubygems_version: 3.0.3
|
346
347
|
signing_key:
|
347
348
|
specification_version: 4
|
348
349
|
summary: Convert online banking CSV files to YNAB 4 format.
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
language: ruby
|
3
|
-
cache: bundler
|
4
|
-
rvm:
|
5
|
-
- 2.6
|
6
|
-
- 2.7
|
7
|
-
before_install: gem install bundler
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
include:
|
11
|
-
- stage: test
|
12
|
-
script: echo "Running tests for $(ruby -v)..." && bundle exec rake ci
|
13
|
-
- stage: gem release
|
14
|
-
rvm: 2.6
|
15
|
-
script: echo "Publishing to rubygems.org..."
|
16
|
-
deploy:
|
17
|
-
provider: rubygems
|
18
|
-
gem: ynab_convert
|
19
|
-
api_key: $RUBYGEMS_API_KEY
|
20
|
-
on: master
|