locomotive_cms 2.5.0.rc1 → 2.5.0.rc2
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: 445a239a0a0d6b9f30fec36b880d297f837a81cc
|
4
|
+
data.tar.gz: 383dc6883e250d582c10ec52e8fe251f0db76717
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77446b33a479d73220ec27e8925377074bad411ac2d10865dbd94ccedb2eb81aad5e3559aab2695390a1ec6fb2cb76b7a1e2e3c01a3ac735862e8466dfb4d085
|
7
|
+
data.tar.gz: c2885bd30892cf699bc6c75983232594e0289f0062f567c1322fce86f5cebffab10f8029e5742c7cab88efd16ad75163c161da30f389b7c1dacfd88809624139
|
@@ -136,7 +136,7 @@ module Locomotive
|
|
136
136
|
# @return [ String ] The HTML image tag with the path to the matching flag.
|
137
137
|
#
|
138
138
|
def flag_tag(locale, size = '24x24')
|
139
|
-
image_tag("locomotive/icons/flags/#{locale}.png", class:
|
139
|
+
image_tag("locomotive/icons/flags/#{locale}.png", class: "flag flag-#{locale}", size: size)
|
140
140
|
end
|
141
141
|
|
142
142
|
def nocoffee_tag
|
@@ -6,7 +6,7 @@ module ActiveSupport::Dependencies
|
|
6
6
|
|
7
7
|
def require_or_load(file_name, const_path = nil)
|
8
8
|
if file_name.starts_with?(Rails.root.to_s + '/app')
|
9
|
-
relative_name = file_name.gsub(Rails.root.to_s
|
9
|
+
relative_name = file_name.gsub(/^#{Rails.root.to_s}/, '')
|
10
10
|
@engine_paths ||= Rails::Application::Railties.engines.collect{|engine| engine.config.root.to_s }
|
11
11
|
@engine_paths.each do |path|
|
12
12
|
engine_file = File.join(path, relative_name)
|
data/lib/locomotive/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotive_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.0.
|
4
|
+
version: 2.5.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|