s3_website 2.1.11 → 2.1.12

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: 9a6e8a67a32290b0f6534bd81a71e2f30a0f73a9
4
- data.tar.gz: 0a74ab36d3c753c743fcb8abd5e042d51a6b64e8
3
+ metadata.gz: a449c3c953cddea37d7efa16cae0007a968b6c6c
4
+ data.tar.gz: 070ec243442e743bb4a3435543c6035e2fa329b3
5
5
  SHA512:
6
- metadata.gz: b4ccd003bbc734969133ee5a445abd381a180eec93c6a0f0496d8bd44a4c407500388e11d48ef559aef5308ae4c8112f0f2ca23fd129cd1f65fb27a4f2866046
7
- data.tar.gz: 9ef178b4f5cb0bd734c6248c518b06821b6c6070752fffd17e2e7b52187ee38b772ba4b56c5b0dfad06163dd9e25efeab3d2147049afb2a855fbce28025f8968
6
+ metadata.gz: e702135da6028c112ad3272e20dd26002ff8b7876c29c51b0be67e5f897f5bfe3fb12d4d33248c5814efb7040536b0eaff01a4effcce818489b64cd63a3a7e51
7
+ data.tar.gz: dd752d292566b6c9bb6c4ef026402b2cba9d92236187f9f54ba7b4585699823ccc4b8d54ee27e30de6eae40bc4dd01ad4551dda949dd7314c73989f17d9b5d94
data/bin/s3_website CHANGED
@@ -5,6 +5,10 @@ require 'colored'
5
5
  require 'digest/md5'
6
6
 
7
7
  class Cfg < Thor
8
+ def self.exit_on_failure?
9
+ true
10
+ end
11
+
8
12
  desc 'create', 'Create a config file with placeholder values'
9
13
  def create
10
14
  config_file_src = File.dirname(__FILE__) + '/../resources/configuration_file_template.yml'
@@ -42,6 +46,10 @@ class Cfg < Thor
42
46
  end
43
47
 
44
48
  class Cli < Thor
49
+ def self.exit_on_failure?
50
+ true
51
+ end
52
+
45
53
  option(
46
54
  :site,
47
55
  :type => :string,
data/changelog.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.1.12
6
+
7
+ * Exit with status 1 when encountering an unrecognised CLI option
8
+
9
+ Fixes https://github.com/laurilehmijoki/s3_website/issues/103
10
+
5
11
  ## 2.1.11
6
12
 
7
13
  * Fix documentation for the `--config-dir` option
@@ -1,3 +1,3 @@
1
1
  module S3Website
2
- VERSION = '2.1.11'
2
+ VERSION = '2.1.12'
3
3
  end
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.1.11
4
+ version: 2.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lauri Lehmijoki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-25 00:00:00.000000000 Z
11
+ date: 2014-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor