bunny_app 2.2.1 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a451c27fb58140099b53c1c9985f85b0ab4a55b57f0ad96af05da34532e60ac7
4
- data.tar.gz: 36a6c657382727881bf2a09e2d00e280c88d7dce22f673422ffc5f27567c8d2c
3
+ metadata.gz: 8f14177f1f9c2cff9cfe3ee28ac8bba3e22bbcf2dab081c9520a3355e284bf45
4
+ data.tar.gz: 658782618952e5b80d66fec671c8cdbd79cc9375c6f58cb3ab2ea43c468985df
5
5
  SHA512:
6
- metadata.gz: b2b7d1ba642c751efe60d675bef3041c504141086647c8a40a9f1fbdf6961efb37e4d9a83d641694e665ea8f9a65c0346b54214ca0c8e7ce2b5a610599d1665e
7
- data.tar.gz: 4f43bbd3c43e7b7fc3ffe52c71de05496b72d1ec04fcc73768901eeb57f257564813eed73d2bf429bea4ffe3dd1bc2b312a521ba9c1e047c4a4367c750a812ea
6
+ metadata.gz: ce7d03e473bda729c45611e529afafd01e0db24afde29e132e51e2d2db78f8241158f463522d115a90746479f3af20458b65506e5edb4c4411bf90285a6498c5
7
+ data.tar.gz: 3963e0e0603b0a4091ecee8504f4967d70b1662cd68213c6709f415cafa3bd6c465aebfb6508a7a3f206aa07193e5f789f03bdce3b0d60582bc9ec55c0e362db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,158 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.2 (13-Sep-2025)
4
+
5
+ - Make returnUrl optional in PortalSession.create mutation
6
+
7
+ ## 2.2.1 (2-Jul-2024)
8
+
9
+ - Add return_url to portalsessioncreate mutation
10
+
11
+ ## 2.2.0 (26-Apr-2024)
12
+
13
+ - Update to support new feature usage method
14
+
15
+ ## 2.1.1 (15-Mar-2024)
16
+
17
+ - Add default timeout of 3 seconds
18
+
19
+ ## 2.1.0 (8-Mar-2024)
20
+
21
+ - Update README.md
22
+
23
+ ## 2.0.3 (15-Feb-2024)
24
+
25
+ - Handle all error formats
26
+
27
+ ## 2.0.2 (8-Feb-2024)
28
+
29
+ - Add tenant metrics helper
30
+ - Add evergreen to subscription
31
+
32
+ ## 2.0.1 (1-Feb-2024)
33
+
34
+ - Add more logging
35
+ - Add back host header
36
+ - Include account_id in tenant create
37
+ - Add new methods
38
+
39
+ ## 2.0.0 (25-Jan-2024)
40
+
41
+ - Major version bump with significant API changes
42
+ - Updated portal session helper
43
+ - Allow setting host header
44
+
45
+ ## 1.26.0 (25-Jan-2023)
46
+
47
+ - Add portal session method
48
+
49
+ ## 1.25.0 (25-Jan-2023)
50
+
51
+ - Raise errors when in payload body
52
+ - Fix product plan rename bugs
53
+
54
+ ## 1.23.0 (25-Jan-2023)
55
+
56
+ - Upgrade to new bunny product name format
57
+
58
+ ## 1.22.0 (25-Jan-2023)
59
+
60
+ - Increase fields returned by subscription
61
+ - Add subscription example to docs
62
+
63
+ ## 1.21.0 (25-Jan-2023)
64
+
65
+ - Support new subscription mutation
66
+
67
+ ## 1.18.0 (8-Jun-2022)
68
+
69
+ - Remove platformCode
70
+
71
+ ## 1.17.0 (8-Jun-2022)
72
+
73
+ - Return tenant code
74
+
75
+ ## 1.16.0 (8-Jun-2022)
76
+
77
+ - Update sample tenant code
78
+ - Rename to tenant
79
+
80
+ ## 1.15.0 (8-Jun-2022)
81
+
82
+ - Make feature usage date optional
83
+
84
+ ## 1.14.0 (8-Jun-2022)
85
+
86
+ - Add webhook signature verification
87
+
88
+ ## 1.13.0 (8-Jun-2022)
89
+
90
+ - Version bump
91
+
92
+ ## 1.12.0 (8-Jun-2022)
93
+
94
+ - Support new way of creating subscriptions
95
+
96
+ ## 1.11.0 (8-Jun-2022)
97
+
98
+ - Add environment code link
99
+
100
+ ## 1.10.0 (8-Jun-2022)
101
+
102
+ - Include method for trialCreate
103
+
104
+ ## 1.9.0 (8-Jun-2022)
105
+
106
+ - Remove typo
107
+
108
+ ## 1.8.0 (8-Jun-2022)
109
+
110
+ - Version bump
111
+
112
+ ## 1.7.0 (8-Jun-2022)
113
+
114
+ - Renamed bunny app
115
+
116
+ ## 1.6.0 (8-Jun-2022)
117
+
118
+ - Renamed to bunny
119
+
120
+ ## 1.5.0 (8-Jun-2022)
121
+
122
+ - Create env and link subscription
123
+
124
+ ## 1.4.0 (8-Jun-2022)
125
+
126
+ - Remove subscriptionId from env attributes
127
+
128
+ ## 1.3.0 (8-Jun-2022)
129
+
130
+ - Raise errors based on http status codes
131
+
132
+ ## 1.2.0 (8-Jun-2022)
133
+
134
+ - Support subscription_id on environment create
135
+
136
+ ## 1.1.0 (8-Jun-2022)
137
+
138
+ - Add platform and environment support
139
+
140
+ ## 1.0.4 (8-Jun-2022)
141
+
142
+ - Change gem name
143
+
144
+ ## 1.0.3 (8-Jun-2022)
145
+
146
+ - Fix rails generator
147
+
148
+ ## 1.0.2 (8-Jun-2022)
149
+
150
+ - Include generator in gem
151
+
152
+ ## 1.0.1 (8-Jun-2022)
153
+
154
+ - Rebuild release 1.0.0
155
+
3
156
  ## 1.0.0 (10-Mar-2022)
4
157
 
5
158
  - Initial release
@@ -1,7 +1,7 @@
1
1
  module BunnyApp
2
2
  class PortalSession
3
3
  @portal_session_create_mutation = <<-GRAPHQL
4
- mutation portalSessionCreate ($tenantCode: String!, $returnUrl: String!) {
4
+ mutation portalSessionCreate ($tenantCode: String!, $returnUrl: String) {
5
5
  portalSessionCreate (tenantCode: $tenantCode, returnUrl: $returnUrl) {
6
6
  token
7
7
  errors
@@ -1,6 +1,6 @@
1
1
  module BunnyApp
2
2
  class Tenant
3
- @tenant_create_mutation = <<-'GRAPHQL'
3
+ @tenant_create_mutation = <<-GRAPHQL
4
4
  mutation tenantCreate ($attributes: TenantAttributes!) {
5
5
  tenantCreate (attributes: $attributes) {
6
6
  tenant {
@@ -18,7 +18,7 @@ module BunnyApp
18
18
  }
19
19
  GRAPHQL
20
20
 
21
- @tenant_query = <<-'GRAPHQL'
21
+ @tenant_query = <<-GRAPHQL
22
22
  query tenant ($code: String!) {
23
23
  tenant (code: $code) {
24
24
  id
@@ -30,13 +30,6 @@ module BunnyApp
30
30
  name
31
31
  billingDay
32
32
  }
33
- latestProvisioningChange {
34
- change
35
- createdAt
36
- features
37
- id
38
- updatedAt
39
- }
40
33
  }
41
34
  }
42
35
  GRAPHQL
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BunnyApp
4
- VERSION = '2.2.1'
4
+ VERSION = '2.3.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunny_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bunny
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-07-02 00:00:00.000000000 Z
12
+ date: 2025-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty