We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d80853 commit fa317a9Copy full SHA for fa317a9
extconf.rb
@@ -6,7 +6,11 @@
6
7
require 'mkmf'
8
9
-$CFLAGS = RUBY_VERSION =~ /1\.9/ ? '-DRUBY19' : ''
+$CFLAGS = case RUBY_VERSION
10
+ when /^1\.9/; '-DRUBY19'
11
+ when /^2\./; '-DRUBY19'
12
+ else; ''
13
+ end
14
15
#$LDFLAGS = "-lshadow"
16
ruby-shadow.gemspec
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
end
18
spec.homepage = 'https://github.com/apalmblad/ruby-shadow'
19
spec.name = 'ruby-shadow'
20
- spec.required_ruby_version = ['>= 1.8', '< 2.0.0']
+ spec.required_ruby_version = ['>= 1.8']
21
spec.summary = '*nix Shadow Password Module'
22
- spec.version = '2.1.5'
+ spec.version = '2.2.0'
23
spec.license = "Public Domain License"
24
0 commit comments