s3_website 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/s3_website +1 -1
- data/changelog.md +4 -0
- data/lib/s3_website/version.rb +1 -1
- data/src/main/scala/s3/website/Diff.scala +6 -6
- 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: 4acd7c3971ddeb0a2a7f45fd36d95b4e3a5dc975
|
4
|
+
data.tar.gz: 3f99adc5acc4969a62757e8625f1eadae54a7943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bcacaea0b63ba38e67152798e80be5f3c9330f618dcd805067b4540110a308e7e844037b79d5a4266d24adb305cac4e2b071931bb288f171491489e4ff00ab5
|
7
|
+
data.tar.gz: 463d4bf65e459674878a7de91a04e8e3f4b092add4c725d1901caadeaa1ae278ed18a7cad4bcb5ccbc1a78501c0eb5b0a6b0a9edaf7115cf1f19ad9ee95c82f0
|
data/bin/s3_website
CHANGED
@@ -164,7 +164,7 @@ def resolve_jar(project_root, logger)
|
|
164
164
|
if expected_checksum == found_checksum
|
165
165
|
true
|
166
166
|
else
|
167
|
-
logger.info_msg "The jar is corrupted. (Expected checksum #{expected_checksum} but got #{found_checksum}.)"
|
167
|
+
logger.info_msg "The jar file is corrupted. (Expected checksum #{expected_checksum} but got #{found_checksum}.)"
|
168
168
|
false
|
169
169
|
end
|
170
170
|
end
|
data/changelog.md
CHANGED
data/lib/s3_website/version.rb
CHANGED
@@ -213,16 +213,16 @@ object Diff {
|
|
213
213
|
if (isUpdate) {
|
214
214
|
val lengthChanged = !(databaseIndices.fileLenghtIndex contains truncatedKey.fileLength)
|
215
215
|
val mtimeChanged = !(databaseIndices.lastModifiedIndex contains truncatedKey.fileModified)
|
216
|
-
if (lengthChanged)
|
217
|
-
"file length
|
216
|
+
if (mtimeChanged && lengthChanged)
|
217
|
+
"file mtime and length have changed"
|
218
|
+
else if (lengthChanged)
|
219
|
+
"file length has changed"
|
218
220
|
else if (mtimeChanged)
|
219
|
-
"file mtime has changed
|
220
|
-
else if (mtimeChanged && lengthChanged)
|
221
|
-
"file mtime and length have changed according to the local database"
|
221
|
+
"file mtime has changed"
|
222
222
|
else
|
223
223
|
"programmer error: faulty logic in inferring the reason for upload"
|
224
224
|
}
|
225
|
-
else "file is new according
|
225
|
+
else "file is new according"
|
226
226
|
}
|
227
227
|
|
228
228
|
private def getOrCreateDbFile(implicit site: Site, logger: Logger) =
|
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.
|
4
|
+
version: 2.1.3
|
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-
|
11
|
+
date: 2014-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|