s3_website 2.7.4 → 2.7.5

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: 30adad59b826ea4b90e8f5caafd9a203ccfdf053
4
- data.tar.gz: 6e3db53bfcfe0d88d5567300831062bb3f6672de
3
+ metadata.gz: dc5f81b27a2eac7ab3ec3ad55e12c58535f27528
4
+ data.tar.gz: 887d9569fed07a82ce91d5c4b8489a2b09ff0ef4
5
5
  SHA512:
6
- metadata.gz: 20b06946d5644940c64c9817c8e1710b80d2c5ee83078bbf34796d828ca090585a246f6e255509a1b7b83512d906dc5fc46b27a2e79408678e75ffee84e34ca3
7
- data.tar.gz: 349e3aebe7e012b497d08612b50156f23fc35fd2ca6f8969da4599250aa8f74602306c9871843acf3e3ff89c5362830b4d40af470d165123affbaf935f9ba5d6
6
+ metadata.gz: 7637867a9333db997119d2ef0fa61338aacd7914c27f3f6dd9b67cbaa606215427f498ad09da64ed2dcb0341d1d889a0413f7429a39cdd3524df9f5be5ba8d3d
7
+ data.tar.gz: 84adfe0f24852748e94c6c50d56522c06bb09e7fd3c9ae7a9d026ebe864e6bbbceec1cd7f9c4d1ad17e2c6b00ab921b1496f6cb9817f83564ae00241357511f9
data/changelog.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.7.5
6
+
7
+ * Remove superfluous dot from error message
8
+
5
9
  ## 2.7.4
6
10
 
7
11
  * Show a helpful error message if the configured site is missing
@@ -1,3 +1,3 @@
1
1
  module S3Website
2
- VERSION = '2.7.4'
2
+ VERSION = '2.7.5'
3
3
  end
@@ -91,7 +91,7 @@ object Site {
91
91
 
92
92
  def noSiteFound(explanation: String) =
93
93
  s"""|
94
- |$explanation.
94
+ |$explanation
95
95
  |Either use the --site=DIR command-line argument or define the location of the site in s3_website.yml.
96
96
  |
97
97
  |Here's an example of how you can define the site directory in s3_website.yml:
@@ -395,7 +395,7 @@ class S3WebsiteSpec extends Specification {
395
395
  }
396
396
 
397
397
  "error message" should {
398
- "be helpful when the site directory is missing" in new BasicSetup {
398
+ "be helpful when the site setting in s3_website.yml points to a non-existing file" in new BasicSetup {
399
399
  config = "site: nonexisting_site_dir"
400
400
  val logEntries = new mutable.MutableList[String]
401
401
  push(logCapturer = Some((logEntry: String) =>
@@ -1014,15 +1014,16 @@ class S3WebsiteSpec extends Specification {
1014
1014
  }
1015
1015
  }
1016
1016
 
1017
- def push(logCapturer: Option[(String) => _] = None)(implicit
1017
+ def push(logCapturer: Option[(String) => _] = None)
1018
+ (implicit
1018
1019
  emptyYamlConfig: S3_website_yml,
1019
1020
  configString: ConfigString,
1020
1021
  cliArgs: CliArgs,
1021
1022
  s3Settings: S3Setting,
1022
1023
  cloudFrontSettings: CloudFrontSetting,
1023
1024
  workingDirectory: File) = {
1024
- implicit val logger = new Logger(verboseOutput = true, logCapturer)
1025
1025
  write(emptyYamlConfig.file, configString.yaml) // Write the yaml config lazily, so that the tests can override the default yaml config
1026
+ implicit val logger = new Logger(verboseOutput = cliArgs.verbose, logCapturer)
1026
1027
  Push.push
1027
1028
  }
1028
1029
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_website
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.4
4
+ version: 2.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lauri Lehmijoki
@@ -14,14 +14,14 @@ dependencies:
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.18'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.18'
27
27
  - !ruby/object:Gem::Dependency
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: dotenv
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
@@ -103,8 +103,8 @@ executables:
103
103
  extensions: []
104
104
  extra_rdoc_files: []
105
105
  files:
106
- - ".gitignore"
107
- - ".travis.yml"
106
+ - .gitignore
107
+ - .travis.yml
108
108
  - Gemfile
109
109
  - LICENSE
110
110
  - README.md
@@ -153,17 +153,17 @@ require_paths:
153
153
  - lib
154
154
  required_ruby_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - ">="
156
+ - - '>='
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - ">="
161
+ - - '>='
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
165
  rubyforge_project:
166
- rubygems_version: 2.2.2
166
+ rubygems_version: 2.2.1
167
167
  signing_key:
168
168
  specification_version: 4
169
169
  summary: Manage your S3 website