mattfawcett-s3ify 0.1.1 → 0.1.2
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.
- data/README.rdoc +5 -3
- data/VERSION +1 -1
- data/lib/s3ify.rb +1 -1
- data/s3ify.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -7,13 +7,15 @@ display the URL's of the html files.
|
|
7
7
|
The library relies on you having the AMAZON_ACCESS_KEY_ID and AMAZON_SECRET_ACCESS_KEY environment variables set.
|
8
8
|
|
9
9
|
== How to use
|
10
|
-
s3ify -b my_bucket -p my_folder_in_bucket ~/Desktop/
|
10
|
+
s3ify -b my_bucket -p my_folder_in_bucket ~/Desktop/my-email/
|
11
11
|
|
12
|
-
Use -b to
|
12
|
+
Use -b to specify your bucket name
|
13
13
|
Use -p to specify the path you want inside the bucket (you can leave this out and it will use the unix timestamp)
|
14
14
|
Finally give the path to the folder that you want to 's3ify'
|
15
15
|
|
16
|
-
|
16
|
+
== Todo
|
17
|
+
Support buckets in Europe
|
18
|
+
Handle stylesheets so its not just limited to emails
|
17
19
|
|
18
20
|
== Copyright
|
19
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/s3ify.rb
CHANGED
@@ -25,7 +25,7 @@ module S3ify
|
|
25
25
|
end
|
26
26
|
output.puts doc
|
27
27
|
output.close
|
28
|
-
final_html_paths << "http://#{bucket}.s3.amazonaws.com/#{s3_folder}
|
28
|
+
final_html_paths << "http://#{bucket}.s3.amazonaws.com/#{s3_folder}/s3_#{entry}"
|
29
29
|
end
|
30
30
|
end
|
31
31
|
copy_file_or_directory_to_s3(path, bucket, s3_folder)
|
data/s3ify.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{s3ify}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["mattfawcett"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-07-08}
|
10
10
|
s.default_executable = %q{s3ify}
|
11
11
|
s.email = %q{matt@bolseragency.com}
|
12
12
|
s.executables = ["s3ify"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mattfawcett-s3ify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mattfawcett
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-08 00:00:00 -07:00
|
13
13
|
default_executable: s3ify
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|