agilib 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 312d5c64afb6264abfc3758140694ae09de4960f
|
4
|
+
data.tar.gz: 959d572be79a13093dfab2b689a80e1cad642640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0677aaf3d389abb2000c107edaea7712ac84d2227e1a857c0c5e08c16acb261d2367c1d865a54192369df55f3171e0518b4f16911c08b39f0370e478b34d0c69
|
7
|
+
data.tar.gz: a640f4097e3a5aa37d0d6377a5f9e7c53686275b4c08482d97c73d452c4097536f6b05505c82889729d6a63c80920d2837e0d3b8bea1d39724c57fad43839672
|
@@ -27,4 +27,6 @@ protected
|
|
27
27
|
inject_into_file "app/controllers/application_controller.rb", devise_filter_config, :after => "protect_from_forgery with: :exception"
|
28
28
|
inject_into_file "app/controllers/application_controller.rb", "\n\n before_filter :configure_permitted_parameters, if: :devise_controller?\n\n ", :after => "class ApplicationController < ActionController::Base"
|
29
29
|
|
30
|
+
gsub_file "app/controllers/users_controller.rb", 'params.require(:user).permit(:name)', "params.require(:user).permit(:name, :email, :password, :password_confirmation)"
|
31
|
+
|
30
32
|
end
|
@@ -21,6 +21,27 @@ templater.post_bundler do
|
|
21
21
|
|
22
22
|
gsub_file "app/assets/stylesheets/framework_and_overrides.css.scss", '@import "bootstrap";', ""
|
23
23
|
|
24
|
+
|
25
|
+
page_css_initial = <<-TEXT
|
26
|
+
.page-header {
|
27
|
+
a.btn {
|
28
|
+
float: right;
|
29
|
+
}
|
30
|
+
|
31
|
+
a.btn + a.btn {
|
32
|
+
margin-right: 8px;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
input[type="radio"], input[type="checkbox"] {
|
37
|
+
width: initial;
|
38
|
+
height: initial;
|
39
|
+
margin-top: 7px;
|
40
|
+
}
|
41
|
+
TEXT
|
42
|
+
|
43
|
+
inject_into_file "app/assets/stylesheets/framework_and_overrides.css.scss", page_css_initial, :after => '@import "bootstrap.scss";'
|
44
|
+
|
24
45
|
gsub_file "app/assets/stylesheets/framework_and_overrides.css.scss", 'width: 100%', "//width: 100%"
|
25
46
|
gsub_file "app/assets/stylesheets/framework_and_overrides.css.scss", 'padding-bottom: 80px', "//padding-bottom: 80px"
|
26
47
|
gsub_file "app/assets/stylesheets/framework_and_overrides.css.scss", 'background-color: #eee', "//width: 100%"
|
data/lib/agilib/version.rb
CHANGED