procore 1.1.0 → 1.1.1
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/.rubocop.yml +1 -1
- data/CHANGELOG.md +8 -0
- data/README.md +4 -4
- data/lib/procore/defaults.rb +1 -1
- data/lib/procore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d521ee6322fa923e85f77d6c836d7e5f9cb208df
|
|
4
|
+
data.tar.gz: 48eee44692be1ce01bd486ec57dc05699b1c9198
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a94c2bd6877729616f381027130ee9216093a9fc5ffb9bc2af473dffa45ac1050d39a280fd92ad6e6978ff6b8d2551afe464002743a46d0b6b34be9a5161a86d
|
|
7
|
+
data.tar.gz: aaa762a18d06ea9e432111fadd89ae6eb389ff645ef2f9b488278f1710c3d368595054565e5d7b97ece4f9e73f6c6c3ff80d00c628658613c47f712b82261d42
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -65,9 +65,9 @@ default version is `v1.0` unless otherwise configured.
|
|
|
65
65
|
|
|
66
66
|
| Example | Requested URL |
|
|
67
67
|
| --- | --- |
|
|
68
|
-
| `client.get("me")` | `https://
|
|
69
|
-
| `client.get("me", version: "v1.1")` | `https://
|
|
70
|
-
| `client.get("me", version: "vapid")` | `https://
|
|
68
|
+
| `client.get("me")` | `https://api.procore.com/rest/v1.0/me` |
|
|
69
|
+
| `client.get("me", version: "v1.1")` | `https://api.procore.com/rest/v1.1/me` |
|
|
70
|
+
| `client.get("me", version: "vapid")` | `https://api.procore.com/vapid/me` |
|
|
71
71
|
|
|
72
72
|
Example Usage:
|
|
73
73
|
|
|
@@ -355,7 +355,7 @@ Procore.configure do |config|
|
|
|
355
355
|
# Base API host name. Alter this depending on your environment - in a
|
|
356
356
|
# staging or test environment you may want to point this at a sandbox
|
|
357
357
|
# instead of production.
|
|
358
|
-
config.host = ENV.fetch("PROCORE_BASE_API_PATH", "https://
|
|
358
|
+
config.host = ENV.fetch("PROCORE_BASE_API_PATH", "https://api.procore.com")
|
|
359
359
|
|
|
360
360
|
# When using #sync action, sets the default batch size to use for chunking
|
|
361
361
|
# up a request body. Example: if the size is set to 500, and 2,000 updates
|
data/lib/procore/defaults.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Procore
|
|
|
4
4
|
# Specifies some sensible defaults for certain configurations + clients
|
|
5
5
|
class Defaults
|
|
6
6
|
# Default API endpoint
|
|
7
|
-
API_ENDPOINT = "https://
|
|
7
|
+
API_ENDPOINT = "https://api.procore.com".freeze
|
|
8
8
|
|
|
9
9
|
# Default User Agent header string
|
|
10
10
|
USER_AGENT = "Procore Ruby Gem #{Procore::VERSION}".freeze
|
data/lib/procore/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: procore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Procore Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|