lb-project 0.2.2 → 0.2.3

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: 4873d95f40522f512412a1cc1090a422ceaa552da36a22caa1c0bcb986b5cc23
4
- data.tar.gz: b60f0e0ce388dfc93f25211bc8acb7ecb080b9b24183d489c609f888492a9ea6
3
+ metadata.gz: ba077de0e17958d3f6b91b77d21fe49f389288c9a8f0da853ede9be83b190874
4
+ data.tar.gz: 7c6dbb470c3d4bb2837d7e4dfa5e05b339d9eb3ec9d095af37be028ef3565159
5
5
  SHA512:
6
- metadata.gz: 2d69e3efdf502d332abf3df28518b5966d3815b8c67790a6e31e7e89db92da6d7b0b8ddf5fba824efe0174a126f73acf51f184a0984b4e05677aebb6a53e2468
7
- data.tar.gz: 00e69bfb5576498016f28fd719b6a246ad8c3afa5b0cce803dbd13f2ea8215b5813ba805bf236ec54990a80d036543de2f89eeb53b45d15662e9fa0263253a5d
6
+ metadata.gz: '08131a9358ba63d99523eab4fe909908d8fa473518e7aa4542aa5d423fac9bd156cbb43771dfa35b2bd4f8fd09c7566a30d2a88d415087c1ee633bd544c58f28'
7
+ data.tar.gz: 268c9285eb65abf2ddf44ea05eaf14e5e341698784aa5e3b495c075922110e830ec98d5fac99278cb32b55f4c63712801f26529c8c272d15945658e937e78934
@@ -113,7 +113,7 @@ module LB
113
113
 
114
114
  def messages
115
115
  flash.map do |type, message|
116
- { message: message }.merge(message_types[type])
116
+ { message: message }.merge(message_types[type.to_sym])
117
117
  end
118
118
  end
119
119
  end
@@ -3,6 +3,6 @@
3
3
  module LB
4
4
  module Project
5
5
  # Version
6
- VERSION = '0.2.2'
6
+ VERSION = '0.2.3'
7
7
  end
8
8
  end
@@ -6,9 +6,9 @@ module LB
6
6
  class View < Dry::View::Controller
7
7
  extend LB::Project::Registry::Registration[:view]
8
8
 
9
- def self.setup(view)
9
+ def self.setup(view, layout = 'main')
10
10
  view.setting :paths, [LB::Project.template_path]
11
- view.setting :layout, 'main'
11
+ view.setting :layout, layout
12
12
  end
13
13
 
14
14
  def with(_options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lb-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firas Zaidan