inertia_rails 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/inertia_rails/inertia_rails.rb +4 -4
- data/lib/inertia_rails/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: bc3cc396a4feb3b70226c2a54881faf1d3a502a05171bcc146b83df472b89b18
|
4
|
+
data.tar.gz: a8b6b651202a33eab122d6c4768bed7d485ffb6c5e5f411b1d0b04cd156780ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c81fc5e1a5fd8f48f696dd49f9234ede89fac59234f22a1c5c90bafb92946917ecf2dfe454a7ad3cf03a886aea435331233a0a9eabaab8a8606f4525cd17e59
|
7
|
+
data.tar.gz: 77fb640e2e8d21786d3f92f0830f9220c90aae67aeda6857b909db07bf71c020b4c5da2d78a208f80b90e531a56dced6a8a4a22e2a13df007d93ed93aecc2f31
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [1.1.0] - 2019-10-24
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
* Switches mattr_accessor defaults to block syntax to allow pre Rails 5.2 compatibility
|
12
|
+
|
7
13
|
## [1.0.1] - 2019-10-23
|
8
14
|
|
9
15
|
### Fixed
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module InertiaRails
|
2
|
-
mattr_accessor
|
3
|
-
mattr_accessor
|
2
|
+
mattr_accessor(:shared_plain_data) { Hash.new }
|
3
|
+
mattr_accessor(:shared_blocks) { [] }
|
4
4
|
|
5
5
|
def self.configure
|
6
6
|
yield(Configuration)
|
@@ -31,8 +31,8 @@ module InertiaRails
|
|
31
31
|
private
|
32
32
|
|
33
33
|
module Configuration
|
34
|
-
mattr_accessor
|
35
|
-
mattr_accessor
|
34
|
+
mattr_accessor(:layout) { 'application' }
|
35
|
+
mattr_accessor(:version) { nil }
|
36
36
|
|
37
37
|
def self.evaluated_version
|
38
38
|
version.respond_to?(:call) ? version.call : version
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inertia_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Knoles
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-10-
|
13
|
+
date: 2019-10-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|