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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 546fb41edbc5f68e1319ac4ab90e43ca21c69d5d
4
- data.tar.gz: 74afb7521a2edb1dfaf394bd2638c1adea3dc9e1
3
+ metadata.gz: dfec8ac2ce1c72f5738bfc30b25a351b2bb48f2a
4
+ data.tar.gz: 4e0baba6c1728328f1433dc53c2e0c11c71c4933
5
5
  SHA512:
6
- metadata.gz: 90c5c81d17a063c9fec373566ffee156bbca2244948f00fe7fe2007cd5db417886068a062b1db649fac2aea7de762a2b4adcddbc5d55368fca9b7b0ee73bae0f
7
- data.tar.gz: d40e80e29ffe39f873bc2f3da2de56c72fd8404d2080960514b779d92f0e697bf76807be29e52526950ebc000ba270f1d0ad0f5180f760cd27ca280c575f3851
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
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.1.5
6
+
7
+ * Target JVM 1.6 in build.sbt
8
+
5
9
  ## 2.1.4
6
10
 
7
11
  * Fix reason-for-upload message
@@ -1,3 +1,3 @@
1
1
  module S3Website
2
- VERSION = '2.1.4'
2
+ VERSION = '2.1.5'
3
3
  end
@@ -1 +1 @@
1
- b9fe825f0855a5a8bd2839e1e3558868
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
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-08 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor