mizuno 0.6.7 → 0.6.8

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: c43a932134c2f636fb431cf0f71383286f1c4b43
4
- data.tar.gz: 3ec833e499411aa1c959d118e98d6924c05e3145
3
+ metadata.gz: 5e3eb9bfc5b43669183d7b65568816e70373cac9
4
+ data.tar.gz: f0a68e216fd9a79e48a158f2363010095d240c90
5
5
  SHA512:
6
- metadata.gz: c92bf4e80e340fb0b11c6e1fd6f871a2a1e904a860d98a48b5a3bd784a61b9ad3703ceeb33602278537a95efbe926d8a7398a7ca7c9e06fd1ae785adb4e1f6a2
7
- data.tar.gz: a1b785a6d715b5ed2bc2e137ef7111991e628501e9329cc97e11411e5bcaa00a1856d73ee72e06c1e5d2045cd280271b60375154b4d2b9244a715e05759077ae
6
+ metadata.gz: 6aeb6069df413ee2f36831d796a8e6e6041e95a4a46d58b2c9b2d787a9a4636cd433df2d529810ed05ebcecfbee90494b0f8d8b21aaacb74870f8fe897828c95
7
+ data.tar.gz: bea624f1db31970212852e6e3611b16016f04b38838bb210d5be044190a767a3a8114b204ccb58b4201e875962770ec22702590fe21bd33e4921a30def5d861d
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  *.DS_Store
3
3
  *.gem
4
4
  .rbenv-version
5
+ .ruby-version
5
6
  .rvm
6
7
  Gemfile.lock
7
8
  archive/
data/Rakefile CHANGED
@@ -23,8 +23,14 @@ namespace :jetty do
23
23
  # Parse Maven metadata and get the latest release version.
24
24
  url = File.join(repository, group.gsub('.', '/'), artifact)
25
25
  metadata_url = File.join(url, 'maven-metadata.xml')
26
+
27
+ puts metadata_url
26
28
  metadata = Nokogiri::XML(open(metadata_url))
27
- release = metadata.at_xpath('//release').content
29
+ versions = metadata.xpath('/metadata/versioning/versions') \
30
+ .children.to_a.map { |v| v.content.strip } \
31
+ .select { |v| v =~ /^8/ }
32
+ release = versions.last
33
+
28
34
  puts "Latest Jetty release is #{release}"
29
35
 
30
36
  # Download the latest version to our tmpdir.
@@ -61,8 +67,8 @@ namespace :jetty do
61
67
  File.basename(replacement))
62
68
  system("tar xzOf #{tempfile} #{replacement} > #{outfile}") \
63
69
  unless File.exists?(outfile)
64
- system("jar tf #{outfile} >/dev/null 2>/dev/null")
65
- raise("#{outfile} from #{tempfile} corrupt.") unless ($? == 0)
70
+ # system("jar tf #{outfile} >/dev/null 2>/dev/null")
71
+ # raise("#{outfile} from #{tempfile} corrupt.") unless ($? == 0)
66
72
  replacements[original] = outfile
67
73
  end
68
74
 
data/lib/mizuno/server.rb CHANGED
@@ -78,6 +78,7 @@ module Mizuno
78
78
 
79
79
  # Connector
80
80
  connector = SelectChannelConnector.new
81
+ connector.setReuseAddress(false)
81
82
  connector.setPort(options[:port].to_i)
82
83
  connector.setHost(options[:host])
83
84
  @server.addConnector(connector)
@@ -1,3 +1,3 @@
1
1
  module Mizuno
2
- VERSION = "0.6.7"
2
+ VERSION = "0.6.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mizuno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Werve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-07 00:00:00.000000000 Z
11
+ date: 2014-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -151,33 +151,33 @@ files:
151
151
  - mizuno.gemspec
152
152
  - bin/mizuno
153
153
  - lib/mizuno.rb
154
- - lib/mizuno/choices.rb
154
+ - lib/mizuno/version.rb
155
155
  - lib/mizuno/client.rb
156
+ - lib/mizuno/server.rb
157
+ - lib/mizuno/choices.rb
158
+ - lib/mizuno/runner.rb
159
+ - lib/mizuno/logger.rb
156
160
  - lib/mizuno/client_exchange.rb
157
161
  - lib/mizuno/client_response.rb
158
- - lib/mizuno/logger.rb
159
- - lib/mizuno/rack_handler.rb
160
162
  - lib/mizuno/reloader.rb
161
- - lib/mizuno/runner.rb
162
- - lib/mizuno/server.rb
163
- - lib/mizuno/version.rb
163
+ - lib/mizuno/rack_handler.rb
164
164
  - lib/mizuno/rack/chunked.rb
165
165
  - lib/rack/handler/mizuno.rb
166
- - lib/java/jetty-client-8.1.10.v20130312.jar
167
- - lib/java/jetty-continuation-8.1.10.v20130312.jar
168
- - lib/java/jetty-http-8.1.10.v20130312.jar
169
- - lib/java/jetty-io-8.1.10.v20130312.jar
170
- - lib/java/jetty-jmx-8.1.10.v20130312.jar
171
- - lib/java/jetty-security-8.1.10.v20130312.jar
172
- - lib/java/jetty-server-8.1.10.v20130312.jar
173
- - lib/java/jetty-servlet-8.1.10.v20130312.jar
174
- - lib/java/jetty-servlets-8.1.10.v20130312.jar
175
- - lib/java/jetty-util-8.1.10.v20130312.jar
166
+ - lib/java/jetty-security-8.1.15.v20140411.jar
167
+ - lib/java/jetty-server-8.1.15.v20140411.jar
168
+ - lib/java/jetty-jmx-8.1.15.v20140411.jar
169
+ - lib/java/slf4j-log4j12-1.7.5.jar
170
+ - lib/java/jetty-servlets-8.1.15.v20140411.jar
171
+ - lib/java/jetty-http-8.1.15.v20140411.jar
172
+ - lib/java/jetty-io-8.1.15.v20140411.jar
173
+ - lib/java/jetty-servlet-8.1.15.v20140411.jar
174
+ - lib/java/slf4j-api-1.7.5.jar
176
175
  - lib/java/log4j-1.2.17.jar
176
+ - lib/java/jetty-continuation-8.1.15.v20140411.jar
177
+ - lib/java/jetty-util-8.1.15.v20140411.jar
178
+ - lib/java/jetty-client-8.1.15.v20140411.jar
177
179
  - lib/java/rewindable-input-stream.jar
178
180
  - lib/java/servlet-api-3.0.jar
179
- - lib/java/slf4j-api-1.7.5.jar
180
- - lib/java/slf4j-log4j12-1.7.5.jar
181
181
  homepage: http://github.com/matadon/mizuno
182
182
  licenses: []
183
183
  metadata: {}