README.md in qor_dsl-0.1.1 vs README.md in qor_dsl-0.1.3
- old
+ new
@@ -33,11 +33,11 @@
end
end
3, Defining config (Sample Gemfile file used for above config)
- # Gemfile
+ # Using default config file `Gemfile`
source 'http://rubygems.org'
gem 'rails', '3.2.8'
gem 'unicorn'
gem 'devise', :git => "git://github.com/jinzhu/devise.git", :ref => "b94ee9da98b16e4c8fbdc91af8605669d01b17e6"
@@ -48,10 +48,18 @@
group :test do
gem 'rspec'
end
-4, Querying config (Please checkout the source code and play with examples under the /example directory for more details)
+ # Or using code block
+ Gemfile.load do
+ source 'http://rubygems.org'
+
+ gem 'rails', '3.2.8'
+ gem 'unicorn'
+ end
+
+4, Querying config (Please checkout the source code and play with examples under the `example` directory for more details)
# Find by type
Gemfile.find(:gem)
# Find by type and name also chain query