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.
- checksums.yaml +4 -4
- data/README.md +23 -3
- data/app/assets/javascripts/snitch_reporting/snitch_report.js +60 -0
- data/app/assets/stylesheets/snitch_reporting/_variables.scss +5 -0
- data/app/assets/stylesheets/snitch_reporting/components.scss +120 -0
- data/app/assets/stylesheets/snitch_reporting/containers.scss +6 -0
- data/app/assets/stylesheets/snitch_reporting/default.scss +18 -0
- data/app/assets/stylesheets/snitch_reporting/forms.scss +36 -0
- data/app/assets/stylesheets/snitch_reporting/navigation.scss +37 -0
- data/app/assets/stylesheets/snitch_reporting/snitch_report.scss +1 -0
- data/app/assets/stylesheets/snitch_reporting/tables.scss +127 -0
- data/app/controllers/snitch_reporting/application_controller.rb +4 -0
- data/app/controllers/snitch_reporting/snitch_reports_controller.rb +167 -0
- data/app/helpers/snitch_reporting/params_helper.rb +38 -0
- data/app/helpers/snitch_reporting/snitch_report_helper.rb +2 -0
- data/app/models/snitch_reporting/service/json_wrapper.rb +5 -0
- data/app/models/snitch_reporting/snitch_comment.rb +7 -0
- data/app/models/snitch_reporting/snitch_history.rb +7 -0
- data/app/models/snitch_reporting/snitch_occurrence.rb +183 -0
- data/app/models/snitch_reporting/snitch_report.rb +301 -0
- data/app/models/snitch_reporting/snitch_tracker.rb +17 -0
- data/app/views/snitch_reporting/snitch_reports/_filters.html.erb +16 -0
- data/app/views/snitch_reporting/snitch_reports/_navigation.html.erb +0 -0
- data/app/views/snitch_reporting/snitch_reports/edit.html.erb +19 -0
- data/app/views/snitch_reporting/snitch_reports/index.html.erb +75 -0
- data/app/views/snitch_reporting/snitch_reports/show.html.erb +189 -0
- data/config/routes.rb +4 -1
- data/lib/generators/snitch_reporting/install/install_generator.rb +24 -0
- data/lib/generators/snitch_reporting/install/templates/install_snitch_reporting.rb +62 -0
- data/lib/snitch_reporting/engine.rb +3 -0
- data/lib/snitch_reporting/rack.rb +29 -0
- data/lib/snitch_reporting/version.rb +1 -1
- data/lib/snitch_reporting.rb +3 -1
- metadata +58 -3
data/lib/snitch_reporting.rb
CHANGED
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:
|
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:
|
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:
|
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
|