bullet_train 1.34.1 → 1.35.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: 97fc736f05f5c708b32b7ba5b9ed4c073ac09e9ff70f9d382f5e4df631f74b00
4
- data.tar.gz: f0eb4ec621711396d76c71a03ef8735a1364540928621af34579b343130d6d78
3
+ metadata.gz: 25534acd68cfd6da1b0e05199b35c0795bbd98d9fa1314fd1c1180b154e7c043
4
+ data.tar.gz: cc0cad473683e187e5dcaeca068748a3fe979cf7ebca0687766d4710e97cb164
5
5
  SHA512:
6
- metadata.gz: ddf91de6aa88f76ea3487d030a6da1e1374babfe32d7c1b9cea2616508b0e555c53e74120278aca1d0095bd0ede0189590958a3aea79fdd0d8d457edbd6e461c
7
- data.tar.gz: 124d6d6621509c5bb1d3f51cf2c48b7ba51f2c4cc7a075671f2ca97bf9cc55d66c1fa1f011702c42dc124891a02d3d6735f2bb1e27e40055019f216bfa360f37
6
+ metadata.gz: a221a9c961bbd7f379d340f9a97d98cdaa4c4c74b88c593778d4b81e517b73e863a497a739fc465fb77d2ff6751e29d0d851b118e67957c1ffac4d82396a9690
7
+ data.tar.gz: c94b9763df8e2182a9f041771921c1d0299fcfdec7618ff44f167249378f9879ca21521c58d9903bdc09a501c42e1100d79c53f9c9ded2030e117a4b561bdb63
@@ -14,7 +14,6 @@ module Teams::Base
14
14
  has_many :users, through: :memberships
15
15
  has_many :invitations
16
16
 
17
- # oauth for grape api
18
17
  has_many :platform_applications, class_name: "Platform::Application", dependent: :destroy, foreign_key: :team_id
19
18
 
20
19
  # integrations
@@ -42,18 +42,11 @@ end
42
42
 
43
43
  ## Installation
44
44
 
45
- ### 1. Purchase Bullet Train Pro
45
+ We recently fully open-sourced our PRO-level features, but haven't yet merged these projects into our core repo. Until we do, you can install the action-model gem via git.
46
46
 
47
- First, [purchase Bullet Train Pro](https://buy.stripe.com/aEU7vc4dBfHtfO89AV). Once you've completed this process, you'll be issued a private token for the Bullet Train Pro package server. The process is currently completed manually, so you may have to wait a little to receive your keys.
48
-
49
- ### 2. Install the Package
50
-
51
- Then you can specify the Ruby gem in your `Gemfile`:
52
-
53
- ```ruby
54
- source "https://YOUR_TOKEN_HERE@gem.fury.io/bullettrain" do
55
- gem "bullet_train-action_models"
56
- end
47
+ ```
48
+ # Below the comment labelled YOUR GEMS in your Gemfile
49
+ gem "bullet_train-action_models", git: "https://github.com/bullet-train-pro/bullet_train-action_models.git"
57
50
  ```
58
51
 
59
52
  Don't forget to run `bundle install` and `rails restart`.
@@ -4,34 +4,11 @@ When you're ready to start billing customers for the product you've created with
4
4
 
5
5
  We also provide a Stripe-specific adapter package with support for auto-configuring those products and prices in your Stripe account. It also takes advantage of completely modern Stripe workflows, like allowing customers to purchase your product with Stripe Checkout and later manage their subscription using Stripe Billing's customer portal. It also automatically handles incoming Stripe webhooks as well, to keep subscription state in your application up-to-date with activity that has happened on Stripe's platform.
6
6
 
7
- ## Option A: Using the Paid Bullet Train Pro gem via Gemfury
7
+ ## Install the Bullet Train Billing gems via git
8
8
 
9
- ### A.1. Purchase Bullet Train Billing for Stripe
9
+ We recently fully open-sourced our PRO-level features, but haven't yet merged these projects into our core repo. Until we do, you can install the billing gems via git.
10
10
 
11
- First, [purchase Bullet Train Billing for Stripe](https://buy.stripe.com/28o8zg4dBbrd59u7sM). Once you've completed this process, you'll be issued a private token for the Bullet Train Pro package server. (This process is currently completed manually, so please be patient.)
12
-
13
- ### A.2. Add the Private Ruby Gems
14
-
15
- You'll need to specify both Ruby gems in your `Gemfile`, since we have to specify a private source for both:
16
-
17
- ```ruby
18
- source "https://YOUR_TOKEN_HERE@gem.fury.io/bullettrain" do
19
- gem "bullet_train-billing"
20
- gem "bullet_train-billing-stripe"
21
- end
22
- ```
23
-
24
- ### A.3. Bundle Install
25
-
26
- ```
27
- bundle install
28
- ```
29
-
30
- **Proceed to the [Installation Instructions](#installation-instructions) section below**
31
-
32
- ## Option B: Using the Open Source version of Bullet Train Billing via git
33
-
34
- ### B.1. Add the Git Repositories
11
+ ### 1. Add the gems via git
35
12
 
36
13
  ```
37
14
  # Below the comment labelled YOUR GEMS in your Gemfile
@@ -39,7 +16,7 @@ gem "bullet_train-billing", git: "https://github.com/bullet-train-pro/bullet_tra
39
16
  gem "bullet_train-billing-stripe", git: "https://github.com/bullet-train-pro/bullet_train-billing-stripe.git"
40
17
  ```
41
18
 
42
- ### B.2. Bundle Install
19
+ ### 2. Bundle Install
43
20
 
44
21
  ```
45
22
  bundle install
@@ -54,8 +31,6 @@ Fetching gem metadata from https://rubygems.org/........
54
31
  <all of your normal gems>
55
32
  ```
56
33
 
57
- **Proceed to the [Installation Instructions](#installation-instructions) section below**
58
-
59
34
  ## Installation Instructions
60
35
 
61
36
  ### Prerequisites
@@ -4,31 +4,24 @@ Bullet Train provides a holistic method for defining model-based usage limits in
4
4
 
5
5
  ## Installation
6
6
 
7
- ### 1. Purchase Bullet Train Pro
7
+ ### 1. Add the gems via git
8
8
 
9
- First, [purchase Bullet Train Pro](https://buy.stripe.com/aEU7vc4dBfHtfO89AV). Once you've completed this process, you'll be issued a private token for the Bullet Train Pro package server. The process is currently completed manually, so you may have to wait a little to receive your keys.
9
+ We recently fully open-sourced our PRO-level features, but haven't yet merged these projects into our core repo. Until we do, you can install the action-model gem via git.
10
10
 
11
- ### 2. Install the Package
12
-
13
- ### 2.1. Add the Private Ruby Gems
14
-
15
- You'll need to specify both Ruby gems in your `Gemfile`, since we have to specify a private source for both:
16
-
17
- ```ruby
18
- source "https://YOUR_TOKEN_HERE@gem.fury.io/bullettrain" do
19
- gem "bullet_train-billing"
20
- gem "bullet_train-billing-stripe" # Or whichever billing provider you're using.
21
- gem "bullet_train-billing-usage"
22
- end
11
+ ```
12
+ # Below the comment labelled YOUR GEMS in your Gemfile
13
+ gem "bullet_train-billing", git: "https://github.com/bullet-train-pro/bullet_train-billing.git"
14
+ gem "bullet_train-billing-stripe", git: "https://github.com/bullet-train-pro/bullet_train-billing-stripe.git"
15
+ gem "bullet_train-billing-usage", git: "https://github.com/bullet-train-pro/bullet_train-billing-usage.git"
23
16
  ```
24
17
 
25
- ### 2.2. Bundle Install
18
+ ### 2. Bundle Install
26
19
 
27
20
  ```
28
21
  bundle install
29
22
  ```
30
23
 
31
- ### 2.3. Copy Database Migrations
24
+ ### 3. Copy Database Migrations
32
25
 
33
26
  Use the following two commands on your shell to copy the required migrations into your local project:
34
27
 
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.34.1"
2
+ VERSION = "1.35.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.34.1
4
+ version: 1.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver