files.com 1.1.595 → 1.1.596

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae0a7c4692fdd7f6167eb43495af3ca8c91a377a00cf5bc662e27f62c7179afc
4
- data.tar.gz: a4b71816b1a0323e421f41dafc5752fcbb5be6d7c8a172cce0f6d103a48229cf
3
+ metadata.gz: 11085599a3233596b6c408fee6e25e27b0daba2d55158c95caef456251d8e5f2
4
+ data.tar.gz: 011f8d4aeebcd595134181e1fa48f9da1e9581e0520e946549cbfd170b050e3a
5
5
  SHA512:
6
- metadata.gz: 0f0df4cc045a8ad62a3b545f81d2fee38651b4f57306acda9d3fad2f4cb36fdc6267c3542d36578e11a296510253f04583814fff6972b6769c3a839924d22824
7
- data.tar.gz: 34e4f97185e4c77771881f72cb7c031246bcd1ffde2f288c32bba8f56ceffd418a2b1ff34eeab1de95bf67153f7c9a0df64ae71e00bdf5542745380190e6c666
6
+ metadata.gz: e40bd7a07e0d7e275cfb8da45bf738bda3c40490b0bdfa913bb461d1bf41f877b5ddd4875b2c95f10cc668db937da253f74b3997aa8427c785cc5090abf20ef7
7
+ data.tar.gz: 90be02767994eec07b23fa7a76311a1bea13cf744f25ca657897711de899e1a28ef451471b1992e8fd47afc564715461f60256d97f72e2eb0c2f63f567909aec
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.595
1
+ 1.1.596
@@ -9,7 +9,7 @@
9
9
  "api_usage_available": true,
10
10
  "read_api_usage": 1,
11
11
  "write_api_usage": 1,
12
- "transformation_credits_usage": "100",
12
+ "transformation_credits_usage": 1,
13
13
  "user_count": 1,
14
14
  "current_storage": 1,
15
15
  "deleted_files_storage": 1,
@@ -30,7 +30,7 @@
30
30
  * `api_usage_available` (boolean): True if the API usage fields `read_api_usage` and `write_api_usage` can be relied upon. If this is false, we suggest hiding that value from any UI.
31
31
  * `read_api_usage` (int64): Read API Calls used on this day. Note: only updated for days before the current day.
32
32
  * `write_api_usage` (int64): Write API Calls used on this day. Note: only updated for days before the current day.
33
- * `transformation_credits_usage` (decimal): Transformation and AI credits used on this day. Note: initially this tracks GPG encrypt, decrypt, and recrypt usage.
33
+ * `transformation_credits_usage` (int64): Transformation and AI credits used on this day. Note: initially this tracks GPG encrypt, decrypt, and recrypt usage.
34
34
  * `user_count` (int64): Number of billable users as of this day.
35
35
  * `current_storage` (int64): GB of Files Native Storage used on this day.
36
36
  * `deleted_files_storage` (int64): GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bigdecimal"
4
-
5
3
  module Files
6
4
  class UsageDailySnapshot
7
5
  attr_reader :options, :attributes
@@ -36,12 +34,9 @@ module Files
36
34
  @attributes[:write_api_usage]
37
35
  end
38
36
 
39
- # decimal - Transformation and AI credits used on this day. Note: initially this tracks GPG encrypt, decrypt, and recrypt usage.
37
+ # int64 - Transformation and AI credits used on this day. Note: initially this tracks GPG encrypt, decrypt, and recrypt usage.
40
38
  def transformation_credits_usage
41
- value = @attributes[:transformation_credits_usage]
42
- return value if value.nil? || value.is_a?(BigDecimal)
43
-
44
- BigDecimal(value.to_s)
39
+ @attributes[:transformation_credits_usage]
45
40
  end
46
41
 
47
42
  # int64 - Number of billable users as of this day.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.595"
4
+ VERSION = "1.1.596"
5
5
  end
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.1.595
4
+ version: 1.1.596
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-04 00:00:00.000000000 Z
11
+ date: 2026-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable