tf2r 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tf2r/raffle.rb +3 -3
- data/lib/tf2r/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0228ccd1fe398e24c3437a9130d1bb8c60354f2
|
4
|
+
data.tar.gz: 1d574edad3dfbc811e332ece10e40c8faaa37343
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5986819d3cde531f50cd27aebf7aab9d5743f2fe770cfb29f6e27b6e79f9e44282b3396e9d70fc6bf7068f1832ea20856565c01621bc29f64e045429c2a24027
|
7
|
+
data.tar.gz: 40f6ab0a5eb7dc46dac07043d59de61308a188e22d76b053437f1b16f0a448d5a697f35322bc0666c8ea2bcbae38b2e551a6d370c731c7972994061e51d6a5b1
|
data/Gemfile.lock
CHANGED
data/lib/tf2r/raffle.rb
CHANGED
@@ -29,10 +29,10 @@ module TF2R
|
|
29
29
|
|
30
30
|
# TODO: test raffles with max_entries greater than 2500
|
31
31
|
def participants
|
32
|
-
if max_entries >
|
33
|
-
@normalized_participants ||= normalize_entries(@api_info['newentry'])
|
34
|
-
else
|
32
|
+
if max_entries > API::MAX_ENTRY_RESPONSE_COUNT
|
35
33
|
@full_participants
|
34
|
+
else
|
35
|
+
@normalized_participants ||= normalize_entries(@api_info['newentry'])
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
data/lib/tf2r/version.rb
CHANGED