sciolyff 0.7.0 → 0.7.1
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/bin/sciolyff +1 -1
- data/lib/sciolyff/interpreter/placing.rb +5 -1
- data/lib/sciolyff/interpreter/team.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c1819dc4e693f02b62f0faf985459ce6835a084cd9bafa549b604b628cada7f
|
|
4
|
+
data.tar.gz: 38568c82e07ab4bd15953d19cf81b54f36013582a8536b89b89bb97b3f92077d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfea2890d6a6b85b0ade97438c53b61f5f936042b0f6b8fa5bcc2da45ba6b71f81be993820aaddbc18399fd9be14d928186160396d3fcf954a032f5794d171ec
|
|
7
|
+
data.tar.gz: 9f753a41c3ff214fd593a38a6ffd4d257c01eb5954bb124bdaf76e47a399808b275a64fe0fa6f5f25db074525787995e9766f24b7c43c2a45491a3bd30218525
|
data/bin/sciolyff
CHANGED
|
@@ -45,6 +45,10 @@ module SciolyFF
|
|
|
45
45
|
participated? && !place && !unknown?
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
def dropped_as_part_of_worst_placings?
|
|
49
|
+
team.worst_placings_to_be_dropped.include?(self)
|
|
50
|
+
end
|
|
51
|
+
|
|
48
52
|
def points
|
|
49
53
|
return 0 unless considered_for_team_points?
|
|
50
54
|
|
|
@@ -67,7 +71,7 @@ module SciolyFF
|
|
|
67
71
|
|
|
68
72
|
def considered_for_team_points?
|
|
69
73
|
initially_considered_for_team_points? &&
|
|
70
|
-
!
|
|
74
|
+
!dropped_as_part_of_worst_placings?
|
|
71
75
|
end
|
|
72
76
|
|
|
73
77
|
def initially_considered_for_team_points?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sciolyff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Em Zhan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|