Skip to content

Commit

Permalink
Use New Client Library Syntax for Guide Snippets (#132)
Browse files Browse the repository at this point in the history
* - Fix client initialization syntax for .NET examples

* fix: customs-guide snippets

* - Fix product name for Python example

* - Remove, update examples for .NET

* - Remove, update examples for Golang

* - Remove, update examples for Java

* fix: email-tracking-tutorial snippets

* fix: errors-guide snippets

* fix: landing page snippet

* chore: delete getting-started guide snippets as they aren't used

* chore: remove unused partner-white-label-guide snippets

* fix: printnode guide snippets

* fix: sms guide snippets

* - Remove create/update referral customer examples for Java, .NET and Go

* chore: remove stripe relay snippets as the guide is deprecated

* chore: remove unused tracking-guide snippets

* fix: ui-for-buying-shipments snippets

* chore: remove webhook guide snippets to use docs instead

* fix: straggling ruby examples

* - Fix Java client initialization
- Fix Goland import
- Fix Error Guide examples in Java, .NET and Go

* fix: lint errors

* - Fix Java imports
- Fix .NET client initialization
- Fix Go imports

* - Delete unused tracking guide snippets

* - Migrate webhook guide snippets to docs

* - Fix import for Golang current examples

* - Linting

* - Import Go v4 as dependency

* fix: fund wallet examples

* fix: indent for go.mod

* - Fix Go v4 import on current

* Fix Go v4 import on current

* Stop deleting this, linter

* - Update CL dependencies for PHP, Node and Java

---------

Co-authored-by: Nate Harris <[email protected]>
  • Loading branch information
Justintime50 and nwithan8 authored Jun 5, 2024
1 parent fa39d0c commit de923a0
Show file tree
Hide file tree
Showing 316 changed files with 772 additions and 2,420 deletions.
38 changes: 24 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@ PATH
remote: .
specs:
examples (0.1.0)
easypost (~> 5)
easypost (~> 6)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
easypost (5.0.0)
json (2.6.3)
parallel (1.23.0)
parser (3.2.2.1)
easypost (6.2.0)
json (2.7.2)
parallel (1.24.0)
parser (3.3.2.0)
ast (~> 2.4.1)
racc
racc (1.8.0)
rainbow (3.1.1)
regexp_parser (2.8.0)
rexml (3.2.5)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rubocop (1.49.0)
json (~> 2.3)
parallel (~> 1.10)
Expand All @@ -26,15 +29,22 @@ GEM
rubocop-ast (>= 1.28.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.1)
parser (>= 3.2.1.0)
rubocop-capybara (2.18.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-rspec (2.20.0)
rubocop (~> 1.33)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-rspec (2.30.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
ruby-progressbar (1.13.0)
unicode-display_width (2.4.2)
strscan (3.1.0)
unicode-display_width (2.5.0)

PLATFORMS
arm64-darwin-22
Expand All @@ -48,4 +58,4 @@ DEPENDENCIES
rubocop-rspec (~> 2.19)

BUNDLED WITH
2.4.13
2.5.11
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"ext-curl": "*",
"ext-json": "*",
"php": ">=7.3",
"easypost/easypost-php": "^6.7"
"easypost/easypost-php": "^7.2"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7"
Expand Down
Loading

0 comments on commit de923a0

Please sign in to comment.