itriagetestrail 0.3.1 → 0.3.2
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/itriagetestrail/version.rb +1 -1
- data/lib/itriagetestrail.rb +4 -4
- 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: a5999d17c9bd4b994b931ba0157fa66d499fad19
|
|
4
|
+
data.tar.gz: 630446a193f0acc84b9eb35acfaec4e2682dacc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb22f26e08e3c83c455a00dc4d470e98ab1bf22dbda8812400b9fa3b2013f7dab0889c6a20d7c89be68ca78ad2fff6bac0cb3b2cb4d9f567641b3cad543855a1
|
|
7
|
+
data.tar.gz: 5eea98e5d836ab147220d6b7dd5f65b14ac99f162805af88ba0970ce5cc1c51535139480795e75c4772f1010c23ff3d9a6c5df0b174c71c6bd1abce6bba27726
|
data/lib/itriagetestrail.rb
CHANGED
|
@@ -154,13 +154,13 @@ module Itriagetestrail
|
|
|
154
154
|
|
|
155
155
|
# determine which quarter we are in
|
|
156
156
|
if month <= 3
|
|
157
|
-
|
|
157
|
+
Time.utc(current_year, 3, 31).strftime('%s')
|
|
158
158
|
elsif month <= 6
|
|
159
|
-
|
|
159
|
+
Time.utc(current_year, 6, 30).strftime('%s')
|
|
160
160
|
elsif month <= 9
|
|
161
|
-
|
|
161
|
+
Time.utc(current_year, 9, 30).strftime('%s')
|
|
162
162
|
else
|
|
163
|
-
|
|
163
|
+
Time.new(current_year, 12, 31).strftime('%s')
|
|
164
164
|
end
|
|
165
165
|
end
|
|
166
166
|
|