flavour_saver 2.0.1 → 2.0.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 +10 -0
- data/Gemfile.lock +2 -2
- data/flavour_saver.gemspec +1 -1
- data/lib/flavour_saver/version.rb +1 -1
- data/lib/flavour_saver.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bd75dc7f4e17072e0e18ffdefdfa81c6f24e98859786bb37c45191095964f2c
|
4
|
+
data.tar.gz: 41ac8be61e4a0969a7aa669a7f1cb488530f8a4d5514aca979fa37da151aca32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d771d2bdc69eea05f39b747299a962f914a53a3e1475a26089ea951eef505acd5d7e8511b9fd1d61e2d22cdceaf3bd52e7b7326901c3cd7cdb1216eb3c4ba4d2
|
7
|
+
data.tar.gz: ba14f4e5d4c62ace6ae2c8a1776cd8f7d9757333a1545473169d5f3c7f12c621149804736c1ff453927d8ed87b6ed31c756df8aee53cde2c54c2a094eefd2cb5
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [2.0.2]
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
|
14
|
+
* Deprecation warning for template handler (#59)
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
|
18
|
+
* Relaxed version constraint on activesupport dependency (#60)
|
19
|
+
|
10
20
|
## [2.0.1]
|
11
21
|
|
12
22
|
### Fixed
|
data/Gemfile.lock
CHANGED
data/flavour_saver.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
|
|
26
26
|
|
27
27
|
gem.add_development_dependency 'rake'
|
28
28
|
gem.add_development_dependency 'rspec'
|
29
|
-
gem.add_development_dependency 'activesupport', '<
|
29
|
+
gem.add_development_dependency 'activesupport', '< 8.0'
|
30
30
|
|
31
31
|
gem.add_dependency 'rltk', '~> 2.2.0'
|
32
32
|
gem.add_dependency 'tilt'
|
data/lib/flavour_saver.rb
CHANGED
@@ -17,10 +17,11 @@ module FlavourSaver
|
|
17
17
|
end
|
18
18
|
|
19
19
|
ActiveSupport.on_load(:action_view) do
|
20
|
-
handler = proc do |template|
|
20
|
+
handler = proc do |template, source|
|
21
|
+
source ||= template.source
|
21
22
|
# I'd rather be caching the Runtime object ready to fire, but apparently I don't get that luxury.
|
22
23
|
<<-SOURCE
|
23
|
-
FlavourSaver.evaluate((begin;#{
|
24
|
+
FlavourSaver.evaluate((begin;#{source.inspect};end),self)
|
24
25
|
SOURCE
|
25
26
|
end
|
26
27
|
ActionView::Template.register_template_handler(:hbs, handler)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flavour_saver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clayton Passmore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "<"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '8.0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "<"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
55
|
+
version: '8.0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rltk
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|