failuregem 0.0.9.2 → 0.0.9.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2eebbff56d3c79fc2f51d16b19fd8c539dbb5fb465d8fd04ebbbaa6689f1a408
4
- data.tar.gz: 373ae49862f6338c586a7a8411e89cd126536c16f73ae69c694b51ad0e8503a7
3
+ metadata.gz: 228eeea06550976dca3f7e5844c7d46e5e08a9f79f197b46bb12cdc2edb3f221
4
+ data.tar.gz: 7610323b3bf6c985302bdc04f3950e408f2c876c5beacd49ca4adaa3b72ac3c2
5
5
  SHA512:
6
- metadata.gz: 96e8fd5eb4349da85c791d781f8d2686f29cbc6e0a4da314683fe289400c72f777425132f5ab7019cc204c79150aba0382e782b10e58a255f242b3bae36e5058
7
- data.tar.gz: 3a342996b317a441a182b8ab17c95ee0d7fde42ce67e5a3f3f364d049acae20bdf239663bde29ac749f9e06fcf55c604e543d1319dd9bb46a005b06f6b4e57d4
6
+ metadata.gz: a8964a7d132a96135b8ac35c66c38978c6f53b0d96235dd40f6c810a2d8672c93bfa527e4ad3a54cc757b365aadcaa1b9fab795f146503c3d4353a7e605fdb35
7
+ data.tar.gz: 6ae59071b3515c858e4392c31d3cd91f902d3c04950867119cd37513a7ccc5c30d91da55f8937e71c4e54cda8aad4e3fea75280c54a61e51ca523884476fff46
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  FAILURE-GEM
2
2
  ============
3
+ TODO: Update README with font-awesome-rails, devise, cancancan, rails_admin, devise_cas_authenticatable
3
4
 
4
5
  This is the Repository for the Failuregem.
5
6
 
Binary file
data/failuregem.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'failuregem'
3
- s.version = '0.0.9.2'
3
+ s.version = '0.0.9.2.1'
4
4
  s.date = '2018-10-25'
5
5
  s.summary = "failuregem!"
6
6
  s.description = "A simple Gem that includes everything you need to start with Rails programming! :)"
@@ -19,6 +19,11 @@ Gem::Specification.new do |s|
19
19
  s.add_runtime_dependency 'simple_form', '~> 4.0', '>= 4.0.1'
20
20
  s.add_runtime_dependency 'paperclip', '~> 6.1', '>= 6.1'
21
21
  s.add_runtime_dependency 'active_link_to', '~> 1.0', '>= 1.0.5'
22
+ s.add_runtime_dependency 'font-awesome-rails', '~> 4.7', '>= 4.7.0.1'
23
+ s.add_runtime_dependency 'devise', '~> 4.5', '>= 4.5'
24
+ s.add_runtime_dependency 'devise_cas_authenticatable', '~> 1.10', '>= 1.10.3'
25
+ s.add_runtime_dependency 'cancancan', '~> 2.3', '>= 2.3'
26
+ s.add_runtime_dependency 'rails_admin', '~> 1.4', '>= 1.4.2'
22
27
 
23
28
  s.homepage = 'http://rubygems.org/gems/failuregem'
24
29
  s.license = 'MIT'
data/lib/failuregem.rb CHANGED
@@ -3,6 +3,11 @@ require 'jquery-rails'
3
3
  require 'simple_form'
4
4
  require 'paperclip'
5
5
  require 'active_link_to'
6
+ require 'font-awesome-rails'
7
+ require 'devise'
8
+ require 'devise_cas_authenticatable'
9
+ require 'cancancan'
10
+ require 'rails_admin'
6
11
 
7
12
  module Failuregem
8
13
  module Rails
@@ -0,0 +1,281 @@
1
+ $background-color: #fff
2
+ $header-bg: #2C3E50
3
+ $footer-bg: #edeff1
4
+ $content-bg: #fff
5
+ $gray-line: #eee
6
+ $white1: #fff
7
+ $white2: #fafafa
8
+ $lightgray: #ECF0F1
9
+ $black: #373737
10
+
11
+ $gray1: #BDC3C7
12
+ $gray2: #95A5A6
13
+ $gray3: #7F8C8D
14
+ $gray4: #6e8597
15
+
16
+ $blue1: #3498DB
17
+ $blue2: #2980B9
18
+
19
+ $turq1: #1ABC9C
20
+ $turq2: #16A085
21
+
22
+ $dark1: #34495E
23
+ $dark2: #2C3E50
24
+
25
+ $info1: #2980B9
26
+ $info2: #3498DB
27
+ $success1: #E1EDD8
28
+ $success2: #2ECC71
29
+ $warning1: #F39C12
30
+ $warning2: #F1C40F
31
+ $error1: #C0392B
32
+ $error2: #E74C3C
33
+
34
+
35
+ //---Devise flash messages---//
36
+
37
+ .alert-error
38
+ background-color: #f2dede
39
+ border-color: #eed3d7
40
+ color: #b94a48
41
+ text-align: left
42
+
43
+ .alert-alert
44
+ background-color: #f2dede
45
+ border-color: #eed3d7
46
+ color: #b94a48
47
+ text-align: left
48
+
49
+ .alert-success
50
+ background-color: #dff0d8
51
+ border-color: #d6e9c6
52
+ color: #468847
53
+ text-align: left
54
+
55
+ .alert-notice
56
+ background-color: #dff0d8
57
+ border-color: #d6e9c6
58
+ color: #468847
59
+ text-align: left
60
+
61
+
62
+ //----GENERAL------------------//
63
+ *
64
+ font-size: 16px
65
+
66
+ html
67
+ //overflow: scroll
68
+
69
+ img
70
+ border-radius: 4px !important
71
+
72
+ .center
73
+ text-align: center
74
+ margin: 0 auto
75
+
76
+ h1, h1 a, h1 span, h1 span span
77
+ font-size: 36px !important
78
+
79
+ h2, h2 a, h2 span, h2 span span
80
+ font-size: 30px !important
81
+
82
+ h3, h3 a, h3 span, h3 span span
83
+ font-size: 24px !important
84
+
85
+ h4, h4 a, h4 span, h4 span span
86
+ font-size: 20px !important
87
+
88
+ h5, h5 a, h5 span, h5 span span
89
+ font-size: 18px !important
90
+
91
+ h6, h6 a, h6 span, h6 span span
92
+ font-size: 16px !important
93
+
94
+ //----HEADER & NAVIGATION-----//
95
+
96
+ .navbar-default, .navbar-header, .navbar-collapse, .header
97
+ background-color: $header-bg
98
+
99
+ .navbar-brand
100
+ padding-left: 0px !important
101
+ margin: 29px 0px 0px 0px
102
+
103
+ .navigation-title
104
+ color: $white1
105
+ font-size: 30px !important
106
+ span
107
+ font-size: 30px
108
+ color: $turq1
109
+
110
+ .navigation-link
111
+ padding: 0px !important
112
+ margin: 45px 15px
113
+ font-size: 14px
114
+ color: $white1 !important
115
+ &:hover
116
+ color: $turq1 !important
117
+
118
+ .active
119
+ .navigation-link
120
+ background-color: $header-bg !important
121
+ color: $turq1 !important
122
+
123
+ .navigation-link .active
124
+ border-bottom: 1px solid !important
125
+
126
+ .navbar-toggle
127
+ margin: 42px 20px 0px 0px !important
128
+ height: 28px
129
+ padding: 2px 9px !important
130
+ i
131
+ font-size: 15px
132
+ color: $white1
133
+
134
+ .icon-bar
135
+ color: $white1 !important
136
+
137
+ //----CUSTOM NAV-----------//
138
+ .sub-nav
139
+ height: 100%
140
+
141
+ .sub-pages-nav
142
+ //float: left
143
+ //position: fixed
144
+ margin-top: 10px
145
+ margin-bottom: 55px
146
+ width: 100% !important
147
+ height: 27px !important
148
+ overflow: hidden
149
+
150
+ li
151
+ display: inline
152
+ margin-right: 20px
153
+
154
+ .custom-nav
155
+ width: 100% !important
156
+ display: inline
157
+ margin-left: 0px !important
158
+ padding-left: 0px !important
159
+ text-decoration: none
160
+ list-style-type: none
161
+ margin-right: 10px !important
162
+
163
+ li
164
+ margin-bottom: 20px !important
165
+ border-bottom: 1px solid $white1 !important
166
+ color: $turq1 !important
167
+ a
168
+ font-size: 15px
169
+
170
+ .active
171
+ border-bottom: 1px solid $turq1 !important
172
+
173
+ //----STARTPAGE------------//
174
+
175
+ .carousel-title a
176
+ color: $white1 !important
177
+ font-size: 25px
178
+ text-decoration: none
179
+
180
+ &:hover
181
+ color: $gray1 !important
182
+ text-decoration: none
183
+
184
+ .carousel-control .glyphicon
185
+ color: $white1
186
+
187
+ //----NEWS----------------//
188
+
189
+ .news
190
+ height: 250px
191
+ overflow: hidden
192
+
193
+ //----PAGES--------------//
194
+
195
+ a[class=""], .link
196
+ color: $turq1 !important
197
+ &:hover
198
+ color: $turq2 !important
199
+ text-decoration: none !important
200
+
201
+ body
202
+ color: $black !important
203
+
204
+ .dashboard-content
205
+ border-left: 1px solid $gray1 !important
206
+
207
+ .page-content
208
+ border-left: 1px solid $gray1 !important
209
+
210
+
211
+ //----BUTTONS------------//
212
+
213
+ .btn-primary
214
+ background-color: $turq1 !important
215
+ border-color: $turq1 !important
216
+ color: $white1 !important
217
+
218
+ //----TABLES-------------//
219
+
220
+ .cut-td-text
221
+ max-height: 25px !important
222
+ overflow: hidden !important
223
+
224
+ //----PAGINATION---------//
225
+
226
+ .pagination
227
+ .active
228
+ span
229
+ background-color: $white1 !important
230
+ color: $black !important
231
+ border: 1px solid $turq1 !important
232
+
233
+ //----PROGRESS BAR-------//
234
+
235
+ .progress-info-green
236
+ float: left
237
+ width: 20px
238
+ height: 20px
239
+ border-radius: 100%
240
+ background-color: #5cb85c
241
+ margin-right: 7px
242
+
243
+ .progress-info-blue
244
+ float: right
245
+ width: 20px
246
+ height: 20px
247
+ border-radius: 100%
248
+ background-color: #5bc0de
249
+ margin-right: 7px
250
+
251
+ //----CHART BOX----------//
252
+
253
+ .chart
254
+
255
+ //----FOOTER-------------//
256
+
257
+ .footer
258
+ height: 120px
259
+ margin-top: 50px
260
+ padding: 40px 20px
261
+ background-color: #edeff1
262
+ color: #bdc3c7
263
+ text-align: center
264
+
265
+ .footer-div
266
+ border-top: solid 1px $gray1
267
+ background-color: $white1
268
+ height: 90px
269
+ padding: 10px 0px
270
+
271
+ .footer-link
272
+ &:hover
273
+ text-decoration: none
274
+
275
+ .bl-logo
276
+ width: 220px
277
+ float: right
278
+
279
+ .divider
280
+ height: 150px
281
+ width: 100%
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: failuregem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9.2
4
+ version: 0.0.9.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Vogt
@@ -110,6 +110,106 @@ dependencies:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: 1.0.5
113
+ - !ruby/object:Gem::Dependency
114
+ name: font-awesome-rails
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '4.7'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 4.7.0.1
123
+ type: :runtime
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '4.7'
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 4.7.0.1
133
+ - !ruby/object:Gem::Dependency
134
+ name: devise
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '4.5'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '4.5'
143
+ type: :runtime
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '4.5'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '4.5'
153
+ - !ruby/object:Gem::Dependency
154
+ name: devise_cas_authenticatable
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.10'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 1.10.3
163
+ type: :runtime
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '1.10'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 1.10.3
173
+ - !ruby/object:Gem::Dependency
174
+ name: cancancan
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '2.3'
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: '2.3'
183
+ type: :runtime
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '2.3'
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '2.3'
193
+ - !ruby/object:Gem::Dependency
194
+ name: rails_admin
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - "~>"
198
+ - !ruby/object:Gem::Version
199
+ version: '1.4'
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: 1.4.2
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: '1.4'
210
+ - - ">="
211
+ - !ruby/object:Gem::Version
212
+ version: 1.4.2
113
213
  - !ruby/object:Gem::Dependency
114
214
  name: bundler
115
215
  requirement: !ruby/object:Gem::Requirement
@@ -148,12 +248,11 @@ extensions: []
148
248
  extra_rdoc_files: []
149
249
  files:
150
250
  - ".DS_Store"
151
- - Gemfile
152
251
  - LICENSE.txt
153
252
  - README.md
154
- - Rakefile
155
253
  - bin/console
156
254
  - bin/setup
255
+ - failuregem-0.0.9.2.gem
157
256
  - failuregem.gemspec
158
257
  - git.rb
159
258
  - lib/.DS_Store
@@ -162,7 +261,7 @@ files:
162
261
  - lib/failuregem/version.rb
163
262
  - vendor/.DS_Store
164
263
  - vendor/assets/.DS_Store
165
- - vendor/assets/stylesheets/failure.css
264
+ - vendor/assets/stylesheets/failure.sass
166
265
  homepage: http://rubygems.org/gems/failuregem
167
266
  licenses:
168
267
  - MIT
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in helix.gemspec
6
- gemspec
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- require "bundler/gem_tasks"
2
- task :default => :spec
@@ -1,2 +0,0 @@
1
- .alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48;text-align:left}.alert-alert{background-color:#f2dede;border-color:#eed3d7;color:#b94a48;text-align:left}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847;text-align:left}.alert-notice{background-color:#dff0d8;border-color:#d6e9c6;color:#468847;text-align:left}*{font-size:16px}img{border-radius:4px !important}.center{text-align:center;margin:0 auto}h1,h1 a,h1 span,h1 span span{font-size:36px !important}h2,h2 a,h2 span,h2 span span{font-size:30px !important}h3,h3 a,h3 span,h3 span span{font-size:24px !important}h4,h4 a,h4 span,h4 span span{font-size:20px !important}h5,h5 a,h5 span,h5 span span{font-size:18px !important}h6,h6 a,h6 span,h6 span span{font-size:16px !important}.navbar-default,.navbar-header,.navbar-collapse,.header{background-color:#2C3E50}.navbar-brand{padding-left:0px !important;margin:29px 0px 0px 0px}.navigation-title{color:#fff;font-size:30px !important}.navigation-title span{font-size:30px;color:#1ABC9C}.navigation-link{padding:0px !important;margin:45px 15px;font-size:14px;color:#fff !important}.navigation-link:hover{color:#1ABC9C !important}.active .navigation-link{background-color:#2C3E50 !important;color:#1ABC9C !important}.navigation-link .active{border-bottom:1px solid !important}.navbar-toggle{margin:42px 20px 0px 0px !important;height:28px;padding:2px 9px !important}.navbar-toggle i{font-size:15px;color:#fff}.icon-bar{color:#fff !important}.sub-nav{height:100%}.sub-pages-nav{margin-top:10px;margin-bottom:55px;width:100% !important;height:27px !important;overflow:hidden}.sub-pages-nav li{display:inline;margin-right:20px}.custom-nav{width:100% !important;display:inline;margin-left:0px !important;padding-left:0px !important;text-decoration:none;list-style-type:none;margin-right:10px !important}.custom-nav li{margin-bottom:20px !important;border-bottom:1px solid #fff !important;color:#1ABC9C !important}.custom-nav a{font-size:15px}.custom-nav .active{border-bottom:1px solid #1ABC9C !important}.carousel-title a{color:#fff !important;font-size:25px;text-decoration:none}.carousel-title a:hover{color:#BDC3C7 !important;text-decoration:none}.carousel-control .glyphicon{color:#fff}.news{height:250px;overflow:hidden}a{color:#1ABC9C !important}a:hover{color:#16A085 !important;text-decoration:none !important}body{color:#373737 !important}.dashboard-content{border-left:1px solid #BDC3C7 !important}.page-content{border-left:1px solid #BDC3C7 !important}.btn-primary{background-color:#1ABC9C !important;border-color:#1ABC9C !important;color:#fff !important}.cut-td-text{max-height:25px !important;overflow:hidden !important}.pagination .active span{background-color:#fff !important;color:#373737 !important;border:1px solid #1ABC9C !important}.progress-info-green{float:left;width:20px;height:20px;border-radius:100%;background-color:#5cb85c;margin-right:7px}.progress-info-blue{float:right;width:20px;height:20px;border-radius:100%;background-color:#5bc0de;margin-right:7px}.footer{height:120px}.footer-div{border-top:solid 1px #BDC3C7;background-color:#fff;height:90px;padding:10px 0px}.bl-logo{width:220px;float:right}.post{margin:20px 0px 40px 0px}.post hr{padding:0px;margin:0px}.post-title{font-size:30px;color:#373737}/*!
2
-