keyczar-jruby 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,8 @@ require 'pathname'
3
3
  require 'keyczar/version'
4
4
 
5
5
  module Keyczar
6
+ autoload :Signer, 'keyczar/signer'
7
+
6
8
  def self.root
7
9
  @root ||= Pathname(File.dirname File.expand_path(__FILE__))
8
10
  end
@@ -0,0 +1,11 @@
1
+ module Keyczar
2
+ class Signer < org.keyczar.Signer
3
+
4
+ # This exists purely so we can feed in a Pathname object :)
5
+ # @param [#to_s] The path to the keys, for the org.keyczar.Signer to use.
6
+ def initialize(keys_path)
7
+ super(keys_path.to_s)
8
+ end
9
+
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Keyczar
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keyczar-jruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-08 00:00:00.000000000 Z
12
+ date: 2012-06-11 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This is a JRuby library for the Java Keyczar cryptographic toolkit.
15
15
  email:
@@ -30,6 +30,7 @@ files:
30
30
  - lib/jars/log4j-1.2.17.jar
31
31
  - lib/keyczar-jruby.rb
32
32
  - lib/keyczar.rb
33
+ - lib/keyczar/signer.rb
33
34
  - lib/keyczar/version.rb
34
35
  homepage: http://github.com/sgonyea/keyczar-jruby
35
36
  licenses: []