easy_reports 0.0.22 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +21 -21
  3. data/Gemfile +19 -19
  4. data/MIT-LICENSE +20 -20
  5. data/README.md +31 -31
  6. data/Rakefile +10 -10
  7. data/app/assets/javascripts/application.js +10 -10
  8. data/app/assets/javascripts/bootstrap.js +3 -3
  9. data/app/assets/javascripts/easy_reports/application.js +17 -16
  10. data/app/assets/javascripts/easy_reports/database_configs.js +2 -2
  11. data/app/assets/javascripts/easy_reports/reports.js +2 -2
  12. data/app/assets/stylesheets/application.css +8 -8
  13. data/app/assets/stylesheets/easy_reports/application.css +17 -16
  14. data/app/assets/stylesheets/easy_reports/bootstrap_and_overrides.css.less +29 -29
  15. data/app/assets/stylesheets/easy_reports/dashboard/dashboard_content.css +0 -0
  16. data/app/assets/stylesheets/easy_reports/dashboard/sidebar.css +135 -0
  17. data/app/assets/stylesheets/easy_reports/database_configs.css +4 -4
  18. data/app/assets/stylesheets/easy_reports/reports.css +4 -4
  19. data/app/controllers/easy_reports/application_controller.rb +4 -4
  20. data/app/controllers/easy_reports/dashboard_controller.rb +17 -0
  21. data/app/controllers/easy_reports/database_configs_controller.rb +53 -53
  22. data/app/controllers/easy_reports/reports_controller.rb +56 -57
  23. data/app/helpers/easy_reports/application_helper.rb +4 -4
  24. data/app/helpers/easy_reports/database_configs_helper.rb +4 -4
  25. data/app/helpers/easy_reports/reports_helper.rb +4 -4
  26. data/app/models/easy_reports/database_config.rb +4 -4
  27. data/app/models/easy_reports/report.rb +4 -4
  28. data/app/services/easy_reports/database_mediator.rb +36 -18
  29. data/app/views/easy_reports/dashboard/show.html.slim +3 -0
  30. data/app/views/easy_reports/database_configs/_form.html.slim +33 -33
  31. data/app/views/easy_reports/database_configs/edit.html.slim +8 -8
  32. data/app/views/easy_reports/database_configs/index.html.slim +35 -35
  33. data/app/views/easy_reports/database_configs/new.html.slim +5 -5
  34. data/app/views/easy_reports/database_configs/show.html.slim +27 -27
  35. data/app/views/easy_reports/reports/_form.html.slim +17 -15
  36. data/app/views/easy_reports/reports/edit.html.slim +8 -8
  37. data/app/views/easy_reports/reports/index.html.slim +26 -26
  38. data/app/views/easy_reports/reports/new.html.slim +5 -5
  39. data/app/views/easy_reports/reports/show.html.slim +12 -12
  40. data/app/views/layouts/easy_reports/application.html.slim +15 -0
  41. data/app/views/shared/_header.html.slim +60 -0
  42. data/app/views/shared/_sidebar.html.slim +58 -0
  43. data/bin/rails +12 -12
  44. data/config/locales/en.bootstrap.yml +23 -23
  45. data/config/routes.rb +8 -8
  46. data/db/migrate/20141207141745_create_easy_reports_reports.rb +10 -10
  47. data/db/migrate/20141213173509_create_easy_reports_database_configs.rb +16 -16
  48. data/easy_reports.gemspec +36 -35
  49. data/lib/easy_reports.rb +13 -11
  50. data/lib/easy_reports/engine.rb +5 -5
  51. data/lib/easy_reports/version.rb +3 -3
  52. data/lib/tasks/easy_reports_tasks.rake +4 -4
  53. data/test/controllers/easy_reports/database_configs_controller_test.rb +51 -51
  54. data/test/controllers/easy_reports/reports_controller_test.rb +51 -51
  55. data/test/dummy/Gemfile +16 -16
  56. data/test/dummy/Gemfile.lock +129 -129
  57. data/test/dummy/Rakefile +6 -6
  58. data/test/dummy/app/assets/javascripts/application.js +13 -13
  59. data/test/dummy/app/assets/javascripts/bootstrap.js +4 -4
  60. data/test/dummy/app/assets/stylesheets/application.css +15 -15
  61. data/test/dummy/app/assets/stylesheets/bootstrap_and_overrides.css.less +29 -29
  62. data/test/dummy/app/controllers/application_controller.rb +5 -5
  63. data/test/dummy/app/helpers/application_helper.rb +2 -2
  64. data/test/dummy/app/views/layouts/application.html.erb +14 -14
  65. data/test/dummy/bin/bundle +3 -3
  66. data/test/dummy/bin/rails +4 -4
  67. data/test/dummy/bin/rake +4 -4
  68. data/test/dummy/config.ru +4 -4
  69. data/test/dummy/config/application.rb +23 -23
  70. data/test/dummy/config/boot.rb +5 -5
  71. data/test/dummy/config/database.yml +25 -25
  72. data/test/dummy/config/environment.rb +5 -5
  73. data/test/dummy/config/environments/development.rb +37 -37
  74. data/test/dummy/config/environments/production.rb +82 -82
  75. data/test/dummy/config/environments/test.rb +39 -39
  76. data/test/dummy/config/initializers/assets.rb +8 -8
  77. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -7
  78. data/test/dummy/config/initializers/cookies_serializer.rb +2 -2
  79. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  80. data/test/dummy/config/initializers/inflections.rb +16 -16
  81. data/test/dummy/config/initializers/mime_types.rb +4 -4
  82. data/test/dummy/config/initializers/session_store.rb +3 -3
  83. data/test/dummy/config/initializers/wrap_parameters.rb +14 -14
  84. data/test/dummy/config/locales/en.bootstrap.yml +23 -23
  85. data/test/dummy/config/locales/en.yml +23 -23
  86. data/test/dummy/config/routes.rb +4 -4
  87. data/test/dummy/config/secrets.yml +22 -22
  88. data/test/dummy/db/migrate/20141214161417_create_easy_reports_reports.easy_reports.rb +11 -11
  89. data/test/dummy/db/migrate/20141214161418_create_easy_reports_database_configs.easy_reports.rb +17 -17
  90. data/test/dummy/public/404.html +67 -67
  91. data/test/dummy/public/422.html +67 -67
  92. data/test/dummy/public/500.html +66 -66
  93. data/test/fixtures/easy_reports/database_configs.yml +19 -19
  94. data/test/fixtures/easy_reports/reports.yml +9 -9
  95. data/test/helpers/easy_reports/database_configs_helper_test.rb +6 -6
  96. data/test/helpers/easy_reports/reports_helper_test.rb +6 -6
  97. data/test/models/easy_reports/database_config_test.rb +9 -9
  98. data/test/models/easy_reports/report_test.rb +9 -9
  99. metadata +24 -5
  100. data/app/assets/stylesheets/scaffold.css +0 -56
  101. data/app/views/layouts/easy_reports/application.html.erb +0 -14
@@ -1,56 +0,0 @@
1
- body { background-color: #fff; color: #333; }
2
-
3
- body, p, ol, ul, td {
4
- font-family: verdana, arial, helvetica, sans-serif;
5
- font-size: 13px;
6
- line-height: 18px;
7
- }
8
-
9
- pre {
10
- background-color: #eee;
11
- padding: 10px;
12
- font-size: 11px;
13
- }
14
-
15
- a { color: #000; }
16
- a:visited { color: #666; }
17
- a:hover { color: #fff; background-color:#000; }
18
-
19
- div.field, div.actions {
20
- margin-bottom: 10px;
21
- }
22
-
23
- #notice {
24
- color: green;
25
- }
26
-
27
- .field_with_errors {
28
- padding: 2px;
29
- background-color: red;
30
- display: table;
31
- }
32
-
33
- #error_explanation {
34
- width: 450px;
35
- border: 2px solid red;
36
- padding: 7px;
37
- padding-bottom: 0;
38
- margin-bottom: 20px;
39
- background-color: #f0f0f0;
40
- }
41
-
42
- #error_explanation h2 {
43
- text-align: left;
44
- font-weight: bold;
45
- padding: 5px 5px 5px 15px;
46
- font-size: 12px;
47
- margin: -7px;
48
- margin-bottom: 0px;
49
- background-color: #c00;
50
- color: #fff;
51
- }
52
-
53
- #error_explanation ul li {
54
- font-size: 12px;
55
- list-style: square;
56
- }
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>EasyReports</title>
5
- <%= stylesheet_link_tag "easy_reports/application", media: "all" %>
6
- <%= javascript_include_tag "easy_reports/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>