report_cat 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 412080d5d92a20cf248ba399182699fb565fe006
4
- data.tar.gz: d89b0ccfac6986b9e02920973af27d7a6867344c
3
+ metadata.gz: 16ee1c52a83ffa4328d19b060d1fcaa660e52f78
4
+ data.tar.gz: 67a38cd7e4b9c2621293d82366ea118c84b589b1
5
5
  SHA512:
6
- metadata.gz: 2685f7b14804b6ae6b89e528bcc5eb968a9649ad1d2887f3d625037b027cb146470eb5c9028dad937f0a6c131c38099df1ed8a168eea2ccba186168db4827888
7
- data.tar.gz: 13550eca36dddfcfd1f194529e2341903b07858ecc03ae21815abc9672ea7b8e63c26c9742fee5852340078572b7c9c214907fd4f884a162acad96d13a149e1f
6
+ metadata.gz: 04056f49cb6961075bc005375f787f9807c053e15678a8fff46d159343da4de3d9541cfba60a5d24f0d6eb7d58a096bf090e974e5d35e2460eee72386948abc7
7
+ data.tar.gz: 1ec674daee299ee50505e8e5791e1da7b9ab351d9a786e94e0ac47e7f455089b64d98a1fb3ffd4418f6e77a4a9e1cf897f82d163c5f788e86668c1a96cbdd22f
data/README.md CHANGED
@@ -27,7 +27,7 @@ It provides the following matchers:
27
27
 
28
28
  1. Add this to your `Gemfile` and `bundle install`
29
29
 
30
- gem 'report_cat', :git => 'https://github.com/schrodingersbox/report_cat.git'
30
+ gem 'report_cat'
31
31
 
32
32
  2. Add this to your `config/routes.rb`
33
33
 
@@ -13,7 +13,7 @@ module ReportCat
13
13
  def show
14
14
  @report = @reports[ params[ :id ] ]
15
15
  @report.back = params[ :back ]
16
- @report.generate( params )
16
+ @report.generate( params.to_unsafe_hash )
17
17
 
18
18
  respond_to do |format|
19
19
  format.html
data/config/version.txt CHANGED
@@ -1 +1 @@
1
- 500
1
+ 501
@@ -1,4 +1,4 @@
1
- class CreateDateRanges < ActiveRecord::Migration
1
+ class CreateDateRanges < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :report_cat_date_ranges do |t|
4
4
  t.date :start_date
@@ -10,6 +10,15 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 0) do
13
+ ActiveRecord::Schema.define(version: 20130918075200) do
14
+
15
+ create_table "report_cat_date_ranges", force: :cascade do |t|
16
+ t.date "start_date"
17
+ t.date "stop_date"
18
+ t.string "period"
19
+ t.index ["period", "start_date", "stop_date"], name: "index_report_cat_date_ranges_on_period_and_dates", unique: true
20
+ t.index ["period", "start_date"], name: "index_report_cat_date_ranges_on_period_and_start_date", unique: true
21
+ t.index ["period", "stop_date"], name: "index_report_cat_date_ranges_on_period_and_stop_date", unique: true
22
+ end
14
23
 
15
24
  end
Binary file