nis-ffi 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,16 @@
1
1
  = nis-ffi
2
2
 
3
- NIS (YP) library using libc's libnsl through ruby-ffi. It is known to work on
4
- Ruby 1.8.7, 1.9.2 and JRuby 1.6.0.
3
+ NIS (YP) library for Ruby using libc's libnsl through
4
+ ffi[https://github.com/ffi/ffi]. It is known to work on Ruby 1.8.7, 1.9.3 and
5
+ JRuby 1.6.
5
6
 
6
7
  Please note that only a few functions have been implemented, so please fork and
7
8
  add the ones you need. It's really easy thanks to ffi!
8
9
 
9
10
  == Usage
10
11
 
12
+ For installation, see {page on rubygems.org}[http://rubygems.org/gems/nis-ffi].
13
+
11
14
  >> require 'nis-ffi'
12
15
  >> NIS.yp_match("nis.example.org", "passwd.byname", "username")
13
16
  => "username:42pwdhashBEEF:1000:1111:Full Name:/home/username:/bin/zsh"
@@ -2,7 +2,7 @@ module NIS
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 2
5
+ PATCH = 3
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.version = NIS::Version::STRING
10
10
  s.authors = ["Robin Stocker"]
11
11
  s.email = %q{robin@nibor.org}
12
- s.homepage = %q{http://github.com/robinst/nis-ffi}
12
+ s.homepage = %q{https://github.com/robinst/nis-ffi}
13
13
  s.licenses = ["MIT"]
14
14
  s.summary = %q{NIS (YP) library using libc's libnsl through ruby-ffi}
15
15
  s.description = %q{Library for NIS (YP) queries using the libnsl library of libc through ruby-ffi.}
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.rdoc_options = ["--main", "README.rdoc"]
18
18
  s.requirements = ["libnsl (provided by libc)"]
19
19
 
20
- s.add_runtime_dependency 'ffi', '~> 1.0.0'
20
+ s.add_runtime_dependency 'ffi', '~> 1.0'
21
21
  s.add_development_dependency 'bundler', '~> 1.0'
22
22
  s.add_development_dependency 'rake', '~> 0.9.2'
23
23
  s.add_development_dependency 'shoulda-context', '~> 1.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nis-ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-27 00:00:00.000000000 Z
12
+ date: 2012-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
16
- requirement: &19127820 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.0
21
+ version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19127820
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: bundler
27
- requirement: &19127300 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '1.0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *19127300
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '1.0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rake
38
- requirement: &19126800 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: 0.9.2
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *19126800
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.2
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: shoulda-context
49
- requirement: &19126340 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,7 +69,12 @@ dependencies:
54
69
  version: '1.0'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *19126340
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '1.0'
58
78
  description: Library for NIS (YP) queries using the libnsl library of libc through
59
79
  ruby-ffi.
60
80
  email: robin@nibor.org
@@ -76,7 +96,7 @@ files:
76
96
  - test/helper.rb
77
97
  - test/test_errors.rb
78
98
  - test/test_server.rb
79
- homepage: http://github.com/robinst/nis-ffi
99
+ homepage: https://github.com/robinst/nis-ffi
80
100
  licenses:
81
101
  - MIT
82
102
  post_install_message:
@@ -93,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
113
  version: '0'
94
114
  segments:
95
115
  - 0
96
- hash: 4048674834085464151
116
+ hash: 3911040697722298929
97
117
  required_rubygems_version: !ruby/object:Gem::Requirement
98
118
  none: false
99
119
  requirements:
@@ -102,11 +122,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
122
  version: '0'
103
123
  segments:
104
124
  - 0
105
- hash: 4048674834085464151
125
+ hash: 3911040697722298929
106
126
  requirements:
107
127
  - libnsl (provided by libc)
108
128
  rubyforge_project:
109
- rubygems_version: 1.8.10
129
+ rubygems_version: 1.8.24
110
130
  signing_key:
111
131
  specification_version: 3
112
132
  summary: NIS (YP) library using libc's libnsl through ruby-ffi