Gem::Specification.new do |s|
  s.platform = Gem::Platform::RUBY
  s.name = "yubikey"
  s.version = "1.3.0"
  s.description = "A library to verify, decode, decrypt and parse Yubikey one-time passwords."
  s.summary = "Yubikey library for Ruby"

  s.authors = ["Jonathan Rudenberg"]
  s.email = "jon335@gmail.com"
  s.date = "2013-03-19"
  s.homepage = "https://github.com/titanous/yubikey"

  s.extra_rdoc_files = [
      "LICENSE",
      "README.md"
  ]
  s.files = [
      "examples/otp.rb",
      "lib/yubikey.rb",
      "lib/yubikey/hex.rb",
      "lib/yubikey/modhex.rb",
      "lib/yubikey/otp.rb",
      "lib/yubikey/otp_verify.rb",
      "spec/hex_spec.rb",
      "spec/spec_helper.rb"
  ]
  s.rdoc_options = ["--title", "yubikey", "--main", "README.rdoc"]
  s.require_paths = ["lib"]
  s.rubyforge_project = "yubikey"

  # OpenSSL is now a dependancy
  s.add_dependency "jruby-openssl" if RUBY_PLATFORM == "java"
  s.add_dependency "openssl" if RUBY_PLATFORM == "ruby"
end
Gem::Specification.new do |s|
  s.platform = Gem::Platform::RUBY
  s.name = "yubikey"
  s.version = "1.3.0"
  s.description = "A library to verify, decode, decrypt and parse Yubikey one-time passwords."
  s.summary = "Yubikey library for Ruby"

  s.authors = ["Jonathan Rudenberg"]
  s.email = "jon335@gmail.com"
  s.date = "2013-03-19"
  s.homepage = "https://github.com/titanous/yubikey"

  s.extra_rdoc_files = [
      "LICENSE",
      "README.md"
  ]
  s.files = [
      "examples/otp.rb",
      "lib/yubikey.rb",
      "lib/yubikey/configuration.rb",
      "lib/yubikey/hex.rb",
      "lib/yubikey/modhex.rb",
      "lib/yubikey/otp.rb",
      "lib/yubikey/otp_verify.rb",
      "spec/hex_spec.rb",
      "spec/spec_helper.rb"
  ]
  s.rdoc_options = ["--title", "yubikey", "--main", "README.rdoc"]
  s.require_paths = ["lib"]
  s.rubyforge_project = "yubikey"

  # OpenSSL is now a dependancy
  s.add_dependency "jruby-openssl" if RUBY_PLATFORM == "java"
  s.add_dependency "openssl" if RUBY_PLATFORM == "ruby"
end
Add configuration.rb to gemspec files list
Add configuration.rb to gemspec files list
