heartcheck-cas 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/heartcheck/cas/http_client.rb +4 -1
- data/lib/heartcheck/cas/version.rb +1 -1
- metadata +45 -32
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MzhkMGNjNDc4ZjNiY2Y5NmNkYzQxZDU1NmM0ODc3NDk3MWEzNWE5Zg==
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '09432a03e8fcd47ef72d8469b9b7161ebdf05e3438e94057941e3c1131875e34'
|
4
|
+
data.tar.gz: 52a63b9d40adc51bec12d1edc2be69f50a9f7002b05071120eefa0ccf417c25f
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MDkyNGRlNjMzNWZjNGE1ZDliNTFiZWZiNWQzMzZkMjQ0OTg1ODQwODVjMGFk
|
11
|
-
OGMyY2ZmZmYxNGU1ZjQ2MjFiN2NhMjM4MjkzODIxZWUyYzQ2ZTk=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MWQ0OTVmYzM1YWEwMTZiNTU2OTVjZTEwNmE1ZDExYThjZmYyMjI2MGNkNmZl
|
14
|
-
OGMyNzU5NzFlYmY0ODA4ODNjMmYxMTdlMzE1Mjg2OTYxOWI5Y2Y1NjM3NDRi
|
15
|
-
YTY3NzliNzAzNTIzNmIzMzA1YzNhMjFmY2JjMzEwNjIyY2ZjZGM=
|
6
|
+
metadata.gz: 21c6beb8bb98a040956cfff358f843c124a590e864e5277538e0ed8ad0ba5670543ababe2731cb27135b673bf5ea2cbf22e3a91874df0104414574968a404abe
|
7
|
+
data.tar.gz: 25f8d14891a86c0d02af2a33aca8a11675d59ba05e1766002e0aba30f9bc355c891b35a25f5b4a29f551acc912eb36ab43797bd2bf74e91483c0017d2344b982
|
@@ -1,4 +1,7 @@
|
|
1
1
|
# enconding: utf-8
|
2
|
+
require 'net/http'
|
3
|
+
require 'openssl'
|
4
|
+
|
2
5
|
module Heartcheck
|
3
6
|
module Cas
|
4
7
|
class HttpClient
|
@@ -12,7 +15,7 @@ module Heartcheck
|
|
12
15
|
request.set_form_data(params)
|
13
16
|
base_client(uri).request(request)
|
14
17
|
end
|
15
|
-
|
18
|
+
|
16
19
|
def base_client(uri)
|
17
20
|
http = Net::HTTP.new(uri.host, uri.port)
|
18
21
|
http.use_ssl = uri.scheme.eql?('https')
|
metadata
CHANGED
@@ -1,85 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heartcheck-cas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- andrerocker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: heartcheck
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
|
-
- -
|
31
|
+
- - ">"
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
33
|
+
version: '1.6'
|
20
34
|
type: :development
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
|
-
- -
|
38
|
+
- - ">"
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
40
|
+
version: '1.6'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
42
|
+
name: pry-nav
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - ~>
|
45
|
+
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
47
|
+
version: 0.2.4
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - ~>
|
52
|
+
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 0.2.4
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
56
|
+
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - ~>
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '10.0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - ~>
|
66
|
+
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '10.0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
70
|
+
name: rspec
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - ~>
|
73
|
+
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
75
|
+
version: '3.3'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - ~>
|
80
|
+
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
82
|
+
version: '3.3'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: rubocop
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
76
|
-
type: :
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '0'
|
83
97
|
description: Provides cas checkers to heartcheck
|
84
98
|
email:
|
85
99
|
- andre.souza@gmail.com
|
@@ -101,17 +115,16 @@ require_paths:
|
|
101
115
|
- lib
|
102
116
|
required_ruby_version: !ruby/object:Gem::Requirement
|
103
117
|
requirements:
|
104
|
-
- -
|
118
|
+
- - ">="
|
105
119
|
- !ruby/object:Gem::Version
|
106
|
-
version: '
|
120
|
+
version: '2.3'
|
107
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
122
|
requirements:
|
109
|
-
- -
|
123
|
+
- - ">="
|
110
124
|
- !ruby/object:Gem::Version
|
111
125
|
version: '0'
|
112
126
|
requirements: []
|
113
|
-
|
114
|
-
rubygems_version: 2.4.8
|
127
|
+
rubygems_version: 3.0.3
|
115
128
|
signing_key:
|
116
129
|
specification_version: 4
|
117
130
|
summary: cas checkers to heartcheck
|