Sha256: 87c9841b70efad540fca715859c7d7de120b664e99a3177515b5ba1bdbaf36f9

Contents?: true

Size: 571 Bytes

Versions: 10

Compression:

Stored size: 571 Bytes

Contents

if config['backbone']
  # rails-backbone is preferred, but only support rails 3.1
  if recipes.include? 'rails 3.1'
    gem 'rails-backbone', :version => '~> 0.5.3'
    after_bundler do
      generate 'backbone:install'
    end
  else
    gem 'backbone-rails', :version => '~> 0.5.2'
    after_bundler do
      generate 'backbone:install'
    end
  end
else
  recipes.delete('backbone')
end

__END__

name: Backbone.js
description: "Use the Backbone.js MVC framework"
author: ashley_woodard

exclusive: javascript_framework
category: assets
tags: [javascript, framework]

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_apps_composer-1.0.26 recipes/backbone.rb
rails_apps_composer-1.0.25 recipes/backbone.rb
rails_apps_composer-1.0.24 recipes/backbone.rb
rails_apps_composer-1.0.23 recipes/backbone.rb
rails_apps_composer-1.0.22 recipes/backbone.rb
rails_apps_composer-1.0.21 recipes/backbone.rb
rails_apps_composer-1.0.20 recipes/backbone.rb
rails_apps_composer-1.0.19 recipes/backbone.rb
rails_apps_composer-1.0.18 recipes/backbone.rb
rails_apps_composer-1.0.17 recipes/backbone.rb