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

fixes #8811 - refactor per-module enabling of http(s) to http(s)_rackup #243

Closed
wants to merge 1 commit into from

Conversation

shlomizadok
Copy link
Member

Moved checks for http(s)_enabled? to http(s)_rackup methods

@@ -15,7 +15,7 @@ def test_log_used_default_settings
assert_equal ':a: a, :b: b, :enabled: false', plugin.log_used_default_settings
end

class TestPlugin2 < Proxy::Plugin; end
class TestPlugin2 < Proxy::Plugin; plugin :test2, '1.0'; end
Copy link
Member

Choose a reason for hiding this comment

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

can you add a test based on the real plugin definition? e.g. where the http_rackup_path is define prior to the plugin?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added.

@shlomizadok
Copy link
Member Author

😩 [test]

@ohadlevy
Copy link
Member

[test]

@ohadlevy
Copy link
Member

merged as e2ce2a0 thanks @shlomizadok

@ohadlevy ohadlevy closed this Dec 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants