radius-rails 0.0.2

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 (39) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +83 -0
  6. data/Rakefile +2 -0
  7. data/app/assets/fonts/BonvenoCF-Light-webfont.eot +0 -0
  8. data/app/assets/fonts/BonvenoCF-Light-webfont.svg +203 -0
  9. data/app/assets/fonts/BonvenoCF-Light-webfont.ttf +0 -0
  10. data/app/assets/fonts/BonvenoCF-Light-webfont.woff +0 -0
  11. data/app/assets/fonts/nevis-webfont.eot +0 -0
  12. data/app/assets/fonts/nevis-webfont.svg +143 -0
  13. data/app/assets/fonts/nevis-webfont.ttf +0 -0
  14. data/app/assets/fonts/nevis-webfont.woff +0 -0
  15. data/app/assets/images/corporate-bar-logo.png +0 -0
  16. data/app/assets/images/favicon.ico +0 -0
  17. data/app/assets/images/favicon.png +0 -0
  18. data/app/assets/stylesheets/bonveno-webfont.css.scss +12 -0
  19. data/app/assets/stylesheets/corporate-bar.css.scss +60 -0
  20. data/app/assets/stylesheets/environment-ribbon.css.scss +21 -0
  21. data/app/assets/stylesheets/nevis-webfont.css.scss +15 -0
  22. data/app/assets/stylesheets/normalize.css +423 -0
  23. data/app/helpers/radius_helper.rb +7 -0
  24. data/app/views/radius/_corporate_bar.html.erb +30 -0
  25. data/app/views/radius/_environment_ribbon.html.erb +3 -0
  26. data/app/views/radius/_ga.html.erb +9 -0
  27. data/app/views/radius/_zendesk.html.erb +23 -0
  28. data/lib/radius-rails.rb +1 -0
  29. data/lib/radius/rails.rb +2 -0
  30. data/lib/radius/rails/engine.rb +8 -0
  31. data/lib/radius/rails/version.rb +5 -0
  32. data/lib/rails/generators/radius/error_pages_generator.rb +13 -0
  33. data/lib/rails/generators/radius/templates/401.html +198 -0
  34. data/lib/rails/generators/radius/templates/404.html +198 -0
  35. data/lib/rails/generators/radius/templates/422.html +198 -0
  36. data/lib/rails/generators/radius/templates/500.html +198 -0
  37. data/lib/rails/generators/radius/templates/favicon.ico +0 -0
  38. data/radius-rails.gemspec +28 -0
  39. metadata +171 -0
@@ -0,0 +1,198 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Something went wrong</title>
6
+ <style>
7
+ ::-moz-selection {
8
+ background: #b3d4fc;
9
+ text-shadow: none;
10
+ }
11
+
12
+ ::selection {
13
+ background: #b3d4fc;
14
+ text-shadow: none;
15
+ }
16
+
17
+ body {
18
+ padding:0;
19
+ margin:0;
20
+ }
21
+
22
+ html {
23
+ padding: 0;
24
+ font-size: 20px;
25
+ line-height: 1.4;
26
+ color: #737373;
27
+ background: white;
28
+ -webkit-text-size-adjust: 100%;
29
+ -ms-text-size-adjust: 100%;
30
+ }
31
+
32
+ html,
33
+ input {
34
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
35
+ }
36
+
37
+ h1 {
38
+ font-size: 50px;
39
+ text-shadow: 4px 4px 0px rgba(57,169,213,1);
40
+ }
41
+
42
+ h1 span {
43
+ color: #39A9D5;
44
+ text-shadow: none;
45
+ }
46
+
47
+ h3 {
48
+ margin: 1.5em 0 0.5em;
49
+ }
50
+
51
+ p {
52
+ margin: 1em 0;
53
+ }
54
+
55
+ ul {
56
+ padding: 0 0 0 40px;
57
+ margin: 1em 0;
58
+ }
59
+
60
+ a {
61
+ color: #E56326;
62
+ text-decoration: none;
63
+ }
64
+
65
+ .container {
66
+ padding: 40px 40px;
67
+ width: 580px;
68
+ margin: 0 auto;
69
+ }
70
+ .title {
71
+ text-align: center;
72
+ background: #eee;
73
+ background: #3FBCEC;
74
+ color: white;
75
+ border-bottom: 10px solid #39A9D5;
76
+ }
77
+
78
+ .search {
79
+ /*background: #ecf9ff;*/
80
+ }
81
+ .links {
82
+ text-align: center;
83
+ font-size: 16px;
84
+ text-decoration: none;
85
+ color: #eee;
86
+ }
87
+
88
+ .links a {
89
+ padding: 20px;
90
+ }
91
+
92
+ /* google search */
93
+
94
+ #goog-fixurl ul {
95
+ list-style: none;
96
+ padding: 0;
97
+ margin: 0;
98
+ }
99
+
100
+ #goog-fixurl form {
101
+ margin: 0;
102
+ }
103
+
104
+ #goog-wm-qt,
105
+ #goog-wm-sb {
106
+ border: 1px solid #bbb;
107
+ font-size: 16px;
108
+ line-height: normal;
109
+ vertical-align: top;
110
+ color: #444;
111
+ border-radius: 2px;
112
+ }
113
+
114
+ #goog-wm-qt {
115
+ width: 420px;
116
+ height: 20px;
117
+ padding: 5px;
118
+ margin: 5px 10px 0 0;
119
+ box-shadow: inset 0 1px 1px #ccc;
120
+ }
121
+
122
+ #goog-wm-sb {
123
+ display: inline-block;
124
+ height: 32px;
125
+ padding: 0 10px;
126
+ margin: 5px 0 0;
127
+ white-space: nowrap;
128
+ cursor: pointer;
129
+ background-color: #f5f5f5;
130
+ background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);
131
+ background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);
132
+ background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);
133
+ background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);
134
+ -webkit-appearance: none;
135
+ -moz-appearance: none;
136
+ appearance: none;
137
+ *overflow: visible;
138
+ *display: inline;
139
+ *zoom: 1;
140
+ }
141
+
142
+ #goog-wm-sb:hover,
143
+ #goog-wm-sb:focus {
144
+ border-color: #aaa;
145
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
146
+ background-color: #f8f8f8;
147
+ }
148
+
149
+ #goog-wm-qt:hover,
150
+ #goog-wm-qt:focus {
151
+ border-color: #105cb6;
152
+ outline: 0;
153
+ color: #222;
154
+ }
155
+
156
+ h3.other-things {
157
+ display: none;
158
+ }
159
+
160
+ input::-moz-focus-inner {
161
+ padding: 0;
162
+ border: 0;
163
+ }
164
+
165
+ </style>
166
+ </head>
167
+ <body>
168
+ <div class="title">
169
+ <div class="container">
170
+ <h1>That's not good <span>:(</span></h1>
171
+ <p>422 Unprocessable Entity</p>
172
+ </div>
173
+ </div>
174
+ <div class="search">
175
+ <div class="container">
176
+ <script>
177
+ var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
178
+ </script>
179
+ <script src="https://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
180
+ </div>
181
+ </div>
182
+ <div class="links">
183
+ <div class="container">
184
+ <a href="https://radiusnetworks.zendesk.com/hc/en-us/requests/new">Contact Support</a> | <a href="/">Home</a> | <a href="javascript:window.history.back();">Go Back</a>
185
+ </div>
186
+ </div>
187
+ </body>
188
+ </html>
189
+
190
+
191
+
192
+
193
+
194
+ <!--
195
+
196
+ Oh, man, something clearly went wrong. And the worst thing about it is: it went wrong while you were using the command line or and API. That sucks. Sorry.
197
+
198
+ -->
@@ -0,0 +1,198 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Something went wrong</title>
6
+ <style>
7
+ ::-moz-selection {
8
+ background: #b3d4fc;
9
+ text-shadow: none;
10
+ }
11
+
12
+ ::selection {
13
+ background: #b3d4fc;
14
+ text-shadow: none;
15
+ }
16
+
17
+ body {
18
+ padding:0;
19
+ margin:0;
20
+ }
21
+
22
+ html {
23
+ padding: 0;
24
+ font-size: 20px;
25
+ line-height: 1.4;
26
+ color: #737373;
27
+ background: white;
28
+ -webkit-text-size-adjust: 100%;
29
+ -ms-text-size-adjust: 100%;
30
+ }
31
+
32
+ html,
33
+ input {
34
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
35
+ }
36
+
37
+ h1 {
38
+ font-size: 50px;
39
+ text-shadow: 4px 4px 0px rgba(57,169,213,1);
40
+ }
41
+
42
+ h1 span {
43
+ color: #39A9D5;
44
+ text-shadow: none;
45
+ }
46
+
47
+ h3 {
48
+ margin: 1.5em 0 0.5em;
49
+ }
50
+
51
+ p {
52
+ margin: 1em 0;
53
+ }
54
+
55
+ ul {
56
+ padding: 0 0 0 40px;
57
+ margin: 1em 0;
58
+ }
59
+
60
+ a {
61
+ color: #E56326;
62
+ text-decoration: none;
63
+ }
64
+
65
+ .container {
66
+ padding: 40px 40px;
67
+ width: 580px;
68
+ margin: 0 auto;
69
+ }
70
+ .title {
71
+ text-align: center;
72
+ background: #eee;
73
+ background: #3FBCEC;
74
+ color: white;
75
+ border-bottom: 10px solid #39A9D5;
76
+ }
77
+
78
+ .search {
79
+ /*background: #ecf9ff;*/
80
+ }
81
+ .links {
82
+ text-align: center;
83
+ font-size: 16px;
84
+ text-decoration: none;
85
+ color: #eee;
86
+ }
87
+
88
+ .links a {
89
+ padding: 20px;
90
+ }
91
+
92
+ /* google search */
93
+
94
+ #goog-fixurl ul {
95
+ list-style: none;
96
+ padding: 0;
97
+ margin: 0;
98
+ }
99
+
100
+ #goog-fixurl form {
101
+ margin: 0;
102
+ }
103
+
104
+ #goog-wm-qt,
105
+ #goog-wm-sb {
106
+ border: 1px solid #bbb;
107
+ font-size: 16px;
108
+ line-height: normal;
109
+ vertical-align: top;
110
+ color: #444;
111
+ border-radius: 2px;
112
+ }
113
+
114
+ #goog-wm-qt {
115
+ width: 420px;
116
+ height: 20px;
117
+ padding: 5px;
118
+ margin: 5px 10px 0 0;
119
+ box-shadow: inset 0 1px 1px #ccc;
120
+ }
121
+
122
+ #goog-wm-sb {
123
+ display: inline-block;
124
+ height: 32px;
125
+ padding: 0 10px;
126
+ margin: 5px 0 0;
127
+ white-space: nowrap;
128
+ cursor: pointer;
129
+ background-color: #f5f5f5;
130
+ background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);
131
+ background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);
132
+ background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);
133
+ background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);
134
+ -webkit-appearance: none;
135
+ -moz-appearance: none;
136
+ appearance: none;
137
+ *overflow: visible;
138
+ *display: inline;
139
+ *zoom: 1;
140
+ }
141
+
142
+ #goog-wm-sb:hover,
143
+ #goog-wm-sb:focus {
144
+ border-color: #aaa;
145
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
146
+ background-color: #f8f8f8;
147
+ }
148
+
149
+ #goog-wm-qt:hover,
150
+ #goog-wm-qt:focus {
151
+ border-color: #105cb6;
152
+ outline: 0;
153
+ color: #222;
154
+ }
155
+
156
+ h3.other-things {
157
+ display: none;
158
+ }
159
+
160
+ input::-moz-focus-inner {
161
+ padding: 0;
162
+ border: 0;
163
+ }
164
+
165
+ </style>
166
+ </head>
167
+ <body>
168
+ <div class="title">
169
+ <div class="container">
170
+ <h1>That's not good <span>:(</span></h1>
171
+ <p>Something went wrong. Sorry.</p>
172
+ </div>
173
+ </div>
174
+ <div class="search">
175
+ <div class="container">
176
+ <script>
177
+ var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
178
+ </script>
179
+ <script src="https://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
180
+ </div>
181
+ </div>
182
+ <div class="links">
183
+ <div class="container">
184
+ <a href="https://radiusnetworks.zendesk.com/hc/en-us/requests/new">Contact Support</a> | <a href="/">Home</a> | <a href="javascript:window.history.back();">Go Back</a>
185
+ </div>
186
+ </div>
187
+ </body>
188
+ </html>
189
+
190
+
191
+
192
+
193
+
194
+ <!--
195
+
196
+ Oh, man, something clearly went wrong. And the worst thing about it is: it went wrong while you were using the command line or and API. That sucks. Sorry.
197
+
198
+ -->
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'radius/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "radius-rails"
8
+ spec.version = Radius::Rails::VERSION
9
+ spec.authors = ["Christopher Sexton"]
10
+ spec.email = ["chris@radiusnetworks.com"]
11
+ spec.summary = %q{Radius Networks Rails Assets and Generators}
12
+ spec.description = ""
13
+ spec.homepage = "https://github.com/RadiusNetworks/"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "font-awesome-rails"
22
+ spec.add_dependency "railties", ">= 3.2", "< 5.0"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.6"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "activesupport"
27
+ spec.add_development_dependency "sass-rails"
28
+ end
metadata ADDED
@@ -0,0 +1,171 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: radius-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Christopher Sexton
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: font-awesome-rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: railties
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '3.2'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '5.0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '3.2'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '5.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.6'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.6'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '10.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '10.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: activesupport
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: sass-rails
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ description: ''
104
+ email:
105
+ - chris@radiusnetworks.com
106
+ executables: []
107
+ extensions: []
108
+ extra_rdoc_files: []
109
+ files:
110
+ - ".gitignore"
111
+ - Gemfile
112
+ - LICENSE.txt
113
+ - README.md
114
+ - Rakefile
115
+ - app/assets/fonts/BonvenoCF-Light-webfont.eot
116
+ - app/assets/fonts/BonvenoCF-Light-webfont.svg
117
+ - app/assets/fonts/BonvenoCF-Light-webfont.ttf
118
+ - app/assets/fonts/BonvenoCF-Light-webfont.woff
119
+ - app/assets/fonts/nevis-webfont.eot
120
+ - app/assets/fonts/nevis-webfont.svg
121
+ - app/assets/fonts/nevis-webfont.ttf
122
+ - app/assets/fonts/nevis-webfont.woff
123
+ - app/assets/images/corporate-bar-logo.png
124
+ - app/assets/images/favicon.ico
125
+ - app/assets/images/favicon.png
126
+ - app/assets/stylesheets/bonveno-webfont.css.scss
127
+ - app/assets/stylesheets/corporate-bar.css.scss
128
+ - app/assets/stylesheets/environment-ribbon.css.scss
129
+ - app/assets/stylesheets/nevis-webfont.css.scss
130
+ - app/assets/stylesheets/normalize.css
131
+ - app/helpers/radius_helper.rb
132
+ - app/views/radius/_corporate_bar.html.erb
133
+ - app/views/radius/_environment_ribbon.html.erb
134
+ - app/views/radius/_ga.html.erb
135
+ - app/views/radius/_zendesk.html.erb
136
+ - lib/radius-rails.rb
137
+ - lib/radius/rails.rb
138
+ - lib/radius/rails/engine.rb
139
+ - lib/radius/rails/version.rb
140
+ - lib/rails/generators/radius/error_pages_generator.rb
141
+ - lib/rails/generators/radius/templates/401.html
142
+ - lib/rails/generators/radius/templates/404.html
143
+ - lib/rails/generators/radius/templates/422.html
144
+ - lib/rails/generators/radius/templates/500.html
145
+ - lib/rails/generators/radius/templates/favicon.ico
146
+ - radius-rails.gemspec
147
+ homepage: https://github.com/RadiusNetworks/
148
+ licenses:
149
+ - MIT
150
+ metadata: {}
151
+ post_install_message:
152
+ rdoc_options: []
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ requirements: []
166
+ rubyforge_project:
167
+ rubygems_version: 2.2.2
168
+ signing_key:
169
+ specification_version: 4
170
+ summary: Radius Networks Rails Assets and Generators
171
+ test_files: []