bnb_blazer 0.2.0

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 (98) hide show
  1. checksums.yaml +7 -0
  2. data/.docker-development-vars +1 -0
  3. data/.gitignore +31 -0
  4. data/.rspec +3 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +6 -0
  7. data/Gemfile +54 -0
  8. data/Gemfile.lock +233 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +35 -0
  11. data/Rakefile +7 -0
  12. data/app/assets/config/manifest.js +3 -0
  13. data/app/assets/images/.keep +0 -0
  14. data/app/assets/images/bnb_intel_logo.png +0 -0
  15. data/app/assets/stylesheets/application.css +83 -0
  16. data/app/channels/application_cable/channel.rb +4 -0
  17. data/app/channels/application_cable/connection.rb +4 -0
  18. data/app/controllers/application_controller.rb +2 -0
  19. data/app/controllers/concerns/.keep +0 -0
  20. data/app/helpers/application_helper.rb +2 -0
  21. data/app/jobs/application_job.rb +2 -0
  22. data/app/mailers/application_mailer.rb +4 -0
  23. data/app/models/application_record.rb +3 -0
  24. data/app/models/concerns/.keep +0 -0
  25. data/app/models/user.rb +2 -0
  26. data/app/views/blazer/_variables.html.haml +104 -0
  27. data/app/views/blazer/checks/_form.html.haml +51 -0
  28. data/app/views/blazer/checks/edit.html.haml +2 -0
  29. data/app/views/blazer/checks/index.html.haml +50 -0
  30. data/app/views/blazer/checks/new.html.haml +2 -0
  31. data/app/views/blazer/dashboards/_form.html.haml +64 -0
  32. data/app/views/blazer/dashboards/edit.html.haml +2 -0
  33. data/app/views/blazer/dashboards/new.html.haml +2 -0
  34. data/app/views/blazer/dashboards/show.html.haml +30 -0
  35. data/app/views/blazer/queries/_form.html.haml +226 -0
  36. data/app/views/blazer/queries/edit.html.haml +2 -0
  37. data/app/views/blazer/queries/home.html.haml +142 -0
  38. data/app/views/blazer/queries/new.html.haml +2 -0
  39. data/app/views/blazer/queries/run.html.haml +152 -0
  40. data/app/views/blazer/queries/show.html.haml +45 -0
  41. data/app/views/layouts/blazer/_footer.html.haml +2 -0
  42. data/app/views/layouts/blazer/_navbar.html.haml +25 -0
  43. data/app/views/layouts/blazer/application.html.haml +21 -0
  44. data/bin/bundle +3 -0
  45. data/bin/console +14 -0
  46. data/bin/rails +9 -0
  47. data/bin/rake +9 -0
  48. data/bin/setup +36 -0
  49. data/bin/spring +17 -0
  50. data/bin/update +31 -0
  51. data/bin/yarn +11 -0
  52. data/bnb_blazer.gemspec +28 -0
  53. data/config/application.rb +19 -0
  54. data/config/blazer.yml +79 -0
  55. data/config/boot.rb +4 -0
  56. data/config/cable.yml +10 -0
  57. data/config/credentials.yml.enc +1 -0
  58. data/config/database.yml +19 -0
  59. data/config/environment.rb +5 -0
  60. data/config/environments/development.rb +61 -0
  61. data/config/environments/production.rb +94 -0
  62. data/config/environments/test.rb +46 -0
  63. data/config/initializers/application_controller_renderer.rb +8 -0
  64. data/config/initializers/assets.rb +14 -0
  65. data/config/initializers/backtrace_silencers.rb +7 -0
  66. data/config/initializers/content_security_policy.rb +25 -0
  67. data/config/initializers/cookies_serializer.rb +5 -0
  68. data/config/initializers/filter_parameter_logging.rb +4 -0
  69. data/config/initializers/inflections.rb +16 -0
  70. data/config/initializers/mime_types.rb +4 -0
  71. data/config/initializers/wrap_parameters.rb +14 -0
  72. data/config/locales/en.yml +33 -0
  73. data/config/puma.rb +37 -0
  74. data/config/routes.rb +3 -0
  75. data/config/spring.rb +6 -0
  76. data/config/storage.yml +34 -0
  77. data/config.ru +5 -0
  78. data/db/migrate/20210309231658_install_blazer.rb +47 -0
  79. data/db/migrate/20210309231908_create_users.rb +13 -0
  80. data/db/schema.rb +85 -0
  81. data/db/seeds.rb +45 -0
  82. data/docker-compose.yml +22 -0
  83. data/lib/assets/.keep +0 -0
  84. data/lib/bnb_blazer/bnb_blazer.rb +6 -0
  85. data/lib/bnb_blazer/version.rb +3 -0
  86. data/lib/tasks/.keep +0 -0
  87. data/log/.keep +0 -0
  88. data/package.json +5 -0
  89. data/public/404.html +67 -0
  90. data/public/422.html +67 -0
  91. data/public/500.html +66 -0
  92. data/public/apple-touch-icon-precomposed.png +0 -0
  93. data/public/apple-touch-icon.png +0 -0
  94. data/public/favicon.ico +0 -0
  95. data/public/robots.txt +1 -0
  96. data/tmp/.keep +0 -0
  97. data/vendor/.keep +0 -0
  98. metadata +156 -0
data/public/404.html ADDED
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
data/public/422.html ADDED
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
data/public/500.html ADDED
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
File without changes
File without changes
data/public/robots.txt ADDED
@@ -0,0 +1 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
data/tmp/.keep ADDED
File without changes
data/vendor/.keep ADDED
File without changes
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bnb_blazer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Joe
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: blazer
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.4'
27
+ description: Customized branding of the Blazer gem for BNB projects
28
+ email:
29
+ - pickertjoe@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".docker-development-vars"
35
+ - ".gitignore"
36
+ - ".rspec"
37
+ - ".ruby-version"
38
+ - ".travis.yml"
39
+ - Gemfile
40
+ - Gemfile.lock
41
+ - LICENSE.txt
42
+ - README.md
43
+ - Rakefile
44
+ - app/assets/config/manifest.js
45
+ - app/assets/images/.keep
46
+ - app/assets/images/bnb_intel_logo.png
47
+ - app/assets/stylesheets/application.css
48
+ - app/channels/application_cable/channel.rb
49
+ - app/channels/application_cable/connection.rb
50
+ - app/controllers/application_controller.rb
51
+ - app/controllers/concerns/.keep
52
+ - app/helpers/application_helper.rb
53
+ - app/jobs/application_job.rb
54
+ - app/mailers/application_mailer.rb
55
+ - app/models/application_record.rb
56
+ - app/models/concerns/.keep
57
+ - app/models/user.rb
58
+ - app/views/blazer/_variables.html.haml
59
+ - app/views/blazer/checks/_form.html.haml
60
+ - app/views/blazer/checks/edit.html.haml
61
+ - app/views/blazer/checks/index.html.haml
62
+ - app/views/blazer/checks/new.html.haml
63
+ - app/views/blazer/dashboards/_form.html.haml
64
+ - app/views/blazer/dashboards/edit.html.haml
65
+ - app/views/blazer/dashboards/new.html.haml
66
+ - app/views/blazer/dashboards/show.html.haml
67
+ - app/views/blazer/queries/_form.html.haml
68
+ - app/views/blazer/queries/edit.html.haml
69
+ - app/views/blazer/queries/home.html.haml
70
+ - app/views/blazer/queries/new.html.haml
71
+ - app/views/blazer/queries/run.html.haml
72
+ - app/views/blazer/queries/show.html.haml
73
+ - app/views/layouts/blazer/_footer.html.haml
74
+ - app/views/layouts/blazer/_navbar.html.haml
75
+ - app/views/layouts/blazer/application.html.haml
76
+ - bin/bundle
77
+ - bin/console
78
+ - bin/rails
79
+ - bin/rake
80
+ - bin/setup
81
+ - bin/spring
82
+ - bin/update
83
+ - bin/yarn
84
+ - bnb_blazer.gemspec
85
+ - config.ru
86
+ - config/application.rb
87
+ - config/blazer.yml
88
+ - config/boot.rb
89
+ - config/cable.yml
90
+ - config/credentials.yml.enc
91
+ - config/database.yml
92
+ - config/environment.rb
93
+ - config/environments/development.rb
94
+ - config/environments/production.rb
95
+ - config/environments/test.rb
96
+ - config/initializers/application_controller_renderer.rb
97
+ - config/initializers/assets.rb
98
+ - config/initializers/backtrace_silencers.rb
99
+ - config/initializers/content_security_policy.rb
100
+ - config/initializers/cookies_serializer.rb
101
+ - config/initializers/filter_parameter_logging.rb
102
+ - config/initializers/inflections.rb
103
+ - config/initializers/mime_types.rb
104
+ - config/initializers/wrap_parameters.rb
105
+ - config/locales/en.yml
106
+ - config/puma.rb
107
+ - config/routes.rb
108
+ - config/spring.rb
109
+ - config/storage.yml
110
+ - db/migrate/20210309231658_install_blazer.rb
111
+ - db/migrate/20210309231908_create_users.rb
112
+ - db/schema.rb
113
+ - db/seeds.rb
114
+ - docker-compose.yml
115
+ - lib/assets/.keep
116
+ - lib/bnb_blazer/bnb_blazer.rb
117
+ - lib/bnb_blazer/version.rb
118
+ - lib/tasks/.keep
119
+ - log/.keep
120
+ - package.json
121
+ - public/404.html
122
+ - public/422.html
123
+ - public/500.html
124
+ - public/apple-touch-icon-precomposed.png
125
+ - public/apple-touch-icon.png
126
+ - public/favicon.ico
127
+ - public/robots.txt
128
+ - tmp/.keep
129
+ - vendor/.keep
130
+ homepage: https://github.com/brandnewbox/bnb_blazer
131
+ licenses:
132
+ - MIT
133
+ metadata:
134
+ homepage_uri: https://github.com/brandnewbox/bnb_blazer
135
+ source_code_uri: https://github.com/brandnewbox/bnb_blazer
136
+ post_install_message:
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: 2.3.0
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ requirements: []
151
+ rubyforge_project:
152
+ rubygems_version: 2.7.8
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: Customized branding of the Blazer gem for BNB projects
156
+ test_files: []