rpam2 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +7 -3
  3. data/rpam2.gemspec +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c0c6f60c2bd715ef7bf6d130474eb08363b2693
4
- data.tar.gz: 1a98fea02d357d3400526b196787bc0c6ffacd1e
3
+ metadata.gz: 174bfb02ac619c8c0b0a4c8eed1eee25ff1a7c98
4
+ data.tar.gz: eb1eb25a1c69a4c3e6bbfd33b8175ad77e52e212
5
5
  SHA512:
6
- metadata.gz: 0dd74748497f1279ac7ed03ff2069c25fbdfd86c5660ff9dde16ac28c5422d2210447d89976d5a62ee80e61ffcefea292624f1230f49a56221cde1a155672b18
7
- data.tar.gz: e98d08d443dc01c67464d892ba1a9f270b10b668b1e8b2d7468430e1a51d7c5f4cadb7a3761d5e16334256e9fedd9a63209fb5849adece542039ba6080704d53
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 authpam("servicename", "user", "password")
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.authpam("servicename", "username", "password")
39
+ Rpam2.auth("servicename", "username", "password") => (true/false)
40
40
 
41
- Rpam2.accountpam("servicename", "username")
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.0"
4
- s.date = "2017-10-02"
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.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-02 00:00:00.000000000 Z
11
+ date: 2017-10-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Ruby PAM (Pluggable Authentication