bunny_app 2.2.0 → 2.2.2
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/README.md +16 -0
- data/lib/bunny_app/portal_session.rb +6 -6
- data/lib/bunny_app/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 231a0af7f4ab44fbfa0231e140eb539349db4e63d7a2f8ec4d088209dbd6b5d5
|
4
|
+
data.tar.gz: 30062739e0fb00d7930999fe7d73cd12d9a2a968b428d946fb0d5d51ed1bd921
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fa6ef8a7720687341c466155198374b3a44450095db114dccdafa3b13cdd38961e7f27b3c233ea4fb507149fd57f99e571528829725a24395071da4e2f84f27
|
7
|
+
data.tar.gz: 1ccc7df3acb408955d5e3b350b3b44b55c0564252c24f82a713f5e7e15a115e06a4d5798fd14fb7f8a96e055c22b3918b975221feb1b0c0e98feec1887d9d8d3
|
data/README.md
CHANGED
@@ -164,3 +164,19 @@ Set IGNORE_SSL when running locally to ignore ssl warnings.
|
|
164
164
|
```sh
|
165
165
|
> IGNORE_SSL=true bin/console
|
166
166
|
```
|
167
|
+
|
168
|
+
## Publish to Ruby gems
|
169
|
+
|
170
|
+
Update `version.rb` with a new version number then build the gem
|
171
|
+
|
172
|
+
```sh
|
173
|
+
gem build
|
174
|
+
```
|
175
|
+
|
176
|
+
Then publish using the new build number
|
177
|
+
|
178
|
+
```sh
|
179
|
+
gem push bunny_app-x.x.x.gem
|
180
|
+
```
|
181
|
+
|
182
|
+
The rubygems account for publishing is protected by MFA and currently managed by @richet
|
@@ -1,12 +1,12 @@
|
|
1
1
|
module BunnyApp
|
2
2
|
class PortalSession
|
3
|
-
@portal_session_create_mutation = <<-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
@portal_session_create_mutation = <<-GRAPHQL
|
4
|
+
mutation portalSessionCreate ($tenantCode: String!, $returnUrl: String) {
|
5
|
+
portalSessionCreate (tenantCode: $tenantCode, returnUrl: $returnUrl) {
|
6
|
+
token
|
7
|
+
errors
|
8
|
+
}
|
8
9
|
}
|
9
|
-
}
|
10
10
|
GRAPHQL
|
11
11
|
|
12
12
|
def self.create(tenant_code:, expiry_hours: 24, return_url: nil)
|
data/lib/bunny_app/version.rb
CHANGED
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.
|
4
|
+
version: 2.2.2
|
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:
|
12
|
+
date: 2025-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|