utopia 2.8.1 → 2.8.2

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: 2b5e46cbe44df689d6f59de35029cb8104ed04c3bb102b967459653c525980cc
4
- data.tar.gz: 24049501b2dc0786ae9332147f9cb28249c9317d6d0800f1e9ed46f582e5950f
3
+ metadata.gz: a40f8fb67b26f53edba8a76b91c2dddc730127641e918c5f8b9f79b5f20a5275
4
+ data.tar.gz: 57ff2d40871d3a5b8e76e4ddf25a0aafc2bebe87e11e15469b08419e78e3124e
5
5
  SHA512:
6
- metadata.gz: ab3d7b9c14a0eaa5b4fc4acf26f4e747541939522d8fb97028d3db73af4c46802634c3399ee1f5a9612252802eb0f3cc5d2c9a7fcac607193ceb129492d6f0ae
7
- data.tar.gz: 20e819dcfd2d0cbc25e46a790a3b9aa2534ecfdec86fa9d047aba3a4a9b5a486c2eba8aad9b60f2637fe3729721e0265b29613e3ee2117243c3a008b629ab585
6
+ metadata.gz: 0cf61f5628b5bf6e7386059238d14f141f27a2eea1f7b5f2f0204156fba2538caf8f0850ecd13646fe663a3b7b3044790f3744799abfa3ad5bea13ffc4ac8ab9
7
+ data.tar.gz: 43796a9d6ebde85e159139c4dbdecac570c1c07e1f162c214a092cc3b726781bcae4d4834cf0e22d5327eff58473687cbc869138e0ea4fe055d41af57bbdae36
@@ -32,8 +32,6 @@ require 'concurrent/map'
32
32
  module Utopia
33
33
  # A middleware which serves dynamically generated content based on markup files.
34
34
  class Content
35
- INDEX = 'index'.freeze
36
-
37
35
  CONTENT_NAMESPACE = 'content'.freeze
38
36
  UTOPIA_NAMESPACE = 'utopia'.freeze
39
37
  DEFERRED_TAG_NAME = 'utopia:deferred'.freeze
@@ -28,6 +28,8 @@ require_relative '../locale'
28
28
 
29
29
  module Utopia
30
30
  class Content
31
+ INDEX = 'index'.freeze
32
+
31
33
  # Represents a link to some content with associated metadata.
32
34
  class Link
33
35
  def initialize(kind, path, info = nil)
@@ -18,8 +18,8 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  # THE SOFTWARE.
20
20
 
21
- require 'event/console'
21
+ require 'console'
22
22
 
23
23
  module Utopia
24
- extend Event::Console
24
+ extend Console
25
25
  end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Utopia
22
- VERSION = "2.8.1"
22
+ VERSION = "2.8.2"
23
23
  end
@@ -1,7 +1,5 @@
1
1
 
2
- require 'bundler/setup'
3
2
  require 'covered/rspec'
4
- require "utopia"
5
3
 
6
4
  RSpec.configure do |config|
7
5
  # Enable flags like --only-failures and --next-failure
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency 'msgpack'
29
29
 
30
30
  spec.add_dependency 'samovar', '~> 2.1'
31
- spec.add_dependency 'event', '~> 1.1'
31
+ spec.add_dependency 'console', '~> 1.0'
32
32
 
33
33
  spec.add_dependency 'rack', '~> 2.0'
34
34
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-27 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trenni
@@ -67,19 +67,19 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.1'
69
69
  - !ruby/object:Gem::Dependency
70
- name: event
70
+ name: console
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.1'
75
+ version: '1.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.1'
82
+ version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rack
85
85
  requirement: !ruby/object:Gem::Requirement