plan_my_stuff 1.0.2 → 1.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b0b4807143a42fc7a7b667b6023f182e6bfe5601c9302d7044c7e30b4dab5db
4
- data.tar.gz: 19c3cb2b4ab0156d01b2ec1a1f52086c1299f3171a2284fa0df995d163b17bb4
3
+ metadata.gz: 8d22beb4e744332fb2af5dc20c00480c1818d78a68d594322dfbe58585f003ff
4
+ data.tar.gz: 0b8cc3be8d88f4b4ed26bfa31daa5fe4863c7239cab0c6c59ed6e873d6b7341f
5
5
  SHA512:
6
- metadata.gz: 5de35eb3a9b45ba810df2b786081d9cc3988f46048ac94b8df9c65887c71103bc2b4de1b5c4eeb0fa7bb49156c4eb405fdc0fe368764f5b86d7de977dd7f5449
7
- data.tar.gz: 268532412c45fbeceeeae220870ec19bddf150644ac23689f680cd4f0fe97bce5161decd56ae85bb72343160abc5ae3cb585e5b55129e38455e604e385013847
6
+ metadata.gz: 3c7b565d97c5664b92163d282cd0809ca98e176633e4f015e17d03c2178b27909c029b4f5819efd842928ba26478eba86cade55e1c5f6dcc3a97c388185d46e1
7
+ data.tar.gz: d74dcf1c7a4756d3b88a339c8ff325fe114a96152f27e03f03f431008bb4affdc6d78c5ce6a5a3dbb7d9e31553b24bd06cc5593c9d85e6abc7f080143ed44c2b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Fixed
6
+
7
+ - `plan_my_stuff:webhooks:create_org` and `plan_my_stuff:webhooks:create_repo` now use `import_client` (the
8
+ `import_access_token`) instead of the regular `access_token`, since creating org and repo webhooks requires an admin
9
+ token
10
+
3
11
  ## 1.0.2
4
12
 
5
13
  ### Fixed
@@ -4,7 +4,7 @@ module PlanMyStuff
4
4
  module VERSION
5
5
  MAJOR = 1
6
6
  MINOR = 0
7
- TINY = 2
7
+ TINY = 3
8
8
 
9
9
  # Set PRE to nil unless it's a pre-release (beta, rc, etc.)
10
10
  PRE = nil
@@ -29,7 +29,7 @@ namespace :plan_my_stuff do
29
29
  raise(PlanMyStuff::ConfigurationError, 'PlanMyStuff.configuration.webhook_secret is blank')
30
30
  end
31
31
 
32
- hook = PlanMyStuff.client.rest(
32
+ hook = PlanMyStuff.import_client.rest(
33
33
  :create_org_hook,
34
34
  config.organization,
35
35
  { url: url, content_type: 'json', secret: config.webhook_secret, insecure_ssl: '0' },
@@ -56,7 +56,7 @@ namespace :plan_my_stuff do
56
56
  raise(PlanMyStuff::ConfigurationError, 'PlanMyStuff.configuration.webhook_secret is blank')
57
57
  end
58
58
 
59
- hook = PlanMyStuff.client.rest(
59
+ hook = PlanMyStuff.import_client.rest(
60
60
  :create_hook,
61
61
  repo,
62
62
  'web',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plan_my_stuff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brands Insurance