iron_trail 0.0.3 → 0.0.5

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
  SHA256:
3
- metadata.gz: cd13db21df61365c3749688097fbe2cecc39e13fdffeec89b82952306105ed30
4
- data.tar.gz: fb18dbcf2ec368a3412bcbc96b67a25aa31285992335303878a051c6b2ece806
3
+ metadata.gz: bde821751daccbafb1992e3823a415564b9e237f7d7ec03069bfab3f2bc3892b
4
+ data.tar.gz: 33241a824ebd745e560cf7e75b5b4fc094bb9b56ae0d089d04d715191ac8b521
5
5
  SHA512:
6
- metadata.gz: f24d6c2460879b591d703fdf711a80e08ba9bda0a8353c832877790b58f586f2b72db69873cbebe33363953ae9d06a40cb2d059bbac564a11ec8fab3a55e390d
7
- data.tar.gz: a0f434e388b67352d61d45ac5667d93f1a4f048e5dbc332437b205b6a23d9f4b272eb558d43fdffaf58dc1b15dee93aa8b1a9ac47746d5caf1a4fb50a3e7733f
6
+ metadata.gz: ef420d941ca8cc0d6cdbc53f96b2295a23dad5c9c5e2e368ca79107934dd817d0336b2e748e22cca06d3aca8e2fc078d498de693ca0c22ec68b3370cb847296d
7
+ data.tar.gz: 3979d3a07feb1069f3fd660fed59b38b5451d6361d9c78d28d2f64fc281e1d843fea07346687ba8016cc8199d86149dfd186e1e82f20460e4b7c3da85ee639fa
@@ -10,7 +10,7 @@ module IronTrail
10
10
  .where(arel_table[:created_at].lteq(ts))
11
11
  .first
12
12
 
13
- change_record.reify
13
+ change_record&.reify
14
14
  end
15
15
  end
16
16
  end
@@ -4,6 +4,8 @@ module IronTrail
4
4
  class Reflection < ::ActiveRecord::Reflection::AssociationReflection
5
5
  def collection?; true; end
6
6
 
7
+ def macro; :has_iron_trails; end
8
+
7
9
  def association_class
8
10
  ::IronTrail::Association
9
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_literal_string: true
2
2
 
3
3
  module IronTrail
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_trail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Diego Piske
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-26 00:00:00.000000000 Z
10
+ date: 2025-01-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -136,7 +135,6 @@ dependencies:
136
135
  - - "~>"
137
136
  - !ruby/object:Gem::Version
138
137
  version: '7.2'
139
- description:
140
138
  email: andrepiske@gmail.com
141
139
  executables: []
142
140
  extensions: []
@@ -170,7 +168,6 @@ homepage: https://github.com/trusted/iron_trail
170
168
  licenses:
171
169
  - MIT
172
170
  metadata: {}
173
- post_install_message:
174
171
  rdoc_options: []
175
172
  require_paths:
176
173
  - lib
@@ -185,8 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
182
  - !ruby/object:Gem::Version
186
183
  version: '0'
187
184
  requirements: []
188
- rubygems_version: 3.5.21
189
- signing_key:
185
+ rubygems_version: 3.6.2
190
186
  specification_version: 4
191
187
  summary: Creates a trail strong as iron
192
188
  test_files: []