hanami-view 0.7.0 → 0.8.0

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
  SHA1:
3
- metadata.gz: b6a48a9095b6dda0e7238dd8f80aedb4b0aaa8df
4
- data.tar.gz: b36841002e5ed8e5145a1dbd23adb32b0612fecf
3
+ metadata.gz: c5cc4a544a3b4ef5ba8146646089888e6b4e42d8
4
+ data.tar.gz: 9659178aadd6af932109df3a6e6d82cf39b28898
5
5
  SHA512:
6
- metadata.gz: 57e9f5bc86fa2416826ae4a705ae0367d70b635f62ab1382e085f04cc3273d184212e45810aad3b53a5dcd82c1381f040e552ea97f06f48b6e6c6acd8b18e84a
7
- data.tar.gz: b8973574e56dfe4380d55bca46db9542b7bd559f2bd2e5591c8cb1a79b6b3dceb778ebb9f0d72c0b0a92f8ad1090392af421b40ae1536acb87a3152395b634d7
6
+ metadata.gz: 53a0b197c3d9bee7dfd6f3119edd933ca1ddc2e05bf1fb3415a566fc822ca5634dca243089a463383868cdc26b12c37363c67a1ffc1418ece543698a3c0786cd
7
+ data.tar.gz: c97a98d46805f637c3785355078009e8bf23b3a8732202bb5e142d587569d1c3e15ce1c01a65125e18e7c0691af9d3cb9c1f7f16fe64e8db35e72a980e7a29c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Hanami::View
2
2
  View layer for Hanami
3
3
 
4
+ ## v0.8.0 - 2016-11-15
5
+ ### Fixed
6
+ - [Luca Guidi] Ensure `Rendering::NullLocal` to work with HAML templates
7
+
8
+ ### Changed
9
+ - [Luca Guidi] Official support for Ruby: MRI 2.3+ and JRuby 9.1.5.0+
10
+
4
11
  ## v0.7.0 - 2016-07-22
5
12
  ### Added
6
13
  - [Luca Guidi] Introduced `#local` for views, layouts and templates. It allows to safely access locals without raising errors in case the referenced local is missing.
data/README.md CHANGED
@@ -34,7 +34,7 @@ Like all the other Hanami components, it can be used as a standalone framework o
34
34
 
35
35
  ## Rubies
36
36
 
37
- __Hanami::View__ supports Ruby (MRI) 2+
37
+ __Hanami::View__ supports Ruby (MRI) 2.3+ and JRuby 9.1.5.0+
38
38
 
39
39
  ## Installation
40
40
 
data/hanami-view.gemspec CHANGED
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = []
18
18
  spec.test_files = spec.files.grep(%r{^(test)/})
19
19
  spec.require_paths = ['lib']
20
- spec.required_ruby_version = '>= 2.2.0'
20
+ spec.required_ruby_version = '>= 2.3.0'
21
21
 
22
22
  spec.add_runtime_dependency 'tilt', '~> 2.0', '>= 2.0.1'
23
- spec.add_runtime_dependency 'hanami-utils', '~> 0.8'
23
+ spec.add_runtime_dependency 'hanami-utils', '~> 0.9'
24
24
 
25
25
  spec.add_development_dependency 'bundler', '~> 1.5'
26
26
  spec.add_development_dependency 'minitest', '~> 5'
@@ -45,6 +45,10 @@ module Hanami
45
45
  TO_STR
46
46
  end
47
47
 
48
+ # @since 0.8.0
49
+ # @api private
50
+ alias to_s to_str
51
+
48
52
  # @since 0.7.0
49
53
  # @api private
50
54
  def method_missing(m, *)
@@ -3,6 +3,6 @@ module Hanami
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '0.7.0'.freeze
6
+ VERSION = '0.8.0'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-07-22 00:00:00.000000000 Z
13
+ date: 2016-11-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: tilt
@@ -38,14 +38,14 @@ dependencies:
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.8'
41
+ version: '0.9'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0.8'
48
+ version: '0.9'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bundler
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 2.2.0
145
+ version: 2.3.0
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - ">="