cloudify 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,5 @@
1
1
  module Cloudify
2
2
  class Railtie < Rails::Railtie
3
- railtie_name :cloud_storage_sync
4
-
5
3
  rake_tasks do
6
4
  load "tasks/deploy.rake"
7
5
  end
@@ -1,3 +1,3 @@
1
1
  module Cloudify
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -1,18 +1,19 @@
1
- require 'rails'
2
- if ::Rails.version >= "3.1"
3
- module Cloudify
4
- class InstallGenerator < Rails::Generators::Base
5
- desc "This generator installs the files needed for Cloudify configuration"
1
+ module Cloudify
2
+ class InstallGenerator < Rails::Generators::Base
3
+ desc "This generator installs the files needed for Cloudify configuration"
6
4
 
7
- source_root File.expand_path(File.join(File.dirname(__FILE__), '../templates'))
5
+ source_root File.expand_path(File.join(File.dirname(__FILE__), '../templates'))
8
6
 
9
- def app_name
10
- @app_name ||= Rails.application.is_a?(Rails::Application) && Rails.application.class.name.sub(/::Application$/, "").downcase
11
- end
7
+ def app_name
8
+ @app_name ||= Rails.application.is_a?(Rails::Application) && Rails.application.class.name.sub(/::Application$/, "").downcase
9
+ end
12
10
 
13
- def generate_initializer
14
- template "cloudify.rb", "config/initializers/cloudify.rb"
15
- end
11
+ def generate_initializer
12
+ template "cloudify.rb", "config/initializers/cloudify.rb"
16
13
  end
14
+
15
+ def show_readme
16
+ readme 'README'
17
+ end
17
18
  end
18
19
  end
@@ -0,0 +1,9 @@
1
+ ===============================================================================
2
+ Cloudify
3
+
4
+ Now go to your fresh initializer, configure it and then tell cloudify to sync your assets with the following rake task:
5
+
6
+ rake cloudify:sync
7
+
8
+ And that should be it. :)
9
+ ===============================================================================
metadata CHANGED
@@ -1,75 +1,71 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cloudify
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
4
5
  prerelease:
5
- version: 0.0.6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Amed Rodriguez
9
9
  - Javier Saldana
10
10
  - Daniel Roux
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
-
15
- date: 2011-11-23 00:00:00 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
14
+ date: 2011-11-23 00:00:00.000000000Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
18
17
  name: rspec-rails
19
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: &2152493660 !ruby/object:Gem::Requirement
20
19
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
24
23
  version: 2.7.0
25
24
  type: :development
26
25
  prerelease: false
27
- version_requirements: *id001
28
- - !ruby/object:Gem::Dependency
26
+ version_requirements: *2152493660
27
+ - !ruby/object:Gem::Dependency
29
28
  name: mocha
30
- requirement: &id002 !ruby/object:Gem::Requirement
29
+ requirement: &2153372440 !ruby/object:Gem::Requirement
31
30
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
35
34
  version: 0.10.0
36
35
  type: :development
37
36
  prerelease: false
38
- version_requirements: *id002
39
- - !ruby/object:Gem::Dependency
37
+ version_requirements: *2153372440
38
+ - !ruby/object:Gem::Dependency
40
39
  name: ruby-debug19
41
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ requirement: &2156002640 !ruby/object:Gem::Requirement
42
41
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "0"
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
47
46
  type: :development
48
47
  prerelease: false
49
- version_requirements: *id003
50
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *2156002640
49
+ - !ruby/object:Gem::Dependency
51
50
  name: fog
52
- requirement: &id004 !ruby/object:Gem::Requirement
51
+ requirement: &2156159240 !ruby/object:Gem::Requirement
53
52
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
57
56
  version: 1.0.0
58
57
  type: :runtime
59
58
  prerelease: false
60
- version_requirements: *id004
59
+ version_requirements: *2156159240
61
60
  description: Sync your assets hosts to Amazon, Google & Rackspace services
62
- email:
61
+ email:
63
62
  - amed@tractical.com
64
63
  - javier@tractical.com
65
64
  - daniel@tractical.com
66
65
  executables: []
67
-
68
66
  extensions: []
69
-
70
67
  extra_rdoc_files: []
71
-
72
- files:
68
+ files:
73
69
  - .gitignore
74
70
  - .rvmrc
75
71
  - Gemfile
@@ -84,6 +80,7 @@ files:
84
80
  - lib/cloudify/storage.rb
85
81
  - lib/cloudify/version.rb
86
82
  - lib/generators/cloudify/install/install_generator.rb
83
+ - lib/generators/cloudify/templates/README
87
84
  - lib/generators/cloudify/templates/cloudify.rake
88
85
  - lib/generators/cloudify/templates/cloudify.rb
89
86
  - lib/tasks/deploy.rake
@@ -92,40 +89,37 @@ files:
92
89
  - spec/spec_helper.rb
93
90
  - test/install_generator_test.rb
94
91
  - test/test_helper.rb
95
- homepage: ""
92
+ homepage: ''
96
93
  licenses: []
97
-
98
94
  post_install_message:
99
95
  rdoc_options: []
100
-
101
- require_paths:
96
+ require_paths:
102
97
  - lib
103
- required_ruby_version: !ruby/object:Gem::Requirement
98
+ required_ruby_version: !ruby/object:Gem::Requirement
104
99
  none: false
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- hash: -2143376659191970125
109
- segments:
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ segments:
110
105
  - 0
111
- version: "0"
112
- required_rubygems_version: !ruby/object:Gem::Requirement
106
+ hash: 2880661111792885307
107
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
108
  none: false
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- hash: -2143376659191970125
118
- segments:
109
+ requirements:
110
+ - - ! '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ segments:
119
114
  - 0
120
- version: "0"
115
+ hash: 2880661111792885307
121
116
  requirements: []
122
-
123
117
  rubyforge_project: cloudify
124
- rubygems_version: 1.8.11
118
+ rubygems_version: 1.8.10
125
119
  signing_key:
126
120
  specification_version: 3
127
121
  summary: Sync assets hosts
128
- test_files:
122
+ test_files:
129
123
  - spec/cloudify_spec.rb
130
124
  - spec/fixtures/cloudify.yml
131
125
  - spec/spec_helper.rb