fog_site 0.0.0 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/fog_site.gemspec +58 -0
  3. data/lib/fog_site.rb +1 -0
  4. metadata +4 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.1.0
data/fog_site.gemspec ADDED
@@ -0,0 +1,58 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{fog_site}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Brian P O'Rourke"]
12
+ s.date = %q{2011-08-22}
13
+ s.description = %q{Simple utility gem for deploying static sites to S3 and CloudFront using fog.}
14
+ s.email = %q{bpo@somnambulance.net}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "LICENSE.txt",
23
+ "README.md",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "fog_site.gemspec",
27
+ "lib/fog_site.rb",
28
+ "test/helper.rb",
29
+ "test/test_fog_site.rb"
30
+ ]
31
+ s.homepage = %q{http://github.com/bpo/fog_site}
32
+ s.licenses = ["MIT"]
33
+ s.require_paths = ["lib"]
34
+ s.rubygems_version = %q{1.6.2}
35
+ s.summary = %q{Deploys static sites to S3 using fog}
36
+
37
+ if s.respond_to? :specification_version then
38
+ s.specification_version = 3
39
+
40
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
41
+ s.add_runtime_dependency(%q<fog>, [">= 0.10.0"])
42
+ s.add_runtime_dependency(%q<colorize>, [">= 0"])
43
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
44
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
45
+ else
46
+ s.add_dependency(%q<fog>, [">= 0.10.0"])
47
+ s.add_dependency(%q<colorize>, [">= 0"])
48
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
49
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
50
+ end
51
+ else
52
+ s.add_dependency(%q<fog>, [">= 0.10.0"])
53
+ s.add_dependency(%q<colorize>, [">= 0"])
54
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
55
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
56
+ end
57
+ end
58
+
data/lib/fog_site.rb CHANGED
@@ -102,6 +102,7 @@ class FogSite
102
102
  if local_file_md5.nil? and @site.destroy_old_files
103
103
  puts "#{path}: deleted".red
104
104
  remote_file.destroy
105
+ @updated_paths << ("/" + path)
105
106
  elsif local_file_md5 == remote_file.etag
106
107
  puts "#{path}: unchanged".white
107
108
  @index.delete( path )
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog_site
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 0
10
- version: 0.0.0
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian P O'Rourke
@@ -96,6 +96,7 @@ files:
96
96
  - README.md
97
97
  - Rakefile
98
98
  - VERSION
99
+ - fog_site.gemspec
99
100
  - lib/fog_site.rb
100
101
  - test/helper.rb
101
102
  - test/test_fog_site.rb