Sha256: f7e8396c0740963820810b292843d0771355eabd16790c32a0aa7c801dbcdbff

Contents?: true

Size: 900 Bytes

Versions: 19

Compression:

Stored size: 900 Bytes

Contents

if config['cloudfiles']
  gem 'cloudfiles'
else
  recipes.delete('cloudfiles')
end

if config['cloudfiles']
  after_bundler do
    # Code here is run after Bundler installs all the gems for the project.
    # You can run generators and rake tasks in this section.
  end
end

if config['cloudfiles']
  after_everything do
    # These blocks are run after the bundler blocks and are reserved for
    # special cases like committing the files to a git repository (something
    # that depends on everything having been generated).
  end
end
# A recipe is two parts: the Ruby code and YAML back-matter that comes
# after a blank line with the __END__ keyword.

__END__

name: Cloudfiles
description: "Use Cloudfiles to store files."
author: merlinvn

category: persistence
tags: [storage]

config:
  - cloudfiles:
      type: boolean
      prompt: "Would you like to use Cloudfiles to store your files?"

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
rails_apps_composer-1.5.5 recipes/cloudfiles.rb
rails_apps_composer-1.5.4 recipes/cloudfiles.rb
rails_apps_composer-1.5.3 recipes/cloudfiles.rb
rails_apps_composer-1.5.2 recipes/cloudfiles.rb
rails_apps_composer-1.5.1 recipes/cloudfiles.rb
thyone_creator-0.0.5 recipes/cloudfiles.rb
thyone_creator-0.0.4 recipes/cloudfiles.rb
thyone_creator-0.0.3 recipes/cloudfiles.rb
thyone_creator-0.0.2 recipes/cloudfiles.rb
rails_apps_composer-1.5.0 recipes/cloudfiles.rb
rails_apps_composer-1.4.15 recipes/cloudfiles.rb
rails_apps_composer-1.4.14 recipes/cloudfiles.rb
rails_apps_composer-1.4.13 recipes/cloudfiles.rb
rails_apps_composer-1.4.12 recipes/cloudfiles.rb
rails_apps_composer-1.4.11 recipes/cloudfiles.rb
rails_apps_composer-1.4.10 recipes/cloudfiles.rb
rails_apps_composer-1.4.9 recipes/cloudfiles.rb
rails_apps_composer-1.4.8 recipes/cloudfiles.rb
rails_apps_composer-1.4.7 recipes/cloudfiles.rb