ttsttb 0.2.1 → 0.2.4
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 +1 -2
- data/.github/workflows/ruby.yml +5 -0
- data/Gemfile.lock +2 -4
- data/README.md +9 -11
- data/lib/ttsttb/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '029b2dc42781b195ebb92867a8f46fd56f892a8e05906853d973e56ce10d47eb'
|
4
|
+
data.tar.gz: a000346c9cb97504ff70428996b73609448be1b9b9023e1ab4499733af97434b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d79adc16de5f73e3ec5c39dd2b57e60682cbd5f48633d469c6706f9d98d7f0370c98f7d8c5fb0c9717512e58f42ddad27ea736dcaecccdcab3da8d7b57aff226
|
7
|
+
data.tar.gz: 457476c47e3d708202b6233cd33baa16bc3982dc7a8aa66ba7bbe6dfe2bc8d4dc9ae3e87f8002507ccc07e2b175f81b333657d2115cd68a6be6158913f7c992e
|
@@ -15,8 +15,7 @@ jobs:
|
|
15
15
|
|
16
16
|
- name: Release Gem
|
17
17
|
if: contains(github.ref, 'refs/tags/v')
|
18
|
-
uses:
|
18
|
+
uses: personal-social-media/publish-rubygems-action@master
|
19
19
|
env:
|
20
20
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
21
21
|
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
22
|
-
RELEASE_COMMAND: rake release
|
data/.github/workflows/ruby.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ttsttb (0.2.
|
4
|
+
ttsttb (0.2.4)
|
5
5
|
nokogiri
|
6
6
|
|
7
7
|
GEM
|
@@ -10,9 +10,7 @@ GEM
|
|
10
10
|
ast (2.4.2)
|
11
11
|
diff-lcs (1.4.4)
|
12
12
|
docile (1.4.0)
|
13
|
-
|
14
|
-
nokogiri (1.12.5)
|
15
|
-
mini_portile2 (~> 2.6.1)
|
13
|
+
nokogiri (1.12.5-x86_64-darwin)
|
16
14
|
racc (~> 1.4)
|
17
15
|
parallel (1.21.0)
|
18
16
|
parser (3.0.2.0)
|
data/README.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
# TTS TTB library
|
1
|
+
# TTS, TTB, TTM library
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/ttsttb.svg)](https://badge.fury.io/rb/ttsttb)
|
4
|
+
![Gem](https://img.shields.io/gem/dt/ttsttb)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/2f4736d38eaa5d261aae/maintainability)](https://codeclimate.com/github/matsubo/ttsttb/maintainability)
|
6
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/2f4736d38eaa5d261aae/test_coverage)](https://codeclimate.com/github/matsubo/ttsttb/test_coverage)
|
7
|
+
|
2
8
|
|
3
9
|
[TTS and TTB value of Forex](http://www.murc-kawasesouba.jp/fx/past_3month.php) is provided by MUFG. Major information provider of TTS and TTB is MUFG in Japan but the data is not provided by commonly used data format like CSV and JSON to handle by program for ease.
|
4
10
|
|
@@ -8,15 +14,9 @@ I created Ruby gem to get the TTS and TTB corresponding to the passed date. You
|
|
8
14
|
|
9
15
|
## Installation
|
10
16
|
|
11
|
-
Add
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem 'ttsttb'
|
15
|
-
```
|
16
|
-
|
17
|
-
And then execute:
|
17
|
+
Add by bundler
|
18
18
|
|
19
|
-
$ bundle
|
19
|
+
$ bundle add ttsttb
|
20
20
|
|
21
21
|
Or install it yourself as:
|
22
22
|
|
@@ -24,8 +24,6 @@ Or install it yourself as:
|
|
24
24
|
|
25
25
|
## Usage
|
26
26
|
|
27
|
-
- Common error
|
28
|
-
- `find` method throws `OpenURI::HTTPRedirect` exception if data source is not found.
|
29
27
|
|
30
28
|
```ruby
|
31
29
|
% bin/console
|
data/lib/ttsttb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ttsttb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuki Matsukura
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -120,7 +120,7 @@ files:
|
|
120
120
|
homepage: https://github.com/matsubo/ttsttb
|
121
121
|
licenses: []
|
122
122
|
metadata: {}
|
123
|
-
post_install_message:
|
123
|
+
post_install_message:
|
124
124
|
rdoc_options: []
|
125
125
|
require_paths:
|
126
126
|
- lib
|
@@ -135,8 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
rubygems_version: 3.
|
139
|
-
signing_key:
|
138
|
+
rubygems_version: 3.1.2
|
139
|
+
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Fetch TTS and TTB corresponding to the date.
|
142
142
|
test_files: []
|