s3_website 2.12.3 → 2.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fefe81565de6df6d5c87dd40fd1e695fbe639428
4
- data.tar.gz: c0cca72820092f05329249f0f94e1b5204e715e4
3
+ metadata.gz: 6dec2f3091bddd92472b85e2baaf3ce226674a00
4
+ data.tar.gz: 8f71d51ea20ef0c95d1ff19fd6fc92a3db04a63c
5
5
  SHA512:
6
- metadata.gz: 03efdfe3021a1d46d6de51846d04598ca7fc7c1be162f345ce9fe8329d9b236c8d44b89fb00615d3c09da9bb4c258c674abb90031daaf545066c3b6a38ca639c
7
- data.tar.gz: 339235bdd8b2881e6b78dd6c1e8f2636d3df800dab163be70225a50261f0eb9a4201df2a763088059f15ea49bf0eaf8379c8c0c52b0207bd554a7a8b9d6d661e
6
+ metadata.gz: 4235de618b6457b7aed3a44bc4675a7c1669b1b95b0cfe406977602bcf144df7d5e2e134af52e68f928666fc03760e99c1bcbd6484f7a60aa370cc5a52f05650
7
+ data.tar.gz: 7781edee58ccbe08c88c5b57a57ca45adfa6a0361ab19f51c354dc6382307019700d8375d7d2d05510d983ce590593be810689f34459fddcb943ca56cd93c574
data/README.md CHANGED
@@ -429,7 +429,12 @@ maintenance mode. This means that v1 will see only critical bugfix releases.
429
429
 
430
430
  ## Example configurations
431
431
 
432
- See [example-configurations](additional-docs/example-configurations.md).
432
+ - [Minimal configuration](additional-docs/example-configurations.md#minimal)
433
+ - [CloudFront optimisation](additional-docs/example-configurations.md#optimised-for-speed)
434
+ - [CloudFront multiple CNAMEs](additional-docs/example-configurations.md#multiple-cnames)
435
+ - [Using redirects](additional-docs/example-configurations.md#using-redirects)
436
+
437
+ See more [example-configurations](additional-docs/example-configurations.md)
433
438
 
434
439
  ## On security
435
440
 
@@ -0,0 +1,21 @@
1
+ # Tips for debugging
2
+
3
+ ## Debugging with source code
4
+
5
+ First, clone the git repository:
6
+
7
+ git clone https://github.com/laurilehmijoki/s3_website.git /tmp/s3_website
8
+
9
+ Next, edit a source file.
10
+
11
+ For example, you can change the AWS logging level in the
12
+ [src/main/resources/log4j.properties](https://github.com/laurilehmijoki/s3_website/blob/master/src/main/resources/log4j.properties) file. See [AWS SDK for Java docs](http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/java-dg-logging.html).
13
+
14
+ Another example: modify a `.scala` file by adding a `print()` statement into a
15
+ relevant location.
16
+
17
+ Then push your website with the cloned code:
18
+
19
+ cd YOUR_WEBSITE_DIR
20
+ /tmp/s3_website/bin/s3_website push
21
+
@@ -44,6 +44,8 @@ environment variables. It's convenient, since you can keep the `s3_website.yml`
44
44
  in a public Git repo, and thus have your deployment configurations
45
45
  version-controlled.
46
46
 
47
+ ## Multiple CNAMEs
48
+
47
49
  Sometimes you want to use multiple CNAMEs aliases in your CloudFront distribution:
48
50
 
49
51
  ````yaml
data/bin/s3_website CHANGED
@@ -164,6 +164,10 @@ def autoinstall_java_or_print_help_and_exit(logger)
164
164
  {
165
165
  :package_manager_lookup => 'which yum',
166
166
  :install_command => 'sudo yum install --assumeyes java-1.7.0-openjdk'
167
+ },
168
+ {
169
+ :package_manager_lookup => 'which dnf',
170
+ :install_command => 'sudo dnf install --assumeyes java-1.7.0-openjdk'
167
171
  }
168
172
  ]
169
173
 
data/changelog.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.13.0
6
+
7
+ * Add support for `dnf`, a Linux package manager
8
+
5
9
  ## 2.12.3
6
10
 
7
11
  * Fix <https://github.com/laurilehmijoki/s3_website/issues/208>
@@ -1,3 +1,3 @@
1
1
  module S3Website
2
- VERSION = '2.12.3'
2
+ VERSION = '2.13.0'
3
3
  end
@@ -1 +1 @@
1
- 22271f3ebfbf57b54ae6e47809e43986
1
+ e92233dd53c6a57ba3af62377698e206
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: 2.12.3
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lauri Lehmijoki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-03 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -109,6 +109,7 @@ files:
109
109
  - LICENSE
110
110
  - README.md
111
111
  - Rakefile
112
+ - additional-docs/debugging.md
112
113
  - additional-docs/development.md
113
114
  - additional-docs/example-configurations.md
114
115
  - additional-docs/setting-up-aws-credentials.md