activerecord-delegation-expected_behaviour 1.5.0 → 1.7.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/Rakefile +2 -0
  4. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cc6056b34b1a669319b2884b1bed54e85018c62acfbe532b9d80de2e252dba3
4
- data.tar.gz: 57865b1635f99199c666dafc95e931cc0a23967fb583a55e0757e7d0b4856ce4
3
+ metadata.gz: 6161d604a4b8d9fe3e278d157e47a09737c9ca8d1745e9265ee36f1170397f0d
4
+ data.tar.gz: 4138d8b7100d0a0831b26282f60345f9fa46684b4d038e2394155bf6c0bc19b4
5
5
  SHA512:
6
- metadata.gz: 3a984ba347cbc751abc10c47f53928389122329e7cc371960cbc567ccee6f9398dec77669f7db4489e8f02cfa8d7c9312ebb7b3868e06f9a710092db36f41654
7
- data.tar.gz: 20ce27cc328549f8523d8a766c8d16337b007462594ae24680376a21fbee2bd8b671a62a5f88db42c974183fcae119f8ed66d43637e19cfddae5b0d7544852d6
6
+ metadata.gz: a2da2fbae1be5c66e220034d156a6b53d91ee134386a27a719a31893de226a8646077a6122854448f7822ca6c9774ce68a484b19f45a979b811c0ea53504688e
7
+ data.tar.gz: 395623b92d859ff808a84afd15955144f762bac1daf2f53f98f08e20f1a2f502fc726d9fc7b4fff6054c73dee3d468eed330973ff3d40b098ec407aed20a5cab
data/README.md CHANGED
@@ -7,7 +7,7 @@ Prefer some class methods over methods from Enumerable on ActiveRecord relations
7
7
  In Rails 5 you can no longer call some ActiveRecord class methods named
8
8
  like their Enumerable counterparts:
9
9
 
10
- ```:encode_with, :to_ary, :join, :[], :&, :|, :+, :-, :sample, :reverse, :compact, :in_groups, :in_groups_of, :to_sentence, :to_formatted_s, :shuffle, :split, :index```
10
+ ```:encode_with, :to_ary, :join, :[], :&, :|, :+, :-, :sample, :reverse, :compact, :in_groups, :in_groups_of, :to_sentence, :to_formatted_s, :shuffle, :split, :index, :excluding```
11
11
 
12
12
  This gem reinstates the expected behaviour, where you can always
13
13
  get the method from Enumerable by calling to_a on the relation,
data/Rakefile CHANGED
@@ -5,6 +5,8 @@ Rake::TestTask.new(:test) do |t|
5
5
  t.libs << "test"
6
6
  t.libs << "lib"
7
7
  t.test_files = FileList['test/**/*_test.rb']
8
+ t.verbose = true
9
+ t.warning = false
8
10
  end
9
11
 
10
12
  task :default => :test
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-delegation-expected_behaviour
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Grosser
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-01 00:00:00.000000000 Z
11
+ date: 2023-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 6.0.0
19
+ version: 7.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 6.0.0
26
+ version: 7.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,8 +108,8 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description: In Rails 5 you can no longer call some ActiveRecord class methods named
112
- like their Enumerable counterparts. This gem reinstates the expected behaviour,
111
+ description: Since Rails 5 you can no longer call some ActiveRecord class methods
112
+ named like their Enumerable counterparts. This gem reinstates the expected behaviour,
113
113
  where you can always get the method from Enumerable by calling to_a on the relation.
114
114
  email:
115
115
  - mtgrosser@gmx.net
@@ -124,7 +124,7 @@ homepage: https://github.com/mtgrosser/activerecord-delegation-expected_behaviou
124
124
  licenses:
125
125
  - MIT
126
126
  metadata: {}
127
- post_install_message:
127
+ post_install_message:
128
128
  rdoc_options: []
129
129
  require_paths:
130
130
  - lib
@@ -139,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.0.3
143
- signing_key:
142
+ rubygems_version: 3.4.10
143
+ signing_key:
144
144
  specification_version: 4
145
145
  summary: Prefer some class methods over methods from Enumerable on relations
146
146
  test_files: []