viisp-auth 0.1.0 → 0.2.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
- SHA1:
3
- metadata.gz: 6331d0c1295838706bc587d2382c2cd2d0f2b5d4
4
- data.tar.gz: 8e703d61b9ce1a2be0985acf939915ab05403626
2
+ SHA256:
3
+ metadata.gz: c8c349064b028ede5fdeb38889246e128a5cc0d842b788f9294eed3e747e520f
4
+ data.tar.gz: 3d330d1dbeac7689cbbba8773d9c437635cbd8004c3627291df71fb260501cb5
5
5
  SHA512:
6
- metadata.gz: 33e015a4a3ccdf70b4b235148b34c8ae084a325cf7b74cd4db86fe8938155193f279dfd7e2416e051fec166379efc6029d8a8e06006d095860b21c3f1923095d
7
- data.tar.gz: d374e996f9fd6bf5b68e9bef62f59b941f9250aee54cb9954af20e278402b283f907b38059016bda692e6db2a6d1bd806beaa0bf1c315bb72a834c1517cf01c8
6
+ metadata.gz: 6debf3ad9cd358e08f855bfb99fea4b38ed469dda90c428c119f3827a17ec949f9cd416e39bf46fa5ff227d51d118a7ee574795254e9545981f5678f90817963
7
+ data.tar.gz: 9e4a48bdf95c63ac25acb65d04431a5f6b83fe8b1cdc5db8f4bd14b5bd3ff0802efd99044c17d8f8574b8ec90f7fd4dc5ae416bc835bda4af63df6204285f150
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ Gemfile.lock
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /_yardoc/
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.7.2
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.1
5
- - 2.4.1
6
- before_install: gem install bundler -v 1.16.0
4
+ - 2.7.2
5
+ - 3.0.0
6
+ before_install: gem install bundler -v 2.2.15
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # VIISP::Auth
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/viisp-auth.svg)](https://badge.fury.io/rb/viisp-auth)
3
4
  [![Build Status](https://travis-ci.org/laurynas/viisp-auth.svg?branch=master)](https://travis-ci.org/laurynas/viisp-auth)
4
5
 
5
6
  Lithuanian E-Government Gateway "Elektroniniai valdžios vartai" identity service client.
data/lib/viisp/auth.rb CHANGED
@@ -31,7 +31,7 @@ module VIISP
31
31
  end
32
32
 
33
33
  def ticket(options = {})
34
- request = Requests::Ticket.new(options).build
34
+ request = Requests::Ticket.new(**options).build
35
35
 
36
36
  doc = client.post(request)
37
37
  doc.remove_namespaces!
@@ -39,7 +39,7 @@ module VIISP
39
39
  end
40
40
 
41
41
  def identity(options = {})
42
- request = Requests::Identity.new(options).build
42
+ request = Requests::Identity.new(**options).build
43
43
 
44
44
  doc = client.post(request)
45
45
  doc.remove_namespaces!
@@ -2,6 +2,6 @@
2
2
 
3
3
  module VIISP
4
4
  module Auth
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
data/viisp-auth.gemspec CHANGED
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency 'nokogiri'
24
24
  spec.add_dependency 'xmldsig', '~> 0.6'
25
25
 
26
- spec.add_development_dependency 'bundler', '~> 1.16'
27
- spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'bundler'
27
+ spec.add_development_dependency 'rake'
28
28
  spec.add_development_dependency 'rspec', '~> 3.0'
29
- spec.add_development_dependency 'webmock', '~> 3.1'
29
+ spec.add_development_dependency 'webmock'
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viisp-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurynas Butkus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-18 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -56,30 +56,30 @@ dependencies:
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '1.16'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '1.16'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '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: '10.0'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: webmock
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '3.1'
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '3.1'
110
+ version: '0'
111
111
  description: Lithuanian E-Government Gateway "Elektroniniai valdžios vartai" identity
112
112
  service client.
113
113
  email:
@@ -122,7 +122,6 @@ files:
122
122
  - ".travis.yml"
123
123
  - CODE_OF_CONDUCT.md
124
124
  - Gemfile
125
- - Gemfile.lock
126
125
  - LICENSE.txt
127
126
  - README.md
128
127
  - Rakefile
@@ -162,8 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
161
  - !ruby/object:Gem::Version
163
162
  version: '0'
164
163
  requirements: []
165
- rubyforge_project:
166
- rubygems_version: 2.6.11
164
+ rubygems_version: 3.1.4
167
165
  signing_key:
168
166
  specification_version: 4
169
167
  summary: VIISP authentication client
data/Gemfile.lock DELETED
@@ -1,58 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- viisp-auth (0.1.0)
5
- faraday
6
- nokogiri
7
- xmldsig (~> 0.6)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- addressable (2.5.2)
13
- public_suffix (>= 2.0.2, < 4.0)
14
- crack (0.4.3)
15
- safe_yaml (~> 1.0.0)
16
- diff-lcs (1.3)
17
- faraday (0.13.1)
18
- multipart-post (>= 1.2, < 3)
19
- hashdiff (0.3.7)
20
- mini_portile2 (2.3.0)
21
- multipart-post (2.0.0)
22
- nokogiri (1.8.1)
23
- mini_portile2 (~> 2.3.0)
24
- public_suffix (3.0.1)
25
- rake (10.5.0)
26
- rspec (3.7.0)
27
- rspec-core (~> 3.7.0)
28
- rspec-expectations (~> 3.7.0)
29
- rspec-mocks (~> 3.7.0)
30
- rspec-core (3.7.0)
31
- rspec-support (~> 3.7.0)
32
- rspec-expectations (3.7.0)
33
- diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.7.0)
35
- rspec-mocks (3.7.0)
36
- diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.7.0)
38
- rspec-support (3.7.0)
39
- safe_yaml (1.0.4)
40
- webmock (3.1.1)
41
- addressable (>= 2.3.6)
42
- crack (>= 0.3.2)
43
- hashdiff
44
- xmldsig (0.6.5)
45
- nokogiri (>= 1.6.8, < 2.0.0)
46
-
47
- PLATFORMS
48
- ruby
49
-
50
- DEPENDENCIES
51
- bundler (~> 1.16)
52
- rake (~> 10.0)
53
- rspec (~> 3.0)
54
- viisp-auth!
55
- webmock (~> 3.1)
56
-
57
- BUNDLED WITH
58
- 1.16.0