harpoon 0.0.5 → 0.0.7

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: 785a0b17a5308ada400cdcdcbb89add7f665446d
4
- data.tar.gz: b752390ed81dca7ab9c8d4391c2beb1e628a1651
3
+ metadata.gz: aa024bb849b634fa48b7755ec9611da45f5b8fd5
4
+ data.tar.gz: c84079dd3da8aa6b36ea0f70664300608ac9979c
5
5
  SHA512:
6
- metadata.gz: 38b0d89349672d7067ae295ba17df1f0f2260bb7daad15dc9c2a5e4d7dbdadaab5a2854ae1857e5e1f5948d057aee3991abffd1a0e46853368d813724ff238ca
7
- data.tar.gz: 87d9b4359c0ba94fbeed1810700d3fcef3846bf9b7a1c6d10166e6e9061a98537472238babf11f1319f3990a4f20d590d2706085ce5f1404e8e20de2ed04d3d0
6
+ metadata.gz: 03a4beafca2f0d09b702c4b4f5b19679f3f31a5961ce4a788fa99e1f70762dac55fe4a3b5670a8f51f41bd12354a17541f006303428c4129697228cd4f34f499
7
+ data.tar.gz: 9d16e833b97d6b974c97f25d1cf6ae1b6a0bc26ecffd5a32f008323c44f6008280df06346eb481f7eaf5a4ec71fdd45a97a1b0cfea254c1e173a9295d6bd8cb5
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Harpoon
2
- A static site deployer, initially targeting Amazon s3
2
+ A static site deployer, initially targeting Amazon s3 and BitBalloon
3
3
 
4
4
  This project is a work in progress, but it's already pretty functional and serves my purposes well. Feedback/issues/encouragement/complaints are all awesome and appreciated!
5
5
 
data/harpoon.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'harpoon'
3
- s.version = '0.0.5'
3
+ s.version = '0.0.7'
4
4
  s.date = '2014-08-20'
5
5
  s.summary = "A single page app deployer for amazon s3"
6
6
  s.description = "Deploy small server-less webapps to amazon s3, including buckets, dns and permissions"
@@ -248,7 +248,7 @@ module Harpoon
248
248
  raise Harpoon::Errors::InvalidConfiguration, "Must have a primary domain defined" unless @options.primary_domain
249
249
  @logger.info "Moving existing deploy to history"
250
250
  current = s3.buckets[@options.primary_domain]
251
- history = s3.buckets[rollback_bucket(@options.primary_domain)]
251
+ history = s3.buckets[rollback_bucket_name(@options.primary_domain)]
252
252
  raise Harpoon::Errors::MissingSetup, "The expected buckets are not yet created, please try running harpoon setup" unless current.exists? && history.exists?
253
253
 
254
254
  current_date = Time.now.to_i
@@ -262,7 +262,7 @@ module Harpoon
262
262
  end
263
263
  @logger.debug "Moved to history, deleting files from current bucket"
264
264
  #delete the current objects
265
- bucket.objects.delete_all
265
+ current.objects.delete_all
266
266
  @logger.debug "Files deleted"
267
267
  end
268
268
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harpoon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Quinn