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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6e85f64f0d3aeb959f34ab6c7779a1e355fcf03d660f1b91aea2ef77cbf3c34
4
- data.tar.gz: a61600677c85e6eebd57d5d58b8c47fe6669487a88f1398e9f641972ad6dd603
3
+ metadata.gz: 6c151d108a263b740aa9cf7f7ac6dba84741a722b1fdffcb1b6078c63a55a911
4
+ data.tar.gz: fe127168b410730d5303deff0d50b43d42d805b9fcb16bce17c09fb00549c149
5
5
  SHA512:
6
- metadata.gz: eee6c48c7c8ae0270ce25c24ed8f0061c4656b4f0df3802f8536700f566a795f91f233a9a0eeda856829fb7143d35c426d31b02f77118d658950024dd4458949
7
- data.tar.gz: 779ac85207a4ebd2511d868322281e30fe8f2364d49b77eff380dc7f93513905bfd5a8bd6253c2d6062525d8bacabf455f9a1164281e253df7098c0b54bfb23e
6
+ metadata.gz: fbffeb9d9bd5dd13b085503bc439a85b4832ae44bd8839d07fd879faf5e158b7f5b41f72f051e3963a73086e302a5f9f3cc2541c6a404b7acbed66dd225824d3
7
+ data.tar.gz: 945f20409900cdd7fb7cff7a2517aae58a334d9528b6092d1a212b4715bc2dbf713650a25201b2bf8ba28f3f181d4e5cc635b1c759f9b0420e3c9dc6b4742ec2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.7.2 - 2022-01-24
6
+
7
+ ### Fixed
8
+
9
+ - Fix parser bug at CR+LF empty line.
10
+ - Fix typo at internal const name.
11
+
5
12
  ## 0.7.1 - 2022-01-18
6
13
 
7
14
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slimi (0.7.1)
4
+ slimi (0.7.2)
5
5
  temple
6
6
  thor
7
7
  tilt
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
- EMBEDDED_TEMPLAE_ENGINE_NAMES = %w[
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(EMBEDDED_TEMPLAE_ENGINE_NAMES)})(?:[ \t]*(?:(.*)))?:([ \t]*)/
670
+ /(#{::Regexp.union(EMBEDDED_TEMPLATE_ENGINE_NAMES)})(?:[ \t]*(?:(.*)))?:([ \t]*)/
671
671
  end
672
672
 
673
673
  # @return [Regexp]
data/lib/slimi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Slimi
4
- VERSION = '0.7.1'
4
+ VERSION = '0.7.2'
5
5
  end
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.1
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-18 00:00:00.000000000 Z
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: