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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b19546fa258c6fd90d80d39004e0d5e96329f11
4
- data.tar.gz: 2d0e9145c9552bd7f03531f7eed0bb3697b15b3b
3
+ metadata.gz: ac92bd65e4d3767d75b8ce57bb8ff8ef035b8edb
4
+ data.tar.gz: 3683a1628992dfc936da1a9c93e57a9a56ebd6e3
5
5
  SHA512:
6
- metadata.gz: 9b83d138edde749a3d63ec66c666b1b4b0eb24c07170ca91ad0a1d14aed735dd61047206f9e88e776fe305b58be5daa96ab288c4028332120d661f2e83a0736c
7
- data.tar.gz: 6aed2aa5b0cf9b6ce4fcba1e0913bdb6d52a597c5ca639cee97ee9d494e91ff1c1f065e1e17cf81883347cb0af7bed9fe1c1a25457de51a846c0d380b0a791a3
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
 
@@ -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
@@ -2,5 +2,5 @@
2
2
  #
3
3
  # The Agile Proxy module is a common namespace for all classes / sub modules.
4
4
  module AgileProxy
5
- VERSION = '0.1.25'
5
+ VERSION = '0.1.26'
6
6
  end
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.25
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-03-19 00:00:00.000000000 Z
11
+ date: 2015-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake