procore 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cd9c39ae342255313380ec2630ef51b60500eae
4
- data.tar.gz: 5985c77c80a79229743539c37dc049b9a243939a
3
+ metadata.gz: d521ee6322fa923e85f77d6c836d7e5f9cb208df
4
+ data.tar.gz: 48eee44692be1ce01bd486ec57dc05699b1c9198
5
5
  SHA512:
6
- metadata.gz: 1db78e84a20c38b6cc6707c027d8649ab0a4e9c2c820c2d3b6bacbde1fc017ad337dd094fa8ad218794cb92c6ded0bf6e902d2d20becf30dc96529ac0afb93c9
7
- data.tar.gz: 2c0a9ea9b6bb6e05ff31508dfccc06e439239214a6cd1e051c91ba1af808cf62685bab70673af4d8676eeb9121e852df5d4ab21e643ff404837717db56f1fc4b
6
+ metadata.gz: a94c2bd6877729616f381027130ee9216093a9fc5ffb9bc2af473dffa45ac1050d39a280fd92ad6e6978ff6b8d2551afe464002743a46d0b6b34be9a5161a86d
7
+ data.tar.gz: aaa762a18d06ea9e432111fadd89ae6eb389ff645ef2f9b488278f1710c3d368595054565e5d7b97ece4f9e73f6c6c3ff80d00c628658613c47f712b82261d42
data/.rubocop.yml CHANGED
@@ -3,7 +3,7 @@ require:
3
3
  - rubocop-performance
4
4
 
5
5
  AllCops:
6
- TargetRubyVersion: 2.4
6
+ TargetRubyVersion: 2.5
7
7
  Include:
8
8
  - '**/Rakefile'
9
9
  - '**/config.ru'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 1.1.1 (May 5, 2021)
2
+
3
+ * Change default host to 'api.procore.com'.
4
+
5
+ PR #42 - https://github.com/procore/ruby-sdk/pull/42
6
+
7
+ *Nate Baer*
8
+
1
9
  ## 1.1.0 (March 11, 2021)
2
10
 
3
11
  * Allow tokens to be revoked and manually refreshed.
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://app.procore.com/rest/v1.0/me` |
69
- | `client.get("me", version: "v1.1")` | `https://app.procore.com/rest/v1.1/me` |
70
- | `client.get("me", version: "vapid")` | `https://app.procore.com/vapid/me` |
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://app.procore.com")
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
@@ -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://app.procore.com".freeze
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
@@ -1,3 +1,3 @@
1
1
  module Procore
2
- VERSION = "1.1.0".freeze
2
+ VERSION = "1.1.1".freeze
3
3
  end
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.0
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-03-11 00:00:00.000000000 Z
11
+ date: 2021-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack