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

Feature/t7 [Bug] Try to use gist to show avatar image #11

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

umbrella-h
Copy link
Owner

see #6, #7

@umbrella-h umbrella-h merged commit 4441735 into main Feb 5, 2023
Comment on lines -5 to +12
require 'dotenv/load'
Rake::Task['stat_box'].execute
require 'dotenv/load'
Rake::Task['stat_box'].execute
end

task :stat_box do
filepath = './avatar.jpg'
Services::GrabAvatar.new.perform(filepath: filepath)
url = Services::UploadImage.new.perform(filepath: filepath)
filepath = './avatar.jpg'
Services::GrabAvatar.new.perform(filepath: filepath)
url = Services::UploadImage.new.perform(filepath: filepath)
Copy link
Owner Author

@umbrella-h umbrella-h Feb 6, 2023

Choose a reason for hiding this comment

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

Nothing new.
Just fix rubocop style warning.

Comment on lines -1 to +2
require_relative './lib/services/grab_avatar.rb'
require_relative './lib/services/upload_image.rb'
require_relative './lib/services/grab_avatar'
require_relative './lib/services/upload_image'
Copy link
Owner Author

@umbrella-h umbrella-h Feb 6, 2023

Choose a reason for hiding this comment

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

Nothing new.
Just fix rubocop style warning.

@umbrella-h umbrella-h deleted the feature/t7 branch February 6, 2023 04:24
This pull request was closed.
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.

1 participant