luogu 0.1.12 → 0.1.13

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: d3ff171b0c4c4e1d93ebec7ffdbb1d9d95103989b4b9f29e0914b0c8f92a5949
4
- data.tar.gz: fbb022de66ceaec42953c212e20ecb3a53a21d95664170249dbd7f036898e11b
3
+ metadata.gz: b16f3080badfbe3a83427b1e7e2c13f60fdeebaa758a3009beb6fb88d81995b1
4
+ data.tar.gz: b270f3adb7cebb3f5391ef88aa1fd331a355465da5a861071a7b060f8c989955
5
5
  SHA512:
6
- metadata.gz: 6abeb1fa0e1bc92d9a744ecd2dbefa109deefd4f8d758de15838be7eb15560885652018662e9d864c201d08339f9e5a6de51b335cfeef0ab8579b2987a00e132
7
- data.tar.gz: b9f3a6dfefe8004be775e590ae8ee4763a3bf254a02038ecfae711ba902c97e7468ce060f9308cc1ca1188d088693fd3d8f5c3b70ff78d773569c83b14ddd502
6
+ metadata.gz: 850096cb88ea2764db10802b13047443aaa81f9e4343d671a02d386abcebcfab1581a1a90453566eef7bb3eae5a49198d966029d7fc59143b62d1bc4e96f8b58
7
+ data.tar.gz: f9847779776839a7dff96e75cf7e7d932510c4700d01c8c77e8e91f1d3b4321afa01af3bac943aa7bf2f2580a05c77779818b0a5d9df965ed5280f1197ef9f64
@@ -9,7 +9,7 @@ module Luogu
9
9
  end
10
10
 
11
11
  def render
12
- process_file
12
+ process_file if @messages.size == 0
13
13
  @messages
14
14
  end
15
15
 
@@ -18,7 +18,7 @@ module Luogu
18
18
  end
19
19
 
20
20
  def process_file
21
- @messages = []
21
+ @messages = []
22
22
  file = File.read(@file_path)
23
23
 
24
24
  if file =~ /@callback/
data/lib/luogu/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Luogu
4
- VERSION = "0.1.12"
4
+ VERSION = "0.1.13"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luogu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - MJ