ivapi 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +25 -0
- data/Gemfile +4 -3
- data/README.md +5 -9
- data/ivapi.gemspec +1 -1
- data/lib/ivapi/version.rb +1 -1
- metadata +6 -6
- data/.travis.yml +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c589636fd136af73c0d07a0d96c9d2207c81b3e129f1b16916606ebe815b4fb9
|
4
|
+
data.tar.gz: 398acdddef7812e8915125493d87496103ab1148ed10464b5e730a0c1efd0781
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c3228c84d01be1f06a3b875df6d0799e320ae42856d908e8808be51bb4502444757d0b04340a812ac015359bfe017f3401bf71f515aef947fee1f0e09e324fc
|
7
|
+
data.tar.gz: 2e04c5aed33dbde5b270ef557cf943ccf2807d575631acfec187ac00972e9c987980b4ae7c32d7dfa30efb53b40ce766c19cf73106bcf2f7b1e6f22e7e907fd1
|
@@ -0,0 +1,25 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
strategy:
|
8
|
+
matrix:
|
9
|
+
ruby: [2.3, 2.4, 2.5, 2.6]
|
10
|
+
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v1
|
15
|
+
- name: Set up Ruby ${{ matrix.ruby }}
|
16
|
+
uses: actions/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: ${{ matrix.ruby }}
|
19
|
+
- name: Build and test with Rake
|
20
|
+
env:
|
21
|
+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
22
|
+
run: |
|
23
|
+
gem install bundler
|
24
|
+
bundle install --jobs 4 --retry 3 --without development
|
25
|
+
bundle exec rspec
|
data/Gemfile
CHANGED
@@ -3,14 +3,15 @@
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
5
|
group :development do
|
6
|
-
gem 'rubocop', '~> 0.
|
6
|
+
gem 'rubocop', '~> 0.75'
|
7
7
|
end
|
8
8
|
|
9
9
|
group :test do
|
10
|
+
gem 'codecov', require: false
|
10
11
|
gem 'rake' # We need a rake gem for Travis CI.
|
11
12
|
gem 'rspec', '~> 3.8'
|
12
|
-
gem 'simplecov', '~> 0.
|
13
|
-
gem 'webmock', '~> 3.
|
13
|
+
gem 'simplecov', '~> 0.17', require: false
|
14
|
+
gem 'webmock', '~> 3.7'
|
14
15
|
end
|
15
16
|
|
16
17
|
gemspec
|
data/README.md
CHANGED
@@ -3,9 +3,7 @@
|
|
3
3
|
Gem which helps to communicate with Interneto vizija [https://www.iv.lt][iv.lt] ([https://wwww.dedikuoti.lt][dedikuoti.lt]) API.
|
4
4
|
|
5
5
|
[![Gem Version](https://img.shields.io/gem/v/ivapi.svg?style=flat-square)][rubygems]
|
6
|
-
[![
|
7
|
-
[![Code Climate](https://img.shields.io/codeclimate/maintainability/jpalumickas/ivapi.svg?style=flat-square)][codeclimate]
|
8
|
-
[![Test Coverage](https://img.shields.io/codeclimate/c/jpalumickas/ivapi.svg?style=flat-square)][codeclimate_coverage]
|
6
|
+
[![Coverage Status](https://img.shields.io/codecov/c/github/jpalumickas/ivapi?style=flat-square)][codecov]
|
9
7
|
|
10
8
|
## Installation
|
11
9
|
|
@@ -69,23 +67,21 @@ Ivapi.server.information
|
|
69
67
|
|
70
68
|
## Supported Ruby Versions
|
71
69
|
|
72
|
-
This library aims to support and is [tested against][
|
70
|
+
This library aims to support and is [tested against][github_actions] the following Ruby
|
73
71
|
versions:
|
74
72
|
|
75
|
-
* Ruby 2.1.0
|
76
|
-
* Ruby 2.2.0
|
77
73
|
* Ruby 2.3.0
|
78
74
|
* Ruby 2.4.0
|
79
75
|
* Ruby 2.5.0
|
76
|
+
* Ruby 2.6.0
|
80
77
|
|
81
78
|
## Copyright
|
82
79
|
Copyright (c) 2012-2019 Justas Palumickas.
|
83
80
|
See [LICENSE][license] for details.
|
84
81
|
|
85
82
|
[rubygems]: https://rubygems.org/gems/ivapi
|
86
|
-
[
|
87
|
-
[
|
88
|
-
[codeclimate_coverage]: https://codeclimate.com/github/jpalumickas/ivapi/test_coverage
|
83
|
+
[codecov]: https://codecov.io/gh/jpalumickas/ivapi
|
84
|
+
[github_actions]: https://github.com/jpalumickas/ivapi/actions
|
89
85
|
|
90
86
|
[iv.lt]: https://www.iv.lt
|
91
87
|
[dedikuoti.lt]: https://www.dedikuoti.lt
|
data/ivapi.gemspec
CHANGED
data/lib/ivapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ivapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justas Palumickas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -72,25 +72,25 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '13.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '13.0'
|
83
83
|
description: Gem which helps to communicate with https://www.iv.lt API.
|
84
84
|
email: jpalumickas@gmail.com
|
85
85
|
executables: []
|
86
86
|
extensions: []
|
87
87
|
extra_rdoc_files: []
|
88
88
|
files:
|
89
|
+
- ".github/workflows/test.yml"
|
89
90
|
- ".gitignore"
|
90
91
|
- ".hound.yml"
|
91
92
|
- ".rspec"
|
92
93
|
- ".rubocop.yml"
|
93
|
-
- ".travis.yml"
|
94
94
|
- CONTRIBUTING.md
|
95
95
|
- Gemfile
|
96
96
|
- LICENSE
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements:
|
136
136
|
- Interneto Vizija only allows to use API on their servers.
|
137
|
-
rubygems_version: 3.0.
|
137
|
+
rubygems_version: 3.0.6
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Ruby wrapper for Interneto Vizija API.
|
data/.travis.yml
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
bundler_args: --without development
|
3
|
-
|
4
|
-
cache:
|
5
|
-
bundler: true
|
6
|
-
|
7
|
-
env:
|
8
|
-
global:
|
9
|
-
- CC_TEST_REPORTER_ID=660deb8e8362570711ce3f81fd8995f6957641ac856d44b9347028facbe5ef24
|
10
|
-
|
11
|
-
language: ruby
|
12
|
-
rvm:
|
13
|
-
- 2.3.0
|
14
|
-
- 2.4.0
|
15
|
-
- 2.5.0
|
16
|
-
- 2.6.0
|
17
|
-
- ruby-head
|
18
|
-
|
19
|
-
before_install:
|
20
|
-
- gem install bundler
|
21
|
-
- gem update --system
|
22
|
-
|
23
|
-
before_script:
|
24
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
25
|
-
- chmod +x ./cc-test-reporter
|
26
|
-
- ./cc-test-reporter before-build
|
27
|
-
|
28
|
-
script:
|
29
|
-
- bundle exec rspec
|
30
|
-
|
31
|
-
after_script:
|
32
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
33
|
-
|
34
|
-
matrix:
|
35
|
-
allow_failures:
|
36
|
-
- rvm: ruby-head
|