Permalink
Switch branches/tags
Nothing to show
Commits on Sep 17, 2016
  1. fix bad "not in" in tests

    tilgovi committed Sep 17, 2016
  2. update test for Pyramid 1.6

    tilgovi committed Sep 17, 2016
Commits on Jun 3, 2015
  1. Merge pull request #61 from rclmenezes/master

    tilgovi committed Jun 3, 2015
    Fixing a typo in README.md
  2. Fixing a typo in README.md

    rclmenezes committed Jun 3, 2015
    It's `webassets_env`, not `webasset_env`.
Commits on Apr 30, 2015
  1. Fix membership test

    tilgovi committed Apr 30, 2015
Commits on Nov 16, 2014
  1. Revert "tox install pytest-cov only for coverage env"

    tilgovi committed Nov 16, 2014
    This reverts commit 6378fae.
Commits on Nov 15, 2014
Commits on Oct 22, 2014
  1. Release v0.9

    tilgovi committed Oct 22, 2014
Commits on Oct 21, 2014
  1. Add coveralls shield

    tilgovi committed Oct 21, 2014
  2. tox 1.8

    tilgovi committed Oct 21, 2014
  3. Handle multiple bundles with overrides better

    tilgovi committed Oct 21, 2014
    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. Release v0.8

    tilgovi committed Aug 4, 2014
  2. Merge pull request #55 from tilgovi/tox

    tilgovi committed Aug 4, 2014
    Set up tox and coverage
  3. Set up tox and coverage

    tilgovi committed Aug 3, 2014
    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. Relative base URLs root at the application

    tilgovi committed Jul 15, 2014
    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.
Commits on Jul 14, 2014
Commits on Jul 11, 2014
  1. Merge pull request #50 from sontek/static-view-asset-spec

    tilgovi committed Jul 11, 2014
    Static view asset spec
Commits on Jul 10, 2014
  1. Resolve relative outputs with asset spec base dir

    tilgovi committed Jul 10, 2014
    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. Clean up static view asset spec tests

    tilgovi committed Jul 10, 2014
    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. With static_view add the externals separately

    tilgovi committed Jul 10, 2014
    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. Reconstruct globs when input and base are specs

    tilgovi committed Jul 9, 2014
    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. Pass un-molested settings to add_static_view

    tilgovi committed Jul 9, 2014
    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. Failing test for static view & asset spec base_dir

    tilgovi committed Jul 9, 2014
    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. Merge pull request #52 from keitheis/fix-tests-on-python-3

    tilgovi committed Jul 10, 2014
    Fixing tests in Python 3
  8. Merge pull request #51 from keitheis/test_with_travis

    tilgovi committed Jul 10, 2014
    Test with travis
  9. Fixing tests in Python 3

    keitheis committed Jul 10, 2014