services 7.1.0 → 7.1.1

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: 6fe25182ce1c9112cb5038acb3c2b2142bb62e4cc92457d4db4da8ef5b0a323a
4
- data.tar.gz: 395f8a026b22de6fa716faba2e336c75542f79b23fcc0c7c7ed6f8d8926a0008
3
+ metadata.gz: 621c6acc5bc9ebaf65890b555aa55a7cd65b50519ad8368e812d82cca5c2048a
4
+ data.tar.gz: 2884eaebce77e4aaf07aee880c18609eb886c3445293d2fe5d0b07e32ac62197
5
5
  SHA512:
6
- metadata.gz: 7dd47187a80a3f174d7699160c1e4ae0606fa145bbed2b07c8c363a8b4eebde80586031ee6035ee0b9637be33af3b560a8e29d20789ab7db5338f6487c152802
7
- data.tar.gz: 938b7cc0457dbed15ef374b8ba9771c6f91de395d095f8864ba7959f848731d5d60262f4c2110809eecb741eb8506afb6f7e658ba449e74b197dfd770d0062a6
6
+ metadata.gz: 70a85cb138c89aebd170d71e7885335eb02c8316b40def1505f247d01a4938319b4d9772ce013698d2324137805cae443501bd35c78858815ecc1ef3f7fc5f86
7
+ data.tar.gz: 45f924ed5b752acd0bf1077726fbef253c6fb4d5fcb9622cd574d15c09464cff223ee5adbfa12a376b865dac06c8fd0daf9e70d82ca8967e957caa30cff978c6
@@ -97,11 +97,10 @@ module Services
97
97
  end
98
98
  scope = scope.joins(join_conditions)
99
99
  end
100
-
101
- order = order_part
102
100
  when !table_name
103
- order = "#{object_class.table_name}.#{order_part}"
101
+ order_part.prepend "#{object_class.table_name}."
104
102
  end
103
+ order_part
105
104
  end.join(', ')
106
105
 
107
106
  scope = scope.order(order)
@@ -1,3 +1,3 @@
1
1
  module Services
2
- VERSION = '7.1.0'.freeze
2
+ VERSION = '7.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: services
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Meurer