bunny_app 2.2.0 → 2.2.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
  SHA256:
3
- metadata.gz: df32cc341007dd7b79cd16df32165f963b8b2c564aec339b40263722379d8db8
4
- data.tar.gz: af8134359490b8032fa3c8e358b49b0fd341132c89dab08ac3c2b81b4b99fd41
3
+ metadata.gz: a451c27fb58140099b53c1c9985f85b0ab4a55b57f0ad96af05da34532e60ac7
4
+ data.tar.gz: 36a6c657382727881bf2a09e2d00e280c88d7dce22f673422ffc5f27567c8d2c
5
5
  SHA512:
6
- metadata.gz: 3d718112141ebe74e575d77f49c8b9ac6d32d2bf561585ffd9e8d574c963a09bbba4567268d33c3e8bd2a186135e08b7af612a52b49f432c78f8bdd5d19f1bbd
7
- data.tar.gz: d028771adc4bfd0924147fcc308bdcad1397c80acb7bca6cb2cead0fc0be7df5227f657c8308cf7fcd6f65a54a1a64518d35d925ad22b4ef80debf88d7c81630
6
+ metadata.gz: b2b7d1ba642c751efe60d675bef3041c504141086647c8a40a9f1fbdf6961efb37e4d9a83d641694e665ea8f9a65c0346b54214ca0c8e7ce2b5a610599d1665e
7
+ data.tar.gz: 4f43bbd3c43e7b7fc3ffe52c71de05496b72d1ec04fcc73768901eeb57f257564813eed73d2bf429bea4ffe3dd1bc2b312a521ba9c1e047c4a4367c750a812ea
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 = <<-'GRAPHQL'
4
- mutation portalSessionCreate ($tenantCode: String!) {
5
- portalSessionCreate (tenantCode: $tenantCode) {
6
- token
7
- errors
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BunnyApp
4
- VERSION = '2.2.0'
4
+ VERSION = '2.2.1'
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.0
4
+ version: 2.2.1
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-04-26 00:00:00.000000000 Z
12
+ date: 2024-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty