bade 0.3.2 → 0.3.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: 5a90545fdee8d531bb87e12dd7943c0486daf3eac68f1d0c69ba216c7595f452
4
- data.tar.gz: cdbf2cbc427cb9dd590768d493f99c91f22ac51a0a3caa172abb0b6c96b81b57
3
+ metadata.gz: 631a47a8189e2172e6133dbcdd577b741446c493bd4d4fb9e3e7b3e902928891
4
+ data.tar.gz: 975e1ba152e0792d950577e6dbdcf12562a23300692479dc5a9b237c6c06b1e7
5
5
  SHA512:
6
- metadata.gz: 88708cad2d3145bfe33fb2ca65acbd795b3f8b3074da64f53e8d053d09925a3f750627893c303c2000fe4e9e8328abf4b9fe60a8e1c925a4ccb8966f37887fff
7
- data.tar.gz: 8b21e240977c4f4c0c0387c244dcfb215141e453e04fde9f47762cb59ec22f43ee8056a17c39f41037d52b2a3d2bde8f66ad2b7623d8f8819f9444eebb075741
6
+ metadata.gz: 1ebff9a8a22bd7a6dc902e76af2aeec794f95942469f2cc572d97b6cf19d8ceb23c0b1a778391b612a3b35583b5e7c9cc0dfdd9b3f6ea7423e5af943625659b1
7
+ data.tar.gz: ea97fdd39475caf4270535dd7b4af2dbcbcf929bd22cdb080b5b2a5618ad81f8e2796a467b3428a404dd789cb6443b34b9b889ddd32ed37288e1055b5c8446f9
data/lib/bade/runtime.rb CHANGED
@@ -31,7 +31,7 @@ module Bade
31
31
  @print_locations_warning = print_locations_warning
32
32
  end
33
33
 
34
- def message
34
+ def to_s
35
35
  if @template_backtrace.empty?
36
36
  super
37
37
  else
@@ -85,7 +85,7 @@ module Bade
85
85
  # get only locations inside template
86
86
  new_locations = new_locations[0...index] || []
87
87
 
88
- # filter out not interested locations
88
+ # filter out not interested locations
89
89
  new_locations
90
90
  .reject { |loc| loc.path.start_with?(__dir__) }
91
91
  .reject { |loc| loc.template? && loc.label.include?('lambda_instance') }
data/lib/bade/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bade
4
- VERSION = '0.3.2'.freeze
4
+ VERSION = '0.3.3'.freeze
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Kříž
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2022-03-22 00:00:00.000000000 Z
@@ -72,7 +72,7 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.14'
75
- description:
75
+ description:
76
76
  email:
77
77
  - samnung@gmail.com
78
78
  executables: []
@@ -119,7 +119,7 @@ licenses:
119
119
  - MIT
120
120
  metadata:
121
121
  rubygems_mfa_required: 'true'
122
- post_install_message:
122
+ post_install_message:
123
123
  rdoc_options: []
124
124
  require_paths:
125
125
  - lib
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubygems_version: 3.3.9
138
- signing_key:
138
+ signing_key:
139
139
  specification_version: 4
140
140
  summary: Minimalistic template engine for Ruby.
141
141
  test_files: []