s3_website 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/changelog.md +4 -0
- data/lib/s3_website/diff_helper.rb +8 -1
- data/lib/s3_website/uploader.rb +1 -1
- data/s3_website.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75048b9591b2516d217424c859f4154ea117cf57
|
4
|
+
data.tar.gz: ace75278f0925aa842b0e6a27d8c69a3a10b1fa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 493f9be03d3fdbc1253590cfb2762082a0928fc10b9dbcc176300d810cede4aa9af2e1b02ce36394ddbd4c9da79fd832999188add3b2014610c7901a5e11cb6f
|
7
|
+
data.tar.gz: 1a043fb4b2d95c2b2ab5839b8cc35289cfd389eefc2670d4c13b635b62afbd22ea9c2e366f45283e87dff6c8610269404291b31e4af2a3e102f062994575b576
|
data/README.md
CHANGED
@@ -17,6 +17,9 @@
|
|
17
17
|
|
18
18
|
gem install s3_website
|
19
19
|
|
20
|
+
`s3_website` requires Ruby. Here is documentation on installing Ruby:
|
21
|
+
<http://www.ruby-lang.org/en/downloads/>.
|
22
|
+
|
20
23
|
## Usage
|
21
24
|
|
22
25
|
Here's how you can get started:
|
@@ -69,8 +72,6 @@ you can omit the `s3_id` and `s3_secret` keys in the config file.)
|
|
69
72
|
## Project goals
|
70
73
|
|
71
74
|
* Provide a command-line interface tool for deploying and managing S3 websites
|
72
|
-
* Create commands such as `s3_website push`, `s3_website cfg create` and
|
73
|
-
`s3_website cfg apply`
|
74
75
|
* Let the user have all the S3 website configurations in a file
|
75
76
|
* Minimise or remove the need to use the AWS Console
|
76
77
|
* Allow the user to deliver the website via CloudFront
|
@@ -177,7 +178,7 @@ It is easy to deliver your S3-based web site via Cloudfront, the CDN of Amazon.
|
|
177
178
|
#### Creating a new CloudFront distribution
|
178
179
|
|
179
180
|
When you run the command `s3_website cfg apply`, it will ask you whether you
|
180
|
-
want to deliver your website via CloudFront. If you answer yes, command will
|
181
|
+
want to deliver your website via CloudFront. If you answer yes, the command will
|
181
182
|
create a CloudFront distribution for you.
|
182
183
|
|
183
184
|
#### Using your existing CloudFront distribution
|
data/changelog.md
CHANGED
@@ -16,12 +16,19 @@ module S3Website
|
|
16
16
|
fs_data_source,
|
17
17
|
s3_data_source
|
18
18
|
)
|
19
|
-
[
|
19
|
+
[
|
20
|
+
reject_blacklisted(normalise changed_local_files),
|
21
|
+
reject_blacklisted(normalise new_local_files)
|
22
|
+
]
|
20
23
|
}
|
21
24
|
end
|
22
25
|
|
23
26
|
private
|
24
27
|
|
28
|
+
def self.reject_blacklisted(file_paths)
|
29
|
+
file_paths.reject { |f| Upload.is_blacklisted f }
|
30
|
+
end
|
31
|
+
|
25
32
|
def self.with_progress_indicator(diff_msg)
|
26
33
|
progress_indicator = DiffProgressIndicator.new(diff_msg, "... done\n")
|
27
34
|
result = yield progress_indicator
|
data/lib/s3_website/uploader.rb
CHANGED
data/s3_website.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_website
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lauri Lehmijoki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|