ruby-shadow 2.1.4 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/README +1 -1
  3. data/extconf.rb +11 -0
  4. data/ruby-shadow.gemspec +15 -8
  5. metadata +13 -13
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 81b3e320dcbaa4d19925591e82a5b74fcd00509d
4
+ data.tar.gz: 8b3b8f0b340ba3f7bb406029586c134cf22ca498
5
+ SHA512:
6
+ metadata.gz: f8769b04b09393057c70e6173da16a801edaebb9b038f99f45fcfd5924cc78cea02d75082d6c8d6198402b5a7ccf7190e15339c5aa12d6ab95197b3b164bc464
7
+ data.tar.gz: a43e572c0dcb97731075d757e1614c1c9ee1490cfcdc8becf4ddaa1f09293d0b202156d0e02115934c90a89a434903bb5ba01db38c5661686b387bcd9d21feca
data/README CHANGED
@@ -2,7 +2,7 @@ Shadow Password module
2
2
 
3
3
  Copyright (C) 1998-1999 Takaaki Tateishi <ttate@jaist.ac.jp>
4
4
  Modified at: <1999/8/19 06:47:14 by ttate>
5
- License: Free for any use with your own risk!
5
+ License: See LICENSE
6
6
 
7
7
 
8
8
  1. What's this
data/extconf.rb CHANGED
@@ -26,4 +26,15 @@ if ok
26
26
  $CFLAGS += ' -DSOLARIS'
27
27
  end
28
28
  create_makefile("shadow")
29
+ else
30
+ osx_ok = have_func( "endpwent" )
31
+ osx_ok &= have_func( "getpwent" )
32
+ osx_ok &= have_func( "getpwnam" )
33
+ osx_ok &= have_func( "getpwnam_r" )
34
+ osx_ok &= have_func( "getpwuid" )
35
+ osx_ok &= have_func( "setpassent" )
36
+ osx_ok &= have_func( "setpwent" )
37
+ if osx_ok
38
+ raise "It looks like you're on OSX. There is a branch that might help here: https://github.com/apalmblad/ruby-shadow/tree/osx"
39
+ end
29
40
  end
data/ruby-shadow.gemspec CHANGED
@@ -1,17 +1,24 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |spec|
4
- spec.authors = ['Adam Palmblad', 'Eric Hankins', 'Ian Marlier', 'Jeff Blaine', 'Remi Broemeling', 'Takaaki Tateishi']
4
+ spec.authors = ['Adam Palmblad',
5
+ 'Eric Hankins',
6
+ 'Ian Marlier',
7
+ 'Jeff Blaine',
8
+ 'Remi Broemeling',
9
+ 'Takaaki Tateishi']
10
+
5
11
  spec.description = 'This module provides access to shadow passwords on Linux and Solaris'
6
12
  spec.email = ['adam.palmblad@teampages.com']
7
13
  spec.extensions = ['extconf.rb']
8
14
  spec.files = []
9
- File.open('MANIFEST').each { |file|
10
- spec.files << file.chomp
11
- }
15
+ File.open('MANIFEST').each do |file|
16
+ spec.files << file.chomp
17
+ end
12
18
  spec.homepage = 'https://github.com/apalmblad/ruby-shadow'
13
- spec.name = 'ruby-shadow'
14
- spec.required_ruby_version = '>= 1.8'
15
- spec.summary = '*nix Shadow Password Module'
16
- spec.version = '2.1.4'
19
+ spec.name = 'ruby-shadow'
20
+ spec.required_ruby_version = ['>= 1.8', '< 2.0.0']
21
+ spec.summary = '*nix Shadow Password Module'
22
+ spec.version = '2.1.5'
23
+ spec.license = "Public Domain License"
17
24
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shadow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
5
- prerelease:
4
+ version: 2.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adam Palmblad
@@ -14,8 +13,7 @@ authors:
14
13
  autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
- date: 2012-04-17 00:00:00.000000000 -07:00
18
- default_executable:
16
+ date: 2013-02-25 00:00:00.000000000 Z
19
17
  dependencies: []
20
18
  description: This module provides access to shadow passwords on Linux and Solaris
21
19
  email:
@@ -33,29 +31,31 @@ files:
33
31
  - README.euc
34
32
  - ruby-shadow.gemspec
35
33
  - shadow.c
36
- has_rdoc: true
37
34
  homepage: https://github.com/apalmblad/ruby-shadow
38
- licenses: []
35
+ licenses:
36
+ - Public Domain License
37
+ metadata: {}
39
38
  post_install_message:
40
39
  rdoc_options: []
41
40
  require_paths:
42
41
  - lib
43
42
  required_ruby_version: !ruby/object:Gem::Requirement
44
- none: false
45
43
  requirements:
46
- - - ! '>='
44
+ - - '>='
47
45
  - !ruby/object:Gem::Version
48
46
  version: '1.8'
47
+ - - <
48
+ - !ruby/object:Gem::Version
49
+ version: 2.0.0
49
50
  required_rubygems_version: !ruby/object:Gem::Requirement
50
- none: false
51
51
  requirements:
52
- - - ! '>='
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 1.6.2
57
+ rubygems_version: 2.0.0
58
58
  signing_key:
59
- specification_version: 3
60
- summary: ! '*nix Shadow Password Module'
59
+ specification_version: 4
60
+ summary: '*nix Shadow Password Module'
61
61
  test_files: []