rackula 0.5.0 → 0.6.0

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
  SHA256:
3
- metadata.gz: be3e6c07efcd8165eb967e3c9d699a81c77ed447fea68fbfb1d65518f148225d
4
- data.tar.gz: e2bd53f12b5f7f5233b4d05c87c18b770d3743a47b947e339949fe4ddbdddd94
3
+ metadata.gz: b234337043ec82c82b2dc1059e3ddcf807d23a88ef01333c18790225c137ed8a
4
+ data.tar.gz: cb9e5775986c4048abb880728326449d2e567bc2719a347c09a9e72acfd6f86b
5
5
  SHA512:
6
- metadata.gz: a3ca96043d241b8ff75532088c5ff4da8583486ab61c25e4b714405c17b3fd9c29c336176d06ac8c03026b1090e8b02264be05bfcc2c2463c8e47e61e8159e25
7
- data.tar.gz: 9d1d142728bfc9da2e12b8b38c05a06858cbe13b014f8e0fb8065b53e13c84febef39d292b70b67cfd640d75aa2abc0138519bedb9c5b37f4b2f24fd86410fc0
6
+ metadata.gz: 396e2ac1a6553b7d3d72b2b63ec019031311f2681ebab09987ce3cb3279e69d05208efbb80005b4ae1b8de6b8c81bf86a791d828d48e15e610663baa8271f26b
7
+ data.tar.gz: b5b6d775d30ef82a9efecb60ab7df5ac0c4a0bfb93610c4c9a8f5241a13458a93348df1dd444afe4da488b51289156950425f50130854fccace662929e9b1308
data/.travis.yml CHANGED
@@ -2,9 +2,10 @@ language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.2
6
5
  - 2.3
7
6
  - 2.4
7
+ - 2.5
8
+ - 2.6
8
9
  - jruby-head
9
10
  - ruby-head
10
11
  env: COVERAGE=true
@@ -21,12 +21,13 @@
21
21
  require 'samovar'
22
22
 
23
23
  require 'pathname'
24
+ require 'rack'
24
25
 
25
26
  require 'falcon/server'
27
+
26
28
  require 'async/io'
27
29
  require 'async/container'
28
-
29
- require 'falcon'
30
+ require 'async/http'
30
31
 
31
32
  module Rackula
32
33
  module Command
@@ -85,7 +86,7 @@ module Rackula
85
86
  end
86
87
 
87
88
  def run(address, root)
88
- endpoint = Async::IO::Endpoint.tcp("localhost", address.ip_port, reuse_port: true)
89
+ endpoint = Async::HTTP::URLEndpoint.parse("http://localhost", port: address.ip_port, reuse_port: true)
89
90
 
90
91
  puts "Setting up container to serve site on port #{address.ip_port}..."
91
92
  container = serve(endpoint, root)
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Rackula
22
- VERSION = "0.5.0"
22
+ VERSION = "0.6.0"
23
23
  end
data/rackula.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "samovar", "~> 1.8"
22
- spec.add_dependency "falcon", "~> 0.17.6"
22
+ spec.add_dependency "falcon", "~> 0.19.0"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.15"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rackula
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-16 00:00:00.000000000 Z
11
+ date: 2018-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: samovar
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.17.6
33
+ version: 0.19.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.17.6
40
+ version: 0.19.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.7.6
123
+ rubygems_version: 2.7.7
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Generate a static site from any rackup compatible application.