libshadow 1.0.0 → 1.0.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 76d3d29becd37f12d04f0ef11aa8af75c9b60386
4
+ data.tar.gz: 92607cd679ae6435e5124f37651ab56072c057d7
5
+ SHA512:
6
+ metadata.gz: 9bb0e98adc541ce7fa43d02ccb3d19eb1083bd9fc3e45cbcf9c8e43485b80dd9e4bb793fe3d4b7017aeca4de976d6fbfe0a50b14943d96220f608d7c9c30695c
7
+ data.tar.gz: 05a0fa91d4d594495e2ddae4e0009de11551e7199dcf210f5638ad3f1f97af9e492a853ba40896cc242ecc3637a331c39e4942e186c7233d834bbd325ef869a7
@@ -6,7 +6,7 @@
6
6
 
7
7
  require 'mkmf'
8
8
 
9
- $CFLAGS = RUBY_VERSION =~ /1\.9/ ? '-DRUBY19' : ''
9
+ $CFLAGS = RUBY_VERSION =~ /1\.8/ ? '-DRUBY18' : ''
10
10
 
11
11
  if( ! (ok = have_library("shadow","getspent")) )
12
12
  ok = have_func("getspent")
@@ -10,16 +10,16 @@
10
10
 
11
11
  #include <shadow.h>
12
12
  #include "ruby.h"
13
- #ifdef RUBY19
14
- #include <ruby/io.h>
15
- #else
13
+ #ifdef RUBY18
16
14
  #include "rubyio.h"
15
+ #else
16
+ #include <ruby/io.h>
17
17
  #endif
18
18
 
19
- #ifdef RUBY19
20
- #define file_ptr(x) (x)->stdio_file
21
- #else
19
+ #ifdef RUBY18
22
20
  #define file_ptr(x) (x)->f
21
+ #else
22
+ #define file_ptr(x) (x)->stdio_file
23
23
  #endif
24
24
 
25
25
  static VALUE rb_mShadow;
@@ -1,5 +1,5 @@
1
1
  require "shadow"
2
2
 
3
3
  module Shadow
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
@@ -1,17 +1,13 @@
1
- $LOAD_PATH << File.join(File.dirname(__FILE__), "lib")
2
- require "libshadow"
3
-
4
1
  Gem::Specification.new do |s|
5
2
  s.name = %q{libshadow}
6
3
  s.summary = %q{shadow.h}
7
4
  s.description = %q{Ruby C Extension for shadow access}
8
5
  s.homepage = %q{http://github.com/railsmachine/libshadow}
9
- s.version = Shadow::VERSION
6
+ s.version = '1.0.1'
10
7
  s.authors = ["Jesse Newland", "Lee Jones"]
11
8
  s.email = %q{ops@railsmachine.com}
12
9
 
13
- s.rubygems_version = %q{1.3.7}
14
- s.date = %q{2010-11-03}
10
+ s.date = %q{2014-09-02}
15
11
 
16
12
  s.require_paths = ["lib"]
17
13
  s.extensions = ["ext/shadow/extconf.rb"]
metadata CHANGED
@@ -1,34 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: libshadow
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Jesse Newland
14
8
  - Lee Jones
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2010-11-03 00:00:00 +00:00
20
- default_executable:
12
+ date: 2014-09-02 00:00:00.000000000 Z
21
13
  dependencies: []
22
-
23
14
  description: Ruby C Extension for shadow access
24
15
  email: ops@railsmachine.com
25
16
  executables: []
26
-
27
- extensions:
17
+ extensions:
28
18
  - ext/shadow/extconf.rb
29
19
  extra_rdoc_files: []
30
-
31
- files:
20
+ files:
32
21
  - .gitignore
33
22
  - README.rdoc
34
23
  - Rakefile
@@ -36,39 +25,27 @@ files:
36
25
  - ext/shadow/shadow.c
37
26
  - lib/libshadow.rb
38
27
  - libshadow.gemspec
39
- has_rdoc: true
40
28
  homepage: http://github.com/railsmachine/libshadow
41
29
  licenses: []
42
-
30
+ metadata: {}
43
31
  post_install_message:
44
32
  rdoc_options: []
45
-
46
- require_paths:
33
+ require_paths:
47
34
  - lib
48
- required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- hash: 3
54
- segments:
55
- - 0
56
- version: "0"
57
- required_rubygems_version: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: 3
63
- segments:
64
- - 0
65
- version: "0"
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
66
45
  requirements: []
67
-
68
46
  rubyforge_project:
69
- rubygems_version: 1.4.2
47
+ rubygems_version: 2.2.2
70
48
  signing_key:
71
- specification_version: 3
49
+ specification_version: 4
72
50
  summary: shadow.h
73
51
  test_files: []
74
-