Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Add config.quiet_assets_paths option to allow suppressing additional pat... #34

Merged
merged 1 commit into from
Jul 23, 2014

Conversation

phallstrom
Copy link
Contributor

...hs from the log output.

Same code as #30, but rebased off master.

@@ -26,6 +26,11 @@ place the following in your `config/application.rb` file:

config.quiet_assets = false

If you need to supress output for other paths you can do so by specifying:

config.quiet_assets_paths << '/silent/'
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's use another name for this option. I think it doesn't mean quiet assets paths anymore. Something like suppressed_paths or any other you can think of.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My thinking was that it should be at least prefixed with "quiet_assets" to namespace it (sort of) to this gem. quiet_assets_suppressed_paths would work though. Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, people say we could use such thing as config.quiet_assets.enabled = true and config.quiet_assets.paths. WDYT about this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reasonable, but seems like over kill too. Unless you've had people ask for the enabled option...

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry I'm not following about the last point..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just saying I don't see the point in adding a "enabled" flag since people can just remove the gem if they don't want it. Feels like an option no one will ever use to me.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh got it, agree. Let's leave just path then.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can this get merged in?

@route
Copy link
Contributor

route commented Jun 20, 2014

All the rest looks good to me 👍

route added a commit that referenced this pull request Jul 23, 2014
Add config.quiet_assets_paths option to allow suppressing additional pat...
@route route merged commit 0dd7814 into evrone:master Jul 23, 2014
@route
Copy link
Contributor

route commented Jul 23, 2014

I'm not that fast :) Thanks again!

@ingemar
Copy link

ingemar commented Sep 22, 2014

Is this released yet? Doesn't seem like it

@route
Copy link
Contributor

route commented Sep 22, 2014

Not yet. I have a plan to change the way we currently make it working on another, and then I'll release.

@phallstrom
Copy link
Contributor Author

Any chance for a gem release?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants