evt-collection 2.4.1.0 → 2.4.2.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
  SHA256:
3
- metadata.gz: 6b9873a9d37bf4b855172f564e19e47a9605e944a0b843f304183d3b8426dbf2
4
- data.tar.gz: e0aec9f5c363c823fb726140a4bdc6398c47887967b3602e0665993606f84ee6
3
+ metadata.gz: 0da4d6ada538145f5de05dbe96dcdf01556f60582f58011a4b0139c421a1db51
4
+ data.tar.gz: 8b844dcb8daccc43d829d4a83224818bfd7deff5be41d4ad242544aa7fac14a7
5
5
  SHA512:
6
- metadata.gz: 3b524d393b8d526b4d38f60c1a2d11d48b9e136123289251eac790235c4d0b1eff2b1b17b5425618e544c89e53efa1d9212d237235a8de7b1479b007ef7270d3
7
- data.tar.gz: ed544b2dcefb07112a0879937ae1e399319a0b092ba1e0d7849506de00c3bcc4657bc6aca9c0d7a329b63ba6eee4e03de52f5078340c9cfee0e62f05d8480329
6
+ metadata.gz: d372356ebd516436d3503adabdad726522622afdc0e18ef5afb78d18579aff6315e80debbcf3acc5c85bd6a2ecc49e7c650fe1a1c2e936aaf4e981b7d1406bd3
7
+ data.tar.gz: 555f07ebc9e85db79a26e8eaafb9452e78a9964b3a64681a6ff0f84b358695330180193a2a65d3f66b5af46e4aa48506c471f703c108b8cec81c27a52f5d553b
@@ -5,5 +5,14 @@ module Collection
5
5
  def content
6
6
  @content ||= ::Array.new
7
7
  end
8
+
9
+ def last
10
+ content.last
11
+ end
12
+
13
+ def length
14
+ count
15
+ end
16
+ alias :size :length
8
17
  end
9
18
  end
@@ -5,5 +5,14 @@ module Collection
5
5
  def content
6
6
  @content ||= ::Set.new
7
7
  end
8
+
9
+ def last
10
+ content.to_a.last
11
+ end
12
+
13
+ def length
14
+ count
15
+ end
16
+ alias :size :length
8
17
  end
9
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-collection
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1.0
4
+ version: 2.4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test_bench