snitch_reporting 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -3
  3. data/app/assets/javascripts/snitch_reporting/snitch_report.js +60 -0
  4. data/app/assets/stylesheets/snitch_reporting/_variables.scss +5 -0
  5. data/app/assets/stylesheets/snitch_reporting/components.scss +120 -0
  6. data/app/assets/stylesheets/snitch_reporting/containers.scss +6 -0
  7. data/app/assets/stylesheets/snitch_reporting/default.scss +18 -0
  8. data/app/assets/stylesheets/snitch_reporting/forms.scss +36 -0
  9. data/app/assets/stylesheets/snitch_reporting/navigation.scss +37 -0
  10. data/app/assets/stylesheets/snitch_reporting/snitch_report.scss +1 -0
  11. data/app/assets/stylesheets/snitch_reporting/tables.scss +127 -0
  12. data/app/controllers/snitch_reporting/application_controller.rb +4 -0
  13. data/app/controllers/snitch_reporting/snitch_reports_controller.rb +167 -0
  14. data/app/helpers/snitch_reporting/params_helper.rb +38 -0
  15. data/app/helpers/snitch_reporting/snitch_report_helper.rb +2 -0
  16. data/app/models/snitch_reporting/service/json_wrapper.rb +5 -0
  17. data/app/models/snitch_reporting/snitch_comment.rb +7 -0
  18. data/app/models/snitch_reporting/snitch_history.rb +7 -0
  19. data/app/models/snitch_reporting/snitch_occurrence.rb +183 -0
  20. data/app/models/snitch_reporting/snitch_report.rb +301 -0
  21. data/app/models/snitch_reporting/snitch_tracker.rb +17 -0
  22. data/app/views/snitch_reporting/snitch_reports/_filters.html.erb +16 -0
  23. data/app/views/snitch_reporting/snitch_reports/_navigation.html.erb +0 -0
  24. data/app/views/snitch_reporting/snitch_reports/edit.html.erb +19 -0
  25. data/app/views/snitch_reporting/snitch_reports/index.html.erb +75 -0
  26. data/app/views/snitch_reporting/snitch_reports/show.html.erb +189 -0
  27. data/config/routes.rb +4 -1
  28. data/lib/generators/snitch_reporting/install/install_generator.rb +24 -0
  29. data/lib/generators/snitch_reporting/install/templates/install_snitch_reporting.rb +62 -0
  30. data/lib/snitch_reporting/engine.rb +3 -0
  31. data/lib/snitch_reporting/rack.rb +29 -0
  32. data/lib/snitch_reporting/version.rb +1 -1
  33. data/lib/snitch_reporting.rb +3 -1
  34. metadata +58 -3
@@ -1,3 +1,3 @@
1
1
  module SnitchReporting
2
- VERSION = '0.1.0'
2
+ VERSION = '1.0.0'
3
3
  end
@@ -1,5 +1,7 @@
1
+ require "snitch_reporting"
2
+ require "snitch_reporting/rack"
1
3
  require "snitch_reporting/engine"
4
+ require "snitch_reporting/version"
2
5
 
3
6
  module SnitchReporting
4
- # Your code goes here...
5
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snitch_reporting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rocco Nicholls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2020-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -25,7 +25,35 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 5.2.3
27
27
  - !ruby/object:Gem::Dependency
28
- name: sqlite3
28
+ name: kaminari
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sass-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pg
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
59
  - - ">="
@@ -50,9 +78,36 @@ files:
50
78
  - README.md
51
79
  - Rakefile
52
80
  - app/assets/config/snitch_reporting_manifest.js
81
+ - app/assets/javascripts/snitch_reporting/snitch_report.js
82
+ - app/assets/stylesheets/snitch_reporting/_variables.scss
83
+ - app/assets/stylesheets/snitch_reporting/components.scss
84
+ - app/assets/stylesheets/snitch_reporting/containers.scss
85
+ - app/assets/stylesheets/snitch_reporting/default.scss
86
+ - app/assets/stylesheets/snitch_reporting/forms.scss
87
+ - app/assets/stylesheets/snitch_reporting/navigation.scss
88
+ - app/assets/stylesheets/snitch_reporting/snitch_report.scss
89
+ - app/assets/stylesheets/snitch_reporting/tables.scss
90
+ - app/controllers/snitch_reporting/application_controller.rb
91
+ - app/controllers/snitch_reporting/snitch_reports_controller.rb
92
+ - app/helpers/snitch_reporting/params_helper.rb
93
+ - app/helpers/snitch_reporting/snitch_report_helper.rb
94
+ - app/models/snitch_reporting/service/json_wrapper.rb
95
+ - app/models/snitch_reporting/snitch_comment.rb
96
+ - app/models/snitch_reporting/snitch_history.rb
97
+ - app/models/snitch_reporting/snitch_occurrence.rb
98
+ - app/models/snitch_reporting/snitch_report.rb
99
+ - app/models/snitch_reporting/snitch_tracker.rb
100
+ - app/views/snitch_reporting/snitch_reports/_filters.html.erb
101
+ - app/views/snitch_reporting/snitch_reports/_navigation.html.erb
102
+ - app/views/snitch_reporting/snitch_reports/edit.html.erb
103
+ - app/views/snitch_reporting/snitch_reports/index.html.erb
104
+ - app/views/snitch_reporting/snitch_reports/show.html.erb
53
105
  - config/routes.rb
106
+ - lib/generators/snitch_reporting/install/install_generator.rb
107
+ - lib/generators/snitch_reporting/install/templates/install_snitch_reporting.rb
54
108
  - lib/snitch_reporting.rb
55
109
  - lib/snitch_reporting/engine.rb
110
+ - lib/snitch_reporting/rack.rb
56
111
  - lib/snitch_reporting/version.rb
57
112
  - lib/tasks/snitch_reporting_tasks.rake
58
113
  homepage: https://github.com/Rockster160/SnitchReporting