A summary of data about the Ruby ecosystem.

https://github.com/fog/fog-brightbox

Brightbox Cloud support for the fog gem. Officially supported.
https://github.com/fog/fog-brightbox

Keywords from Contributors

rubygems activejob activerecord mvc ruby-gem rack sinatra data-validation

Last synced: about 8 hours ago
JSON representation

Repository metadata

Brightbox Cloud support for the fog gem. Officially supported.

README.md

Brightbox Cloud module for fog (The Ruby cloud services library)

This gem is a module for the fog gem that allows
you to manage resources in the Brightbox Cloud.

It is included by the main fog meta-gem but can used as an independent library
in other applications.

This includes support for the following services:

  • Compute
    • Accounts
    • Api Clients
    • Applications (User Credentials)
    • Cloud IPs
    • Cloud SQL (Database Server)
    • Database Snapshots
    • Firewall Policies and Rules
    • Images
    • Load Balancers
    • Servers
    • Server Groups
    • Server Types (Flavors)
    • Users
    • User Collaborations
    • Volumes
    • Zones
  • Storage (Orbit via Switch compatibility)
    • Directories
    • Files

Installation

Add this line to your application's Gemfile:

gem "fog-brightbox"

And then execute:

$ bundle install

Or install it yourself as:

$ gem install fog-brightbox

Configuration

This code can use fog's credentials or can be configured by passing in the
details to the Fog::Brightbox::Config.

Using fog

Assuming credentials are setup as expected by fog, the configuration can be used
as such:

@config = Fog::Brightbox::Config.new(Fog.credentials)

Using options Hash

Alternatively credentials can be set using a Hash of options:

@config = Fog::Brightbox::Config.new(
    brightbox_client_id: "cli-12345",
    brightbox_secret: "<demo-value>"
)

See Fog::Brightbox::Config's documentation for
all possible settings.

Usage

Here is a basic example of usage:

require "fog/brightbox"

# Passing either a configuration object or Hash of options are supported
@service = Fog::Brightbox::Compute.new(
  brightbox_client_id: "acc-12345",
  brightbox_secret: "<demo-value>"
)

# Request all servers using the class method
servers = @service.servers.all
servers.each do |server|
  puts server.id
end

An alternative using a configuration object instead:

require "fog/brightbox"

@config = Fog::Brightbox::Config.new(
  brightbox_client_id: "acc-12345",
  brightbox_secret: "<demo-value>"
)
@service = Fog::Brightbox::Compute.new(@config)
# Use service as normal

The main advantages of using a configuration option is that it can be set from
the main Fog.credentials which could be configured for numerous service
providers.

Fog::Brightbox::Config also wraps around credentials itself so will manage
OAuth access and refresh tokens. This can be disabled with the
brightbox_token_management: false setting.

Please see the following references for instructions using the main fog gem
and its modules:

Brightbox CLI

It may be that our Brightbox CLI
(based on this library) is suitable for you than using the library directly.

Ruby version support

As required by the main fog-core library, support for Ruby 1.9 was dropped in
v1.0.0 of this gem.

Upstream changes on dependencies have resulted in support failing for Ruby <2.3
from v1.12.0 due to some libraries failing to declare usage of newer language
features in their own gemspec files.

As of 2024 fog-core is only testing for Ruby 3.0+ support.

Contributing

Bug reports and pull requests are welcome on GitHub at
https://github.com/fog/fog-brightbox.

  1. Fork it ( https://github.com/fog/fog-brightbox/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

The gem is available as open source under the terms of the MIT License.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 239
Total Committers: 6
Avg Commits per committer: 39.833
Development Distribution Score (DDS): 0.033

Commits in past year: 1
Committers in past year: 1
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Paul Thornthwaite t****k@g****m 231
Vít Ondruch v****h@r****m 2
Simone Carletti w****s@w****t 2
Hemant Kumar g****t@g****m 2
Paulo Henrique Lopes Ribeiro p****0@g****m 1
Akira Matsuda r****e@d****p 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 months ago

Total issues: 9
Total pull requests: 72
Average time to close issues: 16 days
Average time to close pull requests: 4 days
Total issue authors: 6
Total pull request authors: 9
Average comments per issue: 3.33
Average comments per pull request: 0.43
Merged pull request: 67
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 6
Past year average time to close issues: N/A
Past year average time to close pull requests: 8 minutes
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 6
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/fog/fog-brightbox

Top Issue Authors

  • tokengeek (3)
  • Hirurg103 (2)
  • craigedmunds (1)
  • robd (1)
  • voxik (1)
  • geemus (1)

Top Pull Request Authors

  • tokengeek (68)
  • plribeiro3000 (2)
  • voxik (1)
  • micwoj92 (1)
  • weppos (1)
  • geemus (1)
  • amatsuda (1)
  • gnufied (1)
  • majioa (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

gem.coop: fog-brightbox

Module for the 'fog' gem to support Brightbox Cloud

  • Homepage: https://github.com/fog/fog-brightbox
  • Documentation: http://www.rubydoc.info/gems/fog-brightbox/
  • Licenses: MIT
  • Latest release: 1.12.0 (published about 1 year ago)
  • Last Synced: 2026-03-03T20:31:20.875Z (about 10 hours ago)
  • Versions: 52
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 49,169,340 Total
  • Docker Downloads: 2,087,205
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.476%
    • Downloads: 0.502%
    • Docker downloads count: 1.403%
  • Maintainers (3)
rubygems.org: fog-brightbox

Module for the 'fog' gem to support Brightbox Cloud

  • Homepage: https://github.com/fog/fog-brightbox
  • Documentation: http://www.rubydoc.info/gems/fog-brightbox/
  • Licenses: MIT
  • Latest release: 1.12.0 (published about 1 year ago)
  • Last Synced: 2026-02-27T20:01:27.682Z (4 days ago)
  • Versions: 52
  • Dependent Packages: 13
  • Dependent Repositories: 9,632
  • Downloads: 49,164,112 Total
  • Docker Downloads: 2,087,205
  • Rankings:
    • Dependent repos count: 0.338%
    • Downloads: 0.416%
    • Dependent packages count: 1.446%
    • Docker downloads count: 1.523%
    • Average: 6.155%
    • Forks count: 12.112%
    • Stargazers count: 21.098%
  • Maintainers (3)

Dependencies

fog-brightbox.gemspec rubygems
  • bundler >= 0 development
  • minitest >= 0 development
  • pry >= 0 development
  • rake >= 0 development
  • shindo >= 0 development
  • webmock >= 0 development
  • yard >= 0 development
  • dry-inflector >= 0
  • fog-core >= 1.45, < 3.0
  • fog-json >= 0
.github/workflows/ruby.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems

Score: 22.18321412115535