Skip to content

Commit f84df11

Browse files
authored
Merge pull request #4 from novemberfiveco/develop
Develop
2 parents 85b9441 + 67acede commit f84df11

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Appstrakt
3+
Copyright (c) 2015 November Five BVBA
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
setup(
44
name='s3-site-cache-optimizer',
5-
version='0.5.1',
5+
version='0.6.0',
66
license='MIT',
77

88
description='Optimize a static website before uploading to S3',
99
long_description='Optimize a static website for hosting in S3, by including a fingerprint into \
1010
all assets\' filenames. The optimized website is uploaded into the specified S3 bucket with \
1111
the right cache headers.',
1212

13-
author='Ruben Van den Bossche',
14-
author_email='ruben@appstrakt.com',
15-
url='https://github.com/appstrakt/s3-site-cache-optimizer',
13+
author='Ruben Van den Bossche, Matteo De Wint',
14+
author_email='ruben@novemberfive.co, [email protected]',
15+
url='https://github.com/novemberfiveco/s3-site-cache-optimizer',
1616

1717
packages=['s3_site_cache_optimizer'],
1818
package_dir={'': 'src'},

src/s3_site_cache_optimizer/optimize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def __init__(self, source_dir, destination_bucket, exclude=[], output_dir=None,
110110

111111
self._assets_ext = ['.css', '.svg', '.ttf', '.woff', '.woff2', '.otf', '.eot', '.png',
112112
'.jpg', '.jpeg', '.gif', '.js', '.mp4', '.webm', '.webp']
113-
self._rewriteables_ext = ['.html', '.htm', '.js', '.css', '.xml']
114-
self._gzip_ext = ['.html', '.htm', '.css', '.js', '.svg', '.xml']
113+
self._rewriteables_ext = ['.html', '.htm', '.js', '.css', '.xml', '.json']
114+
self._gzip_ext = ['.html', '.htm', '.css', '.js', '.svg', '.xml', '.json']
115115

116116
self._source_dir = source_dir
117117
self._output_dir = output_dir

0 commit comments

Comments
 (0)