README.md in proselytism-0.0.2 vs README.md in proselytism-0.0.3

- old
+ new

@@ -28,36 +28,36 @@ And then execute: $ bundle -Configure the gem: +##Configuration - With a YAML config file: -```ruby - $ rails g proselytism:config -``` + ``` + rails g proselytism:config + ``` - As an engine, Proselytism automatically load /config/proselytism.yml (if the file exists) and set its config params depending on the current rails env. + As a Rails engine, Proselytism automatically load /config/proselytism.yml (if the file exists) and set its config params depending on the current rails env. - With an initializer (optional for Rails App) : You can override the configuration file params by adding a custom initializer to /config/initializers . By default Proselytism will log in a separate log file, if you want to use the rails logger -```ruby + ```ruby #/config/initializers/proselytism.rb Proselytism.config do |config| config.logger = Rails.logger end -``` + ``` To generate a full config initializer: -```ruby - $ rails g proselytism:initializer -``` + ``` + rails g proselytism:initializer + ``` ## Usage ```ruby Proselytism.convert source_file_path, :to => :pdf do |converted_file_path|