failuregem 0.0.9.3.1 → 0.0.9.3.3

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: b38484d4e00fcd178d0cacabb2a54adca3ae53d99629a8bb0c237ae396c79074
4
- data.tar.gz: c8211654cc7c3434ace411f07c1efff5fe60cf649a0ee7f7e501e8090a0b618d
3
+ metadata.gz: 4683dc3937712697c8b2731e120405e9141c88377f0d27159c42ae194f56e1d3
4
+ data.tar.gz: 726d4d138755e50dda3cf6abd39587ebd1be669c693ce67e7dfa13ada4c311d0
5
5
  SHA512:
6
- metadata.gz: c479c2d62d91585dbffaed0362c47c915515c3f38859594cee9adfb2f23f1e74d27564f1ad8e43d2eed13839f94cfe3fa3ec455fb3bc720a2dcbcb0d7e16e8c9
7
- data.tar.gz: 3279d642980377feb1a5fa5c19c42fa6da52b970cbc33332abe5d667ba9a6f7cedfbc7b2eb1b8cef457a23c540f25ee6a6a671ca0a195d8219f0f312b2eb5209
6
+ metadata.gz: 61519cf594148bea4c951d5db72a083751efda639c7c2c737e625016c6a24478639368d064e1bc967722de299b1d70d7a37a44b3ec573c895ff6a9b0805d6983
7
+ data.tar.gz: 4e5e2f0ad59ce2dc23ac9201345edc6367b77b0b7dc1b379a3a9ec46b2e226eeab401a667a9a3eedfab84b408fab47dced5fcada309af7d78cdaa339c452cd0a
data/lib/failuregem.rb CHANGED
@@ -11,7 +11,8 @@ require 'rails_admin'
11
11
 
12
12
  module Failuregem
13
13
  module Rails
14
- class Engine < ::Rails::Engine
15
- end
14
+ class Engine < ::Rails::Engine
15
+ # Get rails to add app, lib, vendor to load path
16
+ end
16
17
  end
17
18
  end
@@ -0,0 +1 @@
1
+ alert("asdf");
@@ -0,0 +1,282 @@
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
+ $darkblue: #173580
19
+
20
+ $turq1: #1ABC9C
21
+ $turq2: #16A085
22
+
23
+ $dark1: #34495E
24
+ $dark2: #2C3E50
25
+
26
+ $info1: #2980B9
27
+ $info2: #3498DB
28
+ $success1: #E1EDD8
29
+ $success2: #2ECC71
30
+ $warning1: #F39C12
31
+ $warning2: #F1C40F
32
+ $error1: #C0392B
33
+ $error2: #E74C3C
34
+
35
+
36
+ //---Devise flash messages---//
37
+
38
+ .alert-error
39
+ background-color: #f2dede
40
+ border-color: #eed3d7
41
+ color: #b94a48
42
+ text-align: left
43
+
44
+ .alert-alert
45
+ background-color: #f2dede
46
+ border-color: #eed3d7
47
+ color: #b94a48
48
+ text-align: left
49
+
50
+ .alert-success
51
+ background-color: #dff0d8
52
+ border-color: #d6e9c6
53
+ color: #468847
54
+ text-align: left
55
+
56
+ .alert-notice
57
+ background-color: #dff0d8
58
+ border-color: #d6e9c6
59
+ color: #468847
60
+ text-align: left
61
+
62
+
63
+ //----GENERAL------------------//
64
+ *
65
+ font-size: 16px
66
+
67
+ html
68
+ //overflow: scroll
69
+
70
+ img
71
+ border-radius: 4px !important
72
+
73
+ .center
74
+ text-align: center
75
+ margin: 0 auto
76
+
77
+ h1, h1 a, h1 span, h1 span span
78
+ font-size: 36px !important
79
+
80
+ h2, h2 a, h2 span, h2 span span
81
+ font-size: 30px !important
82
+
83
+ h3, h3 a, h3 span, h3 span span
84
+ font-size: 24px !important
85
+
86
+ h4, h4 a, h4 span, h4 span span
87
+ font-size: 20px !important
88
+
89
+ h5, h5 a, h5 span, h5 span span
90
+ font-size: 18px !important
91
+
92
+ h6, h6 a, h6 span, h6 span span
93
+ font-size: 16px !important
94
+
95
+ //----HEADER & NAVIGATION-----//
96
+
97
+ .navbar-default, .navbar-header, .navbar-collapse, .header
98
+ background-color: $header-bg
99
+
100
+ .navbar-brand
101
+ padding-left: 0px !important
102
+ margin: 29px 0px 0px 0px
103
+
104
+ .navigation-title
105
+ color: $white1
106
+ font-size: 30px !important
107
+ span
108
+ font-size: 30px
109
+ color: $turq1
110
+
111
+ .navigation-link
112
+ padding: 0px !important
113
+ margin: 45px 15px
114
+ font-size: 14px
115
+ color: $white1 !important
116
+ &:hover
117
+ color: $turq1 !important
118
+
119
+ .active
120
+ .navigation-link
121
+ background-color: $header-bg !important
122
+ color: $turq1 !important
123
+
124
+ .navigation-link .active
125
+ border-bottom: 1px solid !important
126
+
127
+ .navbar-toggle
128
+ margin: 42px 20px 0px 0px !important
129
+ height: 28px
130
+ padding: 2px 9px !important
131
+ i
132
+ font-size: 15px
133
+ color: $white1
134
+
135
+ .icon-bar
136
+ color: $white1 !important
137
+
138
+ //----CUSTOM NAV-----------//
139
+ .sub-nav
140
+ height: 100%
141
+
142
+ .sub-pages-nav
143
+ //float: left
144
+ //position: fixed
145
+ margin-top: 10px
146
+ margin-bottom: 55px
147
+ width: 100% !important
148
+ height: 27px !important
149
+ overflow: hidden
150
+
151
+ li
152
+ display: inline
153
+ margin-right: 20px
154
+
155
+ .custom-nav
156
+ width: 100% !important
157
+ display: inline
158
+ margin-left: 0px !important
159
+ padding-left: 0px !important
160
+ text-decoration: none
161
+ list-style-type: none
162
+ margin-right: 10px !important
163
+
164
+ li
165
+ margin-bottom: 20px !important
166
+ border-bottom: 1px solid $white1 !important
167
+ color: $turq1 !important
168
+ a
169
+ font-size: 15px
170
+
171
+ .active
172
+ border-bottom: 1px solid $turq1 !important
173
+
174
+ //----STARTPAGE------------//
175
+
176
+ .carousel-title a
177
+ color: $white1 !important
178
+ font-size: 25px
179
+ text-decoration: none
180
+
181
+ &:hover
182
+ color: $gray1 !important
183
+ text-decoration: none
184
+
185
+ .carousel-control .glyphicon
186
+ color: $white1
187
+
188
+ //----NEWS----------------//
189
+
190
+ .news
191
+ height: 250px
192
+ overflow: hidden
193
+
194
+ //----PAGES--------------//
195
+
196
+ a[class=""], .link
197
+ color: $turq1 !important
198
+ &:hover
199
+ color: $turq2 !important
200
+ text-decoration: none !important
201
+
202
+ body
203
+ color: $black !important
204
+
205
+ .dashboard-content
206
+ border-left: 1px solid $gray1 !important
207
+
208
+ .page-content
209
+ border-left: 1px solid $gray1 !important
210
+
211
+
212
+ //----BUTTONS------------//
213
+
214
+ .btn-primary
215
+ background-color: $turq1 !important
216
+ border-color: $turq1 !important
217
+ color: $white1 !important
218
+
219
+ //----TABLES-------------//
220
+
221
+ .cut-td-text
222
+ max-height: 25px !important
223
+ overflow: hidden !important
224
+
225
+ //----PAGINATION---------//
226
+
227
+ .pagination
228
+ .active
229
+ span
230
+ background-color: $white1 !important
231
+ color: $black !important
232
+ border: 1px solid $turq1 !important
233
+
234
+ //----PROGRESS BAR-------//
235
+
236
+ .progress-info-green
237
+ float: left
238
+ width: 20px
239
+ height: 20px
240
+ border-radius: 100%
241
+ background-color: #5cb85c
242
+ margin-right: 7px
243
+
244
+ .progress-info-blue
245
+ float: right
246
+ width: 20px
247
+ height: 20px
248
+ border-radius: 100%
249
+ background-color: #5bc0de
250
+ margin-right: 7px
251
+
252
+ //----CHART BOX----------//
253
+
254
+ //.chart
255
+
256
+ //----FOOTER-------------//
257
+
258
+ .footer
259
+ height: 120px
260
+ margin-top: 50px
261
+ padding: 40px 20px
262
+ background-color: #edeff1
263
+ color: #bdc3c7
264
+ text-align: center
265
+
266
+ .footer-div
267
+ border-top: solid 1px $gray1
268
+ background-color: $white1
269
+ height: 90px
270
+ padding: 10px 0px
271
+
272
+ .footer-link
273
+ &:hover
274
+ text-decoration: none
275
+
276
+ .bl-logo
277
+ width: 220px
278
+ float: right
279
+
280
+ .divider
281
+ height: 150px
282
+ 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.3.1
4
+ version: 0.0.9.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Vogt
@@ -241,25 +241,13 @@ dependencies:
241
241
  description: A simple Gem that includes everything you need to start with Rails programming!
242
242
  :)
243
243
  email: leon.vogt@bl.ch
244
- executables:
245
- - "/console"
246
- - "/setup"
244
+ executables: []
247
245
  extensions: []
248
246
  extra_rdoc_files: []
249
247
  files:
250
- - ".DS_Store"
251
- - LICENSE.txt
252
- - README.md
253
- - bin/console
254
- - bin/setup
255
- - failuregem-0.0.9.2.gem
256
- - failuregem.gemspec
257
- - git.rb
258
- - lib/.DS_Store
259
248
  - lib/failuregem.rb
260
- - lib/failuregem/version.rb
261
- - vendor/.DS_Store
262
- - vendor/assets/.DS_Store
249
+ - vendor/assets/javascripts/failuregem.js
250
+ - vendor/assets/stylesheets/failure.sass
263
251
  homepage: http://rubygems.org/gems/failuregem
264
252
  licenses:
265
253
  - MIT
@@ -268,7 +256,6 @@ post_install_message:
268
256
  rdoc_options: []
269
257
  require_paths:
270
258
  - lib
271
- - vendor
272
259
  required_ruby_version: !ruby/object:Gem::Requirement
273
260
  requirements:
274
261
  - - ">="
data/.DS_Store DELETED
Binary file
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 Administrator
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/README.md DELETED
@@ -1,81 +0,0 @@
1
- FAILURE-GEM
2
- ============
3
- TODO: Update README with font-awesome-rails, devise, cancancan, rails_admin, devise_cas_authenticatable
4
-
5
- This is the Repository for the Failuregem.
6
-
7
- **Failuregem** aims to be a timesafer for railsapp. It includes couple of usefull Gems to start rightaway with Rails programming.
8
- **Failregem** Includes following GEMs:
9
-
10
- * Bootstrap
11
- * Jquery-rails
12
- * Simple-Form
13
- * Paperclip
14
- * Active_link_to
15
-
16
-
17
- INFO: This GEM use every App on [Failure.bl.ch](http://failure.bl.ch/)
18
- , if you programm a new Rails App for Failure please use this GEM.
19
-
20
- ## Installation
21
-
22
- Add it to your Gemfile:
23
-
24
- ```ruby
25
- gem 'failuregem'
26
- ```
27
-
28
- Run the following command to install it:
29
-
30
- ```console
31
- bundle install
32
- ```
33
-
34
- Finally done!
35
-
36
- ### Bootstrap
37
-
38
- **Failuregem** has the newest Bootstrap version included but you have still import it to your application.scss
39
- To do that you have to rewrite application.css to application.scss
40
-
41
- ```console
42
- $ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
43
- ```
44
-
45
- ```scss
46
- // Import Bootstrap in application.scss
47
- @import "bootstrap";
48
- ```
49
-
50
- Add Bootstrap dependencies and Bootstrap to your `application.js`:
51
-
52
- ```js
53
- //= require jquery3
54
- //= require popper
55
- //= require bootstrap-sprockets
56
- ```
57
-
58
- While `bootstrap-sprockets` provides individual Bootstrap components
59
- for ease of debugging, you may alternatively require
60
- the concatenated `bootstrap` for faster compilation:
61
-
62
- ```js
63
- //= require jquery3
64
- //= require popper
65
- //= require bootstrap
66
- ```
67
-
68
-
69
-
70
- ### Simple Form
71
-
72
- **Simple Form** can be easily integrated to the [Bootstrap](http://getbootstrap.com/).
73
- To do that you have to use the `bootstrap` option in the install generator, like this:
74
-
75
- ```console
76
- rails generate simple_form:install --bootstrap
77
- ```
78
-
79
-
80
-
81
- ### Now you good to go!
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "failuregem"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
Binary file
data/failuregem.gemspec DELETED
@@ -1,33 +0,0 @@
1
- Gem::Specification.new do |s|
2
- s.name = 'failuregem'
3
- s.version = '0.0.9.3.1'
4
- s.date = '2018-10-25'
5
- s.summary = "failuregem!"
6
- s.description = "A simple Gem that includes everything you need to start with Rails programming! :)"
7
- s.authors = ["Leon Vogt"]
8
- s.email = 'leon.vogt@bl.ch'
9
-
10
- s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
11
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
12
- end
13
- s.bindir = "bin"
14
- s.executables = s.files.grep(%r{^bin/}) { |f| f[3..-1] }
15
- s.require_paths = ["lib", "vendor"]
16
-
17
- s.add_runtime_dependency 'bootstrap', '~> 4.1.3', '>= 4.1.3'
18
- s.add_runtime_dependency 'jquery-rails', '~> 4.3', '>= 4.3.1'
19
- s.add_runtime_dependency 'simple_form', '~> 4.0', '>= 4.0.1'
20
- s.add_runtime_dependency 'paperclip', '~> 6.1', '>= 6.1'
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'
27
-
28
- s.homepage = 'http://rubygems.org/gems/failuregem'
29
- s.license = 'MIT'
30
-
31
- s.add_development_dependency "bundler", "~> 1.16"
32
- s.add_development_dependency "rake", "~> 10.0"
33
- end
data/git.rb DELETED
@@ -1,25 +0,0 @@
1
- puts
2
- puts
3
- puts
4
- puts
5
- %x(git status)
6
- puts
7
- puts
8
- puts "** Let's push it to Git **"
9
- puts
10
- puts "Gib die Commit message ein: "
11
- commitname = gets
12
- puts
13
- puts
14
- puts "#{commitname.chomp} wird eingetragen ..."
15
- %x(git add .)
16
- %x(git commit -m '#{commitname.chomp}')
17
- %x(git push)
18
- puts
19
- puts
20
- puts
21
- %x(git status)
22
- puts
23
- puts
24
- puts "** Done **"
25
- puts
data/lib/.DS_Store DELETED
Binary file
@@ -1,3 +0,0 @@
1
- module Failuregem
2
- VERSION = "0.0.7.3"
3
- end
data/vendor/.DS_Store DELETED
Binary file
Binary file