brick_ftp 1.0.1 → 2.0.0
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/.github/action/publish_gem/Dockerfile +14 -0
- data/.github/action/publish_gem/entrypoint.sh +18 -0
- data/.github/action/write_github_release/Dockerfile +14 -0
- data/.github/action/write_github_release/entrypoint.sh +48 -0
- data/.github/main.workflow +14 -0
- data/CHANGELOG.md +17 -2
- data/README.md +2 -2
- data/lib/brick_ftp.rb +1 -1
- data/lib/brick_ftp/restful_api.rb +11 -11
- data/lib/brick_ftp/restful_api/add_group_member.rb +1 -1
- data/lib/brick_ftp/restful_api/client.rb +2 -2
- data/lib/brick_ftp/restful_api/complete_upload.rb +1 -1
- data/lib/brick_ftp/restful_api/continue_upload.rb +1 -1
- data/lib/brick_ftp/restful_api/copy_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/count_folder_contents.rb +2 -2
- data/lib/brick_ftp/restful_api/count_users.rb +1 -1
- data/lib/brick_ftp/restful_api/create_api_key.rb +1 -1
- data/lib/brick_ftp/restful_api/create_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/create_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/create_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/create_group.rb +1 -1
- data/lib/brick_ftp/restful_api/create_notification.rb +1 -1
- data/lib/brick_ftp/restful_api/create_permission.rb +1 -1
- data/lib/brick_ftp/restful_api/create_public_key.rb +1 -1
- data/lib/brick_ftp/restful_api/create_user.rb +1 -1
- data/lib/brick_ftp/restful_api/create_user_in_group.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_api_key.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_group.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_notification.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_permission.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_public_key.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_user.rb +1 -1
- data/lib/brick_ftp/restful_api/download_file.rb +1 -1
- data/lib/brick_ftp/restful_api/get_api_key.rb +1 -1
- data/lib/brick_ftp/restful_api/get_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/get_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/get_bundle_zip.rb +1 -1
- data/lib/brick_ftp/restful_api/get_file_in_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/get_folder_size.rb +1 -1
- data/lib/brick_ftp/restful_api/get_group.rb +1 -1
- data/lib/brick_ftp/restful_api/get_public_key.rb +1 -1
- data/lib/brick_ftp/restful_api/get_user.rb +1 -1
- data/lib/brick_ftp/restful_api/list_api_keys.rb +1 -1
- data/lib/brick_ftp/restful_api/list_behaviors.rb +1 -1
- data/lib/brick_ftp/restful_api/list_bundle_contents.rb +1 -1
- data/lib/brick_ftp/restful_api/list_bundles.rb +1 -1
- data/lib/brick_ftp/restful_api/list_folder_behaviors.rb +1 -1
- data/lib/brick_ftp/restful_api/list_folders.rb +1 -1
- data/lib/brick_ftp/restful_api/list_groups.rb +1 -1
- data/lib/brick_ftp/restful_api/list_notifications.rb +1 -1
- data/lib/brick_ftp/restful_api/list_permissions.rb +1 -1
- data/lib/brick_ftp/restful_api/list_public_keys.rb +1 -1
- data/lib/brick_ftp/restful_api/list_users.rb +1 -1
- data/lib/brick_ftp/restful_api/move_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/remove_group_member.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_file_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_folder_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_login_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_site_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_user_history.rb +1 -1
- data/lib/brick_ftp/restful_api/search_user.rb +1 -1
- data/lib/brick_ftp/restful_api/start_upload.rb +1 -1
- data/lib/brick_ftp/restful_api/unlock_user.rb +1 -1
- data/lib/brick_ftp/restful_api/update_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/update_group.rb +1 -1
- data/lib/brick_ftp/restful_api/update_group_member.rb +1 -1
- data/lib/brick_ftp/restful_api/update_user.rb +1 -1
- data/lib/brick_ftp/restful_api/upload_file.rb +4 -4
- data/lib/brick_ftp/types/behavior.rb +1 -1
- data/lib/brick_ftp/types/bundle.rb +1 -1
- data/lib/brick_ftp/types/bundle_content.rb +1 -1
- data/lib/brick_ftp/types/bundle_zip.rb +1 -1
- data/lib/brick_ftp/types/file.rb +1 -1
- data/lib/brick_ftp/types/file_in_bundle.rb +1 -1
- data/lib/brick_ftp/types/folder_contents_count.rb +2 -2
- data/lib/brick_ftp/types/group.rb +1 -1
- data/lib/brick_ftp/types/group_membership.rb +1 -1
- data/lib/brick_ftp/types/history.rb +1 -1
- data/lib/brick_ftp/types/notification.rb +1 -1
- data/lib/brick_ftp/types/permission.rb +1 -1
- data/lib/brick_ftp/types/upload.rb +1 -1
- data/lib/brick_ftp/types/user.rb +1 -1
- data/lib/brick_ftp/types/user_api_key.rb +1 -1
- data/lib/brick_ftp/types/user_public_key.rb +1 -1
- data/lib/brick_ftp/version.rb +1 -1
- metadata +8 -4
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# ## The behavior object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-behavior-object The behavior object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ---------- | -------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The bundle object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-bundle-object The bundle object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ---------- | -------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# An element of bundle contents
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#list-bundle-contents List bundle contents
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# --------- | ------- | -----------
|
|
@@ -4,7 +4,7 @@ module BrickFTP
|
|
|
4
4
|
module Types
|
|
5
5
|
using BrickFTP::CoreExt::Struct
|
|
6
6
|
|
|
7
|
-
# @see https://developers.
|
|
7
|
+
# @see https://developers.files.com/#download-entire-bundle-as-zip Download entire bundle as ZIP
|
|
8
8
|
#
|
|
9
9
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
10
10
|
# ------------ | -------- | -----------
|
data/lib/brick_ftp/types/file.rb
CHANGED
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The file/folder object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-file-folder-object The file/folder object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ------------------ | -------- | -----------
|
|
@@ -4,7 +4,7 @@ module BrickFTP
|
|
|
4
4
|
module Types
|
|
5
5
|
using BrickFTP::CoreExt::Struct
|
|
6
6
|
|
|
7
|
-
# @see https://developers.
|
|
7
|
+
# @see https://developers.files.com/#download-one-file-in-a-bundle Download one file in a bundle
|
|
8
8
|
#
|
|
9
9
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
10
10
|
# ------------ | -------- | -----------
|
|
@@ -4,8 +4,8 @@ module BrickFTP
|
|
|
4
4
|
module Types
|
|
5
5
|
using BrickFTP::CoreExt::Struct
|
|
6
6
|
|
|
7
|
-
# @see https://developers.
|
|
8
|
-
# @see https://developers.
|
|
7
|
+
# @see https://developers.files.com/#count-folder-contents-recursively Count folder contents recursively
|
|
8
|
+
# @see https://developers.files.com/#count-folder-contents-non-recursively Count folder contents non-recursively
|
|
9
9
|
#
|
|
10
10
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
11
11
|
# ---------- | ------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The group object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-group-object The group object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# --------- | ------------------------ | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# membership object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#add-a-member membership object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# --------- | ------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The notification object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-notification-object The notification object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ------------- | -------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The notification object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-notification-object The notification object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ------------- | ------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The permission object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-permission-object The permission object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ---------- | ------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The upload object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-upload-object The upload object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# -------------------- | --------------- | -----------
|
data/lib/brick_ftp/types/user.rb
CHANGED
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The user object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-user-object The user object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ----------------------- | ------------------------ | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The API key object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-api-key-object The API key object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# -------------- | -------- | -----------
|
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
|
6
6
|
|
|
7
7
|
# The public key object
|
|
8
8
|
#
|
|
9
|
-
# @see https://developers.
|
|
9
|
+
# @see https://developers.files.com/#the-public-key-object The public key object
|
|
10
10
|
#
|
|
11
11
|
# ATTRIBUTE | TYPE | DESCRIPTION
|
|
12
12
|
# ----------- | -------- | -----------
|
data/lib/brick_ftp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brick_ftp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- koshigoe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -160,6 +160,11 @@ files:
|
|
|
160
160
|
- ".circleci/config.yml"
|
|
161
161
|
- ".github/ISSUE_TEMPLATE.md"
|
|
162
162
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
163
|
+
- ".github/action/publish_gem/Dockerfile"
|
|
164
|
+
- ".github/action/publish_gem/entrypoint.sh"
|
|
165
|
+
- ".github/action/write_github_release/Dockerfile"
|
|
166
|
+
- ".github/action/write_github_release/entrypoint.sh"
|
|
167
|
+
- ".github/main.workflow"
|
|
163
168
|
- ".gitignore"
|
|
164
169
|
- ".rspec"
|
|
165
170
|
- ".rubocop.yml"
|
|
@@ -288,8 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
288
293
|
- !ruby/object:Gem::Version
|
|
289
294
|
version: '0'
|
|
290
295
|
requirements: []
|
|
291
|
-
|
|
292
|
-
rubygems_version: 2.7.3
|
|
296
|
+
rubygems_version: 3.0.3
|
|
293
297
|
signing_key:
|
|
294
298
|
specification_version: 4
|
|
295
299
|
summary: BrickFTP's REST API client.
|