rpam2 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +7 -3
- data/rpam2.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 174bfb02ac619c8c0b0a4c8eed1eee25ff1a7c98
|
4
|
+
data.tar.gz: eb1eb25a1c69a4c3e6bbfd33b8175ad77e52e212
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5212c119e74b0f42ce307d7028b0976cad85bd8ca779c8a3587cdfb8f94dbb96d5a62237982888c723fbc86058edb5a4feb57cb9c4120d061405922a1eae327
|
7
|
+
data.tar.gz: 2b50aebcd9124774bb4ff4b17164bebb662bfba607ca78128248fd025565b9eac15a3e0df23e541ec3e877917fc0317754cfcfe8f188bf05ebaddabd5a44de26
|
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
require 'rpam2'
|
14
14
|
|
15
|
-
if
|
15
|
+
if Rpam2.auth("servicename", "user", "password")
|
16
16
|
puts "Authentication successful"
|
17
17
|
else
|
18
18
|
puts "Authentication failed"
|
@@ -36,6 +36,10 @@ Or manually:
|
|
36
36
|
|
37
37
|
require 'rpam2'
|
38
38
|
|
39
|
-
Rpam2.
|
39
|
+
Rpam2.auth("servicename", "username", "password") => (true/false)
|
40
40
|
|
41
|
-
Rpam2.
|
41
|
+
Rpam2.account("servicename", "username") => (true/false)
|
42
|
+
|
43
|
+
Rpam2.getenv("servicename", "username", "password", "envvar", "opensession(true/false)") => (string/nil)
|
44
|
+
|
45
|
+
Rpam2.listenv("servicename", "username", "password", "opensession(true/false)") => (hash/nil)
|
data/rpam2.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "rpam2"
|
3
|
-
s.version = "3.0.
|
4
|
-
s.date = "2017-10-
|
3
|
+
s.version = "3.0.1"
|
4
|
+
s.date = "2017-10-03"
|
5
5
|
s.summary = "PAM integration with ruby."
|
6
6
|
s.email = "devkral@web.de"
|
7
7
|
s.description = "Ruby PAM (Pluggable Authentication
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpam2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kaftan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
Ruby PAM (Pluggable Authentication
|