files.com 1.0.148 → 1.0.149
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/_VERSION +1 -1
- data/docs/usage_snapshot.md +2 -0
- data/lib/files.com/models/usage_snapshot.rb +5 -0
- 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: afd795469d773a6bc190d054f7d487b3f0a7a934cb4e743beb76b1d9924dd0bf
|
|
4
|
+
data.tar.gz: d7905582db02d9a9fea04c5c68a0d9cc26ef8bb4509f6457236912143e5795cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fec91234ec2e70e0d59c87b2c13aa16e30df5484397d3cd303a3b27dd7494ea7b15b43444067177efb8e5f9746a1156b0a84dabd3fee444df6c3891856474172
|
|
7
|
+
data.tar.gz: 8cacc51b4d483ea38ca8d2ce44425848577c616477349a8c20830cc3e09db313103604ef051a10c76f752f99049985320e6c225680cceec02b9545f4ff2595a7
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.149
|
data/docs/usage_snapshot.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"start_at": "2000-01-01T01:00:00Z",
|
|
9
9
|
"end_at": "2000-01-01T01:00:00Z",
|
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
|
11
|
+
"high_water_user_count": 1.0,
|
|
11
12
|
"current_storage": 1.0,
|
|
12
13
|
"high_water_storage": 1.0,
|
|
13
14
|
"total_downloads": 1,
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
* `start_at` (date-time): Site usage report start date/time
|
|
25
26
|
* `end_at` (date-time): Site usage report end date/time
|
|
26
27
|
* `created_at` (date-time): Site usage report created at date/time
|
|
28
|
+
* `high_water_user_count` (double): Site usage report highest usage in time period
|
|
27
29
|
* `current_storage` (double): Current site usage as of report
|
|
28
30
|
* `high_water_storage` (double): Site usage report highest usage in time period
|
|
29
31
|
* `total_downloads` (int64): Number of downloads in report time period
|
|
@@ -29,6 +29,11 @@ module Files
|
|
|
29
29
|
@attributes[:created_at]
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
+
# double - Site usage report highest usage in time period
|
|
33
|
+
def high_water_user_count
|
|
34
|
+
@attributes[:high_water_user_count]
|
|
35
|
+
end
|
|
36
|
+
|
|
32
37
|
# double - Current site usage as of report
|
|
33
38
|
def current_storage
|
|
34
39
|
@attributes[:current_storage]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: files.com
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.149
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-03-
|
|
11
|
+
date: 2021-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|