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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OWEzZmIwN2E0YmViYmEwNzBjMTYxZDA1NzEyZDc4MDZlOTA2MmQ0Ng==
5
- data.tar.gz: !binary |-
6
- MzhkMGNjNDc4ZjNiY2Y5NmNkYzQxZDU1NmM0ODc3NDk3MWEzNWE5Zg==
2
+ SHA256:
3
+ metadata.gz: '09432a03e8fcd47ef72d8469b9b7161ebdf05e3438e94057941e3c1131875e34'
4
+ data.tar.gz: 52a63b9d40adc51bec12d1edc2be69f50a9f7002b05071120eefa0ccf417c25f
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NjhlZjRhNWUwNjQ4OGI4OWQzYWE4ODJmMWFjN2NlZmEzNGM3MzY4OTY4NjBh
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')
@@ -1,5 +1,5 @@
1
1
  module Heartcheck
2
2
  module Cas
3
- VERSION = "0.1.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
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: 0.1.0
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: 2015-07-08 00:00:00.000000000 Z
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.10'
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.10'
40
+ version: '1.6'
27
41
  - !ruby/object:Gem::Dependency
28
- name: rake
42
+ name: pry-nav
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ~>
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '10.0'
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: '10.0'
54
+ version: 0.2.4
41
55
  - !ruby/object:Gem::Dependency
42
- name: rspec
56
+ name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ~>
59
+ - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '3.3'
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: '3.3'
68
+ version: '10.0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: pry-nav
70
+ name: rspec
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ~>
73
+ - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 0.2.4
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: 0.2.4
82
+ version: '3.3'
69
83
  - !ruby/object:Gem::Dependency
70
- name: heartcheck
84
+ name: rubocop
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - ~>
87
+ - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: '1.0'
76
- type: :runtime
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: '1.0'
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: '0'
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
- rubyforge_project:
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