prawn_report 1.9.23 → 1.9.24

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/ac_filter_defs_controller.rb +1 -0
  3. data/app/controllers/custom_generate_report_controller.rb +1 -0
  4. data/app/controllers/generate_report_controller.rb +1 -0
  5. data/app/controllers/report_templates_controller.rb +1 -0
  6. data/app/models/ac_filter.rb +1 -0
  7. data/app/models/ac_filter_def.rb +1 -0
  8. data/app/models/ac_filter_option.rb +1 -0
  9. data/app/models/report_template.rb +1 -0
  10. data/lib/active_record_helpers.rb +1 -1
  11. data/lib/bands/band.rb +2 -0
  12. data/lib/bands/footer_band.rb +2 -0
  13. data/lib/bands/header_band.rb +2 -0
  14. data/lib/bands/summary_band.rb +2 -0
  15. data/lib/custom_report_controller.rb +1 -1
  16. data/lib/generators/prawn_report/install/install_generator.rb +2 -0
  17. data/lib/generators/prawn_report/install/templates/20120108210141_create_prawn_report_catalogs.rb +2 -0
  18. data/lib/generators/prawn_report/install/templates/20120124012653_add_filter_defs.rb +2 -0
  19. data/lib/generators/prawn_report/install/templates/20120209231821_add_filters_to_reports.rb +2 -0
  20. data/lib/generators/prawn_report/install/templates/20120222021437_add_order_to_filter_def.rb +2 -0
  21. data/lib/generators/prawn_report/install/templates/20120222025632_add_select_sql.rb +2 -0
  22. data/lib/generators/prawn_report/install/templates/20120222030526_create_ac_filter_joins.rb +2 -0
  23. data/lib/generators/prawn_report/install/templates/20120222122507_add_serialization_params_to_report.rb +2 -0
  24. data/lib/generators/prawn_report/install/templates/20120222134101_create_ac_filter_includes.rb +2 -0
  25. data/lib/generators/prawn_report/install/templates/20120222150029_change_includes_and_joins_to_hash.rb +2 -0
  26. data/lib/generators/prawn_report/install/templates/20120229134810_add_group_to_filter_def.rb +2 -0
  27. data/lib/generators/prawn_report/install/templates/20120229194434_add_system_criteria_to_ac_filter.rb +2 -0
  28. data/lib/generators/prawn_report/install/templates/20120301063031_change_select_sql.rb +2 -0
  29. data/lib/generators/prawn_report/install/templates/20120303104431_change_filled_criteria_unfilled_criteria.rb +2 -0
  30. data/lib/generators/prawn_report/install/templates/20120316162712_add_filled_criteria_to_options.rb +2 -0
  31. data/lib/generators/prawn_report/install/templates/20120323124446_add_fields_to_filter.rb +2 -0
  32. data/lib/generators/prawn_report/install/templates/20130122101313_add_sql_query_to_ac_filter_def.rb +2 -0
  33. data/lib/generators/prawn_report/install/templates/20131107172133_add_excluir_to_report_template.rb +2 -0
  34. data/lib/prawn_report.rb +1 -2
  35. data/lib/prawn_report/engine.rb +2 -0
  36. data/lib/prawn_report/version.rb +2 -0
  37. data/lib/prawn_report_seeds.rb +1 -1
  38. data/lib/report.rb +1 -1
  39. data/lib/report_helpers.rb +1 -1
  40. data/lib/report_info.rb +1 -1
  41. data/repo/bands/footers/footer_001.rb +1 -1
  42. data/repo/bands/headers/header_001.rb +1 -1
  43. data/repo/bands/headers/header_002.rb +1 -1
  44. data/repo/reports/column_group.rb +2 -0
  45. data/repo/reports/listing.rb +1 -1
  46. data/repo/reports/simple_listing.rb +1 -1
  47. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8321bf4ccf75a8b405d1369812a5ab9d9ef0f0e12ee8e0d71d4c033001e6ed29
4
- data.tar.gz: a77d4bca6a522bbbee2ed3cdaf617895720e10da7061c06f20ce94decaf6b935
3
+ metadata.gz: 1bb81c41492021bdcbe96778fceab73b7df3553cc989537421583d4fdcc9b58a
4
+ data.tar.gz: e8ab6ba2fe4c50a2d4713f243d8d1c5c3ba5bb86b0eceee8377bbdc5939a43ee
5
5
  SHA512:
6
- metadata.gz: 0ef0888c2e4c9eec772d16c54a5da2bf26113a68cc47a412b2e7294ca5efc68efcbf6763e489c4744165cbf03b82e48f2edac4dde12915cf6f876e319c49d589
7
- data.tar.gz: 7d8f9b4ecf4c7b664fc024e77e1f0a79520a560e9f296ebfda79127aedc9a30647e9498fe7e1247e0c850dabdaf831ccacb82b9860817a6411625132df661639
6
+ metadata.gz: aa86a1f29822ebcb8f65b8e1c3932c21e661e2b226789f1dcfae395937609c71220d4ed93b978a873bc624e3993647fa05d81fcd8e630b354d497562241f1e4a
7
+ data.tar.gz: 899d48d33f1dceb771d1d35f58d872353d457f50e3a460049250106d931a0d0e90dcd589a29791f7216cf192af799dcdfa0741a71b20260bfda345e422dabd00
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  class AcFilterDefsController < ApplicationController
2
3
 
3
4
  unloadable
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require "custom_report_controller"
2
3
 
3
4
  class CustomGenerateReportController < ApplicationController
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  class GenerateReportController < PrawnReport.parent_controller.constantize
2
3
 
3
4
  unloadable
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  class ReportTemplatesController < ApplicationController
2
3
 
3
4
  unloadable
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  class AcFilter < ActiveRecord::Base
2
3
  belongs_to :ac_filter_def
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  class AcFilterDef < ActiveRecord::Base
2
3
 
3
4
  has_many :ac_filters, :dependent => :destroy
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  class AcFilterOption < ActiveRecord::Base
2
3
 
3
4
  belongs_to :ac_filter_def
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require 'yaml'
2
3
 
3
4
  class ReportTemplate < ActiveRecord::Base
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require 'yaml'
4
4
 
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
 
3
5
  class Band
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
 
3
5
  class FooterBand < Band
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
 
3
5
  require File.expand_path(File.dirname(__FILE__) + "/band")
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
 
3
5
  class SummaryBand < Band
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  module PrawnReportController
4
4
 
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
  module Generators
3
5
  class InstallGenerator < ::Rails::Generators::Base
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class CreatePrawnReportCatalogs < ActiveRecord::Migration
2
4
  def self.up
3
5
  create_table :report_templates do |t|
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddFilterDefs < ActiveRecord::Migration
2
4
  def self.up
3
5
 
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddFiltersToReports < ActiveRecord::Migration
2
4
 
3
5
  def self.up
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddOrderToFilterDef < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :ac_filter_defs, :order_sql, :string
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddSelectSql < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :ac_filter_defs, :select_sql, :string
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class CreateAcFilterJoins < ActiveRecord::Migration
2
4
  def self.up
3
5
  create_table :ac_filter_joins do |t|
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddSerializationParamsToReport < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :report_templates, :serialization_params, :text
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class CreateAcFilterIncludes < ActiveRecord::Migration
2
4
  def self.up
3
5
  create_table :ac_filter_includes do |t|
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class ChangeIncludesAndJoinsToHash < ActiveRecord::Migration
2
4
  def self.up
3
5
  drop_table :ac_filter_includes
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddGroupToFilterDef < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :ac_filter_defs, :group_param, :string
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddSystemCriteriaToAcFilter < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :ac_filters, :system_criteria, :string
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class ChangeSelectSql < ActiveRecord::Migration
2
4
  def self.up
3
5
  remove_column :ac_filter_defs, :select_sql
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class ChangeFilledCriteriaUnfilledCriteria < ActiveRecord::Migration
2
4
  def self.up
3
5
  remove_column :ac_filters, :filled_criteria
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddFilledCriteriaToOptions < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :ac_filter_options, :filled_criteria, :text
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddFieldsToFilter < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :ac_filters, :filled_criteria_from, :text
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddSqlQueryToAcFilterDef < ActiveRecord::Migration
2
4
  def change
3
5
  add_column 'ac_filter_defs', 'sql_query', :text
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class AddExcluirToReportTemplate < ActiveRecord::Migration
2
4
  def self.up
3
5
  add_column :report_templates, :excluir, :boolean
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
-
1
+ # encoding: utf-8
3
2
 
4
3
  module PrawnReport
5
4
  mattr_accessor :parent_controller
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
  class Engine < ::Rails::Engine
3
5
  initializer "application_controller.initialize_prawn_report" do
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
  VERSION = "0.1.0"
3
5
  end
@@ -1,4 +1,4 @@
1
- # coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require 'yaml'
4
4
 
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require 'prawn'
4
4
 
@@ -1,4 +1,4 @@
1
- # coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  module PrawnReport
4
4
  class Report
@@ -1,4 +1,4 @@
1
- # coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require 'date'
4
4
 
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.dirname(__FILE__) + "/../../../lib/bands/footer_band")
4
4
 
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.dirname(__FILE__) + "/../../../lib/bands/header_band")
4
4
 
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.dirname(__FILE__) + "/../../../lib/bands/header_band")
4
4
 
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  module PrawnReport
2
4
  class NoGroupingFieldProvided < Exception; end
3
5
  class NoGroupingValueFieldProvided < Exception; end
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.dirname(__FILE__) + "/../../lib/report.rb")
4
4
  require File.expand_path(File.dirname(__FILE__) + "/../bands/headers/header_001.rb")
@@ -1,4 +1,4 @@
1
- #coding: utf-8
1
+ # encoding: utf-8
2
2
 
3
3
  require File.expand_path(File.dirname(__FILE__) + "/listing.rb")
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawn_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.23
4
+ version: 1.9.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Acras