mimi-messaging 0.1.4 → 0.1.5

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: 59db6d2cf3e038d1cacc7ef50576e82d8372d042
4
- data.tar.gz: b7f802bf48fb24f18e65bcd4c6fcfc17ed6bc0bc
3
+ metadata.gz: 4732df0e42427969337047b8607695a11fdeb00a
4
+ data.tar.gz: ba052fa52e4841c3b6449f8812d991be8dfa0937
5
5
  SHA512:
6
- metadata.gz: cc08d35ccde1feb2bddd3a7920eab1384f111996d3a0137cf18a83e90bcfb669e20d57ac111e2dfbacb2fd4ece1f06044649dc35cfbaeff06e6955ebd3eb7735
7
- data.tar.gz: 66432175a64cdb90f020c9b5a82aa51d8c58ebfeb01c581ea567e189c600f329e73b63944c35b024e3a42b1fb1b9890f17281d7c152ee210f156104f7c90bc85
6
+ metadata.gz: 07b6fe2266e02fa0c4079be96858c27626bd38f5e09e49ccf9e7d6673b4192c8a12e75ab4b00a4b808fc6d451751a44f594c6579edb7fe605559df125f486b63
7
+ data.tar.gz: 109f20674d48e0b4e4a7528bda853e66bc8318cf8ab9efbc9f4f714d279c2be9fb8015da79c6700f02a8198d6682157475ac0831f2cf60cae816388f91d732ba
@@ -57,6 +57,10 @@ module Mimi
57
57
  serialize model_class_scoped.find(id)
58
58
  end
59
59
 
60
+ def find
61
+ serialize model_class_scoped.find_by!(params)
62
+ end
63
+
60
64
  def destroy(id:)
61
65
  model_class_scoped.find(id)
62
66
  raise "#{self.class}#destroy is not implemented"
@@ -1,5 +1,5 @@
1
1
  module Mimi
2
2
  module Messaging
3
- VERSION = '0.1.4'.freeze
3
+ VERSION = '0.1.5'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimi-messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kukushkin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-12 00:00:00.000000000 Z
11
+ date: 2016-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mimi-core