README.md in inquery-0.0.1 vs README.md in inquery-0.1.0
- old
+ new
@@ -1,5 +1,8 @@
+[![Build Status](https://travis-ci.org/sitrox/inquery.svg?branch=master)](https://travis-ci.org/sitrox/inquery)
+[![Gem Version](https://badge.fury.io/rb/inquery.svg)](https://badge.fury.io/rb/inquery)
+
# Inquery
A skeleton that allows extracting queries into atomic, reusable classes.
## Installation
@@ -47,11 +50,11 @@
For this basic functionality, inherit from {Inquery::Query} and overwrite
the `call` and optionally the `process` method:
```ruby
-class FetchRedCarsAsJson
+class FetchRedCarsAsJson < Inquery::Query
# The `call` method must be overwritten for every query. It is usually called
# via `run`.
def call
Car.where(color: 'red')
end
@@ -281,8 +284,14 @@
queries, i.e. to check their naming for consistency.
* If you're using the same layout for your unit tests, it is absolutely
clear where to find the corresponding unit tests for each one of your
query classes.
+## Contributors
+
+Thanks to Jeroen Weeink for his insights regarding using query classes as scopes
+in his [blog post](http://craftingruby.com/posts/2015/06/29/query-objects-through-scopes.html).
+And special thanks to [SubGit](http://www.subgit.com/) for their great open source licensing.
+
## Copyright
-Copyright (c) 2016 Sitrox. See `LICENSE` for further details.
\ No newline at end of file
+Copyright (c) 2017 Sitrox. See `LICENSE` for further details.