Skip to content
Commits on Jun 3, 2015
  1. @tilgovi

    Merge pull request #61 from rclmenezes/master

    tilgovi committed
    Fixing a typo in README.md
  2. @rclmenezes

    Fixing a typo in README.md

    rclmenezes committed
    It's `webassets_env`, not `webasset_env`.
Commits on Apr 30, 2015
  1. @tilgovi

    Fix membership test

    tilgovi committed
Commits on Nov 16, 2014
  1. @tilgovi

    Revert "tox install pytest-cov only for coverage env"

    tilgovi committed
    This reverts commit 6378fae.
Commits on Nov 15, 2014
  1. @tilgovi
Commits on Oct 22, 2014
  1. @tilgovi

    Release v0.9

    tilgovi committed
Commits on Oct 21, 2014
  1. @tilgovi

    Add coveralls shield

    tilgovi committed
  2. @tilgovi

    tox 1.8

    tilgovi committed
  3. @tilgovi

    Handle multiple bundles with overrides better

    tilgovi committed
    The YAML parser will override declarations if they are redeclared.
    In order to allow one YAML bundle definition file to override named
    bundles in others all the files must be parsed as one YAML stream.
    It is not sufficient to pass the existing environment to the loader
    because even if the environment let us declare a bundle twice the
    earlier inter-bundle references might be incorrect. Parsing all the
    files as one stream solves the problem.
Commits on Aug 4, 2014
  1. @tilgovi

    Release v0.8

    tilgovi committed
  2. @tilgovi
  3. @tilgovi

    Merge pull request #55 from tilgovi/tox

    tilgovi committed
    Set up tox and coverage
  4. @tilgovi

    Set up tox and coverage

    tilgovi committed
    Drop requirements.txt in favor of a tox.ini and a single requirement
    of tox for testing. Integrate it into setuptools and travis with
    coverage reporting to coveralls.io.
Commits on Jul 15, 2014
  1. @tilgovi

    Relative base URLs root at the application

    tilgovi committed
    Pyramid appends a leading slash to view registration paths. In the
    documentation, the leading slash is left off registrations. To be
    consistent with Pyramid, append a leading slash to base URL settings
    that are not absolute URLs and remove the leading slash from
    examples in our documentation.
  2. @tilgovi
  3. @tilgovi
Commits on Jul 14, 2014
  1. @tilgovi

    Don't fail when request is None

    tilgovi committed
Commits on Jul 11, 2014
  1. @tilgovi

    Merge pull request #50 from sontek/static-view-asset-spec

    tilgovi committed
    Static view asset spec
  2. @tilgovi
  3. @tilgovi
Commits on Jul 10, 2014
  1. @tilgovi

    Resolve relative outputs with asset spec base dir

    tilgovi committed
    When the output is relative and the base directory is a static asset
    the static view configuration will not be able to resolve the absolute
    output path into a URL. To resolve it requires knowing the original
    base directory setting, if it was an asset spec, so that the the call
    to `static_url` can be passed an asset spec of the output.
  2. @tilgovi

    Clean up static view asset spec tests

    tilgovi committed
    These tests were somewhat confusing. They referred to base_url a lot
    but actually meant to be setting the base_dir. Additionally, some
    tests that seemed to pass should have been failing because they were
    referencing non-existent files.
    
    - Add the `static:some` temp files
    - Change base_url parameterization to base_dir
    
    This change causes a test to fail, which reveals an edge case in how
    output URLs are handled. Relative outputs with a base directory as an
    asset specification will not be resolved with static_url.
  3. @tilgovi

    With static_view add the externals separately

    tilgovi committed
    When `webassets.static_view` is used and the base directory is an asset
    specification the `resolve_source_to_url` method of the resolver will
    receive an absolute path to the pulled file and the original asset spec
    for the input but has no access to the original base directory setting
    in order to construct a new specification to pass to `static_url`. By
    adding an additional static view for the externals using the absolute
    path of the external directory these paths will resolve using the
    Pyramid `static_url` machinery.
  4. @tilgovi

    Reconstruct globs when input and base are specs

    tilgovi committed
    When the base directory is an asset spec and an input file is also
    an asset spec that contains a glob then the static view machinery
    will be called with the glob.
    
    In the past, this was not a problem because the `static_url` call
    would always fail on the spec. Now that an asset spec in the
    `webassets.base_dir` setting is honored with `webassets.static_view`
    URLs containing a glob are returned instead of failing and falling
    back to resolution using the filepath that was expanded during the
    search for the source file.
  5. @tilgovi

    Pass un-molested settings to add_static_view

    tilgovi committed
    Pyramid users expect to be able to register static views with asset
    specs and then generate static urls with asset specs. Since webassets
    needs the spec to be resolved before we pass it the configuration, we
    should pass the original settings to the `add_static_view` call so that
    if 'base_dir' is an asset spec 'static_url' works as expected.
  6. @tilgovi

    Failing test for static view & asset spec base_dir

    tilgovi committed
    It should be possible to pass an asset spec as the `webassets.base_dir`
    setting and then use it as normal with `request.static_url`.
  7. @tilgovi
  8. @tilgovi
  9. @tilgovi
  10. @tilgovi

    Merge pull request #52 from keitheis/fix-tests-on-python-3

    tilgovi committed
    Fixing tests in Python 3
  11. @tilgovi

    Merge pull request #51 from keitheis/test_with_travis

    tilgovi committed
    Test with travis
  12. @keitheis

    Fixing tests in Python 3

    keitheis committed
  13. @keitheis
  14. @keitheis

    Add six in requirements

    keitheis committed
  15. @keitheis

    Forget 3.2 from travis tests

    keitheis committed
Something went wrong with that request. Please try again.