Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.10"
".": "0.1.0-alpha.11"
}
43 changes: 23 additions & 20 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
---

# Explicitly disable pending cops for now. This is the default behaviour but
# this avoids a large warning every time we run it.
# Stop RuboCop nagging about rubocop-rake.
# Ensure that RuboCop validates according to the lowest version of Ruby that we support.
AllCops:
Exclude:
Exclude:
- "bin/*"
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.0.0
TargetRubyVersion: 3.1.0

# Don't require this extra line break, it can be excessive.
Layout/EmptyLineAfterGuardClause:
Expand All @@ -33,7 +32,7 @@ Layout/FirstMethodParameterLineBreak:

# Set a reasonable line length; rely on other cops to correct long lines.
Layout/LineLength:
AllowedPatterns:
AllowedPatterns:
- "^\\s*#.*$"
- ^require(_relative)?
- "Orb::(Models|Resources)::"
Expand All @@ -59,14 +58,14 @@ Layout/MultilineMethodParameterLineBreaks:
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

Lint/ConstantDefinitionInBlock:
Exclude:
- "lib/**/*"

Lint/MissingSuper:
Exclude:
Exclude:
- "**/*.rbi"

# Disabled for safety reasons, this option changes code semantics.
Lint/UnusedMethodArgument:
AutoCorrect: false

Metrics/AbcSize:
Enabled: false

Expand All @@ -85,8 +84,12 @@ Metrics/ParameterLists:
Metrics/PerceivedComplexity:
Enabled: false

Naming/BlockForwarding:
Exclude:
- "**/*.rbi"

Naming/MethodParameterName:
Exclude:
Exclude:
- "**/*.rbi"

Naming/VariableNumber:
Expand All @@ -97,7 +100,7 @@ Style/AccessModifierDeclarations:
Enabled: false

Style/AccessorGrouping:
Exclude:
Exclude:
- "**/*.rbi"

# Behaviour of alias_method is more predictable.
Expand All @@ -109,17 +112,17 @@ Style/AndOr:
EnforcedStyle: always

Style/BisectedAttrAccessor:
Exclude:
Exclude:
- "**/*.rbi"

# Fairly useful in tests for pattern matching.
Style/CaseEquality:
Exclude:
Exclude:
- "test/**/*"

# We prefer nested modules in lib/, but are currently using compact style for tests.
Style/ClassAndModuleChildren:
Exclude:
Exclude:
- "test/**/*"

# We should go back and add these docs, but ignore for now.
Expand All @@ -131,7 +134,7 @@ Style/EmptyElse:
Enabled: false

Style/EmptyMethod:
Exclude:
Exclude:
- "**/*.rbi"

# We commonly use ENV['KEY'], it's OK.
Expand All @@ -141,7 +144,7 @@ Style/FetchEnvVar:
# Just to be safe, ensure nobody is mutating our internal strings.
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Exclude:
Exclude:
- "**/*.rbi"

# Nothing wrong with clear if statements.
Expand All @@ -154,18 +157,18 @@ Style/Lambda:

# Prefer consistency in method calling syntax.
Style/MethodCallWithArgsParentheses:
AllowedMethods:
AllowedMethods:
- raise
Enabled: true
Exclude:
Exclude:
- "**/*.gemspec"

# Perfectly fine.
Style/MultipleComparison:
Enabled: false

Style/MutableConstant:
Exclude:
Exclude:
- "**/*.rbi"

# Not all parameters should be named.
Expand All @@ -181,7 +184,7 @@ Style/RedundantException:
Enabled: false

Style/RedundantInitialize:
Exclude:
Exclude:
- "**/*.rbi"

# Prefer slashes for regex literals.
Expand Down
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 103
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-7791652a23b1ed216bba0b8fa77798252f78b0525fbd77cc29ee92c6d5739c5a.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-99ab2def905df4700d0555a61c3e6f3e378664df85756fc0ff604aed8f8c5f8b.yml
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.1.0-alpha.11 (2025-02-20)

Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/orbcorp/orb-ruby/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)

### Features

* **api:** api update ([#58](https://github.com/orbcorp/orb-ruby/issues/58)) ([c583464](https://github.com/orbcorp/orb-ruby/commit/c583464a5a4f8b4c5cb5e478d784452300a43976))


### Chores

* **internal:** codegen related update ([#55](https://github.com/orbcorp/orb-ruby/issues/55)) ([b4c2f83](https://github.com/orbcorp/orb-ruby/commit/b4c2f83f13f7728839247370d0302fbbccbe61f4))
* **internal:** codegen related update ([#56](https://github.com/orbcorp/orb-ruby/issues/56)) ([0743711](https://github.com/orbcorp/orb-ruby/commit/0743711518c96c53eb3f048368e438c6d75694a2))
* **internal:** codegen related update ([#59](https://github.com/orbcorp/orb-ruby/issues/59)) ([b543b0e](https://github.com/orbcorp/orb-ruby/commit/b543b0e32f6f249481e163d3571d6b158eaafb95))
* **internal:** version bump ([#53](https://github.com/orbcorp/orb-ruby/issues/53)) ([da269bc](https://github.com/orbcorp/orb-ruby/commit/da269bcc0d4cbe139dca3dc4ad6d4f694e2227af))
* reorganize import ordering ([#60](https://github.com/orbcorp/orb-ruby/issues/60)) ([aee7303](https://github.com/orbcorp/orb-ruby/commit/aee73038273f61eec76466f5630b07f06ba151e7))

## 0.1.0-alpha.10 (2025-02-20)

Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/orbcorp/orb-ruby/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
orb (0.1.0.pre.alpha.10)
orb (0.1.0.pre.alpha.11)
connection_pool

GEM
Expand Down
8 changes: 4 additions & 4 deletions lib/orb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@
require "connection_pool"

# Package files.
require_relative "orb/pooled_net_requester"
require_relative "orb/version"
require_relative "orb/util"
require_relative "orb/extern"
require_relative "orb/base_model"
require_relative "orb/base_page"
require_relative "orb/request_options"
require_relative "orb/base_client"
require_relative "orb/errors"
require_relative "orb/base_client"
require_relative "orb/pooled_net_requester"
require_relative "orb/client"
require_relative "orb/page"
require_relative "orb/models/amount_discount"
require_relative "orb/models/billing_cycle_relative_date"
require_relative "orb/models/discount"
Expand Down Expand Up @@ -191,8 +193,6 @@
require_relative "orb/models/dimensional_price_group_retrieve_params"
require_relative "orb/models/dimensional_price_group_list_params"
require_relative "orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params"
require_relative "orb/client"
require_relative "orb/page"
require_relative "orb/resources/top_level"
require_relative "orb/resources/coupons"
require_relative "orb/resources/coupons/subscriptions"
Expand Down
Loading
Loading