cloudify 0.0.11 → 0.0.12
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.md +6 -0
- data/lib/cloudify/version.rb +1 -1
- data/lib/generators/cloudify/templates/cloudify.rb +6 -1
- metadata +12 -12
data/README.md
CHANGED
|
@@ -43,6 +43,12 @@ If you have config.force_deletion_sync set to true, you would get an output like
|
|
|
43
43
|
|
|
44
44
|
And that's it.
|
|
45
45
|
|
|
46
|
+
#### Invalidation of paths
|
|
47
|
+
|
|
48
|
+
Cloudify invalidates paths for you when you upload an updated version of a file. All you need to do is to add the distribuition_id configuration option to the initializer. You can find more info and examples on the generated template.
|
|
49
|
+
|
|
50
|
+
config.distribution_id = "E15MB6BG83O04N"
|
|
51
|
+
|
|
46
52
|
## Questions?
|
|
47
53
|
|
|
48
54
|
If you have any questions, please feel free to contact us on Twitter: [Tractical](http://twitter.com/tractical), [Amed Rodriguez](http://twitter.com/amedse), [Javier Saldaña](http://twitter.com/javiersaldana), [Daniel Roux](http://twitter.com/danroux).
|
data/lib/cloudify/version.rb
CHANGED
|
@@ -32,5 +32,10 @@ Cloudify.configure do |config|
|
|
|
32
32
|
# If you have enabled CloudFront on your S3 account or the CDN on Rackspace,
|
|
33
33
|
# specify the distrubition_id(S3) or the domain( Rackspace) from which you would like to invalidate paths.
|
|
34
34
|
# with the following attribute.
|
|
35
|
-
#
|
|
35
|
+
#
|
|
36
|
+
# In the case of S3 your distribution_id is a 14 hexadecimal code, which you get when you enable CloudFront in your AWS Management Console
|
|
37
|
+
# config.distribution_id = "E15MB6BG83O04N"
|
|
38
|
+
#
|
|
39
|
+
# For Rackspace it's a domain that you get when you create your container, example:
|
|
40
|
+
# config.distribution_id = "c266655.r55.cf1.rackcdn.com"
|
|
36
41
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.12
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,11 +11,11 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2011-12-
|
|
14
|
+
date: 2011-12-10 00:00:00.000000000Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rspec-rails
|
|
18
|
-
requirement: &
|
|
18
|
+
requirement: &2151774500 !ruby/object:Gem::Requirement
|
|
19
19
|
none: false
|
|
20
20
|
requirements:
|
|
21
21
|
- - ! '>='
|
|
@@ -23,10 +23,10 @@ dependencies:
|
|
|
23
23
|
version: 2.7.0
|
|
24
24
|
type: :development
|
|
25
25
|
prerelease: false
|
|
26
|
-
version_requirements: *
|
|
26
|
+
version_requirements: *2151774500
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: mocha
|
|
29
|
-
requirement: &
|
|
29
|
+
requirement: &2151771220 !ruby/object:Gem::Requirement
|
|
30
30
|
none: false
|
|
31
31
|
requirements:
|
|
32
32
|
- - ! '>='
|
|
@@ -34,10 +34,10 @@ dependencies:
|
|
|
34
34
|
version: 0.10.0
|
|
35
35
|
type: :development
|
|
36
36
|
prerelease: false
|
|
37
|
-
version_requirements: *
|
|
37
|
+
version_requirements: *2151771220
|
|
38
38
|
- !ruby/object:Gem::Dependency
|
|
39
39
|
name: ruby-debug19
|
|
40
|
-
requirement: &
|
|
40
|
+
requirement: &2151769340 !ruby/object:Gem::Requirement
|
|
41
41
|
none: false
|
|
42
42
|
requirements:
|
|
43
43
|
- - ! '>='
|
|
@@ -45,10 +45,10 @@ dependencies:
|
|
|
45
45
|
version: '0'
|
|
46
46
|
type: :development
|
|
47
47
|
prerelease: false
|
|
48
|
-
version_requirements: *
|
|
48
|
+
version_requirements: *2151769340
|
|
49
49
|
- !ruby/object:Gem::Dependency
|
|
50
50
|
name: fog_tractical
|
|
51
|
-
requirement: &
|
|
51
|
+
requirement: &2151766280 !ruby/object:Gem::Requirement
|
|
52
52
|
none: false
|
|
53
53
|
requirements:
|
|
54
54
|
- - ! '>='
|
|
@@ -56,7 +56,7 @@ dependencies:
|
|
|
56
56
|
version: 1.0.0
|
|
57
57
|
type: :runtime
|
|
58
58
|
prerelease: false
|
|
59
|
-
version_requirements: *
|
|
59
|
+
version_requirements: *2151766280
|
|
60
60
|
description: Sync your assets hosts to Amazon, Google & Rackspace services
|
|
61
61
|
email:
|
|
62
62
|
- amed@tractical.com
|
|
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
106
106
|
version: '0'
|
|
107
107
|
segments:
|
|
108
108
|
- 0
|
|
109
|
-
hash:
|
|
109
|
+
hash: 632837125297464337
|
|
110
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
none: false
|
|
112
112
|
requirements:
|
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
115
115
|
version: '0'
|
|
116
116
|
segments:
|
|
117
117
|
- 0
|
|
118
|
-
hash:
|
|
118
|
+
hash: 632837125297464337
|
|
119
119
|
requirements: []
|
|
120
120
|
rubyforge_project: cloudify
|
|
121
121
|
rubygems_version: 1.8.10
|