query_report 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +5 -3
  3. data/lib/query_report/helper.rb +1 -1
  4. data/lib/query_report/report_pdf.rb +0 -2
  5. data/lib/query_report/version.rb +1 -1
  6. metadata +86 -311
  7. data/test/dummy/README.rdoc +0 -261
  8. data/test/dummy/Rakefile +0 -7
  9. data/test/dummy/app/assets/javascripts/application.js +0 -15
  10. data/test/dummy/app/assets/javascripts/invoices.js +0 -2
  11. data/test/dummy/app/assets/javascripts/users.js +0 -2
  12. data/test/dummy/app/assets/stylesheets/application.css +0 -13
  13. data/test/dummy/app/assets/stylesheets/invoices.css +0 -4
  14. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
  15. data/test/dummy/app/assets/stylesheets/users.css +0 -4
  16. data/test/dummy/app/controllers/application_controller.rb +0 -3
  17. data/test/dummy/app/controllers/invoices_controller.rb +0 -115
  18. data/test/dummy/app/controllers/users_controller.rb +0 -91
  19. data/test/dummy/app/helpers/application_helper.rb +0 -2
  20. data/test/dummy/app/helpers/invoices_helper.rb +0 -2
  21. data/test/dummy/app/helpers/users_helper.rb +0 -2
  22. data/test/dummy/app/models/invoice.rb +0 -3
  23. data/test/dummy/app/models/pdf_report_template.rb +0 -24
  24. data/test/dummy/app/views/invoices/_form.html.erb +0 -33
  25. data/test/dummy/app/views/invoices/edit.html.erb +0 -6
  26. data/test/dummy/app/views/invoices/index.html.erb +0 -29
  27. data/test/dummy/app/views/invoices/new.html.erb +0 -5
  28. data/test/dummy/app/views/invoices/show.html.erb +0 -25
  29. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  30. data/test/dummy/app/views/users/_form.html.erb +0 -33
  31. data/test/dummy/app/views/users/edit.html.erb +0 -6
  32. data/test/dummy/app/views/users/index.html.erb +0 -29
  33. data/test/dummy/app/views/users/new.html.erb +0 -5
  34. data/test/dummy/app/views/users/show.html.erb +0 -25
  35. data/test/dummy/config.ru +0 -4
  36. data/test/dummy/config/application.rb +0 -59
  37. data/test/dummy/config/boot.rb +0 -10
  38. data/test/dummy/config/database.yml +0 -25
  39. data/test/dummy/config/environment.rb +0 -5
  40. data/test/dummy/config/environments/development.rb +0 -37
  41. data/test/dummy/config/environments/production.rb +0 -67
  42. data/test/dummy/config/environments/test.rb +0 -37
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  44. data/test/dummy/config/initializers/inflections.rb +0 -15
  45. data/test/dummy/config/initializers/mime_types.rb +0 -5
  46. data/test/dummy/config/initializers/query_report.rb +0 -3
  47. data/test/dummy/config/initializers/secret_token.rb +0 -7
  48. data/test/dummy/config/initializers/session_store.rb +0 -8
  49. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  50. data/test/dummy/config/locales/en.yml +0 -10
  51. data/test/dummy/config/routes.rb +0 -63
  52. data/test/dummy/db/development.sqlite3 +0 -0
  53. data/test/dummy/db/migrate/20130630132513_create_invoices.rb +0 -15
  54. data/test/dummy/db/schema.rb +0 -28
  55. data/test/dummy/db/seed.rb +0 -9
  56. data/test/dummy/db/test.sqlite3 +0 -0
  57. data/test/dummy/log/development.log +0 -47624
  58. data/test/dummy/log/test.log +0 -176
  59. data/test/dummy/public/404.html +0 -26
  60. data/test/dummy/public/422.html +0 -26
  61. data/test/dummy/public/500.html +0 -25
  62. data/test/dummy/public/favicon.ico +0 -0
  63. data/test/dummy/script/rails +0 -6
  64. data/test/dummy/test/fixtures/invoices.yml +0 -13
  65. data/test/dummy/test/functional/invoices_controller_test.rb +0 -49
  66. data/test/dummy/test/unit/helpers/invoices_helper_test.rb +0 -4
  67. data/test/dummy/test/unit/invoice_test.rb +0 -7
  68. data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  69. data/test/dummy/tmp/cache/assets/CA9/F20/sprockets%2F00ff4f84806dd8834ab35f800a082640 +0 -0
  70. data/test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6 +0 -0
  71. data/test/dummy/tmp/cache/assets/CB5/B70/sprockets%2Fa769d915e72b1c8c0614793b54d02c86 +0 -0
  72. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  73. data/test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea +0 -0
  74. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  75. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  76. data/test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124 +0 -0
  77. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  78. data/test/dummy/tmp/cache/assets/D54/B90/sprockets%2F90719d7bdca76469cd487928f710decb +0 -0
  79. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  80. data/test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
  81. data/test/dummy/tmp/cache/assets/D7C/990/sprockets%2F302f7d851fcdb17936f8096bfb967cab +0 -0
  82. data/test/dummy/tmp/cache/assets/D7F/AF0/sprockets%2Fa7deca9af827ab462635389b96c7da39 +0 -0
  83. data/test/dummy/tmp/cache/assets/DA3/AC0/sprockets%2F797d3e5f21daaf5c046cc6ec4830e95b +0 -0
  84. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  85. data/test/dummy/tmp/cache/assets/DFC/6F0/sprockets%2F2c45c36e4d7c7bfaeb826eeba29a09d2 +0 -0
  86. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  87. data/test/dummy/tmp/cache/assets/E0E/8A0/sprockets%2Fbecd48a9cf2ece858e433d7dcf0554f6 +0 -0
  88. data/test/dummy/tmp/miniprofiler/mp_timers_1yzh11ff7f20he2ibrf5 +0 -0
  89. data/test/dummy/tmp/miniprofiler/mp_timers_43t0tuuypgcuns14vrux +0 -0
  90. data/test/dummy/tmp/miniprofiler/mp_timers_8ku60sfcb2ox5r3bn86p +0 -0
  91. data/test/dummy/tmp/miniprofiler/mp_timers_bvxp7ntgvswdeihn0xkx +0 -0
  92. data/test/dummy/tmp/miniprofiler/mp_timers_exy6ebpwi5seo6ohb61r +0 -0
  93. data/test/dummy/tmp/miniprofiler/mp_timers_f0jlfr3yzz6f1yfyq446 +0 -0
  94. data/test/dummy/tmp/miniprofiler/mp_timers_gr2fezt8668tj6sdlgxd +0 -0
  95. data/test/dummy/tmp/miniprofiler/mp_timers_gx96ln5mjqb61n0uc37o +0 -0
  96. data/test/dummy/tmp/miniprofiler/mp_timers_h42xf1rxqz40qpxkhkfh +0 -0
  97. data/test/dummy/tmp/miniprofiler/mp_timers_iyeniuysxyxtupg0v0fb +0 -0
  98. data/test/dummy/tmp/miniprofiler/mp_timers_mr5amrsanyhnyiefk7ze +0 -0
  99. data/test/dummy/tmp/miniprofiler/mp_timers_qhtoawvlvlp0753c32so +0 -0
  100. data/test/dummy/tmp/miniprofiler/mp_timers_ro8d5tfkqqi3pyyahy8t +0 -0
  101. data/test/dummy/tmp/miniprofiler/mp_timers_u5cef64yg5b391u4fmj6 +0 -0
  102. data/test/dummy/tmp/miniprofiler/mp_timers_waldf841hr1ekdv3pxby +0 -0
  103. data/test/dummy/tmp/miniprofiler/mp_timers_xgkalffzvqg8jwck2t95 +0 -0
  104. data/test/dummy/tmp/miniprofiler/mp_timers_zrlk63csu50ffb4ysymm +0 -0
  105. data/test/dummy/tmp/miniprofiler/mp_views_127.0.0.1 +0 -0
  106. data/test/functional/report_mailer_test.rb +0 -7
  107. data/test/test_helper.rb +0 -15
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0f157b5489f576a76802cb9421600a0ef3efb36d
4
+ data.tar.gz: 4cb8183d6c9768dcff6e515c81e5641fd793bebd
5
+ SHA512:
6
+ metadata.gz: 343f17dbce358ded12cbd8ee9ec857a7ad4dfbff7e8ab3b6855aa95b401ce76dcf27ab03f1d8a380115da87010ebad33739515a67f045ad95ca56253afe0f80c
7
+ data.tar.gz: 4c87698f68389a1f70e9afc3b3ba004db6dcdb41bc728868441e051839cb12e57d8a4ac0f8aebecd3d01949998ce3b9ba963641945f978ba173cccd7f7857489
data/README.md CHANGED
@@ -39,8 +39,7 @@ class InvoicesController < ApplicationController
39
39
 
40
40
  reporter(@invoices) do
41
41
  filter :title, type: :text
42
- filter :created_at, type: :date, default: [5.months.ago.to_date.to_s(:db),
43
- 1.months.from_now.to_date.to_s(:db)]
42
+ filter :created_at, type: :date, default: [5.months.ago, 1.months.from_now]
44
43
  filter :paid, type: :boolean, default: false
45
44
 
46
45
  column :title do |invoice|
@@ -55,4 +54,7 @@ end
55
54
  ```
56
55
 
57
56
  ## License
58
- MIT License. Copyright © 2013 [Ashrafuzzaman](http://ashrafuzzaman.github.io). See MIT-LICENSE for further details.
57
+ MIT License. Copyright © 2013 [Ashrafuzzaman](http://ashrafuzzaman.github.io). See MIT-LICENSE for further details.
58
+
59
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ashrafuzzaman/query_report/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
60
+
@@ -30,7 +30,7 @@ module QueryReport
30
30
  format.html { render 'query_report/list' }
31
31
  format.json { render json: @report.all_records }
32
32
  format.csv { send_data generate_csv_for_report(@report.all_records), :disposition => "attachment;" }
33
- format.pdf { send_data pdf_for_report(options) }
33
+ format.pdf { send_data pdf_for_report(options), :type => 'application/pdf', :disposition => 'inline' }
34
34
  end
35
35
  end
36
36
 
@@ -71,14 +71,12 @@ module QueryReport
71
71
  item_values
72
72
  end
73
73
 
74
- ap report.column_total_with_colspan
75
74
  if report.has_total?
76
75
  items = items << report.column_total_with_colspan.collect do |total|
77
76
  total[:content] = fix_content(total[:content])
78
77
  total
79
78
  end
80
79
  end
81
- ap items
82
80
  items
83
81
  end
84
82
 
@@ -1,3 +1,3 @@
1
1
  module QueryReport
2
- VERSION = "1.0.18"
2
+ VERSION = "1.0.19"
3
3
  end
metadata CHANGED
@@ -1,246 +1,225 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: query_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
5
- prerelease:
4
+ version: 1.0.19
6
5
  platform: ruby
7
6
  authors:
8
7
  - A.K.M. Ashrafuzzaman
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-09 00:00:00.000000000 Z
11
+ date: 2014-02-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.0.0
22
- - - <
23
- - !ruby/object:Gem::Version
24
- version: 4.0.0
25
20
  type: :runtime
26
21
  prerelease: false
27
22
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
23
  requirements:
30
- - - ! '>='
24
+ - - ">="
31
25
  - !ruby/object:Gem::Version
32
26
  version: 3.0.0
33
- - - <
34
- - !ruby/object:Gem::Version
35
- version: 4.0.0
36
27
  - !ruby/object:Gem::Dependency
37
28
  name: ransack
38
29
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
30
  requirements:
41
- - - ! '>='
31
+ - - ">="
42
32
  - !ruby/object:Gem::Version
43
33
  version: '0'
44
34
  type: :runtime
45
35
  prerelease: false
46
36
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
37
  requirements:
49
- - - ! '>='
38
+ - - ">="
50
39
  - !ruby/object:Gem::Version
51
40
  version: '0'
52
41
  - !ruby/object:Gem::Dependency
53
42
  name: google_visualr
54
43
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
44
  requirements:
57
- - - ! '>='
45
+ - - ">="
58
46
  - !ruby/object:Gem::Version
59
47
  version: '2.1'
60
48
  type: :runtime
61
49
  prerelease: false
62
50
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
51
  requirements:
65
- - - ! '>='
52
+ - - ">="
66
53
  - !ruby/object:Gem::Version
67
54
  version: '2.1'
68
55
  - !ruby/object:Gem::Dependency
69
56
  name: rmagick
70
57
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
58
  requirements:
73
- - - ! '>='
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
61
  version: '0'
76
62
  type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
65
  requirements:
81
- - - ! '>='
66
+ - - ">="
82
67
  - !ruby/object:Gem::Version
83
68
  version: '0'
84
69
  - !ruby/object:Gem::Dependency
85
70
  name: gruff
86
71
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
72
  requirements:
89
- - - ! '>='
73
+ - - ">="
90
74
  - !ruby/object:Gem::Version
91
75
  version: '0'
92
76
  type: :runtime
93
77
  prerelease: false
94
78
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
79
  requirements:
97
- - - ! '>='
80
+ - - ">="
98
81
  - !ruby/object:Gem::Version
99
82
  version: '0'
100
83
  - !ruby/object:Gem::Dependency
101
84
  name: kaminari
102
85
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
86
  requirements:
105
- - - ! '>='
87
+ - - ">="
106
88
  - !ruby/object:Gem::Version
107
89
  version: '0'
108
90
  type: :runtime
109
91
  prerelease: false
110
92
  version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
93
  requirements:
113
- - - ! '>='
94
+ - - ">="
114
95
  - !ruby/object:Gem::Version
115
96
  version: '0'
116
97
  - !ruby/object:Gem::Dependency
117
98
  name: prawn
118
99
  requirement: !ruby/object:Gem::Requirement
119
- none: false
120
100
  requirements:
121
- - - ~>
101
+ - - ">="
122
102
  - !ruby/object:Gem::Version
123
- version: 1.0.0.rc2
103
+ version: 0.15.0
124
104
  type: :runtime
125
105
  prerelease: false
126
106
  version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
107
  requirements:
129
- - - ~>
108
+ - - ">="
130
109
  - !ruby/object:Gem::Version
131
- version: 1.0.0.rc2
110
+ version: 0.15.0
132
111
  - !ruby/object:Gem::Dependency
133
- name: awesome_print
112
+ name: rake
134
113
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
114
  requirements:
137
- - - ! '>='
115
+ - - ">="
138
116
  - !ruby/object:Gem::Version
139
117
  version: '0'
140
118
  type: :development
141
119
  prerelease: false
142
120
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
121
  requirements:
145
- - - ! '>='
122
+ - - ">="
146
123
  - !ruby/object:Gem::Version
147
124
  version: '0'
148
125
  - !ruby/object:Gem::Dependency
149
- name: sqlite3
126
+ name: jquery-rails
150
127
  requirement: !ruby/object:Gem::Requirement
151
- none: false
152
128
  requirements:
153
- - - ! '>='
129
+ - - ">="
154
130
  - !ruby/object:Gem::Version
155
131
  version: '0'
156
132
  type: :development
157
133
  prerelease: false
158
134
  version_requirements: !ruby/object:Gem::Requirement
159
- none: false
160
135
  requirements:
161
- - - ! '>='
136
+ - - ">="
162
137
  - !ruby/object:Gem::Version
163
138
  version: '0'
164
139
  - !ruby/object:Gem::Dependency
165
- name: jquery-rails
140
+ name: bullet
166
141
  requirement: !ruby/object:Gem::Requirement
167
- none: false
168
142
  requirements:
169
- - - ! '>='
143
+ - - ">="
170
144
  - !ruby/object:Gem::Version
171
145
  version: '0'
172
146
  type: :development
173
147
  prerelease: false
174
148
  version_requirements: !ruby/object:Gem::Requirement
175
- none: false
176
149
  requirements:
177
- - - ! '>='
150
+ - - ">="
178
151
  - !ruby/object:Gem::Version
179
152
  version: '0'
180
153
  - !ruby/object:Gem::Dependency
181
- name: bullet
154
+ name: rspec
182
155
  requirement: !ruby/object:Gem::Requirement
183
- none: false
184
156
  requirements:
185
- - - ! '>='
157
+ - - ">="
186
158
  - !ruby/object:Gem::Version
187
159
  version: '0'
188
160
  type: :development
189
161
  prerelease: false
190
162
  version_requirements: !ruby/object:Gem::Requirement
191
- none: false
192
163
  requirements:
193
- - - ! '>='
164
+ - - ">="
194
165
  - !ruby/object:Gem::Version
195
166
  version: '0'
196
167
  - !ruby/object:Gem::Dependency
197
- name: rspec
168
+ name: rspec-mocks
198
169
  requirement: !ruby/object:Gem::Requirement
199
- none: false
200
170
  requirements:
201
- - - ! '>='
171
+ - - ">="
202
172
  - !ruby/object:Gem::Version
203
173
  version: '0'
204
174
  type: :development
205
175
  prerelease: false
206
176
  version_requirements: !ruby/object:Gem::Requirement
207
- none: false
208
177
  requirements:
209
- - - ! '>='
178
+ - - ">="
210
179
  - !ruby/object:Gem::Version
211
180
  version: '0'
212
181
  - !ruby/object:Gem::Dependency
213
- name: rspec-mocks
182
+ name: temping
214
183
  requirement: !ruby/object:Gem::Requirement
215
- none: false
216
184
  requirements:
217
- - - ! '>='
185
+ - - ">="
218
186
  - !ruby/object:Gem::Version
219
187
  version: '0'
220
188
  type: :development
221
189
  prerelease: false
222
190
  version_requirements: !ruby/object:Gem::Requirement
223
- none: false
224
191
  requirements:
225
- - - ! '>='
192
+ - - ">="
226
193
  - !ruby/object:Gem::Version
227
194
  version: '0'
228
195
  - !ruby/object:Gem::Dependency
229
- name: temping
196
+ name: database_cleaner
230
197
  requirement: !ruby/object:Gem::Requirement
231
- none: false
232
198
  requirements:
233
- - - ! '>='
199
+ - - ">="
234
200
  - !ruby/object:Gem::Version
235
- version: '0'
201
+ version: 1.2.0
236
202
  type: :development
237
203
  prerelease: false
238
204
  version_requirements: !ruby/object:Gem::Requirement
239
- none: false
240
205
  requirements:
241
- - - ! '>='
206
+ - - ">="
242
207
  - !ruby/object:Gem::Version
243
- version: '0'
208
+ version: 1.2.0
209
+ - !ruby/object:Gem::Dependency
210
+ name: capybara
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '1.0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '1.0'
244
223
  description: This is a gem to help you to structure common reports of you application
245
224
  just by writing in the controller
246
225
  email:
@@ -249,272 +228,68 @@ executables: []
249
228
  extensions: []
250
229
  extra_rdoc_files: []
251
230
  files:
252
- - app/mailers/report_mailer.rb
253
- - app/helpers/query_report_helper.rb
231
+ - MIT-LICENSE
232
+ - README.md
233
+ - Rakefile
254
234
  - app/helpers/query_report_filter_helper.rb
235
+ - app/helpers/query_report_helper.rb
255
236
  - app/helpers/query_report_link_helper.rb
256
- - app/views/report_mailer/send_report.html.erb
237
+ - app/mailers/report_mailer.rb
238
+ - app/views/query_report/_chart.html.erb
257
239
  - app/views/query_report/_charts.html.erb
258
- - app/views/query_report/_search.html.erb
259
- - app/views/query_report/list.js.erb
260
- - app/views/query_report/_list.html.erb
240
+ - app/views/query_report/_content.html.erb
261
241
  - app/views/query_report/_links.html.erb
262
- - app/views/query_report/list.html.erb
263
- - app/views/query_report/_records.html.erb
242
+ - app/views/query_report/_list.html.erb
264
243
  - app/views/query_report/_record_footer.html.erb
265
- - app/views/query_report/_chart.html.erb
266
- - app/views/query_report/_content.html.erb
267
- - config/routes.rb
244
+ - app/views/query_report/_records.html.erb
245
+ - app/views/query_report/_search.html.erb
246
+ - app/views/query_report/list.html.erb
247
+ - app/views/query_report/list.js.erb
248
+ - app/views/report_mailer/send_report.html.erb
268
249
  - config/locales/query_report.yml
250
+ - config/routes.rb
269
251
  - db/schema.rb
270
- - lib/tasks/query_report_tasks.rake
271
252
  - lib/query_report.rb
272
- - lib/query_report/helper.rb
273
- - lib/query_report/engine.rb
274
253
  - lib/query_report/chart/chart_base.rb
275
- - lib/query_report/chart/themes.rb
254
+ - lib/query_report/chart/chart_column.rb
276
255
  - lib/query_report/chart/column_chart.rb
277
256
  - lib/query_report/chart/pie_chart.rb
278
- - lib/query_report/chart/chart_column.rb
257
+ - lib/query_report/chart/themes.rb
258
+ - lib/query_report/column.rb
279
259
  - lib/query_report/comparator.rb
260
+ - lib/query_report/config.rb
261
+ - lib/query_report/engine.rb
262
+ - lib/query_report/errors.rb
280
263
  - lib/query_report/filter.rb
264
+ - lib/query_report/helper.rb
281
265
  - lib/query_report/paginate.rb
282
- - lib/query_report/column.rb
283
- - lib/query_report/version.rb
284
- - lib/query_report/errors.rb
285
- - lib/query_report/report_pdf.rb
286
- - lib/query_report/config.rb
287
- - lib/query_report/report.rb
288
266
  - lib/query_report/record.rb
289
- - MIT-LICENSE
290
- - Rakefile
291
- - README.md
292
- - test/functional/report_mailer_test.rb
293
- - test/test_helper.rb
294
- - test/dummy/config/environment.rb
295
- - test/dummy/config/database.yml
296
- - test/dummy/config/application.rb
297
- - test/dummy/config/routes.rb
298
- - test/dummy/config/boot.rb
299
- - test/dummy/config/locales/en.yml
300
- - test/dummy/config/environments/development.rb
301
- - test/dummy/config/environments/test.rb
302
- - test/dummy/config/environments/production.rb
303
- - test/dummy/config/initializers/secret_token.rb
304
- - test/dummy/config/initializers/session_store.rb
305
- - test/dummy/config/initializers/query_report.rb
306
- - test/dummy/config/initializers/mime_types.rb
307
- - test/dummy/config/initializers/wrap_parameters.rb
308
- - test/dummy/config/initializers/backtrace_silencers.rb
309
- - test/dummy/config/initializers/inflections.rb
310
- - test/dummy/config.ru
311
- - test/dummy/script/rails
312
- - test/dummy/app/controllers/invoices_controller.rb
313
- - test/dummy/app/controllers/application_controller.rb
314
- - test/dummy/app/controllers/users_controller.rb
315
- - test/dummy/app/assets/stylesheets/invoices.css
316
- - test/dummy/app/assets/stylesheets/scaffold.css
317
- - test/dummy/app/assets/stylesheets/application.css
318
- - test/dummy/app/assets/stylesheets/users.css
319
- - test/dummy/app/assets/javascripts/invoices.js
320
- - test/dummy/app/assets/javascripts/users.js
321
- - test/dummy/app/assets/javascripts/application.js
322
- - test/dummy/app/helpers/users_helper.rb
323
- - test/dummy/app/helpers/invoices_helper.rb
324
- - test/dummy/app/helpers/application_helper.rb
325
- - test/dummy/app/views/users/index.html.erb
326
- - test/dummy/app/views/users/edit.html.erb
327
- - test/dummy/app/views/users/_form.html.erb
328
- - test/dummy/app/views/users/new.html.erb
329
- - test/dummy/app/views/users/show.html.erb
330
- - test/dummy/app/views/layouts/application.html.erb
331
- - test/dummy/app/views/invoices/index.html.erb
332
- - test/dummy/app/views/invoices/edit.html.erb
333
- - test/dummy/app/views/invoices/_form.html.erb
334
- - test/dummy/app/views/invoices/new.html.erb
335
- - test/dummy/app/views/invoices/show.html.erb
336
- - test/dummy/app/models/invoice.rb
337
- - test/dummy/app/models/pdf_report_template.rb
338
- - test/dummy/log/development.log
339
- - test/dummy/log/test.log
340
- - test/dummy/README.rdoc
341
- - test/dummy/Rakefile
342
- - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
343
- - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
344
- - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
345
- - test/dummy/tmp/cache/assets/CA9/F20/sprockets%2F00ff4f84806dd8834ab35f800a082640
346
- - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
347
- - test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea
348
- - test/dummy/tmp/cache/assets/D54/B90/sprockets%2F90719d7bdca76469cd487928f710decb
349
- - test/dummy/tmp/cache/assets/D7C/990/sprockets%2F302f7d851fcdb17936f8096bfb967cab
350
- - test/dummy/tmp/cache/assets/DA3/AC0/sprockets%2F797d3e5f21daaf5c046cc6ec4830e95b
351
- - test/dummy/tmp/cache/assets/D7F/AF0/sprockets%2Fa7deca9af827ab462635389b96c7da39
352
- - test/dummy/tmp/cache/assets/CB5/B70/sprockets%2Fa769d915e72b1c8c0614793b54d02c86
353
- - test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
354
- - test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174
355
- - test/dummy/tmp/cache/assets/E0E/8A0/sprockets%2Fbecd48a9cf2ece858e433d7dcf0554f6
356
- - test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
357
- - test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
358
- - test/dummy/tmp/cache/assets/DFC/6F0/sprockets%2F2c45c36e4d7c7bfaeb826eeba29a09d2
359
- - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
360
- - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
361
- - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
362
- - test/dummy/tmp/miniprofiler/mp_timers_mr5amrsanyhnyiefk7ze
363
- - test/dummy/tmp/miniprofiler/mp_timers_f0jlfr3yzz6f1yfyq446
364
- - test/dummy/tmp/miniprofiler/mp_timers_1yzh11ff7f20he2ibrf5
365
- - test/dummy/tmp/miniprofiler/mp_timers_u5cef64yg5b391u4fmj6
366
- - test/dummy/tmp/miniprofiler/mp_timers_gr2fezt8668tj6sdlgxd
367
- - test/dummy/tmp/miniprofiler/mp_timers_h42xf1rxqz40qpxkhkfh
368
- - test/dummy/tmp/miniprofiler/mp_timers_zrlk63csu50ffb4ysymm
369
- - test/dummy/tmp/miniprofiler/mp_timers_43t0tuuypgcuns14vrux
370
- - test/dummy/tmp/miniprofiler/mp_timers_ro8d5tfkqqi3pyyahy8t
371
- - test/dummy/tmp/miniprofiler/mp_timers_qhtoawvlvlp0753c32so
372
- - test/dummy/tmp/miniprofiler/mp_timers_xgkalffzvqg8jwck2t95
373
- - test/dummy/tmp/miniprofiler/mp_timers_bvxp7ntgvswdeihn0xkx
374
- - test/dummy/tmp/miniprofiler/mp_timers_waldf841hr1ekdv3pxby
375
- - test/dummy/tmp/miniprofiler/mp_views_127.0.0.1
376
- - test/dummy/tmp/miniprofiler/mp_timers_iyeniuysxyxtupg0v0fb
377
- - test/dummy/tmp/miniprofiler/mp_timers_gx96ln5mjqb61n0uc37o
378
- - test/dummy/tmp/miniprofiler/mp_timers_exy6ebpwi5seo6ohb61r
379
- - test/dummy/tmp/miniprofiler/mp_timers_8ku60sfcb2ox5r3bn86p
380
- - test/dummy/db/test.sqlite3
381
- - test/dummy/db/migrate/20130630132513_create_invoices.rb
382
- - test/dummy/db/schema.rb
383
- - test/dummy/db/seed.rb
384
- - test/dummy/db/development.sqlite3
385
- - test/dummy/public/favicon.ico
386
- - test/dummy/public/500.html
387
- - test/dummy/public/404.html
388
- - test/dummy/public/422.html
389
- - test/dummy/test/functional/invoices_controller_test.rb
390
- - test/dummy/test/unit/invoice_test.rb
391
- - test/dummy/test/unit/helpers/invoices_helper_test.rb
392
- - test/dummy/test/fixtures/invoices.yml
267
+ - lib/query_report/report.rb
268
+ - lib/query_report/report_pdf.rb
269
+ - lib/query_report/version.rb
270
+ - lib/tasks/query_report_tasks.rake
393
271
  homepage: http://ashrafuzzaman.github.io/query_report
394
272
  licenses:
395
273
  - MIT
274
+ metadata: {}
396
275
  post_install_message:
397
276
  rdoc_options: []
398
277
  require_paths:
399
278
  - lib
400
279
  required_ruby_version: !ruby/object:Gem::Requirement
401
- none: false
402
280
  requirements:
403
- - - ! '>='
281
+ - - ">="
404
282
  - !ruby/object:Gem::Version
405
283
  version: '0'
406
284
  required_rubygems_version: !ruby/object:Gem::Requirement
407
- none: false
408
285
  requirements:
409
- - - ! '>='
286
+ - - ">="
410
287
  - !ruby/object:Gem::Version
411
288
  version: '0'
412
289
  requirements: []
413
290
  rubyforge_project:
414
- rubygems_version: 1.8.25
291
+ rubygems_version: 2.2.2
415
292
  signing_key:
416
- specification_version: 3
293
+ specification_version: 4
417
294
  summary: Structure you reports
418
- test_files:
419
- - test/functional/report_mailer_test.rb
420
- - test/test_helper.rb
421
- - test/dummy/config/environment.rb
422
- - test/dummy/config/database.yml
423
- - test/dummy/config/application.rb
424
- - test/dummy/config/routes.rb
425
- - test/dummy/config/boot.rb
426
- - test/dummy/config/locales/en.yml
427
- - test/dummy/config/environments/development.rb
428
- - test/dummy/config/environments/test.rb
429
- - test/dummy/config/environments/production.rb
430
- - test/dummy/config/initializers/secret_token.rb
431
- - test/dummy/config/initializers/session_store.rb
432
- - test/dummy/config/initializers/query_report.rb
433
- - test/dummy/config/initializers/mime_types.rb
434
- - test/dummy/config/initializers/wrap_parameters.rb
435
- - test/dummy/config/initializers/backtrace_silencers.rb
436
- - test/dummy/config/initializers/inflections.rb
437
- - test/dummy/config.ru
438
- - test/dummy/script/rails
439
- - test/dummy/app/controllers/invoices_controller.rb
440
- - test/dummy/app/controllers/application_controller.rb
441
- - test/dummy/app/controllers/users_controller.rb
442
- - test/dummy/app/assets/stylesheets/invoices.css
443
- - test/dummy/app/assets/stylesheets/scaffold.css
444
- - test/dummy/app/assets/stylesheets/application.css
445
- - test/dummy/app/assets/stylesheets/users.css
446
- - test/dummy/app/assets/javascripts/invoices.js
447
- - test/dummy/app/assets/javascripts/users.js
448
- - test/dummy/app/assets/javascripts/application.js
449
- - test/dummy/app/helpers/users_helper.rb
450
- - test/dummy/app/helpers/invoices_helper.rb
451
- - test/dummy/app/helpers/application_helper.rb
452
- - test/dummy/app/views/users/index.html.erb
453
- - test/dummy/app/views/users/edit.html.erb
454
- - test/dummy/app/views/users/_form.html.erb
455
- - test/dummy/app/views/users/new.html.erb
456
- - test/dummy/app/views/users/show.html.erb
457
- - test/dummy/app/views/layouts/application.html.erb
458
- - test/dummy/app/views/invoices/index.html.erb
459
- - test/dummy/app/views/invoices/edit.html.erb
460
- - test/dummy/app/views/invoices/_form.html.erb
461
- - test/dummy/app/views/invoices/new.html.erb
462
- - test/dummy/app/views/invoices/show.html.erb
463
- - test/dummy/app/models/invoice.rb
464
- - test/dummy/app/models/pdf_report_template.rb
465
- - test/dummy/log/development.log
466
- - test/dummy/log/test.log
467
- - test/dummy/README.rdoc
468
- - test/dummy/Rakefile
469
- - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
470
- - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
471
- - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
472
- - test/dummy/tmp/cache/assets/CA9/F20/sprockets%2F00ff4f84806dd8834ab35f800a082640
473
- - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
474
- - test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea
475
- - test/dummy/tmp/cache/assets/D54/B90/sprockets%2F90719d7bdca76469cd487928f710decb
476
- - test/dummy/tmp/cache/assets/D7C/990/sprockets%2F302f7d851fcdb17936f8096bfb967cab
477
- - test/dummy/tmp/cache/assets/DA3/AC0/sprockets%2F797d3e5f21daaf5c046cc6ec4830e95b
478
- - test/dummy/tmp/cache/assets/D7F/AF0/sprockets%2Fa7deca9af827ab462635389b96c7da39
479
- - test/dummy/tmp/cache/assets/CB5/B70/sprockets%2Fa769d915e72b1c8c0614793b54d02c86
480
- - test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
481
- - test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174
482
- - test/dummy/tmp/cache/assets/E0E/8A0/sprockets%2Fbecd48a9cf2ece858e433d7dcf0554f6
483
- - test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
484
- - test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
485
- - test/dummy/tmp/cache/assets/DFC/6F0/sprockets%2F2c45c36e4d7c7bfaeb826eeba29a09d2
486
- - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
487
- - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
488
- - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
489
- - test/dummy/tmp/miniprofiler/mp_timers_mr5amrsanyhnyiefk7ze
490
- - test/dummy/tmp/miniprofiler/mp_timers_f0jlfr3yzz6f1yfyq446
491
- - test/dummy/tmp/miniprofiler/mp_timers_1yzh11ff7f20he2ibrf5
492
- - test/dummy/tmp/miniprofiler/mp_timers_u5cef64yg5b391u4fmj6
493
- - test/dummy/tmp/miniprofiler/mp_timers_gr2fezt8668tj6sdlgxd
494
- - test/dummy/tmp/miniprofiler/mp_timers_h42xf1rxqz40qpxkhkfh
495
- - test/dummy/tmp/miniprofiler/mp_timers_zrlk63csu50ffb4ysymm
496
- - test/dummy/tmp/miniprofiler/mp_timers_43t0tuuypgcuns14vrux
497
- - test/dummy/tmp/miniprofiler/mp_timers_ro8d5tfkqqi3pyyahy8t
498
- - test/dummy/tmp/miniprofiler/mp_timers_qhtoawvlvlp0753c32so
499
- - test/dummy/tmp/miniprofiler/mp_timers_xgkalffzvqg8jwck2t95
500
- - test/dummy/tmp/miniprofiler/mp_timers_bvxp7ntgvswdeihn0xkx
501
- - test/dummy/tmp/miniprofiler/mp_timers_waldf841hr1ekdv3pxby
502
- - test/dummy/tmp/miniprofiler/mp_views_127.0.0.1
503
- - test/dummy/tmp/miniprofiler/mp_timers_iyeniuysxyxtupg0v0fb
504
- - test/dummy/tmp/miniprofiler/mp_timers_gx96ln5mjqb61n0uc37o
505
- - test/dummy/tmp/miniprofiler/mp_timers_exy6ebpwi5seo6ohb61r
506
- - test/dummy/tmp/miniprofiler/mp_timers_8ku60sfcb2ox5r3bn86p
507
- - test/dummy/db/test.sqlite3
508
- - test/dummy/db/migrate/20130630132513_create_invoices.rb
509
- - test/dummy/db/schema.rb
510
- - test/dummy/db/seed.rb
511
- - test/dummy/db/development.sqlite3
512
- - test/dummy/public/favicon.ico
513
- - test/dummy/public/500.html
514
- - test/dummy/public/404.html
515
- - test/dummy/public/422.html
516
- - test/dummy/test/functional/invoices_controller_test.rb
517
- - test/dummy/test/unit/invoice_test.rb
518
- - test/dummy/test/unit/helpers/invoices_helper_test.rb
519
- - test/dummy/test/fixtures/invoices.yml
520
- has_rdoc:
295
+ test_files: []