cyberplat_pki 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/cyberplat_pki.gemspec +8 -6
  2. metadata +1 -1
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "cyberplat_pki"
7
- gem.version = "2.0.2"
7
+ gem.version = "2.0.3"
8
8
  gem.authors = ["Peter Zotov"]
9
9
  gem.email = ["whitequark@whitequark.org"]
10
10
  gem.description = %q{CyberplatPKI is a library for signing Cyberplat requests.}
@@ -15,11 +15,13 @@ Gem::Specification.new do |gem|
15
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
17
  gem.require_paths = ["lib"]
18
- gem.extensions = ["ext/mock_the_clock/extconf.rb"]
18
+
19
+ if RUBY_PLATFORM =~ /linux/
20
+ gem.extensions = ["ext/mock_the_clock/extconf.rb"]
21
+ end
19
22
 
20
23
  gem.add_development_dependency "rspec"
21
- gem.add_dependency 'digest-crc' # For CRC24
22
- gem.add_dependency 'crypt' # For IDEA
23
- gem.add_dependency "jruby-openssl" if RUBY_PLATFORM == "java"
24
- gem.add_dependency "openssl" if RUBY_PLATFORM == "ruby"
24
+ gem.add_dependency 'digest-crc' # For CRC24
25
+ gem.add_dependency 'crypt' # For IDEA
26
+ gem.add_dependency "jruby-openssl" if RUBY_ENGINE == "jruby"
25
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cyberplat_pki
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: