dao-repository 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: dd3a81a66271ec727ae280da347726cf13b60ab1
4
- data.tar.gz: 112f44697bc207fc1ce5078a09677ac0b10345b5
3
+ metadata.gz: 6890c6589d8ea47c9f205ee4af121827a39c9bce
4
+ data.tar.gz: 570e8f15e5c5e872339e61f6f5ddd4365245b975
5
5
  SHA512:
6
- metadata.gz: f66caa7d4ce99d461fd89cbc91d7db949bb9cdde07c527c3ba230df571368299f0fce9ee0004b1e4c6923c21c78f1c179f74130be19a746469d9cd031de04a7f
7
- data.tar.gz: 499da4d7d03883253fafe62c4238b37faaa14259789d6a3da30b30ce87c655ee38545a611aaf578a4049155d95d490c2f5f94a3fd7329d18ed192773ec93f2b4
6
+ metadata.gz: daedd61870cfbc19ff7886a1d64707ebd208f334fb26720ed08d883595c20bbfd812a739dbc8e75d550f990d4a8e553246d0d6a73f0565e042dcf236e06c92d9
7
+ data.tar.gz: 9d638399e8ebb4b696871bf0506c755d2988514fd004e79ac5ade4c593df18de6ff82187f19a84388fe97365d05cdfff25c83f9c371e9bc033866f7add6f7478
@@ -16,6 +16,10 @@ module Dao
16
16
  end
17
17
  end
18
18
 
19
+ def all
20
+ scope.all.apply
21
+ end
22
+
19
23
  def find(id, with: nil)
20
24
  attributes = {}
21
25
  attributes[:with] = with if with
@@ -1,5 +1,5 @@
1
1
  module Dao
2
2
  module Repository
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dao-repository
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - llxff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-06-28 00:00:00.000000000 Z
12
+ date: 2016-06-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dao-gateway