hamlit 2.14.6-java → 2.15.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/lib/hamlit/railtie.rb +5 -0
- data/lib/hamlit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86a728b5b4d4092dd1ba4c21e7bd306aacbc11a5386a76596ae54ff923d1fc55
|
|
4
|
+
data.tar.gz: 332a601582738bcee8dd7a56a23e7930af140b777453511e5e658a94a1c66c85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b79fe7a6fcda0fd6cc57ed6480e728225a4ad87f44074dcd31f6606b09d253c64a469ab82a50af0aa33044268cc6a1b5e5ea3ea8f436424e969df67b7bf5d2d
|
|
7
|
+
data.tar.gz: 465ec7e9ae995146684103fa2a85cb2564adb7538d24ef7d75e84b020c023382c7945e0ecd788aa4896ab7625b6b775caa458a88fbfce52921f6f6de7e32e9f6
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,14 @@ All notable changes to this project will be documented in this file. This
|
|
|
4
4
|
project adheres to [Semantic Versioning](http://semver.org/). This change log is based upon
|
|
5
5
|
[keep-a-changelog](https://github.com/olivierlacan/keep-a-changelog).
|
|
6
6
|
|
|
7
|
-
## [2.
|
|
7
|
+
## [2.15.0](https://github.com/k0kubun/hamlit/compare/v2.14.6...v2.15.0) - 2021-04-12
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Always use Hamlit when both haml.gem and hamlit.gem are installed in Rails
|
|
12
|
+
*Thanks to @igor-drozdov*
|
|
13
|
+
|
|
14
|
+
## [2.14.6](https://github.com/k0kubun/hamlit/compare/v2.14.5...v2.14.6) - 2021-03-23
|
|
8
15
|
|
|
9
16
|
### Fixed
|
|
10
17
|
|
data/lib/hamlit/railtie.rb
CHANGED
|
@@ -4,6 +4,11 @@ require 'rails'
|
|
|
4
4
|
module Hamlit
|
|
5
5
|
class Railtie < ::Rails::Railtie
|
|
6
6
|
initializer :hamlit, before: :load_config_initializers do |app|
|
|
7
|
+
# Load haml/plugin first to override if available
|
|
8
|
+
begin
|
|
9
|
+
require 'haml/plugin'
|
|
10
|
+
rescue LoadError
|
|
11
|
+
end
|
|
7
12
|
require 'hamlit/rails_template'
|
|
8
13
|
end
|
|
9
14
|
end
|
data/lib/hamlit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hamlit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.15.0
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Takashi Kokubun
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|