fastly 7.1.0 → 7.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '05963046f4baeae8c192d334a5527c4248a97a7d5bf1de383dfe9e94dcfce871'
4
- data.tar.gz: 4cd53d320fbc8c8c1d896b46eeca7f63a83f92dc6f972feba486cf7a27f2354f
3
+ metadata.gz: 68e8838b14560a805edeee4b5b98b0551631fb3e08a8c413e4c0295a188f3552
4
+ data.tar.gz: 77af692b4e7b48508e661cfc61863cb932a4aa1c75ab67913d861bb0d798f319
5
5
  SHA512:
6
- metadata.gz: aa75b2d3bfcfb2d5b42bc731ae31465dd10824fd8013f0de6d9d45f5d0190923f1ff391c63606732cf0ced1c619802f848f731473fc730cc9d7c30d102b44a96
7
- data.tar.gz: c2e9eaa6cb121d0bfe5b8662dc41b54a00a52e423f54ceafaf26e127e3b1d91ca4e31fac31b4fb7fb57ea2f0bb3dcfe13073014f2ca0565c69abeec6effb823a
6
+ metadata.gz: ab8de311186aac5f7009ab67c7ac2d38bac773e52c2a0982c83e6e556f5f53d1e9d1149864350fa7f59f15023a16aadba42712450199b58686374e3b6e3659f8
7
+ data.tar.gz: 2304c5196c3d20ff4444e98fb46c0097e81d532e2cde25cf6880455ca661055ce654a4e1ec17b62646166d7a3c125d87a39d649a1887bd6becbee01feed9bb01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [v7.1.1](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.1.1) (2023-09-01)
4
+
5
+ **Enhancements:**
6
+
7
+ - feat(events): support extra created_at filters.
8
+
3
9
  ## [v7.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.1.0) (2023-09-01)
4
10
 
5
11
  **Enhancements:**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastly (7.1.0)
4
+ fastly (7.1.1)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
8
8
  To install via RubyGems, add the following to your project's `Gemfile`:
9
9
 
10
10
  ```ruby
11
- gem 'fastly', '~> 7.1.0'
11
+ gem 'fastly', '~> 7.1.1'
12
12
  ```
13
13
 
14
14
  Then run `bundle install`.
data/docs/EventsApi.md CHANGED
@@ -70,6 +70,10 @@ opts = {
70
70
  filter_user_id: 'filter_user_id_example', # String | Limit the results returned to a specific user.
71
71
  filter_token_id: 'filter_token_id_example', # String | Limit the returned events to a specific token.
72
72
  filter_created_at: 'filter_created_at_example', # String | Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
73
+ filter_created_at_lte: 'filter_created_at_lte_example', # String | Return events on and before a date and time in ISO 8601 format.
74
+ filter_created_at_lt: 'filter_created_at_lt_example', # String | Return events before a date and time in ISO 8601 format.
75
+ filter_created_at_gte: 'filter_created_at_gte_example', # String | Return events on and after a date and time in ISO 8601 format.
76
+ filter_created_at_gt: 'filter_created_at_gt_example', # String | Return events after a date and time in ISO 8601 format.
73
77
  page_number: 1, # Integer | Current page.
74
78
  page_size: 20, # Integer | Number of records per page.
75
79
  sort: 'created_at', # String | The order in which to list the results by creation date.
@@ -94,6 +98,10 @@ end
94
98
  | **filter_user_id** | **String** | Limit the results returned to a specific user. | [optional] |
95
99
  | **filter_token_id** | **String** | Limit the returned events to a specific token. | [optional] |
96
100
  | **filter_created_at** | **String** | Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12). | [optional] |
101
+ | **filter_created_at_lte** | **String** | Return events on and before a date and time in ISO 8601 format. | [optional] |
102
+ | **filter_created_at_lt** | **String** | Return events before a date and time in ISO 8601 format. | [optional] |
103
+ | **filter_created_at_gte** | **String** | Return events on and after a date and time in ISO 8601 format. | [optional] |
104
+ | **filter_created_at_gt** | **String** | Return events after a date and time in ISO 8601 format. | [optional] |
97
105
  | **page_number** | **Integer** | Current page. | [optional] |
98
106
  | **page_size** | **Integer** | Number of records per page. | [optional][default to 20] |
99
107
  | **sort** | **String** | The order in which to list the results by creation date. | [optional][default to 'created_at'] |
@@ -88,6 +88,10 @@ module Fastly
88
88
  # @option opts [String] :filter_user_id Limit the results returned to a specific user.
89
89
  # @option opts [String] :filter_token_id Limit the returned events to a specific token.
90
90
  # @option opts [String] :filter_created_at Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
91
+ # @option opts [String] :filter_created_at_lte Return events on and before a date and time in ISO 8601 format.
92
+ # @option opts [String] :filter_created_at_lt Return events before a date and time in ISO 8601 format.
93
+ # @option opts [String] :filter_created_at_gte Return events on and after a date and time in ISO 8601 format.
94
+ # @option opts [String] :filter_created_at_gt Return events after a date and time in ISO 8601 format.
91
95
  # @option opts [Integer] :page_number Current page.
92
96
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
93
97
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -105,6 +109,10 @@ module Fastly
105
109
  # @option opts [String] :filter_user_id Limit the results returned to a specific user.
106
110
  # @option opts [String] :filter_token_id Limit the returned events to a specific token.
107
111
  # @option opts [String] :filter_created_at Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
112
+ # @option opts [String] :filter_created_at_lte Return events on and before a date and time in ISO 8601 format.
113
+ # @option opts [String] :filter_created_at_lt Return events before a date and time in ISO 8601 format.
114
+ # @option opts [String] :filter_created_at_gte Return events on and after a date and time in ISO 8601 format.
115
+ # @option opts [String] :filter_created_at_gt Return events after a date and time in ISO 8601 format.
108
116
  # @option opts [Integer] :page_number Current page.
109
117
  # @option opts [Integer] :page_size Number of records per page. (default to 20)
110
118
  # @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
@@ -137,6 +145,10 @@ module Fastly
137
145
  query_params[:'filter[user_id]'] = opts[:'filter_user_id'] if !opts[:'filter_user_id'].nil?
138
146
  query_params[:'filter[token_id]'] = opts[:'filter_token_id'] if !opts[:'filter_token_id'].nil?
139
147
  query_params[:'filter[created_at]'] = opts[:'filter_created_at'] if !opts[:'filter_created_at'].nil?
148
+ query_params[:'filter[created_at][lte]'] = opts[:'filter_created_at_lte'] if !opts[:'filter_created_at_lte'].nil?
149
+ query_params[:'filter[created_at][lt]'] = opts[:'filter_created_at_lt'] if !opts[:'filter_created_at_lt'].nil?
150
+ query_params[:'filter[created_at][gte]'] = opts[:'filter_created_at_gte'] if !opts[:'filter_created_at_gte'].nil?
151
+ query_params[:'filter[created_at][gt]'] = opts[:'filter_created_at_gt'] if !opts[:'filter_created_at_gt'].nil?
140
152
  query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
141
153
  query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
142
154
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
@@ -9,5 +9,5 @@ Contact: oss@fastly.com
9
9
  =end
10
10
 
11
11
  module Fastly
12
- VERSION = '7.1.0'
12
+ VERSION = '7.1.1'
13
13
  end
data/sig.json CHANGED
@@ -1 +1 @@
1
- {"G": "a5d4c17e", "D": "6ddfaf95"}
1
+ {"G": "95706192", "D": "691cfbf5"}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly