File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 remote: .
33 specs:
44 brightbox-cli (5.0.0 )
5+ abbrev
6+ base64
7+ bigdecimal
58 fog-brightbox (>= 1.12.0 )
69 fog-core (< 2.0 )
710 gli (~> 2.21 )
1013 i18n (>= 0.6 , < 1.11 )
1114 mime-types (~> 3.0 )
1215 multi_json (~> 1.11 )
16+ ostruct
1317
1418GEM
1519 remote: https://rubygems.org/
1620 specs:
21+ abbrev (0.1.2 )
1722 addressable (2.8.0 )
1823 public_suffix (>= 2.0.2 , < 5.0 )
1924 ast (2.4.2 )
25+ base64 (0.3.0 )
26+ bigdecimal (3.3.1 )
2027 builder (3.3.0 )
2128 coderay (1.1.3 )
2229 concurrent-ruby (1.3.4 )
5259 mime-types-data (3.2024.1203 )
5360 mocha (1.14.0 )
5461 multi_json (1.15.0 )
62+ ostruct (0.6.3 )
5563 parallel (1.22.1 )
5664 parser (3.1.2.0 )
5765 ast (~> 2.4.1 )
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ Gem::Specification.new do |s|
2121 s . executables = `git ls-files -- bin/*` . split ( "\n " ) . map { |f | File . basename ( f ) }
2222 s . require_paths = [ "lib" ]
2323
24+ s . add_dependency "abbrev"
25+ s . add_dependency "base64"
26+ s . add_dependency "bigdecimal"
2427 s . add_dependency "fog-brightbox" , ">= 1.12.0"
2528 s . add_dependency "fog-core" , "< 2.0"
2629 s . add_dependency "gli" , "~> 2.21"
@@ -29,6 +32,7 @@ Gem::Specification.new do |s|
2932 s . add_dependency "i18n" , ">= 0.6" , "< 1.11"
3033 s . add_dependency "mime-types" , "~> 3.0"
3134 s . add_dependency "multi_json" , "~> 1.11"
35+ s . add_dependency "ostruct"
3236
3337 s . add_development_dependency "mocha"
3438 s . add_development_dependency "pry-remote"
Original file line number Diff line number Diff line change 1+ # Polyfill for newer Ruby versions that remove
2+ require "cgi"
3+
4+ unless CGI . respond_to? ( :parse )
5+ require "uri"
6+ def CGI . parse ( query )
7+ params = Hash . new { |h , k | h [ k ] = [ ] }
8+ URI . decode_www_form ( query ) . each do |key , value |
9+ params [ key ] << value
10+ end
11+ params
12+ end
13+ end
14+
115require "vcr"
216
317VCR . configure do |vcr |
You can’t perform that action at this time.
0 commit comments