heya 0.5.0 → 0.5.1

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: 8aca23a8fecadfe7dbaef4abe9b38e8e1ec3d12f1caeff8d87fcf6d088b53f1b
4
- data.tar.gz: a0dbebd018ae387f35658a8a87d31a358de7f98a0f66229d32d392fac81cacb7
3
+ metadata.gz: d6e0b9d8f683a3fa919bd5cdd2574d5894c334937e963512eab4ee8bc54b42a5
4
+ data.tar.gz: d0a207668ad43fcd6750860a0af85a131ee8b8b168c082c5c2919cc49ad9aa9a
5
5
  SHA512:
6
- metadata.gz: 8f834ac3755b014a0535598b9059ea84bfadf40e0f0c3d3ceb86876d46b78389984ba508ef07a91e84c9f6a8ddbe27074dab4fa7462f5d52c8b76577f0fa7302
7
- data.tar.gz: d468061ee32fe90aab855e8231314100cea6cf17aa31ab68d608c8f28e98c7c95fce72a4a1924ba87ce1fed2f6e4e0c3079df9ffdb701ec9eb3df6303fa24a85
6
+ metadata.gz: fd07083120bbf4110fd60b8661dc4d0e4fa7b0ecaf0d29c11a74a6e68589dc06e12be2efe8ccacfcf924313006342cb9e413878e83bf6cd32df18d0a07c6c194
7
+ data.tar.gz: 17636d925028392b6ba153142d7f5513578fb3364d9b39eb3cd74cc0fcbbfcec454b2ece88ba4344e5344fb9ebc78461b200b8446eb8d1cdf6278c55177a4a72
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ 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
7
  ## [Unreleased]
8
+ ### Fixed
9
+ - Fix compatibility with Rails 6.1.4 (introduced by [this change](https://github.com/rails/rails/commit/99049262d37fedcd25af91231423103b0d218694#diff-79b53b2602bf702bdd8ce677e096be6a6923a54236e17237c16068a510078683) to `build_arel`) (#137, @retsef)
10
+
11
+ ## [0.5.0] - 2021-06-17
8
12
  ### Added
9
13
  - Create `@campaign_name` instance var accessible in email templates (#135)
10
14
 
@@ -6,7 +6,7 @@ module Heya
6
6
  module ActiveRecordRelationExtension
7
7
  TABLE_REGEXP = /heya_steps/
8
8
 
9
- def build_arel(aliases)
9
+ def build_arel(aliases = nil)
10
10
  arel = super(aliases)
11
11
 
12
12
  if table_name == "heya_campaign_memberships" && arel.to_sql =~ TABLE_REGEXP
data/lib/heya/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Heya
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Wood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2021-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails