dao-gateway 1.2.1 → 1.3.0

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: 8bb390099cd3605ba9cafc9164ac5ba29058883d
4
- data.tar.gz: f166e2dd4fa2ea87f263b085c0545671cdaad1e1
3
+ metadata.gz: 9448e88f0d34e17c27b1dcbdc9de3477b5acac56
4
+ data.tar.gz: aa77d034e6a639b478506585f1f62ad3ae4df3e3
5
5
  SHA512:
6
- metadata.gz: 1bacf9935f13269b10cb13119ed97793536d6d5c303a11430620cfa9d33c0c839fd5ddf2e6ba1e550c18ee4c735f3e4308f728dfe419d79d8fd3f76353e54f98
7
- data.tar.gz: c14a0e69857f88b2882f4ca3a053aa6f9e38442fadfc241794111ac289d444cbcb831191cecc087702ed06bc6fdb43613cc6c333023574eada235b9a0f937eb1
6
+ metadata.gz: 98c8d82770f037dae404a91bc7c0557418dd807578dd3c8d9a02b47ded7cd426a550fca956e368552b62e86e8e6906c8ec09ca8580948ab59331b3a628d567e3
7
+ data.tar.gz: 7d6f3c09e80392b456798c2f5487878ca2af3988a051bcf154628cade23c129bd6cbb92f22937a251d841c6faefc6c33e63872b72262c1da02a27a0ab7149d83
@@ -16,6 +16,12 @@ module Dao
16
16
  @data_processed
17
17
  end
18
18
 
19
+ def length
20
+ @data.length
21
+ end
22
+
23
+ alias :size :length
24
+
19
25
  def each(&block)
20
26
  if processed?
21
27
  @data.each(&block)
@@ -1,5 +1,5 @@
1
1
  module Dao
2
2
  module Gateway
3
- VERSION = '1.2.1'
3
+ VERSION = '1.3.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dao-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
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-08-01 00:00:00.000000000 Z
12
+ date: 2016-08-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler