exception_notification_server 0.0.1
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.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.gitignore +51 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +23 -0
- data/Gemfile.lock +162 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +59 -0
- data/VERSION +1 -0
- data/app/assets/images/exception_notification_server/.keep +0 -0
- data/app/assets/javascripts/exception_notification_server/application.js.coffee +8 -0
- data/app/assets/javascripts/exception_notification_server/flot/excanvas.js +1428 -0
- data/app/assets/javascripts/exception_notification_server/flot/jquery.flot.js +3168 -0
- data/app/assets/javascripts/exception_notification_server/flot/jquery.flot.resize.js +59 -0
- data/app/assets/javascripts/exception_notification_server/flot/jquery.flot.time.js +432 -0
- data/app/assets/javascripts/exception_notification_server/jquery.sparkline.js +3054 -0
- data/app/assets/javascripts/exception_notification_server/main.js.coffee +6 -0
- data/app/assets/javascripts/exception_notification_server/pages/notifications.js.coffee +15 -0
- data/app/assets/stylesheets/exception_notification_server/application.css.sass +4 -0
- data/app/assets/stylesheets/exception_notification_server/layout.css.sass +97 -0
- data/app/assets/stylesheets/exception_notification_server/notifications.css.sass +19 -0
- data/app/controllers/exception_notification_server/application_controller.rb +20 -0
- data/app/controllers/exception_notification_server/notifications_controller.rb +97 -0
- data/app/helpers/exception_notification_server/application_helper.rb +46 -0
- data/app/models/exception_notification_server/notification.rb +69 -0
- data/app/views/exception_notification_server/notifications/_notifications.html.haml +37 -0
- data/app/views/exception_notification_server/notifications/index.html.haml +7 -0
- data/app/views/exception_notification_server/notifications/index.js.haml +2 -0
- data/app/views/exception_notification_server/notifications/show.html.haml +76 -0
- data/app/views/layouts/exception_notification_server/application.html.haml +17 -0
- data/config/routes.rb +10 -0
- data/exception_notification_server.gemspec +162 -0
- data/lib/exception_notification_server/engine.rb +10 -0
- data/lib/exception_notification_server/version.rb +3 -0
- data/lib/exception_notification_server.rb +21 -0
- data/lib/generators/exception_notification_server/install_generator.rb +33 -0
- data/lib/generators/exception_notification_server/templates/exception_notification_server.rb +5 -0
- data/lib/generators/exception_notification_server/templates/migration.rb +26 -0
- data/lib/tasks/exception_notification_server_tasks.rake +4 -0
- data/readme.md +5 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +82 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/exception_notification_server_test.rb +7 -0
- data/test/integration/navigation_test.rb +9 -0
- data/test/test_helper.rb +15 -0
- metadata +357 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
!!!
|
2
|
+
%html
|
3
|
+
/
|
4
|
+
~ logo_string.html_safe
|
5
|
+
~ author
|
6
|
+
%head
|
7
|
+
%title ExceptionNotificationServer
|
8
|
+
= stylesheet_link_tag 'exception_notification_server/application', media: 'all'
|
9
|
+
= csrf_meta_tags
|
10
|
+
:coffeescript
|
11
|
+
console.log(#{"\n#{logo_string}\n#{author}".to_json})
|
12
|
+
%body{:class => "#{controller.controller_name}_#{controller.action_name} #{controller.controller_name}_controller"}
|
13
|
+
%header= link_to 'ExceptionNotifications', notifications_path, class: 'logo'
|
14
|
+
.content= yield
|
15
|
+
= javascript_include_tag 'exception_notification_server/application'
|
16
|
+
/[if lt IE 8]
|
17
|
+
= javascript_include_tag 'exception_notification_server/flot/excanvas'
|
data/config/routes.rb
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: exception_notification_server 0.0.1 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'exception_notification_server'
|
9
|
+
s.version = '0.0.1'
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ['lib']
|
13
|
+
s.authors = ['Anatoliy Varanitsa']
|
14
|
+
s.date = '2015-10-15'
|
15
|
+
s.description = 'Gem that receive errors from exception_notification gem and show it grouped on pages'
|
16
|
+
s.email = 'Prizrack13@mail.ru'
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
'LICENSE.txt',
|
19
|
+
'README.rdoc'
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
'.document',
|
23
|
+
'.gitignore',
|
24
|
+
'.ruby-gemset',
|
25
|
+
'.ruby-version',
|
26
|
+
'Gemfile',
|
27
|
+
'Gemfile.lock',
|
28
|
+
'LICENSE.txt',
|
29
|
+
'README.rdoc',
|
30
|
+
'Rakefile',
|
31
|
+
'VERSION',
|
32
|
+
'app/assets/images/exception_notification_server/.keep',
|
33
|
+
'app/assets/javascripts/exception_notification_server/application.js.coffee',
|
34
|
+
'app/assets/javascripts/exception_notification_server/flot/excanvas.js',
|
35
|
+
'app/assets/javascripts/exception_notification_server/flot/jquery.flot.js',
|
36
|
+
'app/assets/javascripts/exception_notification_server/flot/jquery.flot.resize.js',
|
37
|
+
'app/assets/javascripts/exception_notification_server/flot/jquery.flot.time.js',
|
38
|
+
'app/assets/javascripts/exception_notification_server/jquery.sparkline.js',
|
39
|
+
'app/assets/javascripts/exception_notification_server/main.js.coffee',
|
40
|
+
'app/assets/javascripts/exception_notification_server/pages/notifications.js.coffee',
|
41
|
+
'app/assets/stylesheets/exception_notification_server/application.css.sass',
|
42
|
+
'app/assets/stylesheets/exception_notification_server/layout.css.sass',
|
43
|
+
'app/assets/stylesheets/exception_notification_server/notifications.css.sass',
|
44
|
+
'app/controllers/exception_notification_server/application_controller.rb',
|
45
|
+
'app/controllers/exception_notification_server/notifications_controller.rb',
|
46
|
+
'app/helpers/exception_notification_server/application_helper.rb',
|
47
|
+
'app/models/exception_notification_server/notification.rb',
|
48
|
+
'app/views/exception_notification_server/notifications/_notifications.html.haml',
|
49
|
+
'app/views/exception_notification_server/notifications/index.html.haml',
|
50
|
+
'app/views/exception_notification_server/notifications/index.js.haml',
|
51
|
+
'app/views/exception_notification_server/notifications/show.html.haml',
|
52
|
+
'app/views/layouts/exception_notification_server/application.html.haml',
|
53
|
+
'config/routes.rb',
|
54
|
+
'exception_notification_server.gemspec',
|
55
|
+
'lib/exception_notification_server.rb',
|
56
|
+
'lib/exception_notification_server/engine.rb',
|
57
|
+
'lib/exception_notification_server/version.rb',
|
58
|
+
'lib/generators/exception_notification_server/install_generator.rb',
|
59
|
+
'lib/generators/exception_notification_server/templates/exception_notification_server.rb',
|
60
|
+
'lib/generators/exception_notification_server/templates/migration.rb',
|
61
|
+
'lib/tasks/exception_notification_server_tasks.rake',
|
62
|
+
'readme.md',
|
63
|
+
'test/dummy/README.rdoc',
|
64
|
+
'test/dummy/Rakefile',
|
65
|
+
'test/dummy/app/assets/images/.keep',
|
66
|
+
'test/dummy/app/assets/javascripts/application.js',
|
67
|
+
'test/dummy/app/assets/stylesheets/application.css',
|
68
|
+
'test/dummy/app/controllers/application_controller.rb',
|
69
|
+
'test/dummy/app/controllers/concerns/.keep',
|
70
|
+
'test/dummy/app/helpers/application_helper.rb',
|
71
|
+
'test/dummy/app/mailers/.keep',
|
72
|
+
'test/dummy/app/models/.keep',
|
73
|
+
'test/dummy/app/models/concerns/.keep',
|
74
|
+
'test/dummy/app/views/layouts/application.html.erb',
|
75
|
+
'test/dummy/bin/bundle',
|
76
|
+
'test/dummy/bin/rails',
|
77
|
+
'test/dummy/bin/rake',
|
78
|
+
'test/dummy/config.ru',
|
79
|
+
'test/dummy/config/application.rb',
|
80
|
+
'test/dummy/config/boot.rb',
|
81
|
+
'test/dummy/config/database.yml',
|
82
|
+
'test/dummy/config/environment.rb',
|
83
|
+
'test/dummy/config/environments/development.rb',
|
84
|
+
'test/dummy/config/environments/production.rb',
|
85
|
+
'test/dummy/config/environments/test.rb',
|
86
|
+
'test/dummy/config/initializers/assets.rb',
|
87
|
+
'test/dummy/config/initializers/backtrace_silencers.rb',
|
88
|
+
'test/dummy/config/initializers/cookies_serializer.rb',
|
89
|
+
'test/dummy/config/initializers/filter_parameter_logging.rb',
|
90
|
+
'test/dummy/config/initializers/inflections.rb',
|
91
|
+
'test/dummy/config/initializers/mime_types.rb',
|
92
|
+
'test/dummy/config/initializers/session_store.rb',
|
93
|
+
'test/dummy/config/initializers/wrap_parameters.rb',
|
94
|
+
'test/dummy/config/locales/en.yml',
|
95
|
+
'test/dummy/config/routes.rb',
|
96
|
+
'test/dummy/config/secrets.yml',
|
97
|
+
'test/dummy/db/test.sqlite3',
|
98
|
+
'test/dummy/lib/assets/.keep',
|
99
|
+
'test/dummy/log/.keep',
|
100
|
+
'test/dummy/public/404.html',
|
101
|
+
'test/dummy/public/422.html',
|
102
|
+
'test/dummy/public/500.html',
|
103
|
+
'test/dummy/public/favicon.ico',
|
104
|
+
'test/exception_notification_server_test.rb',
|
105
|
+
'test/integration/navigation_test.rb',
|
106
|
+
'test/test_helper.rb'
|
107
|
+
]
|
108
|
+
s.homepage = 'http://github.com/prizrack13/exception_notification_server'
|
109
|
+
s.licenses = ['MIT']
|
110
|
+
s.required_ruby_version = Gem::Requirement.new('>= 1.9.2')
|
111
|
+
s.rubygems_version = '2.2.2'
|
112
|
+
s.summary = 'Exception Notifiaction Server'
|
113
|
+
s.test_files = ['test/dummy/README.rdoc', 'test/dummy/Rakefile', 'test/dummy/app/assets/images/.keep', 'test/dummy/app/assets/javascripts/application.js', 'test/dummy/app/assets/stylesheets/application.css', 'test/dummy/app/controllers/application_controller.rb', 'test/dummy/app/controllers/concerns/.keep', 'test/dummy/app/helpers/application_helper.rb', 'test/dummy/app/mailers/.keep', 'test/dummy/app/models/.keep', 'test/dummy/app/models/concerns/.keep', 'test/dummy/app/views/layouts/application.html.erb', 'test/dummy/bin/bundle', 'test/dummy/bin/rails', 'test/dummy/bin/rake', 'test/dummy/config.ru', 'test/dummy/config/application.rb', 'test/dummy/config/boot.rb', 'test/dummy/config/database.yml', 'test/dummy/config/environment.rb', 'test/dummy/config/environments/development.rb', 'test/dummy/config/environments/production.rb', 'test/dummy/config/environments/test.rb', 'test/dummy/config/initializers/assets.rb', 'test/dummy/config/initializers/backtrace_silencers.rb', 'test/dummy/config/initializers/cookies_serializer.rb', 'test/dummy/config/initializers/filter_parameter_logging.rb', 'test/dummy/config/initializers/inflections.rb', 'test/dummy/config/initializers/mime_types.rb', 'test/dummy/config/initializers/session_store.rb', 'test/dummy/config/initializers/wrap_parameters.rb', 'test/dummy/config/locales/en.yml', 'test/dummy/config/routes.rb', 'test/dummy/config/secrets.yml', 'test/dummy/db/test.sqlite3', 'test/dummy/lib/assets/.keep', 'test/dummy/log/.keep', 'test/dummy/public/404.html', 'test/dummy/public/422.html', 'test/dummy/public/500.html', 'test/dummy/public/favicon.ico', 'test/exception_notification_server_test.rb', 'test/integration/navigation_test.rb', 'test/test_helper.rb']
|
114
|
+
|
115
|
+
if s.respond_to? :specification_version
|
116
|
+
s.specification_version = 4
|
117
|
+
|
118
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
|
119
|
+
s.add_runtime_dependency('rails', ['~> 4.1'])
|
120
|
+
s.add_runtime_dependency('coderay', ['~> 1.1'])
|
121
|
+
s.add_runtime_dependency('jquery-rails', ['>= 0'])
|
122
|
+
s.add_runtime_dependency('jquery-ui-rails', ['>= 0'])
|
123
|
+
s.add_runtime_dependency('will_paginate', ['>= 0'])
|
124
|
+
s.add_runtime_dependency('haml', ['>= 0'])
|
125
|
+
s.add_development_dependency('sqlite3', ['>= 0'])
|
126
|
+
s.add_development_dependency('shoulda', ['>= 0'])
|
127
|
+
s.add_development_dependency('rdoc', ['~> 3.12'])
|
128
|
+
s.add_development_dependency('bundler', ['~> 1.0'])
|
129
|
+
s.add_development_dependency('jeweler', ['~> 2.0.1'])
|
130
|
+
s.add_development_dependency('simplecov', ['>= 0'])
|
131
|
+
s.add_development_dependency('rubocop', ['>= 0'])
|
132
|
+
else
|
133
|
+
s.add_dependency('rails', ['~> 4.1'])
|
134
|
+
s.add_dependency('coderay', ['~> 1.1'])
|
135
|
+
s.add_dependency('jquery-rails', ['>= 0'])
|
136
|
+
s.add_dependency('jquery-ui-rails', ['>= 0'])
|
137
|
+
s.add_dependency('will_paginate', ['>= 0'])
|
138
|
+
s.add_dependency('haml', ['>= 0'])
|
139
|
+
s.add_dependency('sqlite3', ['>= 0'])
|
140
|
+
s.add_dependency('shoulda', ['>= 0'])
|
141
|
+
s.add_dependency('rdoc', ['~> 3.12'])
|
142
|
+
s.add_dependency('bundler', ['~> 1.0'])
|
143
|
+
s.add_dependency('jeweler', ['~> 2.0.1'])
|
144
|
+
s.add_dependency('simplecov', ['>= 0'])
|
145
|
+
s.add_dependency('rubocop', ['>= 0'])
|
146
|
+
end
|
147
|
+
else
|
148
|
+
s.add_dependency('rails', ['~> 4.1'])
|
149
|
+
s.add_dependency('coderay', ['~> 1.1'])
|
150
|
+
s.add_dependency('jquery-rails', ['>= 0'])
|
151
|
+
s.add_dependency('jquery-ui-rails', ['>= 0'])
|
152
|
+
s.add_dependency('will_paginate', ['>= 0'])
|
153
|
+
s.add_dependency('haml', ['>= 0'])
|
154
|
+
s.add_dependency('sqlite3', ['>= 0'])
|
155
|
+
s.add_dependency('shoulda', ['>= 0'])
|
156
|
+
s.add_dependency('rdoc', ['~> 3.12'])
|
157
|
+
s.add_dependency('bundler', ['~> 1.0'])
|
158
|
+
s.add_dependency('jeweler', ['~> 2.0.1'])
|
159
|
+
s.add_dependency('simplecov', ['>= 0'])
|
160
|
+
s.add_dependency('rubocop', ['>= 0'])
|
161
|
+
end
|
162
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module ExceptionNotificationServer
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
isolate_namespace ExceptionNotificationServer
|
4
|
+
config.to_prepare do
|
5
|
+
Rails.application.config.assets.precompile += %w(
|
6
|
+
exception_notification_server/flot/excanvas.js
|
7
|
+
)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'coderay'
|
3
|
+
require 'exception_notification_server/engine'
|
4
|
+
|
5
|
+
module ExceptionNotificationServer
|
6
|
+
def self.configure(&_block)
|
7
|
+
yield configuration
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.configuration
|
11
|
+
@configuration ||= ExceptionNotificationServer::Configuration.new
|
12
|
+
end
|
13
|
+
|
14
|
+
class Configuration
|
15
|
+
attr_accessor :name, :password, :access_callback, :time_format
|
16
|
+
|
17
|
+
def initialize(name: 'webhook', password: '', access_callback: nil, time_format: '%m/%d/%Y %H:%M:%S')
|
18
|
+
@name, @password, @access_callback, @time_format = name, password, access_callback, time_format
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
require 'rails/generators/migration'
|
3
|
+
|
4
|
+
module ExceptionNotificationServer
|
5
|
+
module Generators
|
6
|
+
class InstallGenerator < Rails::Generators::Base
|
7
|
+
include Rails::Generators::Migration
|
8
|
+
|
9
|
+
desc 'Generates migration for Notifications'
|
10
|
+
def copy_initializer
|
11
|
+
template 'exception_notification_server.rb', 'config/initializers/exception_notification_server.rb'
|
12
|
+
end
|
13
|
+
|
14
|
+
def mount_engine
|
15
|
+
route 'mount ExceptionNotificationServer::Engine, at: \'/notifier\', as: \'notifier\''
|
16
|
+
end
|
17
|
+
|
18
|
+
def create_ckeditor_migration
|
19
|
+
migration_template('migration.rb', File.join('db/migrate', 'create_exception_notification_server_notifications.rb'))
|
20
|
+
end
|
21
|
+
|
22
|
+
class << self
|
23
|
+
def source_root
|
24
|
+
@source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
25
|
+
end
|
26
|
+
|
27
|
+
def next_migration_number(_dirname)
|
28
|
+
Time.now.strftime('%Y%m%d%H%M%S')
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class CreateExceptionNotificationServerNotifications < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
create_table :exception_notification_server_notifications do |t|
|
4
|
+
t.integer :parent_id
|
5
|
+
t.string :status
|
6
|
+
t.string :exception_hash
|
7
|
+
t.string :env
|
8
|
+
t.string :application
|
9
|
+
t.string :server
|
10
|
+
t.string :process
|
11
|
+
t.string :rails_root
|
12
|
+
t.string :exception_class
|
13
|
+
t.string :exception_message
|
14
|
+
t.binary :backtrace
|
15
|
+
t.binary :data
|
16
|
+
t.binary :request
|
17
|
+
t.binary :session
|
18
|
+
t.binary :environment
|
19
|
+
t.timestamps
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def down
|
24
|
+
drop_table :exception_notification_server_notifications
|
25
|
+
end
|
26
|
+
end
|
data/readme.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
== README
|
2
|
+
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
4
|
+
application up and running.
|
5
|
+
|
6
|
+
Things you may want to cover:
|
7
|
+
|
8
|
+
* Ruby version
|
9
|
+
|
10
|
+
* System dependencies
|
11
|
+
|
12
|
+
* Configuration
|
13
|
+
|
14
|
+
* Database creation
|
15
|
+
|
16
|
+
* Database initialization
|
17
|
+
|
18
|
+
* How to run the test suite
|
19
|
+
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
21
|
+
|
22
|
+
* Deployment instructions
|
23
|
+
|
24
|
+
* ...
|
25
|
+
|
26
|
+
|
27
|
+
Please feel free to use a different markup language if you do not plan to run
|
28
|
+
<tt>rake doc:app</tt>.
|
data/test/dummy/Rakefile
ADDED
File without changes
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require_tree
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
+
* file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree
|
14
|
+
*= require_self
|
15
|
+
*/
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
data/test/dummy/bin/rake
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require 'rails/all'
|
4
|
+
|
5
|
+
Bundler.require(*Rails.groups)
|
6
|
+
require 'exception_notification_server'
|
7
|
+
|
8
|
+
module Dummy
|
9
|
+
class Application < Rails::Application
|
10
|
+
# Settings in config/environments/* take precedence over those specified here.
|
11
|
+
# Application configuration should go into files in config/initializers
|
12
|
+
# -- all .rb files in that directory are automatically loaded.
|
13
|
+
|
14
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
+
|
18
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
+
# config.i18n.default_locale = :de
|
21
|
+
end
|
22
|
+
end
|