ruby-shadow 2.1.3 → 2.1.4

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 (4) hide show
  1. data/HISTORY +4 -1
  2. data/ruby-shadow.gemspec +1 -1
  3. data/shadow.c +1 -1
  4. metadata +2 -2
data/HISTORY CHANGED
@@ -1,4 +1,7 @@
1
- [2012/03/15]
1
+ [2012/04/17]
2
+ * Version 2.1.4
3
+ - MATSUU Takuto <matsuu@gentoo.org>
4
+ Change obsolete C function to its proper replacement.
2
5
  * Version 2.1.3
3
6
  - MATSUU Takuto <matsuu@gentoo.org>
4
7
  Fix a typo in the C code for rb_shadow_putspent. Typo has been present since
@@ -13,5 +13,5 @@ Gem::Specification.new do |spec|
13
13
  spec.name = 'ruby-shadow'
14
14
  spec.required_ruby_version = '>= 1.8'
15
15
  spec.summary = '*nix Shadow Password Module'
16
- spec.version = '2.1.3'
16
+ spec.version = '2.1.4'
17
17
  end
data/shadow.c CHANGED
@@ -209,7 +209,7 @@ rb_shadow_lock(VALUE self)
209
209
  {
210
210
  int result;
211
211
 
212
- if( rb_iterator_p() ){
212
+ if( rb_block_given_p() ){
213
213
  result = lckpwdf();
214
214
  if( result == -1 ){
215
215
  rb_raise(rb_eFileLock,"password file was locked");
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shadow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2012-03-15 00:00:00.000000000 -07:00
17
+ date: 2012-04-17 00:00:00.000000000 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
  description: This module provides access to shadow passwords on Linux and Solaris