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

Fix crash on require 'github_api' #325

Merged
merged 1 commit into from
Oct 7, 2017
Merged

Fix crash on require 'github_api' #325

merged 1 commit into from
Oct 7, 2017

Conversation

gekola
Copy link
Contributor

@gekola gekola commented Oct 7, 2017

Without this patch I get the following error on require 'github_api'

rescue in block (2 levels) in require': There was an error while trying to load the gem 'github_api'. (Bundler::GemRequireError)
Gem Load Error is: uninitialized constant Github::VERSION
Backtrace for gem load error is:
.../github_api-0.18.0/lib/github_api/configuration.rb:47:in `<class:Configuration>'
more backtrace

@@ -1,6 +1,7 @@
# encoding: utf-8

require_relative 'api/config'
#require_relative 'version'

Choose a reason for hiding this comment

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

Missing space after #.

@@ -1,6 +1,7 @@
# encoding: utf-8

require_relative 'api/config'
require_relative 'version'

Choose a reason for hiding this comment

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

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@coveralls
Copy link

coveralls commented Oct 7, 2017

Coverage Status

Coverage remained the same at 95.417% when pulling 0bda284 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@coveralls
Copy link

coveralls commented Oct 7, 2017

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

6 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@coveralls
Copy link

coveralls commented Oct 7, 2017

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@coveralls
Copy link

coveralls commented Oct 7, 2017

Coverage Status

Coverage increased (+0.0004%) to 95.417% when pulling 48e2560 on gekola:fix-unitialized-const-version into a5bfbd7 on piotrmurach:master.

@piotrmurach piotrmurach merged commit 1727e60 into piotrmurach:master Oct 7, 2017
@piotrmurach
Copy link
Owner

Thanks! ❤️

@gekola gekola deleted the fix-unitialized-const-version branch October 7, 2017 13:26
@piotrmurach
Copy link
Owner

Sorry for releasing such borked version of the library, I've yanked the v0.18.0 and released v0.18.1 with your patch!

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.

4 participants