boxr 1.5.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/README.md +2 -2
- data/lib/boxr/collaborations.rb +2 -2
- data/lib/boxr/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 804fcf24570dddff649843b11c9e42d212c6473f5362054dc680cf7bb7fa69eb
|
4
|
+
data.tar.gz: '048b0abbaf9dbb41b5a77a841aacf60fe1d4f50a2688adae1fe15d31a8efd501'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e499df5a49123809dce5515073ac842ec9bfe8e177e4c8b84707c73510da1b3e5c316041bfb95301b5f348f5e8a3ff2ac9597417cc536258eb5ff03326b9e5da
|
7
|
+
data.tar.gz: 61f0fb85cab6cd81029d8e8eabea8b727fafd9eca73126fde3bddf139953806040a2f3c6797d652a70cc69bc9f59166d93ef922a9bc5ee3fc645fd3248204c99
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Describe the bug**
|
11
|
+
A clear and concise description of what the bug is.
|
12
|
+
|
13
|
+
**To Reproduce**
|
14
|
+
Steps to reproduce the behavior:
|
15
|
+
1. Go to '...'
|
16
|
+
2. Click on '....'
|
17
|
+
3. Scroll down to '....'
|
18
|
+
4. See error
|
19
|
+
|
20
|
+
**Expected behavior**
|
21
|
+
A clear and concise description of what you expected to happen.
|
22
|
+
|
23
|
+
**Screenshots**
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
25
|
+
|
26
|
+
**Desktop (please complete the following information):**
|
27
|
+
- OS: [e.g. iOS]
|
28
|
+
- Browser [e.g. chrome, safari]
|
29
|
+
- Version [e.g. 22]
|
30
|
+
|
31
|
+
**Smartphone (please complete the following information):**
|
32
|
+
- Device: [e.g. iPhone6]
|
33
|
+
- OS: [e.g. iOS8.1]
|
34
|
+
- Browser [e.g. stock browser, safari]
|
35
|
+
- Version [e.g. 22]
|
36
|
+
|
37
|
+
**Additional context**
|
38
|
+
Add any other context about the problem here.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea for this project
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12
|
+
|
13
|
+
**Describe the solution you'd like**
|
14
|
+
A clear and concise description of what you want to happen.
|
15
|
+
|
16
|
+
**Describe alternatives you've considered**
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
18
|
+
|
19
|
+
**Additional context**
|
20
|
+
Add any other context or screenshots about the feature request here.
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ The full RubyDocs for Boxr can be found [here](http://www.rubydoc.info/gems/boxr
|
|
10
10
|
Boxr follows Semantic Versioning since version 1.5.0
|
11
11
|
|
12
12
|
## Requirements
|
13
|
-
This gem requires Ruby 2.0.0 or higher.
|
13
|
+
This gem requires Ruby 2.0.0 or higher.
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
Add this line to your application's Gemfile:
|
@@ -80,7 +80,7 @@ client = Boxr::Client.new('zX3UjFwNerOy5PSWc2WI8aJgMHtAjs8T',
|
|
80
80
|
# BOX_CLIENT_ID and BOX_CLIENT_SECRET, respectively. You can omit the two optional parameters above
|
81
81
|
# if those are present.
|
82
82
|
|
83
|
-
# You can provide another parameter called as_user. Read about what that means here: https://
|
83
|
+
# You can provide another parameter called as_user. Read about what that means here: https://developer.box.com/reference#as-user-1
|
84
84
|
|
85
85
|
# You can provide yet another parameter called identifier. This can be used, for example, to
|
86
86
|
# hold the id of the user associated with this Boxr client. When the callback is invoked this value
|
data/lib/boxr/collaborations.rb
CHANGED
@@ -13,7 +13,7 @@ module Boxr
|
|
13
13
|
def add_collaboration(folder, accessible_by, role, fields: [], notify: nil)
|
14
14
|
folder_id = ensure_id(folder)
|
15
15
|
query = build_fields_query(fields, COLLABORATION_FIELDS_QUERY)
|
16
|
-
query[:notify] =
|
16
|
+
query[:notify] = notify unless notify.nil?
|
17
17
|
|
18
18
|
attributes = {item: {id: folder_id, type: :folder}}
|
19
19
|
attributes[:accessible_by] = accessible_by
|
@@ -79,4 +79,4 @@ module Boxr
|
|
79
79
|
role
|
80
80
|
end
|
81
81
|
end
|
82
|
-
end
|
82
|
+
end
|
data/lib/boxr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Burnette
|
@@ -173,6 +173,8 @@ extensions: []
|
|
173
173
|
extra_rdoc_files: []
|
174
174
|
files:
|
175
175
|
- ".env.example"
|
176
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
177
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
176
178
|
- ".gitignore"
|
177
179
|
- Gemfile
|
178
180
|
- LICENSE.txt
|