railman 0.6.3 → 0.6.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: 737a3ece585b1740bb0dbff1794b45f39b44370a
4
- data.tar.gz: 439e692300012ad952a829475c5ddf530d3f608a
3
+ metadata.gz: b071ef1366edcdbb089bf2a57d9596412f89b4a9
4
+ data.tar.gz: c6e5e7c6548d48fa556f8a53aacb8ba442b351a4
5
5
  SHA512:
6
- metadata.gz: 286ca3ad161511e5af9ec0871876bb67c99ab3de8aca700611d47bdc457f163a6bde95b0bbdb7309329733fc9d35871a2cb86c81cd35d376dc0e3218c60bfc26
7
- data.tar.gz: f546c3a6fff61e8136ea3e31b6a08d2ea99f2a233d7d2d0fb4d5e353017104045e13f8fb9358ed23fd89dea19cf63875e6befda91758040095426d7264268e27
6
+ metadata.gz: ff96c84ca21ecf2fd0b7d4274ffdea5bf682e4f0bd5c4f19480c19ce565a430c4e0b00a7bb454ccdab49672cefeb5bac0ce3284c9a1e2ba3fade806a86669475
7
+ data.tar.gz: b74a35fd330cbd722d61dba225fb1227a55d73304297c9328f3ef3744ac30c5a5488c1542dfcd25db276ebdb01070c15db14f8c1d6ea48e92ff4aef9a69769d1
@@ -1,3 +1,3 @@
1
1
  module Railman
2
- VERSION = '0.6.3'
2
+ VERSION = '0.6.4'
3
3
  end
@@ -1,5 +1,3 @@
1
1
  class ApplicationController < ActionController::Base
2
- # Prevent CSRF attacks by raising an exception.
3
- # For APIs, you may want to use :null_session instead.
4
2
  protect_from_forgery with: :exception
5
3
  end
@@ -23,7 +23,7 @@
23
23
  </head>
24
24
  <body>
25
25
  <div id="content">
26
- <div id="messages"><%%= render "layouts/messages" %></div>
26
+ <%= ui_flash_messages id: 'mesages' %>
27
27
  <%%= content_for?(:content) ? yield(:content) : yield %>
28
28
  </div>
29
29
  <script>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev
@@ -188,7 +188,6 @@ files:
188
188
  - templates/rails_app/app/models/.keep
189
189
  - templates/rails_app/app/models/concerns/.keep
190
190
  - templates/rails_app/app/views/home/index.html.erb.tt
191
- - templates/rails_app/app/views/layouts/_messages.html.erb
192
191
  - templates/rails_app/app/views/layouts/application.html.erb.tt
193
192
  - templates/rails_app/app/views/layouts/mailer.html.erb
194
193
  - templates/rails_app/app/views/layouts/mailer.text.erb
@@ -1,9 +0,0 @@
1
- <% flash.each do |name, msg| %>
2
- <div class="ui <%= name %> message">
3
- <i class="close icon"></i>
4
- <div class="ui header">
5
- <i class="<%= name == 'error' || name == 'warning' ? :warning : :info %> circle icon"></i>
6
- <div class="content"><%= msg %></div>
7
- </div>
8
- </div>
9
- <% end %>