safrano 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Safrano
4
- VERSION = '0.8.0'
4
+ VERSION = '0.8.2'
5
5
  end
@@ -130,7 +130,7 @@ class JoinByPathsHelper < Set
130
130
  # associated model's primary key. Each current model object can be
131
131
  # associated with many associated model objects, and each associated
132
132
  # model object can be associated with many current model objects.
133
- # TODO: testcase for :one_through_one
133
+ # TODO: testcase for :one_through_one
134
134
  # when # :one_through_one :: Similar to many_to_many in terms of foreign keys, but only one object
135
135
  # is associated to the current object through the association.
136
136
  # Provides only getter methods, no setter or modification methods.
@@ -173,7 +173,6 @@ class JoinByPathsHelper < Set
173
173
 
174
174
  next result_
175
175
 
176
-
177
176
  end
178
177
 
179
178
  lks.map! { |k| Sequel[seg.first.alias_sym][k] } unless seg.first.empty?
@@ -229,6 +228,7 @@ module Sequel
229
228
  @alias_cnt = 0
230
229
  end
231
230
  end
231
+
232
232
  module ClassMethods
233
233
  attr_reader :aliases_sym
234
234
  attr_reader :alias_cnt
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - oz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-30 00:00:00.000000000 Z
11
+ date: 2024-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -187,6 +187,7 @@ files:
187
187
  - lib/core_ext/Dir/iter.rb
188
188
  - lib/core_ext/Hash/transform.rb
189
189
  - lib/core_ext/Integer/edm.rb
190
+ - lib/core_ext/MatchData/matchlen.rb
190
191
  - lib/core_ext/Numeric/convert.rb
191
192
  - lib/core_ext/REXML/Document/output.rb
192
193
  - lib/core_ext/String/convert.rb
@@ -197,6 +198,7 @@ files:
197
198
  - lib/core_ext/dir.rb
198
199
  - lib/core_ext/hash.rb
199
200
  - lib/core_ext/integer.rb
201
+ - lib/core_ext/matchdata.rb
200
202
  - lib/core_ext/numeric.rb
201
203
  - lib/core_ext/rexml.rb
202
204
  - lib/core_ext/string.rb