inertia_rails 1.0.1 → 1.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a987e189bffe559a7fd30a5a4af407dd992126196af7f57fe7d496205faefae
4
- data.tar.gz: dd688cdcb38097978329cacb91db8b76d18db98dd3dc44bf9bddd03e784d6f5d
3
+ metadata.gz: bc3cc396a4feb3b70226c2a54881faf1d3a502a05171bcc146b83df472b89b18
4
+ data.tar.gz: a8b6b651202a33eab122d6c4768bed7d485ffb6c5e5f411b1d0b04cd156780ad
5
5
  SHA512:
6
- metadata.gz: 2aeccf87d9e621b7617ec111f04bcb2032c4c574793a73f59895985bb73d94546f073c3a091b9ba1d66bd46eac5536e626bbae3892a6e9789fcef5952c20b63f
7
- data.tar.gz: 8cba5c80ecde60604dc9d93dd1269448bd6fd99411852b0b4f58f20b9e792aa63a0afd9867bdf35ad984d6ca4205734b1f587e206b15dee3e0370587b4ab911e
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 :shared_plain_data, default: {}
3
- mattr_accessor :shared_blocks, default: []
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 :layout, default: 'application'
35
- mattr_accessor :version, default: nil
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
@@ -1,3 +1,3 @@
1
1
  module InertiaRails
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
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.1
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-23 00:00:00.000000000 Z
13
+ date: 2019-10-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler