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
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ PATH
remote: .
specs:
brightbox-cli (5.0.0)
abbrev
base64
bigdecimal
fog-brightbox (>= 1.12.0)
fog-core (< 2.0)
gli (~> 2.21)
Expand All @@ -10,13 +13,17 @@ PATH
i18n (>= 0.6, < 1.11)
mime-types (~> 3.0)
multi_json (~> 1.11)
ostruct

GEM
remote: https://rubygems.org/
specs:
abbrev (0.1.2)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
ast (2.4.2)
base64 (0.3.0)
bigdecimal (3.3.1)
builder (3.3.0)
coderay (1.1.3)
concurrent-ruby (1.3.4)
Expand Down Expand Up @@ -52,6 +59,7 @@ GEM
mime-types-data (3.2024.1203)
mocha (1.14.0)
multi_json (1.15.0)
ostruct (0.6.3)
parallel (1.22.1)
parser (3.1.2.0)
ast (~> 2.4.1)
Expand Down
4 changes: 4 additions & 0 deletions brightbox-cli.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_dependency "abbrev"
s.add_dependency "base64"
s.add_dependency "bigdecimal"
s.add_dependency "fog-brightbox", ">= 1.12.0"
s.add_dependency "fog-core", "< 2.0"
s.add_dependency "gli", "~> 2.21"
Expand All @@ -29,6 +32,7 @@ Gem::Specification.new do |s|
s.add_dependency "i18n", ">= 0.6", "< 1.11"
s.add_dependency "mime-types", "~> 3.0"
s.add_dependency "multi_json", "~> 1.11"
s.add_dependency "ostruct"

s.add_development_dependency "mocha"
s.add_development_dependency "pry-remote"
Expand Down
14 changes: 14 additions & 0 deletions spec/support/vcr.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Polyfill for newer Ruby versions that remove
require "cgi"

unless CGI.respond_to?(:parse)
require "uri"
def CGI.parse(query)
params = Hash.new { |h, k| h[k] = [] }
URI.decode_www_form(query).each do |key, value|
params[key] << value
end
params
end
end

require "vcr"

VCR.configure do |vcr|
Expand Down