summaryrefslogtreecommitdiff
path: root/spec/data
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-12-18 13:13:36 -0800
committerPete Higgins <pete@peterhiggins.org>2020-12-28 15:18:54 -0800
commita42a13afef0855b878c0bbc793f3298c38d8284e (patch)
tree921b31b92bb37f722e65b4588ff93094a37df123 /spec/data
parent37d6e01d39993e43efdf12cd2a9aead8d0b71295 (diff)
downloadchef-a42a13afef0855b878c0bbc793f3298c38d8284e.tar.gz
Stub http requests in rubygems tests.
Signed-off-by: Pete Higgins <pete@peterhiggins.org> This commit includes a trimmed version of rubygems.org API output. To recreate this file: * Download the file from rubygems.org: curl "https://rubygems.org/latest_specs.4.8.gz" * Read the file, uncompress it, filter for the data you want, and reverse the process: File.write("latest_specs.4.8.gz", Gem::Util.gzip(Marshal.dump(Marshal.load(Gem::Util.gunzip(File.read("latest_specs.4.8.gz"))).select {|m| m.first == "sexp_processor" })))
Diffstat (limited to 'spec/data')
-rw-r--r--spec/data/rubygems.org/latest_specs.4.8.gzbin0 -> 86 bytes
-rw-r--r--spec/data/rubygems.org/nonexistent_gembin0 -> 4 bytes
-rw-r--r--spec/data/rubygems.org/sexp_processorbin0 -> 2737 bytes
-rw-r--r--spec/data/rubygems.org/sexp_processor-4.15.1.gemspec.rzbin0 -> 519 bytes
4 files changed, 0 insertions, 0 deletions
diff --git a/spec/data/rubygems.org/latest_specs.4.8.gz b/spec/data/rubygems.org/latest_specs.4.8.gz
new file mode 100644
index 0000000000..ab6a175f32
--- /dev/null
+++ b/spec/data/rubygems.org/latest_specs.4.8.gz
Binary files differ
diff --git a/spec/data/rubygems.org/nonexistent_gem b/spec/data/rubygems.org/nonexistent_gem
new file mode 100644
index 0000000000..0ba94359df
--- /dev/null
+++ b/spec/data/rubygems.org/nonexistent_gem
Binary files differ
diff --git a/spec/data/rubygems.org/sexp_processor b/spec/data/rubygems.org/sexp_processor
new file mode 100644
index 0000000000..37c6e97769
--- /dev/null
+++ b/spec/data/rubygems.org/sexp_processor
Binary files differ
diff --git a/spec/data/rubygems.org/sexp_processor-4.15.1.gemspec.rz b/spec/data/rubygems.org/sexp_processor-4.15.1.gemspec.rz
new file mode 100644
index 0000000000..38840f2682
--- /dev/null
+++ b/spec/data/rubygems.org/sexp_processor-4.15.1.gemspec.rz
Binary files differ