company 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/company/collections/visits.rb +6 -0
- data/lib/company/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25ecca18513633e93192c25059e8b94701440313c7d2c57c507cc82737bca5c7
|
|
4
|
+
data.tar.gz: 7dafceaf23f066daf45ab29d79de66a829843a0d70f2cfbd958e3b0d6a6c53e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 515ccd1ff8052f0d2ae739c6c86eeb5ab1d21b6324cae13dd83a1dc0e4793a99d30f117380efcb893e95f512993261370b542f73025c85e475f76e96b93ae16d
|
|
7
|
+
data.tar.gz: 5c91bb934528ac9e0cd8d392b2b16e9aff925ac97730f45af02930b5c2316a77a09c17c685c7a4b4b95527b42f3d60cdf1158ca071e073c347c07757a24d5b54
|
|
@@ -28,5 +28,11 @@ module Company
|
|
|
28
28
|
|
|
29
29
|
# @return [Collection] the same list, narrowed to the stops of leads.
|
|
30
30
|
def for_leads = Selection.new(collection: self, &:lead)
|
|
31
|
+
|
|
32
|
+
# Booked time a platform can say something about: the stops of jobs and of leads together,
|
|
33
|
+
# without the hours blocked out around them, which name no work and cost a list of their own
|
|
34
|
+
# on a platform that files them apart.
|
|
35
|
+
# @return [Collection] the same list, narrowed to the stops of work of either kind.
|
|
36
|
+
def for_work = Selection.new(collection: self) { |visit| visit.job || visit.lead }
|
|
31
37
|
end
|
|
32
38
|
end
|
data/lib/company/version.rb
CHANGED