slimi 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/slimi/parser.rb +3 -3
- data/lib/slimi/version.rb +1 -1
- data/slimi.gemspec +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c151d108a263b740aa9cf7f7ac6dba84741a722b1fdffcb1b6078c63a55a911
|
4
|
+
data.tar.gz: fe127168b410730d5303deff0d50b43d42d805b9fcb16bce17c09fb00549c149
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbffeb9d9bd5dd13b085503bc439a85b4832ae44bd8839d07fd879faf5e158b7f5b41f72f051e3963a73086e302a5f9f3cc2541c6a404b7acbed66dd225824d3
|
7
|
+
data.tar.gz: 945f20409900cdd7fb7cff7a2517aae58a334d9528b6092d1a212b4715bc2dbf713650a25201b2bf8ba28f3f181d4e5cc635b1c759f9b0420e3c9dc6b4742ec2
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/slimi/parser.rb
CHANGED
@@ -77,7 +77,7 @@ module Slimi
|
|
77
77
|
# Parse blank line.
|
78
78
|
# @return [Boolean] True if it could parse a blank line.
|
79
79
|
def parse_blank_line
|
80
|
-
if @scanner.skip(/[ \t]
|
80
|
+
if @scanner.skip(/[ \t]*(?=\R|$)/)
|
81
81
|
parse_line_ending
|
82
82
|
true
|
83
83
|
else
|
@@ -578,7 +578,7 @@ module Slimi
|
|
578
578
|
|
579
579
|
# Convert human-friendly options into machine-friendly objects.
|
580
580
|
class Factory
|
581
|
-
|
581
|
+
EMBEDDED_TEMPLATE_ENGINE_NAMES = %w[
|
582
582
|
coffee
|
583
583
|
css
|
584
584
|
javascript
|
@@ -667,7 +667,7 @@ module Slimi
|
|
667
667
|
|
668
668
|
# @return [Regexp]
|
669
669
|
def embedded_template_regexp
|
670
|
-
/(#{::Regexp.union(
|
670
|
+
/(#{::Regexp.union(EMBEDDED_TEMPLATE_ENGINE_NAMES)})(?:[ \t]*(?:(.*)))?:([ \t]*)/
|
671
671
|
end
|
672
672
|
|
673
673
|
# @return [Regexp]
|
data/lib/slimi/version.rb
CHANGED
data/slimi.gemspec
CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.metadata['homepage_uri'] = spec.homepage
|
17
17
|
spec.metadata['source_code_uri'] = spec.homepage
|
18
18
|
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
19
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
19
20
|
|
20
21
|
# Specify which files should be added to the gem when it is released.
|
21
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slimi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: temple
|
@@ -102,6 +102,7 @@ metadata:
|
|
102
102
|
homepage_uri: https://github.com/r7kamura/slimi
|
103
103
|
source_code_uri: https://github.com/r7kamura/slimi
|
104
104
|
changelog_uri: https://github.com/r7kamura/slimi/blob/main/CHANGELOG.md
|
105
|
+
rubygems_mfa_required: 'true'
|
105
106
|
post_install_message:
|
106
107
|
rdoc_options: []
|
107
108
|
require_paths:
|