tramway-core 1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/tramway/core/application_record.rb +1 -1
- data/lib/tramway/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d4dc946e654d731b7fb1e4aa1ec30d1082b7e000ccff17e3be37f128aa2ff22
|
4
|
+
data.tar.gz: f0dba426b44ee543563027be21f63f5bfef1033d83b03ff3d6787842a404ea9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3c37880b3b28a1a40a2be21a05a310dcc707f3b75ceedd8783e38d9a6e432ed53a0cf2411d3411f6db8bdd42b58dc536ce6d95971fad7c7207d28a7ddfc3a36
|
7
|
+
data.tar.gz: 81ce71ef4f0b8a37041f7386d6c7c084d1618809db849e874bfe95bc3e97dad98eb1a485d823030fc73b9c08c6009971a195556b9f07dbd2c095d6edd661c71f
|
@@ -20,7 +20,7 @@ module Tramway
|
|
20
20
|
|
21
21
|
# FIXME detect inhertited locales
|
22
22
|
class << self
|
23
|
-
def human_attribute_name(attribute_name)
|
23
|
+
def human_attribute_name(attribute_name, *args)
|
24
24
|
excepted_attributes = %w( created_at updated_at state )
|
25
25
|
if attribute_name.to_s.in? excepted_attributes
|
26
26
|
I18n.t "activerecord.attributes.tramway/core/application_record.#{attribute_name}"
|
data/lib/tramway/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Core for all Tramway Rails Engines
|
14
14
|
email:
|