agile-proxy 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/agile-proxy.gemspec +4 -1
- data/lib/agile_proxy/servers/request_spec_direct.rb +1 -1
- data/lib/agile_proxy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac92bd65e4d3767d75b8ce57bb8ff8ef035b8edb
|
4
|
+
data.tar.gz: 3683a1628992dfc936da1a9c93e57a9a56ebd6e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b102efdbf4b756177f404ad19107d87d62f69cda05b10d7306db205a1cc9a252ca449452822fafd8b9c7c9d46d6b099a305fa271374bf6a50e5062a50721accd
|
7
|
+
data.tar.gz: ef1d8b2eab25875cab749e3f91b186f289ea41f0b21543fcd1cc0dfcc575cb98ca44e2ea96ad7256032d1e288549029956c83126b64fcdb07192282bec429e67
|
data/README.md
CHANGED
@@ -128,4 +128,5 @@ v0.1.23 - Switched to goliath instead of thin. The gem now installs under jruby
|
|
128
128
|
v0.1.24 - Added caching
|
129
129
|
v0.1.25 - Caching now disabled by default but enabled in config.
|
130
130
|
Direct server now functional
|
131
|
+
v0.1.26 - index.html is now setup as the root of a static dir
|
131
132
|
|
data/agile-proxy.gemspec
CHANGED
@@ -11,9 +11,12 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.files = `git ls-files`.split($\).concat(Dir.glob 'assets/ui/bower_components/**/*')
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
-
gem.name = 'agile-proxy'
|
14
|
+
gem.name = RUBY_PLATFORM =~ /java/ ? 'agile-proxy-jruby' : 'agile-proxy'
|
15
15
|
gem.require_paths = ['lib']
|
16
16
|
gem.version = AgileProxy::VERSION
|
17
|
+
if RUBY_PLATFORM =~ /java/
|
18
|
+
gem.platform = 'jruby'
|
19
|
+
end
|
17
20
|
|
18
21
|
gem.add_development_dependency 'rake', '~> 0'
|
19
22
|
gem.add_development_dependency 'rspec', '~> 3.1', '>= 3.1.0'
|
@@ -24,7 +24,7 @@ module AgileProxy
|
|
24
24
|
notFoundApp = -> {[404, {}, 'Not Found']}
|
25
25
|
runner.app = ::Goliath::Rack::Builder.app do
|
26
26
|
map '/' do
|
27
|
-
run ::Rack::Cascade.new([::Rack::Static.new(notFoundApp, root: ROOT, urls: ['']), ::AgileProxy::StubHandler.new])
|
27
|
+
run ::Rack::Cascade.new([::Rack::Static.new(notFoundApp, root: ROOT, urls: [''], index: 'index.html'), ::AgileProxy::StubHandler.new])
|
28
28
|
end
|
29
29
|
end
|
30
30
|
runner.run
|
data/lib/agile_proxy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agile-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|