proof-sharepoint-ruby 1.0.0 → 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/pull_request_template.md +44 -0
- data/CHANGELOG.md +6 -0
- data/README.md +21 -0
- data/lib/sharepoint-properties.rb +1 -1
- data/lib/sharepoint-version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b37b51db53e39a4afeeb13ed5924e370f42f2e820fd3c12261ab89336fd37270
|
|
4
|
+
data.tar.gz: 2afa31bb7abab11d20599d601a32140105683d818863ec58481a62f54f88b12a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 301e8ff97f4aa043b9a9a9d1c4724b0a53605ef1e0e3cd3a4247e88d50d6ea2c103299dae7c2686bfea44065af69ecc40464adf3493b2058625424d8a9123e32
|
|
7
|
+
data.tar.gz: a6c3491873211230b6b40645bbef7ba60900ab7154dcead7dcb84fc22974111b179c3ffff516bcd3ab0fcb9dcacef8013a47742ff1ec8702d2c90c0507d0698c
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[EV-XXXXX](https://proof-tech.atlassian.net/browse/EV-XXXXX)
|
|
2
|
+
|
|
3
|
+
### Overview
|
|
4
|
+
|
|
5
|
+
Please include a summary of the changes in this pull request.
|
|
6
|
+
List any dependencies that are required before this change is applied.
|
|
7
|
+
|
|
8
|
+
### Solution
|
|
9
|
+
|
|
10
|
+
How did you solve the problem?
|
|
11
|
+
Call out any particular implementation choices or design decisions you made
|
|
12
|
+
|
|
13
|
+
### Screenshots
|
|
14
|
+
|
|
15
|
+
[insert screenshots here]
|
|
16
|
+
|
|
17
|
+
### Testing Instructions
|
|
18
|
+
|
|
19
|
+
Describe, for your colleagues, how they can test your code locally on their system
|
|
20
|
+
|
|
21
|
+
### Pre-Merge Checklist
|
|
22
|
+
|
|
23
|
+
- [ ] My changes generate no new warnings / errors in the console
|
|
24
|
+
- [ ] I have written/updated Ruby/JS tests for the areas of the code base that I have modified
|
|
25
|
+
- [ ] I have done end-to-end QA testing of sections of the application I have altered
|
|
26
|
+
- [ ] I am prepared for this code to go to production today (or there is a WIP label on the pull request)
|
|
27
|
+
- [ ] I have translated new / edited user facing text (or have a separate ticket for i18N)
|
|
28
|
+
- [ ] [_OPTIONAL_] I have considered the effects of my code on data integrity
|
|
29
|
+
- [ ] [_OPTIONAL_] I have demoed the code and gotten a review from a member of the CS team (for customer facing code)
|
|
30
|
+
|
|
31
|
+
### Special Pre- or Post-Deployment Instructions
|
|
32
|
+
|
|
33
|
+
List any changes (if any) that need to happen in production around the deploy of this code. e.g.
|
|
34
|
+
|
|
35
|
+
1. any commands to run on the host
|
|
36
|
+
2. any environment variables that need to be added (share via keeper! Not here!)
|
|
37
|
+
3. any commands to be run in rails console
|
|
38
|
+
|
|
39
|
+
If deploying a new version:
|
|
40
|
+
1. Build your new version (in bash console).
|
|
41
|
+
`gem build proof-sharepoint-ruby.gemspec`
|
|
42
|
+
2. Publish the gem (in bash)
|
|
43
|
+
`gem push proof-sharepoint-ruby-x.x.x.gem`
|
|
44
|
+
> delete the *.gem file afterwards.
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -165,3 +165,24 @@ The SPException class contains methods to inspect the query that was made to the
|
|
|
165
165
|
puts "The request had a body: #{e.request_body}" unless e.request_body.nil?
|
|
166
166
|
end
|
|
167
167
|
```
|
|
168
|
+
|
|
169
|
+
# Development
|
|
170
|
+
|
|
171
|
+
1. First make a PR to fix the bug.
|
|
172
|
+
2. Once the PR is merged make a special commit changing the version number and adding a new Changelog entry.
|
|
173
|
+
|
|
174
|
+
i. Update the [version number](https://github.com/proofgov/sharepoint-ruby/blob/master/lib/sharepoint-version.rb).
|
|
175
|
+
|
|
176
|
+
ii. Update the [changelog](https://github.com/proofgov/sharepoint-ruby/blob/master/CHANGELOG.md).
|
|
177
|
+
> see https://keepachangelog.com/en/1.0.0/ for more info on changelogs.
|
|
178
|
+
|
|
179
|
+
> Optionally add yourself to the list of authors in the [Gem Spec](https://github.com/proofgov/sharepoint-ruby/blob/master/proof-sharepoint-ruby.gemspec)
|
|
180
|
+
|
|
181
|
+
*If your repo supports it you can replace steps 3 and 4 with `bundle exec rake release`.*
|
|
182
|
+
|
|
183
|
+
3. Build your new version (in bash console).
|
|
184
|
+
`gem build sharepoint_api.gemspec`
|
|
185
|
+
|
|
186
|
+
4. Publish the gem (in bash)
|
|
187
|
+
`gem push sharepoint_api-1.0.1.gem`
|
|
188
|
+
> delete the *.gem file afterwards.
|
|
@@ -79,7 +79,7 @@ module Sharepoint
|
|
|
79
79
|
|
|
80
80
|
def get_deferred_property property_name
|
|
81
81
|
deferred_data = @data[property_name]['__deferred']
|
|
82
|
-
uri = deferred_data['uri'].gsub
|
|
82
|
+
uri = deferred_data['uri'].gsub(/^http.*\/_api\/web\//i, '').gsub(/%27/, '%27%27')
|
|
83
83
|
@site.query :get, uri
|
|
84
84
|
end
|
|
85
85
|
|
data/lib/sharepoint-version.rb
CHANGED
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: proof-sharepoint-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marlen Brunner
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2020-12-07 00:00:00.000000000 Z
|
|
@@ -36,6 +36,7 @@ executables: []
|
|
|
36
36
|
extensions: []
|
|
37
37
|
extra_rdoc_files: []
|
|
38
38
|
files:
|
|
39
|
+
- ".github/pull_request_template.md"
|
|
39
40
|
- CHANGELOG.md
|
|
40
41
|
- Gemfile
|
|
41
42
|
- Gemfile.lock
|
|
@@ -64,7 +65,7 @@ metadata:
|
|
|
64
65
|
homepage_uri: https://github.com/proofgov/sharepoint-ruby
|
|
65
66
|
source_code_uri: https://github.com/proofgov/sharepoint-ruby
|
|
66
67
|
changelog_uri: https://github.com/proofgov/sharepoint-ruby/blob/master/CHANGELOG.md
|
|
67
|
-
post_install_message:
|
|
68
|
+
post_install_message:
|
|
68
69
|
rdoc_options: []
|
|
69
70
|
require_paths:
|
|
70
71
|
- lib
|
|
@@ -79,8 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
80
|
- !ruby/object:Gem::Version
|
|
80
81
|
version: '0'
|
|
81
82
|
requirements: []
|
|
82
|
-
rubygems_version: 3.
|
|
83
|
-
signing_key:
|
|
83
|
+
rubygems_version: 3.2.4
|
|
84
|
+
signing_key:
|
|
84
85
|
specification_version: 4
|
|
85
86
|
summary: SharePoint client.
|
|
86
87
|
test_files: []
|