Skip to content

Commit

Permalink
Merge pull request #7 from Bladrak/tc_aws
Browse files Browse the repository at this point in the history
Renamed to tc_aws
  • Loading branch information
Martin Samson committed Jul 2, 2015
2 parents 3726318 + df1517d commit 56fa0bf
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CHANGELOG

## 2015-07-02
- [BC BREAK] Renamed package to tc_aws
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ This is a fork of https://github.com/willtrking/thumbor_aws ; as this repository
Features
--------

* thumbor_aws.loaders.s3_loader
* thumbor_aws.result_storages.s3_storage
* thumbor_aws.storages.s3_storage
* tc_aws.loaders.s3_loader
* tc_aws.result_storages.s3_storage
* tc_aws.storages.s3_storage

Additional Configuration values used:

Expand Down Expand Up @@ -49,6 +49,6 @@ Additional Configuration values used:

#Optional config value to enable the HTTP loader
#This would allow you to load watermarks in over your images dynamically through a URI
#E.g.
#E.g.
#http://your-thumbor.com/unsafe/filters:watermark(http://example.com/watermark.png,0,0,50)/s3_bucket/photo.jpg
AWS_ENABLE_HTTP_LOADER = True or False (Default: False)
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:

test:
override:
- pyvows -c -l thumbor_aws
- pyvows -c -l tc_aws
post:
- fpm -s python -t deb --iteration 1 --no-python-dependencies -d python-dateutil -d thumbor -d python-boto --python-install-lib /usr/lib/python2.7/dist-packages -x "*.pyc" ./setup.py
- mv ./*.deb $CIRCLE_ARTIFACTS
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

setup(
name = 'thumbor_aws',
name = 'tc_aws',
version = "1",
description = 'Thumbor AWS extensions',
author = 'William King',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from tornado.concurrent import return_future
import urllib2

import thumbor_aws.connection
import tc_aws.connection
import thumbor.loaders.http_loader as http_loader


Expand Down Expand Up @@ -50,7 +50,7 @@ def load(context, url, callback):

if _validate_bucket(context, bucket):
bucket_loader = Bucket(
connection=thumbor_aws.connection.get_connection(context),
connection=tc_aws.connection.get_connection(context),
name=bucket
)
file_key = None
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from boto.s3.key import Key
from dateutil.parser import parse as parse_ts

import thumbor_aws.connection
import tc_aws.connection

class Storage(BaseStorage):

Expand All @@ -26,7 +26,7 @@ def __init__(self, context):

def __get_s3_bucket(self):
return Bucket(
connection=thumbor_aws.connection.get_connection(self.context),
connection=tc_aws.connection.get_connection(self.context),
name=self.context.config.RESULT_STORAGE_BUCKET
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from boto.s3.key import Key
from dateutil.parser import parse as parse_ts

import thumbor_aws.connection
import tc_aws.connection

class Storage(BaseStorage):

Expand All @@ -25,7 +25,7 @@ def __init__(self, context):

def __get_s3_bucket(self):
return Bucket(
connection=thumbor_aws.connection.get_connection(self.context),
connection=tc_aws.connection.get_connection(self.context),
name=self.context.config.STORAGE_BUCKET
)

Expand Down
2 changes: 1 addition & 1 deletion vows/storage_vows.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from boto.s3.key import Key
from moto import mock_s3

from thumbor_aws.storages.s3_storage import Storage
from tc_aws.storages.s3_storage import Storage

s3_bucket = 'thumbor-images-test'

Expand Down

0 comments on commit 56fa0bf

Please sign in to comment.