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: e4cb733ee33928959b9c3429fe3b916d208539cb
4
- data.tar.gz: 8c9dc8918a559878a1bdd58b9206592de62c469a
3
+ metadata.gz: 312d5c64afb6264abfc3758140694ae09de4960f
4
+ data.tar.gz: 959d572be79a13093dfab2b689a80e1cad642640
5
5
  SHA512:
6
- metadata.gz: e3503dec9abedcee12e4b92b5d5633e2398a735ce1fc5e95000045d39a9b8258e4c64f18af27e1f3475cdce65bb3fa65b2b98a923413e028fcb9bfbef9d9e9a0
7
- data.tar.gz: b1858d94145776431c95661f8a189b161252e5b9ff3b75630bc1b94cb1bfb819b1c871a0c381bf34024691ff86d98941ba55749f0c9fad61d5035cf4e9bb6328
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%"
@@ -2,7 +2,7 @@ module Agilib
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 3
5
+ PATCH = 4
6
6
  BUILD = ''
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Junior