smartsheet 2.77.0 → 2.77.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +12 -12
- data/.rubocop.yml +4 -4
- data/.travis.yml +26 -15
- data/.yardopts +3 -3
- data/ADVANCED.md +78 -78
- data/CHANGELOG.md +115 -112
- data/Gemfile +6 -6
- data/LICENSE +202 -202
- data/README.md +246 -246
- data/Rakefile +29 -29
- data/bin/console +14 -14
- data/bin/setup +8 -8
- data/lib/smartsheet.rb +2 -2
- data/lib/smartsheet/api/body_builder.rb +25 -25
- data/lib/smartsheet/api/endpoint_spec.rb +54 -54
- data/lib/smartsheet/api/faraday_adapter/faraday_net_client.rb +45 -45
- data/lib/smartsheet/api/faraday_adapter/faraday_response.rb +70 -70
- data/lib/smartsheet/api/faraday_adapter/middleware/faraday_error_translator.rb +20 -20
- data/lib/smartsheet/api/faraday_adapter/middleware/response_parser.rb +25 -25
- data/lib/smartsheet/api/file_spec.rb +55 -55
- data/lib/smartsheet/api/header_builder.rb +96 -96
- data/lib/smartsheet/api/request.rb +42 -42
- data/lib/smartsheet/api/request_client.rb +43 -43
- data/lib/smartsheet/api/request_logger.rb +182 -182
- data/lib/smartsheet/api/request_spec.rb +57 -57
- data/lib/smartsheet/api/response_net_client_decorator.rb +54 -54
- data/lib/smartsheet/api/retry_logic.rb +40 -40
- data/lib/smartsheet/api/retry_net_client_decorator.rb +37 -37
- data/lib/smartsheet/api/url_builder.rb +25 -25
- data/lib/smartsheet/client.rb +193 -193
- data/lib/smartsheet/constants.rb +18 -18
- data/lib/smartsheet/endpoints/contacts/contacts.rb +30 -30
- data/lib/smartsheet/endpoints/events/events.rb +20 -20
- data/lib/smartsheet/endpoints/favorites/favorites.rb +159 -159
- data/lib/smartsheet/endpoints/folders/folders.rb +125 -125
- data/lib/smartsheet/endpoints/groups/groups.rb +83 -83
- data/lib/smartsheet/endpoints/home/home.rb +20 -20
- data/lib/smartsheet/endpoints/reports/reports.rb +100 -100
- data/lib/smartsheet/endpoints/reports/reports_share.rb +69 -69
- data/lib/smartsheet/endpoints/search/search.rb +30 -30
- data/lib/smartsheet/endpoints/server_info/server_info.rb +21 -21
- data/lib/smartsheet/endpoints/share/share.rb +58 -58
- data/lib/smartsheet/endpoints/sheets/automation_rules.rb +55 -55
- data/lib/smartsheet/endpoints/sheets/cells.rb +82 -82
- data/lib/smartsheet/endpoints/sheets/columns.rb +66 -66
- data/lib/smartsheet/endpoints/sheets/comments.rb +64 -64
- data/lib/smartsheet/endpoints/sheets/comments_attachments.rb +78 -78
- data/lib/smartsheet/endpoints/sheets/cross_sheet_references.rb +45 -45
- data/lib/smartsheet/endpoints/sheets/discussions.rb +84 -84
- data/lib/smartsheet/endpoints/sheets/discussions_attachments.rb +22 -22
- data/lib/smartsheet/endpoints/sheets/rows.rb +106 -106
- data/lib/smartsheet/endpoints/sheets/rows_attachments.rb +92 -92
- data/lib/smartsheet/endpoints/sheets/sheets.rb +510 -510
- data/lib/smartsheet/endpoints/sheets/sheets_attachments.rb +174 -174
- data/lib/smartsheet/endpoints/sheets/sheets_share.rb +69 -69
- data/lib/smartsheet/endpoints/sights/sights.rb +101 -101
- data/lib/smartsheet/endpoints/sights/sights_share.rb +69 -69
- data/lib/smartsheet/endpoints/templates/templates.rb +29 -29
- data/lib/smartsheet/endpoints/token/token.rb +65 -65
- data/lib/smartsheet/endpoints/update_requests/sent_update_requests.rb +44 -44
- data/lib/smartsheet/endpoints/update_requests/update_requests.rb +74 -74
- data/lib/smartsheet/endpoints/users/alternate_emails.rb +79 -79
- data/lib/smartsheet/endpoints/users/users.rb +77 -77
- data/lib/smartsheet/endpoints/webhooks/webhooks.rb +71 -71
- data/lib/smartsheet/endpoints/workspaces/workspaces.rb +87 -87
- data/lib/smartsheet/endpoints/workspaces/workspaces_share.rb +70 -70
- data/lib/smartsheet/error.rb +69 -69
- data/lib/smartsheet/general_request.rb +74 -74
- data/lib/smartsheet/version.rb +5 -5
- data/smartsheet.gemspec +54 -54
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 224149f1d49bddeb6b9118c1ed86baf10c8871c344f2a544fd59eaffb7cf5800
|
4
|
+
data.tar.gz: c2e832ea3f9f941aa4edcdaa47463e5221b0c16c3c097775a335d8faf295b95f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d57f77a425a2a1c27a0646af69be932036c235c16b680ec8974f611398b814997ef243724995a90ac8f977cb6a02c63a858b196d8bb1d1f6ecd5677ed32a6897
|
7
|
+
data.tar.gz: ddfbb2ce0296dc65bb42ddeb99763a5ad68c4daead32e97503d84433898f5b27696f65c8bc03a9c1f29e1cf48750bd23c610e06aa6463c5194b34c17d6ef6baa
|
data/.gitignore
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
/.bundle/
|
2
|
-
/.yardoc
|
3
|
-
/Gemfile.lock
|
4
|
-
/_yardoc/
|
5
|
-
/coverage/
|
6
|
-
/doc/
|
7
|
-
/pkg/
|
8
|
-
/spec/reports/
|
9
|
-
/tmp/
|
10
|
-
/.idea/
|
11
|
-
*.gem
|
12
|
-
test.rb
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/pkg/
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
10
|
+
/.idea/
|
11
|
+
*.gem
|
12
|
+
test.rb
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
Layout/EndOfLine:
|
2
|
-
Enabled: false
|
3
|
-
|
4
|
-
Metrics/LineLength:
|
1
|
+
Layout/EndOfLine:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
Metrics/LineLength:
|
5
5
|
Max: 100
|
data/.travis.yml
CHANGED
@@ -1,15 +1,26 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.2
|
5
|
-
- 2.4
|
6
|
-
before_install:
|
7
|
-
- git clone https://github.com/smartsheet-platform/smartsheet-sdk-tests.git
|
8
|
-
- smartsheet-sdk-tests/travis_scripts/install_wiremock.sh
|
9
|
-
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
10
|
-
- gem install bundler -v 1.15.4
|
11
|
-
|
12
|
-
|
13
|
-
script:
|
14
|
-
|
15
|
-
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
rvm:
|
4
|
+
- 2.2
|
5
|
+
- 2.4
|
6
|
+
before_install:
|
7
|
+
- git clone https://github.com/smartsheet-platform/smartsheet-sdk-tests.git
|
8
|
+
- smartsheet-sdk-tests/travis_scripts/install_wiremock.sh
|
9
|
+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
10
|
+
- gem install bundler -v 1.15.4
|
11
|
+
|
12
|
+
|
13
|
+
script:
|
14
|
+
- smartsheet-sdk-tests/travis_scripts/start_wiremock.sh
|
15
|
+
- rake test
|
16
|
+
before_deploy: "echo 'Deploying release to Rubygems'"
|
17
|
+
deploy:
|
18
|
+
provider: rubygems
|
19
|
+
api_key:
|
20
|
+
secure: TMJZSpK3uHov1p0mvnOVjt75OZ3PrcwvufEESWd68K2A8DLwICbAMgC+uyf7VZV4Wg1nI5JOCrcBoty4xslHcCwAdG/HqVxV+JNsBhoFmaECv/YxaB+0QRQOhaMxIfIcindtXdguzDq162D8i1Xh4rdTTBuNwXnTYckqrpqNJ9erZ4pKFZbOr3nEhqnS+FyK7yZ2ihzsrWM7Ad/UL6x4rurvwb4+PgwoVF3Z6X3XJDYekTTs3klmGkDkMX+rhHZ54kW7l0dE2mHV2Mc60lwvDX1E1lHhCWuF3sxxr+TGWHCuT/5uskX3YYdwvGsRN17edqBrDYxE3J6lwPm7YEY75D4lHEXqipB+48HnoOemZUrQwieArDHtnba4x0Z61ftIropHYK154IX0Ieo7oQcNZdg6Zsj9mR42+WcY7Ih64i8/DfUsh2umOQ4iGlXxm8+JtybYzrG83guWQTXu97nMHIZqfmW4dgehr58hah108wruI8NEiqtUzk5ZAzH2Z4LBVXpVBRktragP+NMyRPCgSXGg4qHOkb/wsBLvaFee25Ps1+pZInvegU7TlsKZpxyt5TvS7X5yShHiZznLllDwqZ8wm36vTQbCunFkCfZxVK6/pCkPpJcISeVie4TJKVOtT93PDYI5HzSZuRQXlnfcPL4vJgo0Diw1P9NTVArtr1g=
|
21
|
+
gem: smartsheet
|
22
|
+
gemspec: smartsheet.gemspec
|
23
|
+
on:
|
24
|
+
repo: smartsheet-platform/smartsheet-ruby-sdk
|
25
|
+
branch: master
|
26
|
+
after_deploy: "echo 'Finished deployment process'"
|
data/.yardopts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
--markup-provider=redcarpet
|
2
|
-
--markup=markdown
|
3
|
-
-
|
1
|
+
--markup-provider=redcarpet
|
2
|
+
--markup=markdown
|
3
|
+
-
|
4
4
|
README.md
|
data/ADVANCED.md
CHANGED
@@ -1,79 +1,79 @@
|
|
1
|
-
# Advanced Topics for the Smartsheet SDK for Ruby
|
2
|
-
|
3
|
-
## Event Reporting
|
4
|
-
The following sample demonstrates best practices for consuming the event stream returned from the Smartsheet Event Reporting feature.
|
5
|
-
|
6
|
-
The sample uses the `smartsheet_client.events.get` method to request lists of events from the stream. The first request sets the `since` parameter with the point in time (i.e. event occurrence datetime) in the stream from which to start consuming events. The `since` parameter can be set with a datetime value that is either formatted as ISO 8601 (e.g. 2010-01-01T00:00:00Z) or as UNIX epoch (in which case the `numeric_dates` parameter must also be set to `True`. By default the `numeric_dates` parameter is set to `False`).
|
7
|
-
|
8
|
-
To consume the next list of events after the initial list of events is returned, set the `stream_position` parameter with the `next_stream_position` attribute obtained from the previous request and don't set the `since` parameter with any values. This is because when using the `get` method, either the `since` parameter or the `stream_position` parameter should be set, but never both.
|
9
|
-
|
10
|
-
Note that the `more_available` attribute in a response indicates whether more events are immediately available for consumption. If events aren't immediately available, they may still be generating so subsequent requests should keep using the same `stream_position` value until the next list of events is retrieved.
|
11
|
-
|
12
|
-
Many events have additional information available as a part of the event. That information can be accessed from the data stored in the `additional_details` attribute. Information about the additional details provided can be found [here](https://smartsheet-platform.github.io/api-docs/?ruby#event-reporting).
|
13
|
-
|
14
|
-
|
15
|
-
```Ruby
|
16
|
-
require 'smartsheet'
|
17
|
-
require 'time'
|
18
|
-
require 'date'
|
19
|
-
require 'pp'
|
20
|
-
|
21
|
-
# Initialize the client - use your access token here
|
22
|
-
$smartsheet_client = Smartsheet::Client.new(token: '1234')
|
23
|
-
# The `client` variable now contains access to all of the APIs
|
24
|
-
|
25
|
-
today = (DateTime.now)
|
26
|
-
date_week_ago = (today - 7).to_time.utc.iso8601
|
27
|
-
|
28
|
-
|
29
|
-
def get_events(params)
|
30
|
-
result = $smartsheet_client.events.get(params: params)
|
31
|
-
# pp result
|
32
|
-
print_new_sheet_events(result[:data])
|
33
|
-
|
34
|
-
more_events_available = result[:more_available]
|
35
|
-
next_stream_position = result[:next_stream_position]
|
36
|
-
get_next_stream_of_events(more_events_available, next_stream_position)
|
37
|
-
end
|
38
|
-
|
39
|
-
# Subsequent calls require the streamPosition property
|
40
|
-
def get_next_stream_of_events(more_events_available, next_stream_position)
|
41
|
-
params = {
|
42
|
-
stream_position: next_stream_position,
|
43
|
-
max_count: 1
|
44
|
-
}
|
45
|
-
|
46
|
-
if more_events_available
|
47
|
-
get_events(params);
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
# This example is looking specifically for new sheet events
|
52
|
-
def print_new_sheet_events(data)
|
53
|
-
data.each do |value|
|
54
|
-
# Find all created sheets
|
55
|
-
if value[:object_type] == "SHEET" && value[:action] == "CREATE"
|
56
|
-
pp value
|
57
|
-
end
|
58
|
-
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
|
63
|
-
begin
|
64
|
-
params = {
|
65
|
-
since: date_week_ago,
|
66
|
-
max_count: 1
|
67
|
-
}
|
68
|
-
|
69
|
-
# The first call to the events reporting API
|
70
|
-
# requires the since query parameter.
|
71
|
-
# If you pass in an UNIX epoch date, numericDates must be true
|
72
|
-
get_events(params)
|
73
|
-
|
74
|
-
rescue Smartsheet::ApiError => e
|
75
|
-
puts "Error Code: #{e.error_code}"
|
76
|
-
puts "Message: #{e.message}"
|
77
|
-
puts "Ref Id: #{e.ref_id}"
|
78
|
-
end
|
1
|
+
# Advanced Topics for the Smartsheet SDK for Ruby
|
2
|
+
|
3
|
+
## Event Reporting
|
4
|
+
The following sample demonstrates best practices for consuming the event stream returned from the Smartsheet Event Reporting feature.
|
5
|
+
|
6
|
+
The sample uses the `smartsheet_client.events.get` method to request lists of events from the stream. The first request sets the `since` parameter with the point in time (i.e. event occurrence datetime) in the stream from which to start consuming events. The `since` parameter can be set with a datetime value that is either formatted as ISO 8601 (e.g. 2010-01-01T00:00:00Z) or as UNIX epoch (in which case the `numeric_dates` parameter must also be set to `True`. By default the `numeric_dates` parameter is set to `False`).
|
7
|
+
|
8
|
+
To consume the next list of events after the initial list of events is returned, set the `stream_position` parameter with the `next_stream_position` attribute obtained from the previous request and don't set the `since` parameter with any values. This is because when using the `get` method, either the `since` parameter or the `stream_position` parameter should be set, but never both.
|
9
|
+
|
10
|
+
Note that the `more_available` attribute in a response indicates whether more events are immediately available for consumption. If events aren't immediately available, they may still be generating so subsequent requests should keep using the same `stream_position` value until the next list of events is retrieved.
|
11
|
+
|
12
|
+
Many events have additional information available as a part of the event. That information can be accessed from the data stored in the `additional_details` attribute. Information about the additional details provided can be found [here](https://smartsheet-platform.github.io/api-docs/?ruby#event-reporting).
|
13
|
+
|
14
|
+
|
15
|
+
```Ruby
|
16
|
+
require 'smartsheet'
|
17
|
+
require 'time'
|
18
|
+
require 'date'
|
19
|
+
require 'pp'
|
20
|
+
|
21
|
+
# Initialize the client - use your access token here
|
22
|
+
$smartsheet_client = Smartsheet::Client.new(token: '1234')
|
23
|
+
# The `client` variable now contains access to all of the APIs
|
24
|
+
|
25
|
+
today = (DateTime.now)
|
26
|
+
date_week_ago = (today - 7).to_time.utc.iso8601
|
27
|
+
|
28
|
+
|
29
|
+
def get_events(params)
|
30
|
+
result = $smartsheet_client.events.get(params: params)
|
31
|
+
# pp result
|
32
|
+
print_new_sheet_events(result[:data])
|
33
|
+
|
34
|
+
more_events_available = result[:more_available]
|
35
|
+
next_stream_position = result[:next_stream_position]
|
36
|
+
get_next_stream_of_events(more_events_available, next_stream_position)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Subsequent calls require the streamPosition property
|
40
|
+
def get_next_stream_of_events(more_events_available, next_stream_position)
|
41
|
+
params = {
|
42
|
+
stream_position: next_stream_position,
|
43
|
+
max_count: 1
|
44
|
+
}
|
45
|
+
|
46
|
+
if more_events_available
|
47
|
+
get_events(params);
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
# This example is looking specifically for new sheet events
|
52
|
+
def print_new_sheet_events(data)
|
53
|
+
data.each do |value|
|
54
|
+
# Find all created sheets
|
55
|
+
if value[:object_type] == "SHEET" && value[:action] == "CREATE"
|
56
|
+
pp value
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
|
63
|
+
begin
|
64
|
+
params = {
|
65
|
+
since: date_week_ago,
|
66
|
+
max_count: 1
|
67
|
+
}
|
68
|
+
|
69
|
+
# The first call to the events reporting API
|
70
|
+
# requires the since query parameter.
|
71
|
+
# If you pass in an UNIX epoch date, numericDates must be true
|
72
|
+
get_events(params)
|
73
|
+
|
74
|
+
rescue Smartsheet::ApiError => e
|
75
|
+
puts "Error Code: #{e.error_code}"
|
76
|
+
puts "Message: #{e.message}"
|
77
|
+
puts "Ref Id: #{e.ref_id}"
|
78
|
+
end
|
79
79
|
```
|
data/CHANGELOG.md
CHANGED
@@ -1,113 +1,116 @@
|
|
1
|
-
# Changelog
|
2
|
-
All notable changes to this project will be documented in this file.
|
3
|
-
|
4
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
|
-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
|
-
|
7
|
-
## [Unreleased]
|
8
|
-
|
9
|
-
## [2.77.
|
10
|
-
-
|
11
|
-
|
12
|
-
## [
|
13
|
-
- Added
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
29
|
-
-
|
30
|
-
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
###
|
55
|
-
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
-
|
61
|
-
|
62
|
-
###
|
63
|
-
-
|
64
|
-
|
65
|
-
###
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
- Endpoints for
|
84
|
-
- Endpoints for
|
85
|
-
- Endpoints for
|
86
|
-
- Endpoints for
|
87
|
-
- Endpoints for
|
88
|
-
- Endpoints for
|
89
|
-
- Endpoints for
|
90
|
-
- Endpoints for
|
91
|
-
- Endpoints for
|
92
|
-
- Endpoints for
|
93
|
-
- Endpoints for
|
94
|
-
- Endpoints for
|
95
|
-
- Endpoints for
|
96
|
-
- Endpoints for
|
97
|
-
- Endpoints for
|
98
|
-
- Endpoints for
|
99
|
-
- Endpoints for
|
100
|
-
- Endpoints for
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
- Support for
|
105
|
-
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
[
|
111
|
-
[1.
|
112
|
-
[1.
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [2.77.2] - 2019-06-06
|
10
|
+
- Automated publication process to RubyGems using Travis CI
|
11
|
+
|
12
|
+
## [2.77.0] - 2019-05-08
|
13
|
+
- Added events endpoint to retrieve events that are occurring in your Smartsheet plan.
|
14
|
+
|
15
|
+
## [1.3.0] - 2019-02-11
|
16
|
+
- Added constant for smartsheetgov
|
17
|
+
- Updated documentation regarding the usage of base_url to clarify how clients can access smartsheetgov
|
18
|
+
|
19
|
+
## [1.2.0] - 2018-06-29
|
20
|
+
### Added
|
21
|
+
- Added support for 'import sheet from XLSX, CSV file' endpoints
|
22
|
+
|
23
|
+
## [1.1.0] - 2018-03-16
|
24
|
+
### Added
|
25
|
+
- Integration test suite (see https://github.com/smartsheet-platform/smartsheet-sdk-tests)
|
26
|
+
- Endpoints for automation rules
|
27
|
+
- Endpoint for 'sort rows in sheet'
|
28
|
+
- Endpoints for cross-sheet references
|
29
|
+
- Support for looser JSON content types in responses
|
30
|
+
- Support for custom app name in the user agent header
|
31
|
+
- URL constructor for requesting app authorization from a user
|
32
|
+
- This changelog
|
33
|
+
|
34
|
+
### Changed
|
35
|
+
- Empty filenames in file-accepting endpoints are now equivalent to nil filenames
|
36
|
+
- Specifying `Assume-User` header override in a request will now override the `assume_user` value configured in a client
|
37
|
+
- Client now requests and handles gzipped responses
|
38
|
+
|
39
|
+
### Removed
|
40
|
+
- Unsupported `filename` and `content_type` attributes in `RequestSpec` (internal)
|
41
|
+
|
42
|
+
|
43
|
+
## [1.0.0] - 2017-11-08
|
44
|
+
### Added
|
45
|
+
- Error type `Smartsheet::HttpResponseError` for HTTP failures that do not correspond to Smartsheet errors
|
46
|
+
- Basic YARD documentation
|
47
|
+
- Re-add support for Ruby versions ~> 2.2 (from > 2.2)
|
48
|
+
|
49
|
+
### Fixed
|
50
|
+
- Removing one or many favorite sights now uses the correct URL
|
51
|
+
|
52
|
+
|
53
|
+
## [1.0.0.beta.2] - 2017-10-12
|
54
|
+
### Added
|
55
|
+
- Inspect formatting for the Smartsheet client (for interactive use)
|
56
|
+
|
57
|
+
### Changed
|
58
|
+
- Log retry failures only when retries were actually attempted, and not on non-retryable failures
|
59
|
+
- Accept an empty string for a client token as being equivalent to a nil token
|
60
|
+
- Adjust formatting of logs
|
61
|
+
|
62
|
+
### Deprecated
|
63
|
+
- Required Ruby versions restricted to > 2.2 (from ~> 2.2)
|
64
|
+
|
65
|
+
### Removed
|
66
|
+
- Read-write-sheet example (now available at https://github.com/smartsheet-samples/ruby-read-write-sheet)
|
67
|
+
|
68
|
+
### Fixed
|
69
|
+
- Pass the 'log full body' client configuration flag correctly
|
70
|
+
- Log responses
|
71
|
+
|
72
|
+
### Security
|
73
|
+
- **Properly censors client tokens** by fixing the header censor to no longer be case-sensitive
|
74
|
+
|
75
|
+
|
76
|
+
## [1.0.0.beta.1] - 2017-10-10
|
77
|
+
### Changed
|
78
|
+
- Set required Ruby version to ~> 2.2
|
79
|
+
|
80
|
+
|
81
|
+
## [1.0.0.beta.0] - 2017-10-10
|
82
|
+
### Added
|
83
|
+
- Endpoints for sheets
|
84
|
+
- Endpoints for rows
|
85
|
+
- Endpoints for columns
|
86
|
+
- Endpoints for comments
|
87
|
+
- Endpoints for attachments
|
88
|
+
- Endpoints for update requests
|
89
|
+
- Endpoints for folders
|
90
|
+
- Endpoints for home
|
91
|
+
- Endpoints for workspaces
|
92
|
+
- Endpoints for favorites
|
93
|
+
- Endpoints for users
|
94
|
+
- Endpoints for contacts
|
95
|
+
- Endpoints for groups
|
96
|
+
- Endpoints for reports
|
97
|
+
- Endpoints for sights
|
98
|
+
- Endpoints for templates
|
99
|
+
- Endpoints for search
|
100
|
+
- Endpoints for sharing
|
101
|
+
- Endpoints for webhooks
|
102
|
+
- Endpoints for server info
|
103
|
+
- Endpoints for API token management
|
104
|
+
- Support for making arbitrary requests
|
105
|
+
- Support for assuming the role of a user as an administrator
|
106
|
+
- Support for automatic request retry
|
107
|
+
- Support for logging
|
108
|
+
- Test suite with unit tests and two-column-accounting endpoint tests
|
109
|
+
|
110
|
+
[Unreleased]: https://github.com/smartsheet-platform/smartsheet-ruby-sdk/compare/v1.2.0...HEAD
|
111
|
+
[1.2.0]: https://github.com/smartsheet-platform/smartsheet-ruby-sdk/compare/v1.1.0...v1.2.0
|
112
|
+
[1.1.0]: https://github.com/smartsheet-platform/smartsheet-ruby-sdk/compare/v1.0.0...v1.1.0
|
113
|
+
[1.0.0]: https://github.com/smartsheet-platform/smartsheet-ruby-sdk/compare/v1.0.0.beta.2...v1.0.0
|
114
|
+
[1.0.0.beta.2]: https://github.com/smartsheet-platform/smartsheet-ruby-sdk/compare/v1.0.0.beta.1...v1.0.0.beta.2
|
115
|
+
[1.0.0.beta.1]: https://github.com/smartsheet-platform/smartsheet-ruby-sdk/compare/v1.0.0.beta.0...v1.0.0.beta.1
|
113
116
|
[1.0.0.beta.0]: https://github.com/smartsheet-platform/smartsheet-ruby-sdk/compare/init...v1.0.0.beta.0
|