stripe-cli-ruby 0.1.0 → 1.26.1

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: 495eeaa6bbe6c2b18e6600ab4eb03fb8858360cb1d42570fab2517e8d8bbe8b4
4
- data.tar.gz: 44ffc53f228e3633d253b96d0fc592377acbb3b162135f6429d32c8a1708a2ba
3
+ metadata.gz: 716c4967de22f40d4dfe8f076f1edbe19a0035a5b0acd0bd3748e9366e5eca27
4
+ data.tar.gz: b2aec13af6ae086b44d9b103f93c61494348652efa614c875d22d7c43c323891
5
5
  SHA512:
6
- metadata.gz: 3ad25e813f946bd835ab227da93c145aba312fa52f50460dcae6bb51e7213721552b426a17c67934d13ab95aa1af9fa7644640c4270d8ffba31b0dd3af71398b
7
- data.tar.gz: 75bba7000151b0f8d85317bc6aaa9239a0db1ab65eaa02a0f1ab6307aafc8727c25b5185a7aa12c1f3ece7b00230787ff82230de46fd7b07c69aee4a451013d5
6
+ metadata.gz: 50ea69e4d05b347ba2da778dec587978339b1ea3d618ffff9e56d33a5470641b040de1de6905569a4cd0bec7cd394b887f1dcd5f2433cc4a44175e48ee96b8be
7
+ data.tar.gz: 4e740f7aa86936e0348e395448327b53e3d5bfe6530f17cedb79a3b81488d53d81ae33d9818ed7229c41c3cc02fdd39600ea35146412a983a49f09ec4cffea96
data/README.md CHANGED
@@ -27,6 +27,35 @@ If bundler is not being used to manage dependencies, install the gem by executin
27
27
  gem install stripe-cli-ruby
28
28
  ```
29
29
 
30
+ > [!NOTE]
31
+ > Add the [included puma plugin](#forwarding-events-to-your-web-server) in order to listen for webhook events in development.
32
+
33
+ ## Usage
34
+
35
+ ### Ruby
36
+
37
+ The gem makes available `StripeCLI.executable` which is the path to the vendored standalone executable.
38
+
39
+ ```ruby
40
+ require "stripe-cli-ruby"
41
+ StripeCLI.executable
42
+ # => "/path/to/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/stripe-cli-ruby-0.1.0-x86_64-linux/exe/x86_64-linux/stripe"
43
+ ```
44
+
45
+ ### Command line
46
+
47
+ This gem provides an executable `stripe` shim that will run the vendored standalone executable.
48
+
49
+ ```bash
50
+ # where is the shim?
51
+ $ bundle exec which stripe
52
+ /path/to/installs/ruby/3.3/bin/stripe
53
+
54
+ # run the actual executable through the shim
55
+ $ bundle exec stripe --help
56
+ stripe version 1.25.1
57
+ ```
58
+
30
59
  ## Forwarding events to your web server
31
60
 
32
61
  Make sure `Stripe.api_key` is set, e.g. in `config/initializers/stripe.rb`:
@@ -1,7 +1,7 @@
1
1
  module StripeCLI
2
2
  # constants describing the upstream tailwindcss project
3
3
  module Upstream
4
- VERSION = "1.25.1"
4
+ VERSION = "1.26.1"
5
5
 
6
6
  # rubygems platform name => upstream release filename
7
7
  NATIVE_PLATFORMS = {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StripeCLI
4
- VERSION = "0.1.0"
4
+ VERSION = "1.26.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe-cli-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zacharias Knudsen
@@ -73,7 +73,7 @@ licenses:
73
73
  - MIT
74
74
  metadata:
75
75
  source_code_uri: https://github.com/zachasme/stripe-cli-ruby
76
- changelog_uri: https://github.com/zachasme/stripe-cli-ruby/CHANGELOG.md
76
+ changelog_uri: https://github.com/zachasme/stripe-cli-ruby/blob/main/CHANGELOG.md
77
77
  rubygems_mfa_required: 'true'
78
78
  rdoc_options: []
79
79
  require_paths: