conjur-asset-proxy-api 0.0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.project +18 -0
- data/Gemfile +2 -0
- data/conjur-asset-proxy.gemspec +2 -0
- data/lib/conjur/asset/proxy/version.rb +1 -1
- data/lib/conjur/proxy.rb +2 -2
- metadata +17 -3
- data/lib/conjur/asset/proxy.rb +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a43051728b6a2b7842290083963ca7488815ab6
|
4
|
+
data.tar.gz: a96bef5fa6cb1ec8e83f505820ec11fe92ee739d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 109fd05ecdf3ff633ece68788ee24037e3c302124b42ee66b96498fe9c40acb913c0138d890a2832cdc58a997539a416d239dd9b96d2079502be88ac3921f898
|
7
|
+
data.tar.gz: ae1bfbb975bdf39feca8dcfee3c863e17c62ffba025723378d7b309fe5a7681c24dc2bf2b396f591e35a45233a1c9ad8f6c699729e2c0b4b84e28c15c98789aa
|
data/.project
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<projectDescription>
|
3
|
+
<name>conjur-asset-proxy</name>
|
4
|
+
<comment></comment>
|
5
|
+
<projects>
|
6
|
+
</projects>
|
7
|
+
<buildSpec>
|
8
|
+
<buildCommand>
|
9
|
+
<name>com.aptana.ide.core.unifiedBuilder</name>
|
10
|
+
<arguments>
|
11
|
+
</arguments>
|
12
|
+
</buildCommand>
|
13
|
+
</buildSpec>
|
14
|
+
<natures>
|
15
|
+
<nature>com.aptana.ruby.core.rubynature</nature>
|
16
|
+
<nature>com.aptana.projects.webnature</nature>
|
17
|
+
</natures>
|
18
|
+
</projectDescription>
|
data/Gemfile
CHANGED
data/conjur-asset-proxy.gemspec
CHANGED
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
+
spec.add_dependency "gli", "~> 2.12.0"
|
21
|
+
|
20
22
|
spec.add_runtime_dependency "conjur-cli", "~> 4.12"
|
21
23
|
spec.add_runtime_dependency "rack", "~> 1.5"
|
22
24
|
spec.add_runtime_dependency "rack-streaming-proxy", "~> 2.0"
|
data/lib/conjur/proxy.rb
CHANGED
@@ -38,8 +38,8 @@ module Conjur
|
|
38
38
|
proxy.call env
|
39
39
|
end
|
40
40
|
|
41
|
-
def start
|
42
|
-
Rack::Server.start app: self, Port: port, Host: address
|
41
|
+
def start options
|
42
|
+
Rack::Server.start app: self, Port: options[:port] || 8080, Host: options[:address] || '127.0.0.1'
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjur-asset-proxy-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafał Rzepecki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gli
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.12.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.12.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: conjur-cli
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,13 +130,13 @@ extensions: []
|
|
116
130
|
extra_rdoc_files: []
|
117
131
|
files:
|
118
132
|
- ".gitignore"
|
133
|
+
- ".project"
|
119
134
|
- Gemfile
|
120
135
|
- LICENSE.txt
|
121
136
|
- README.md
|
122
137
|
- Rakefile
|
123
138
|
- conjur-asset-proxy.gemspec
|
124
139
|
- lib/conjur-asset-proxy.rb
|
125
|
-
- lib/conjur/asset/proxy.rb
|
126
140
|
- lib/conjur/asset/proxy/version.rb
|
127
141
|
- lib/conjur/command/proxy.rb
|
128
142
|
- lib/conjur/proxy.rb
|
data/lib/conjur/asset/proxy.rb
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (C) 2014 Conjur Inc.
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
-
# this software and associated documentation files (the "Software"), to deal in
|
6
|
-
# the Software without restriction, including without limitation the rights to
|
7
|
-
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
-
# the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
-
# subject to the following conditions:
|
10
|
-
#
|
11
|
-
# The above copyright notice and this permission notice shall be included in all
|
12
|
-
# copies or substantial portions of the Software.
|
13
|
-
#
|
14
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
-
#
|
21
|
-
require "conjur/asset/proxy/version"
|
22
|
-
|
23
|
-
module Conjur
|
24
|
-
module Asset
|
25
|
-
module Proxy
|
26
|
-
# Your code goes here...
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|