services 7.1.1 → 7.1.2

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: 621c6acc5bc9ebaf65890b555aa55a7cd65b50519ad8368e812d82cca5c2048a
4
- data.tar.gz: 2884eaebce77e4aaf07aee880c18609eb886c3445293d2fe5d0b07e32ac62197
3
+ metadata.gz: fbc8ee7823c6de0d29bccc1fe0e99019253ced65da5a26fdc2c6204c5d003c47
4
+ data.tar.gz: 6c03b5b5a530568641be0b04354250cc7e54ba8dd57234d96c8a357808e256db
5
5
  SHA512:
6
- metadata.gz: 70a85cb138c89aebd170d71e7885335eb02c8316b40def1505f247d01a4938319b4d9772ce013698d2324137805cae443501bd35c78858815ecc1ef3f7fc5f86
7
- data.tar.gz: 45f924ed5b752acd0bf1077726fbef253c6fb4d5fcb9622cd574d15c09464cff223ee5adbfa12a376b865dac06c8fd0daf9e70d82ca8967e957caa30cff978c6
6
+ metadata.gz: 3ab77b16e9de075c8aace8df5006a3e6a6a9a8af7828c43468f8abea3f178473c14931d8b1e49ac1f47ff930c770cc7993d141f7727888f42944f97f50a5be94
7
+ data.tar.gz: bf509b8cb3a1d6825b38fedcb83d202f5f3a82ea5396e1b12f8e8c472eb713ef5eb89379a04f2a95023c3006c876ecfadb000299f765adf1a142c7a83aa302a1
@@ -49,7 +49,7 @@ module Services
49
49
  when Array
50
50
  object_or_objects.map(&:id)
51
51
  when ActiveRecord::Relation
52
- object_or_objects.pluck(:id)
52
+ object_or_objects.select(:id)
53
53
  else
54
54
  [object_or_objects.id]
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module Services
2
- VERSION = '7.1.1'.freeze
2
+ VERSION = '7.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: services
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.1
4
+ version: 7.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Meurer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-02 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  requirements: []
249
- rubygems_version: 3.0.2
249
+ rubygems_version: 3.0.4
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: A nifty service layer for your Rails app