apicasso_brush 0.1.2 → 0.1.3

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: 8a738a104da128abfd332a26badbf2778fb687bbcfbd2e08418bb21757de14cb
4
- data.tar.gz: 3a6a86da89689ab48a1cec3630c8740a7e4db7682617aed4cf78fa6c997fa9e0
3
+ metadata.gz: 689503da5a12db5eaddab98ba6b8e4367d6cc019239d983241668eba46fa61f2
4
+ data.tar.gz: 9230ad210c2db89b579dd2f13d0d8c8419dff8cbaccd4b89f2ab485f891941f3
5
5
  SHA512:
6
- metadata.gz: 37d1ab34aaaedf081875b8187dedd974abae46079721a00b6293e1b7da715da806452ca184eebf326e8c92a094987b6af1b57e4bbca78172b4320cd054424c12
7
- data.tar.gz: 2f1cb984a94b7fdaadfd779b06ee2eb29e931260fd5e9a4f1a843208e4a7efd1fae223f720b3008d3407481a9a85286a332258d287af51c2e81cd9067f9d4772
6
+ metadata.gz: f7093afeaaef2719ce89e242cbeccbe6edd3db9998195b263fd4ef68cb3b8955c2b31ef9371c20629a2b086d05b5b4a81ebf07687e9e17abf28668961c57c118
7
+ data.tar.gz: ff59bdf3368401f2a58604534c44b810f2a6388648040f14950f785fbe85e9a39ce2a378df7343de38d8160621365d82da13256ae20f440979ae539fae0fb3ff
@@ -134,7 +134,7 @@ module Apicasso
134
134
 
135
135
  # Finds a object based on attributes conditions
136
136
  def self.find_by(opts = {})
137
- where(opts).to_h[:entries].try(:[], 0)
137
+ where(opts).try(:[], 0)
138
138
  end
139
139
 
140
140
  # Finds a object based on attributes conditions,
@@ -1,3 +1,3 @@
1
1
  module ApicassoBrush
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apicasso_brush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Bellincanta