Skip to content

Commit

Permalink
[feature] loco-rails-core v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zbigh committed Jul 27, 2020
1 parent beacc94 commit 6834c07
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: .
specs:
loco-rails (4.0.0)
loco-rails-core (~> 0.1.1)
loco-rails (4.1.0)
loco-rails-core (~> 0.2.0)
rails (>= 5.0)

GEM
Expand Down Expand Up @@ -92,7 +92,7 @@ GEM
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loco-rails-core (0.1.1)
loco-rails-core (0.2.0)
rails (>= 5.0)
loofah (2.6.0)
crass (~> 1.0.2)
Expand Down
2 changes: 1 addition & 1 deletion lib/loco/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Loco
VERSION = '4.0.0'
VERSION = '4.1.0'
end
2 changes: 1 addition & 1 deletion loco-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
'README.rdoc'
]

s.add_dependency 'loco-rails-core', '~> 0.1.1'
s.add_dependency 'loco-rails-core', '~> 0.2.0'
s.add_dependency 'rails', '>= 5.0'

s.add_development_dependency 'bcrypt', '~> 3.1.12'
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/app/views/layouts/admin.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<%= render 'layouts/head' %>
<%= content_tag :body, loco_body_data.merge(style: body_styles) do %>
<%= content_tag :body, loco_body_data.merge(style: body_styles, 'data-rails-env' => Rails.env) do %>
<%= render 'layouts/flash', name: '', msg: '' %>
<% flash.each do |name, msg| %>
<%= render 'layouts/flash', name: name, msg: msg %>
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<%= render 'layouts/head' %>
<%= content_tag :body, loco_body_data.merge(style: body_styles) do %>
<%= content_tag :body, loco_body_data.merge(style: body_styles, 'data-rails-env' => Rails.env) do %>
<%= render 'layouts/flash', name: '', msg: '' %>
<% flash.each do |name, msg| %>
<%= render 'layouts/flash', name: name, msg: msg %>
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/app/views/layouts/user.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<%= render 'layouts/head' %>
<%= content_tag :body, loco_body_data.merge(style: body_styles) do %>
<%= content_tag :body, loco_body_data.merge(style: body_styles, 'data-rails-env' => Rails.env) do %>
<%= render 'layouts/flash', name: '', msg: '' %>
<% flash.each do |name, msg| %>
<%= render 'layouts/flash', name: name, msg: msg %>
Expand Down

0 comments on commit 6834c07

Please sign in to comment.