Sha256: d2b669e7e45022321d02a1e76f286ae1120764c20d85a01445e5ca18e206b603

Contents?: true

Size: 341 Bytes

Versions: 20

Compression:

Stored size: 341 Bytes

Contents

# Use this hook to configure impressionist parameters
#Impressionist.setup do |config|
  # Define ORM. Could be :active_record (default), :mongo_mapper or :mongoid
  # config.orm = :active_record
#end

<% orm = options.orm.match(/mongoid|active_record|mongomapper/) %>
<%= "Impressionist.orm = :#{options.orm}" if  String === options.orm %>

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
impressionist-cody-2.0.0 lib/generators/templates/impression.rb.erb
impressionist-2.0.0 lib/generators/templates/impression.rb
impressionist-1.6.1 lib/generators/templates/impression.rb
impressionist-1.6.0 lib/generators/templates/impression.rb
impressionist-1.5.2 lib/generators/templates/impression.rb
impressionist2-1.5.5 lib/generators/templates/impression.rb
impressionist2-1.5.4 lib/generators/templates/impression.rb
impressionist2-1.5.3 lib/generators/templates/impression.rb
impressionist2-1.5.1 lib/generators/templates/impression.rb
impressionist-1.5.1 lib/generators/templates/impression.rb
impressionist-1.4.13 lib/generators/templates/impression.rb
impressionist-1.4.12 lib/generators/templates/impression.rb
impressionist-1.4.11 lib/generators/templates/impression.rb
impressionist-1.4.10 lib/generators/templates/impression.rb
impressionist-1.4.9 lib/generators/templates/impression.rb
impressionist-1.4.8 lib/generators/templates/impression.rb
impressionist-1.4.7 lib/generators/templates/impression.rb
impressionist-1.4.6 lib/generators/templates/impression.rb
impressionist-1.4.5 lib/generators/templates/impression.rb
impressionist-1.4.4 lib/generators/templates/impression.rb