services 4.1.1 → 4.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
  SHA1:
3
- metadata.gz: cd7dc93d539be1dfb493ae76fa3517df9f91c50e
4
- data.tar.gz: 6c5c5c79fb229e7c1ab98d68ede41939b800e8d2
3
+ metadata.gz: 663659a34911d48a176a7a738d1e175eba358a5d
4
+ data.tar.gz: 6cce3ab91a8f66904024d2900b7a51eff3d62319
5
5
  SHA512:
6
- metadata.gz: 470ab654cddf1cc75439e0301090865ec6269f31acd76e42d0e614ecbf003373330954d3f1b03376eb3eda59815bf6513cfab1cc7dc79deab9f002e4b4c32ea9
7
- data.tar.gz: 4ff35e833918ff1c6269388242bcbdaa4d57f9eaa38f25a1c34450766ceaaf82f12180e964fd39636bd490d917d5461d5ed07eb694a7ceaff76f3ca432ffc31f
6
+ metadata.gz: 323b319f2fd465870696042ba9942561afb10225d444d2659f2e7c064fb5d7610addf44cb708a27b14dc3a7b05460c9d7cdcc1938796b9e76ed1e62f4c4bd517
7
+ data.tar.gz: 304566a8682c1f2e9c95b869eddccc9250f573cc62e2f20b2251df291cb8fe2b11300f232716df4e185712ef92e720eda1a3eb71bf85f076a9cbd2956473df6b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 4.1.2
2
+
3
+ * Make "Services" namespace optional when determining object class
4
+
5
+ ## 4.1.1
6
+
7
+ * Try to determine Redis connection from `Redis.current` if not explicitly set in configuration
8
+
1
9
  ## 4.1.0
2
10
 
3
11
  * Add possibility to automatically convert condition objects to IDs in query
@@ -3,7 +3,7 @@ module Services
3
3
  private
4
4
 
5
5
  def object_class
6
- self.class.to_s[/\AServices::([^:]+)/, 1].singularize.constantize
6
+ self.class.to_s[/\A(?:Services::)?([^:]+)/, 1].singularize.constantize
7
7
  rescue
8
8
  raise "Could not determine service class from #{self.class}."
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Services
2
- VERSION = '4.1.1'
2
+ VERSION = '4.1.2'
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: 4.1.1
4
+ version: 4.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: 2016-02-04 00:00:00.000000000 Z
11
+ date: 2016-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake