simple_slack 0.3.2 → 0.3.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13c1e00e28260f8fabe4e1db17ac6ce5d505523d
|
4
|
+
data.tar.gz: b5d947a9841349abd4f5f1342636154681888213
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3e8944f7e9eb5bae6ba9a57530b6dc6f9282fd6d52278da3261fcf726b1a541329e5bcce7f04aac86609b1095a9801473539be8c952fb4acd09842d6d7acf6
|
7
|
+
data.tar.gz: 85c609466c100be57afdacbba018c28150dd032b0eb610385a06bcdb3a8364bde5d274a0f113d22f51147285f6e86406ee685803206c97d463aca180cd4b2aa9
|
@@ -11,6 +11,14 @@ module TogglEntriesParameter
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
+
def entries_by_tags(*tags)
|
15
|
+
entries.select do |entry|
|
16
|
+
tags.map(&:to_s).all? do |tag|
|
17
|
+
entry["tags"].include?(tag)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
14
22
|
def latest_entry
|
15
23
|
entries.sort_by{ |entry| entry["start"] }.last
|
16
24
|
end
|
data/lib/simple_slack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_slack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toririn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|