jruby-pageant 1.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/jna.jar +0 -0
- data/ext/jsch-0.1.46.jar +0 -0
- data/ext/jsch-agent-proxy-0.0.2.jar +0 -0
- data/ext/jsch-agent-proxy-pageant-0.0.2.jar +0 -0
- data/ext/platform.jar +0 -0
- data/lib/jruby_pageant.rb +20 -0
- metadata +60 -0
data/ext/jna.jar
ADDED
Binary file
|
data/ext/jsch-0.1.46.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
data/ext/platform.jar
ADDED
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
raise "You can only use jruby-pageant in Windows!" unless ENV['os'] =~ /win/i
|
2
|
+
|
3
|
+
require 'java'
|
4
|
+
dir = File.dirname(__FILE__) + '/../ext'
|
5
|
+
require "#{dir}/jna.jar"
|
6
|
+
require "#{dir}/platform.jar"
|
7
|
+
require "#{dir}/jsch-0.1.46.jar"
|
8
|
+
require "#{dir}/jsch-agent-proxy-0.0.2.jar"
|
9
|
+
require "#{dir}/jsch-agent-proxy-pageant-0.0.2.jar"
|
10
|
+
|
11
|
+
module JRubyPageant
|
12
|
+
java_import com.jcraft.jsch.agentproxy.AgentProxy
|
13
|
+
java_import com.jcraft.jsch.agentproxy.AgentProxyException
|
14
|
+
java_import com.jcraft.jsch.agentproxy.Identity
|
15
|
+
java_import com.jcraft.jsch.agentproxy.connector.PageantConnector
|
16
|
+
|
17
|
+
def self.create
|
18
|
+
AgentProxy.new(PageantConnector.new)
|
19
|
+
end
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jruby-pageant
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 1.0.0
|
6
|
+
platform: java
|
7
|
+
authors:
|
8
|
+
- "Art\xC5\xABras \xC5\xA0lajus"
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2012-02-16 00:00:00 Z
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: This is a convenience gem packaging required JNA/JSCH jars.
|
17
|
+
email:
|
18
|
+
- arturas.slajus@gmail.com
|
19
|
+
executables: []
|
20
|
+
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files: []
|
24
|
+
|
25
|
+
files:
|
26
|
+
- ext/jna.jar
|
27
|
+
- ext/jsch-agent-proxy-pageant-0.0.2.jar
|
28
|
+
- ext/platform.jar
|
29
|
+
- ext/jsch-0.1.46.jar
|
30
|
+
- ext/jsch-agent-proxy-0.0.2.jar
|
31
|
+
- lib/jruby_pageant.rb
|
32
|
+
homepage: http://github.com/arturaz/jruby-pageant
|
33
|
+
licenses: []
|
34
|
+
|
35
|
+
post_install_message:
|
36
|
+
rdoc_options: []
|
37
|
+
|
38
|
+
require_paths:
|
39
|
+
- lib
|
40
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: "0"
|
52
|
+
requirements: []
|
53
|
+
|
54
|
+
rubyforge_project:
|
55
|
+
rubygems_version: 1.8.9
|
56
|
+
signing_key:
|
57
|
+
specification_version: 3
|
58
|
+
summary: jruby-pageant allows Pageant access on JRuby + Windows
|
59
|
+
test_files: []
|
60
|
+
|