s3_website 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/build.sbt +4 -0
- data/changelog.md +4 -0
- data/lib/s3_website/version.rb +1 -1
- data/resources/s3_website.jar.md5 +1 -1
- data/src/test/scala/s3/website/S3WebsiteSpec.scala +9 -0
- 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: dfec8ac2ce1c72f5738bfc30b25a351b2bb48f2a
|
4
|
+
data.tar.gz: 4e0baba6c1728328f1433dc53c2e0c11c71c4933
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26cb367f6797262c1e5b31a23fc85606321e9d9a98e368674bd2b3970042eb56f244e09201233402980112f97a16183db602edcef131b41ac20ed3a84cc569dd
|
7
|
+
data.tar.gz: 555ba6e52cbdfb53ab70f385a59d6177b14b995ed76e2e09f3e44d38dc7e3ea82b684d9b0096edf2766ebe1b04a5bd9ddbaa6fd2f3610a9390308a3e6964e38d
|
data/build.sbt
CHANGED
@@ -12,6 +12,10 @@ scalacOptions += "-language:implicitConversions"
|
|
12
12
|
|
13
13
|
scalacOptions += "-language:postfixOps"
|
14
14
|
|
15
|
+
scalacOptions += "-target:jvm-1.6"
|
16
|
+
|
17
|
+
javacOptions in Compile ++= Seq("-source", "1.6", "-target", "1.6")
|
18
|
+
|
15
19
|
libraryDependencies += "org.yaml" % "snakeyaml" % "1.13"
|
16
20
|
|
17
21
|
libraryDependencies += "org.jruby" % "jruby" % "1.7.11"
|
data/changelog.md
CHANGED
data/lib/s3_website/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
fde5b79c5904c034248034b8f9cd214b
|
@@ -560,6 +560,15 @@ class S3WebsiteSpec extends Specification {
|
|
560
560
|
sentDelete must equalTo("obsolete.txt")
|
561
561
|
}
|
562
562
|
|
563
|
+
"delete the local db record for the file if the user deletes the file" in new AllInSameDirectory with EmptySite with MockAWS with DefaultRunMode {
|
564
|
+
setLocalFileWithContent(("file.txt", "first run"))
|
565
|
+
push
|
566
|
+
setS3Files(S3File("file.txt", md5Hex("first run")))
|
567
|
+
FileUtils.deleteQuietly(new File(siteDirectory, "file.txt"))
|
568
|
+
push
|
569
|
+
FileUtils.readLines(localDatabase) must beEmpty
|
570
|
+
}
|
571
|
+
|
563
572
|
"push new files to the bucket" in new AllInSameDirectory with EmptySite with MockAWS with DefaultRunMode {
|
564
573
|
push
|
565
574
|
setLocalFile("newfile.txt")
|
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.5
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|