Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support binary files in the Feeds API (#138) #146

Merged
merged 5 commits into from
May 5, 2020

Conversation

ziptofaf
Copy link

@ziptofaf ziptofaf commented May 5, 2020

Related to #138

@@ -30,7 +30,7 @@ def test_submitting_binary_file_feed
}

@client.stub(:run, nil) do
random_byte_stream = Random.bytes(32)
random_byte_stream = "\xB1\x9E\xFC\x80\xDBK\xCC\xC7F\x95}\v\x99O\xD9\x04\xB4\xE4V\xC9\x81\xF0\xEB\"\xCDJ\n\x9BM\xFA\x16\x95".b
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick note, it seems #bytes does exist in the older rubies as an instance method, so I'll bring it back.

@hakanensari hakanensari merged commit 98e1aee into lineofflight:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants