flinks 0.2.0 → 0.3.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/.ruby-version +1 -0
- data/.travis.yml +21 -0
- data/README.md +3 -1
- data/VERSION +1 -1
- data/flinks.gemspec +5 -4
- data/lib/flinks/client.rb +1 -2
- data/spec/spec_helper.rb +3 -0
- metadata +4 -3
- data/lib/flinks/version.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bbbf0a02763ddebf7cc99bdada61f89ffd254e9edafa4d48fca314619bcb18b
|
|
4
|
+
data.tar.gz: 72a81130480e91ce328d5e7e142d3b7b968f5fcb4ebf08c722d169b3af8e6f74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e23c086214b89d665dc871ed5125dbca516019f864509ba2c61151288a0bf87c331de5e688a90321f09d422f4fb124f8548ca78fd7f374b1608438ba0ac05fd
|
|
7
|
+
data.tar.gz: ddd6594be9862596243394081bf307f4204098629934d9ff4e01cbc6cebef81005e091609442d2e59faadb0746ab2c61facbc7d0247040b560a6001d6575c46f
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.5.0
|
data/.travis.yml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
env:
|
|
2
|
+
global:
|
|
3
|
+
- CC_TEST_REPORTER_ID=aa3bd1dcdf34c391799d47604f00b512e1b3ec0cbb2153d0ea49a5d4fb515588
|
|
4
|
+
|
|
5
|
+
language: ruby
|
|
6
|
+
|
|
7
|
+
rvm:
|
|
8
|
+
- 2.3.6
|
|
9
|
+
- 2.4.3
|
|
10
|
+
- 2.5.0
|
|
11
|
+
|
|
12
|
+
before_script:
|
|
13
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
14
|
+
- chmod +x ./cc-test-reporter
|
|
15
|
+
- ./cc-test-reporter before-build
|
|
16
|
+
|
|
17
|
+
script:
|
|
18
|
+
- bundle exec rspec
|
|
19
|
+
|
|
20
|
+
after_script:
|
|
21
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/README.md
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
A ruby client for the [Flinks](https://flinks.io) API.
|
|
4
4
|
|
|
5
|
-
[](https://travis-ci.org/phildionne/flinks)
|
|
6
6
|
[](https://badge.fury.io/rb/flinks)
|
|
7
|
+
[](https://codeclimate.com/github/phildionne/flinks/maintainability)
|
|
8
|
+
[](https://codeclimate.com/github/phildionne/flinks/test_coverage)
|
|
7
9
|
|
|
8
10
|
## Installation
|
|
9
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.3.0
|
data/flinks.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: flinks 0.
|
|
5
|
+
# stub: flinks 0.3.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "flinks".freeze
|
|
9
|
-
s.version = "0.
|
|
9
|
+
s.version = "0.3.0"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Philippe Dionne".freeze]
|
|
14
|
-
s.date = "2018-02-
|
|
14
|
+
s.date = "2018-02-14"
|
|
15
15
|
s.description = "Flinks financial services API client".freeze
|
|
16
16
|
s.email = "dionne.phil@gmail.com".freeze
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -20,6 +20,8 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
]
|
|
21
21
|
s.files = [
|
|
22
22
|
".document",
|
|
23
|
+
".ruby-version",
|
|
24
|
+
".travis.yml",
|
|
23
25
|
"Gemfile",
|
|
24
26
|
"Gemfile.lock",
|
|
25
27
|
"LICENSE.txt",
|
|
@@ -36,7 +38,6 @@ Gem::Specification.new do |s|
|
|
|
36
38
|
"lib/flinks/client.rb",
|
|
37
39
|
"lib/flinks/error.rb",
|
|
38
40
|
"lib/flinks/request.rb",
|
|
39
|
-
"lib/flinks/version.rb",
|
|
40
41
|
"spec/lib/api/account_spec.rb",
|
|
41
42
|
"spec/lib/api/authorize_spec.rb",
|
|
42
43
|
"spec/lib/api/card_spec.rb",
|
data/lib/flinks/client.rb
CHANGED
|
@@ -2,7 +2,6 @@ require 'active_support'
|
|
|
2
2
|
require 'active_support/core_ext/object'
|
|
3
3
|
require 'dry-initializer'
|
|
4
4
|
|
|
5
|
-
require 'flinks/version'
|
|
6
5
|
require 'flinks/request'
|
|
7
6
|
require 'flinks/api/account'
|
|
8
7
|
require 'flinks/api/authorize'
|
|
@@ -23,7 +22,7 @@ module Flinks
|
|
|
23
22
|
|
|
24
23
|
option :customer_id
|
|
25
24
|
option :api_endpoint, default: proc { "https://sandbox.flinks.io/v3/" }
|
|
26
|
-
option :user_agent, default: proc { "Flinks Ruby Gem
|
|
25
|
+
option :user_agent, default: proc { "Flinks Ruby Gem" }
|
|
27
26
|
option :on_error, default: proc { proc {} }
|
|
28
27
|
option :debug, default: proc { false }
|
|
29
28
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flinks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philippe Dionne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http
|
|
@@ -173,6 +173,8 @@ extra_rdoc_files:
|
|
|
173
173
|
- README.md
|
|
174
174
|
files:
|
|
175
175
|
- ".document"
|
|
176
|
+
- ".ruby-version"
|
|
177
|
+
- ".travis.yml"
|
|
176
178
|
- Gemfile
|
|
177
179
|
- Gemfile.lock
|
|
178
180
|
- LICENSE.txt
|
|
@@ -189,7 +191,6 @@ files:
|
|
|
189
191
|
- lib/flinks/client.rb
|
|
190
192
|
- lib/flinks/error.rb
|
|
191
193
|
- lib/flinks/request.rb
|
|
192
|
-
- lib/flinks/version.rb
|
|
193
194
|
- spec/lib/api/account_spec.rb
|
|
194
195
|
- spec/lib/api/authorize_spec.rb
|
|
195
196
|
- spec/lib/api/card_spec.rb
|
data/lib/flinks/version.rb
DELETED