simplificator_infrastructure 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +73 -0
- data/Rakefile +35 -0
- data/app/assets/images/simplificator_infrastructure/errors/error_404.png +0 -0
- data/app/assets/images/simplificator_infrastructure/errors/error_generic.png +0 -0
- data/app/assets/images/simplificator_infrastructure/errors/logo.png +0 -0
- data/app/assets/javascripts/simplificator_infrastructure/application.js +13 -0
- data/app/assets/stylesheets/simplificator_infrastructure/application.css +17 -0
- data/app/assets/stylesheets/simplificator_infrastructure/errors.css +39 -0
- data/app/controllers/simplificator_infrastructure/application_controller.rb +4 -0
- data/app/controllers/simplificator_infrastructure/errors_controller.rb +47 -0
- data/app/helpers/simplificator_infrastructure/application_helper.rb +4 -0
- data/app/views/errors/404.html.erb +9 -0
- data/app/views/errors/generic_error.html.erb +9 -0
- data/app/views/layouts/simplificator_infrastructure/errors.html.erb +12 -0
- data/config/locales/de.yml +13 -0
- data/config/locales/en.yml +13 -0
- data/config/routes.rb +2 -0
- data/lib/simplificator_infrastructure.rb +4 -0
- data/lib/simplificator_infrastructure/engine.rb +8 -0
- data/lib/simplificator_infrastructure/error_page_handler.rb +21 -0
- data/lib/simplificator_infrastructure/error_summary.rb +61 -0
- data/lib/simplificator_infrastructure/version.rb +3 -0
- data/lib/tasks/simplificator_infrastructure_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -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/error_previews_controller.rb +15 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/foos_helper.rb +2 -0
- data/test/dummy/app/views/error_previews/index.html.erb +6 -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/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +32 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +38 -0
- data/test/dummy/config/environments/production.rb +76 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -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/simplificator_infrastructure.rb +1 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +9 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/log/development.log +2036 -0
- data/test/dummy/log/test.log +15 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/controllers/foos_controller_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0500adeee201d5a348b4c3ec497adae2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/09ed1ef41f7cd9d17777b1411359e566 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1344657b8f5d1906efcbafe0e22c17cc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5acaff767402e80bb9961b92c8bc3dda +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6d07f71bc133b650e297569a7e19174e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7e3d3b1b8b95a568bcb68e2f29436ca3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7f0315cb615b6ab601fd42d59b8afde9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8861585cc3fb654bbf27d60c86aba449 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9c500634b58fe570e801dd477f2f9769 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9e70666db09ef523b119125cc9eb73c5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a58c29f74df199333ef9f066c7b436bd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d7cb110ec211a8c4ef021e93a2f976f7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e303fbe4b122fbe771c62af737c0e1b5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e96855d0fc8137ba701522baf08faf33 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f39692dced32f5d36d10caed783739ee +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/integration/navigation_test.rb +9 -0
- data/test/simplificator_infrastructure_test.rb +7 -0
- data/test/test_helper.rb +17 -0
- metadata +210 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
-------------------------------------------
|
2
|
+
SimplificatorInfrastructureTest: test_truth
|
3
|
+
-------------------------------------------
|
4
|
+
-------------------------------------------
|
5
|
+
SimplificatorInfrastructureTest: test_truth
|
6
|
+
-------------------------------------------
|
7
|
+
-------------------------------------------
|
8
|
+
SimplificatorInfrastructureTest: test_truth
|
9
|
+
-------------------------------------------
|
10
|
+
-------------------------------------------
|
11
|
+
SimplificatorInfrastructureTest: test_truth
|
12
|
+
-------------------------------------------
|
13
|
+
-------------------------------------------
|
14
|
+
SimplificatorInfrastructureTest: test_truth
|
15
|
+
-------------------------------------------
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
8
|
+
# to be shown.
|
9
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
10
|
+
|
11
|
+
# Load support files
|
12
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
13
|
+
|
14
|
+
# Load fixtures from the engine
|
15
|
+
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
16
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,210 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simplificator_infrastructure
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pascal Betz
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-01-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.0.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 4.0.0
|
33
|
+
description: Infrastructure support for Rails Apps. So far only error pages are implemented.
|
34
|
+
email:
|
35
|
+
- pascal.betz@simplificator.com
|
36
|
+
executables: []
|
37
|
+
extensions: []
|
38
|
+
extra_rdoc_files: []
|
39
|
+
files:
|
40
|
+
- MIT-LICENSE
|
41
|
+
- README.rdoc
|
42
|
+
- Rakefile
|
43
|
+
- app/assets/images/simplificator_infrastructure/errors/error_404.png
|
44
|
+
- app/assets/images/simplificator_infrastructure/errors/error_generic.png
|
45
|
+
- app/assets/images/simplificator_infrastructure/errors/logo.png
|
46
|
+
- app/assets/javascripts/simplificator_infrastructure/application.js
|
47
|
+
- app/assets/stylesheets/simplificator_infrastructure/application.css
|
48
|
+
- app/assets/stylesheets/simplificator_infrastructure/errors.css
|
49
|
+
- app/controllers/simplificator_infrastructure/application_controller.rb
|
50
|
+
- app/controllers/simplificator_infrastructure/errors_controller.rb
|
51
|
+
- app/helpers/simplificator_infrastructure/application_helper.rb
|
52
|
+
- app/views/errors/404.html.erb
|
53
|
+
- app/views/errors/generic_error.html.erb
|
54
|
+
- app/views/layouts/simplificator_infrastructure/errors.html.erb
|
55
|
+
- config/locales/de.yml
|
56
|
+
- config/locales/en.yml
|
57
|
+
- config/routes.rb
|
58
|
+
- lib/simplificator_infrastructure.rb
|
59
|
+
- lib/simplificator_infrastructure/engine.rb
|
60
|
+
- lib/simplificator_infrastructure/error_page_handler.rb
|
61
|
+
- lib/simplificator_infrastructure/error_summary.rb
|
62
|
+
- lib/simplificator_infrastructure/version.rb
|
63
|
+
- lib/tasks/simplificator_infrastructure_tasks.rake
|
64
|
+
- test/dummy/README.rdoc
|
65
|
+
- test/dummy/Rakefile
|
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/error_previews_controller.rb
|
70
|
+
- test/dummy/app/helpers/application_helper.rb
|
71
|
+
- test/dummy/app/helpers/foos_helper.rb
|
72
|
+
- test/dummy/app/views/error_previews/index.html.erb
|
73
|
+
- test/dummy/app/views/layouts/application.html.erb
|
74
|
+
- test/dummy/bin/bundle
|
75
|
+
- test/dummy/bin/rails
|
76
|
+
- test/dummy/bin/rake
|
77
|
+
- test/dummy/bin/setup
|
78
|
+
- test/dummy/config.ru
|
79
|
+
- test/dummy/config/application.rb
|
80
|
+
- test/dummy/config/boot.rb
|
81
|
+
- test/dummy/config/environment.rb
|
82
|
+
- test/dummy/config/environments/development.rb
|
83
|
+
- test/dummy/config/environments/production.rb
|
84
|
+
- test/dummy/config/environments/test.rb
|
85
|
+
- test/dummy/config/initializers/assets.rb
|
86
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
87
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
88
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
89
|
+
- test/dummy/config/initializers/inflections.rb
|
90
|
+
- test/dummy/config/initializers/mime_types.rb
|
91
|
+
- test/dummy/config/initializers/session_store.rb
|
92
|
+
- test/dummy/config/initializers/simplificator_infrastructure.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/log/development.log
|
98
|
+
- test/dummy/log/test.log
|
99
|
+
- test/dummy/public/favicon.ico
|
100
|
+
- test/dummy/test/controllers/foos_controller_test.rb
|
101
|
+
- test/dummy/tmp/cache/assets/development/sprockets/0500adeee201d5a348b4c3ec497adae2
|
102
|
+
- test/dummy/tmp/cache/assets/development/sprockets/09ed1ef41f7cd9d17777b1411359e566
|
103
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1344657b8f5d1906efcbafe0e22c17cc
|
104
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
105
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
106
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
107
|
+
- test/dummy/tmp/cache/assets/development/sprockets/5acaff767402e80bb9961b92c8bc3dda
|
108
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6d07f71bc133b650e297569a7e19174e
|
109
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7e3d3b1b8b95a568bcb68e2f29436ca3
|
110
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7f0315cb615b6ab601fd42d59b8afde9
|
111
|
+
- test/dummy/tmp/cache/assets/development/sprockets/8861585cc3fb654bbf27d60c86aba449
|
112
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9c500634b58fe570e801dd477f2f9769
|
113
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9e70666db09ef523b119125cc9eb73c5
|
114
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a58c29f74df199333ef9f066c7b436bd
|
115
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
116
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
117
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d7cb110ec211a8c4ef021e93a2f976f7
|
118
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
119
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e96855d0fc8137ba701522baf08faf33
|
120
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f39692dced32f5d36d10caed783739ee
|
121
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
122
|
+
- test/integration/navigation_test.rb
|
123
|
+
- test/simplificator_infrastructure_test.rb
|
124
|
+
- test/test_helper.rb
|
125
|
+
homepage: http://www.simplificator.com
|
126
|
+
licenses:
|
127
|
+
- MIT
|
128
|
+
metadata: {}
|
129
|
+
post_install_message:
|
130
|
+
rdoc_options: []
|
131
|
+
require_paths:
|
132
|
+
- lib
|
133
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
requirements: []
|
144
|
+
rubyforge_project:
|
145
|
+
rubygems_version: 2.4.3
|
146
|
+
signing_key:
|
147
|
+
specification_version: 4
|
148
|
+
summary: Infrastructure support for Rails Apps
|
149
|
+
test_files:
|
150
|
+
- test/dummy/app/assets/javascripts/application.js
|
151
|
+
- test/dummy/app/assets/stylesheets/application.css
|
152
|
+
- test/dummy/app/controllers/application_controller.rb
|
153
|
+
- test/dummy/app/controllers/error_previews_controller.rb
|
154
|
+
- test/dummy/app/helpers/application_helper.rb
|
155
|
+
- test/dummy/app/helpers/foos_helper.rb
|
156
|
+
- test/dummy/app/views/error_previews/index.html.erb
|
157
|
+
- test/dummy/app/views/layouts/application.html.erb
|
158
|
+
- test/dummy/bin/bundle
|
159
|
+
- test/dummy/bin/rails
|
160
|
+
- test/dummy/bin/rake
|
161
|
+
- test/dummy/bin/setup
|
162
|
+
- test/dummy/config/application.rb
|
163
|
+
- test/dummy/config/boot.rb
|
164
|
+
- test/dummy/config/environment.rb
|
165
|
+
- test/dummy/config/environments/development.rb
|
166
|
+
- test/dummy/config/environments/production.rb
|
167
|
+
- test/dummy/config/environments/test.rb
|
168
|
+
- test/dummy/config/initializers/assets.rb
|
169
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
170
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
171
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
172
|
+
- test/dummy/config/initializers/inflections.rb
|
173
|
+
- test/dummy/config/initializers/mime_types.rb
|
174
|
+
- test/dummy/config/initializers/session_store.rb
|
175
|
+
- test/dummy/config/initializers/simplificator_infrastructure.rb
|
176
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
177
|
+
- test/dummy/config/locales/en.yml
|
178
|
+
- test/dummy/config/routes.rb
|
179
|
+
- test/dummy/config/secrets.yml
|
180
|
+
- test/dummy/config.ru
|
181
|
+
- test/dummy/log/development.log
|
182
|
+
- test/dummy/log/test.log
|
183
|
+
- test/dummy/public/favicon.ico
|
184
|
+
- test/dummy/Rakefile
|
185
|
+
- test/dummy/README.rdoc
|
186
|
+
- test/dummy/test/controllers/foos_controller_test.rb
|
187
|
+
- test/dummy/tmp/cache/assets/development/sprockets/0500adeee201d5a348b4c3ec497adae2
|
188
|
+
- test/dummy/tmp/cache/assets/development/sprockets/09ed1ef41f7cd9d17777b1411359e566
|
189
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1344657b8f5d1906efcbafe0e22c17cc
|
190
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
191
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
192
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
193
|
+
- test/dummy/tmp/cache/assets/development/sprockets/5acaff767402e80bb9961b92c8bc3dda
|
194
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6d07f71bc133b650e297569a7e19174e
|
195
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7e3d3b1b8b95a568bcb68e2f29436ca3
|
196
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7f0315cb615b6ab601fd42d59b8afde9
|
197
|
+
- test/dummy/tmp/cache/assets/development/sprockets/8861585cc3fb654bbf27d60c86aba449
|
198
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9c500634b58fe570e801dd477f2f9769
|
199
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9e70666db09ef523b119125cc9eb73c5
|
200
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a58c29f74df199333ef9f066c7b436bd
|
201
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
202
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
203
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d7cb110ec211a8c4ef021e93a2f976f7
|
204
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
205
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e96855d0fc8137ba701522baf08faf33
|
206
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f39692dced32f5d36d10caed783739ee
|
207
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
208
|
+
- test/integration/navigation_test.rb
|
209
|
+
- test/simplificator_infrastructure_test.rb
|
210
|
+
- test/test_helper.rb
|