flinks 0.2.0 → 0.3.0

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: e828957d3fa28a60e8efaef004a27bd79adab1093434e03220a73cb489f55dc1
4
- data.tar.gz: 5ecfa2c75dcd95a2800d9b753fadb742136af10ad6edb6bd785f097af0344f3c
3
+ metadata.gz: 5bbbf0a02763ddebf7cc99bdada61f89ffd254e9edafa4d48fca314619bcb18b
4
+ data.tar.gz: 72a81130480e91ce328d5e7e142d3b7b968f5fcb4ebf08c722d169b3af8e6f74
5
5
  SHA512:
6
- metadata.gz: 11238f6378dd82d401a2ca78a6fb2d4f96eefd4da19c39ae6c2e07741dcaf1aaac8415d171e5ecad3841e2cf2daeb4c320eab3caac241c904544ed9015931e1b
7
- data.tar.gz: 26538846f2e14ca59b2d7449e4da2afb147ec89129d14b6b692586713d796458fad5915fda14e2c4ba4d6046013cedf61c6808472701d3e6e7a8e71479bd6195
6
+ metadata.gz: 6e23c086214b89d665dc871ed5125dbca516019f864509ba2c61151288a0bf87c331de5e688a90321f09d422f4fb124f8548ca78fd7f374b1608438ba0ac05fd
7
+ data.tar.gz: ddd6594be9862596243394081bf307f4204098629934d9ff4e01cbc6cebef81005e091609442d2e59faadb0746ab2c61facbc7d0247040b560a6001d6575c46f
@@ -0,0 +1 @@
1
+ 2.5.0
@@ -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
- [![Dependency Status](https://gemnasium.com/badges/github.com/phildionne/flinks.svg)](https://gemnasium.com/github.com/phildionne/flinks)
5
+ [![Build Status](https://travis-ci.org/phildionne/flinks.svg?branch=master)](https://travis-ci.org/phildionne/flinks)
6
6
  [![Gem Version](https://badge.fury.io/rb/flinks.svg)](https://badge.fury.io/rb/flinks)
7
+ [![Maintainability](https://api.codeclimate.com/v1/badges/f7714d9a2a4bd8a58bff/maintainability)](https://codeclimate.com/github/phildionne/flinks/maintainability)
8
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/f7714d9a2a4bd8a58bff/test_coverage)](https://codeclimate.com/github/phildionne/flinks/test_coverage)
7
9
 
8
10
  ## Installation
9
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -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.2.0 ruby lib
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.2.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-05"
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",
@@ -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 #{Flinks::VERSION}" }
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
 
@@ -1,3 +1,6 @@
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
1
4
  require 'rspec'
2
5
  require 'webmock/rspec'
3
6
 
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.2.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-05 00:00:00.000000000 Z
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
@@ -1,3 +0,0 @@
1
- module Flinks
2
- VERSION = File.read('VERSION')
3
- end