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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfd6033a88454598b04b674d5533289b18d128c4f4011b47f312dfedbdcc49e0
4
- data.tar.gz: c850087d3845cf990ac1ef8da5c874f53f2dfd7c2d5bb94fa17a663976a31098
3
+ metadata.gz: 2d4dc946e654d731b7fb1e4aa1ec30d1082b7e000ccff17e3be37f128aa2ff22
4
+ data.tar.gz: f0dba426b44ee543563027be21f63f5bfef1033d83b03ff3d6787842a404ea9b
5
5
  SHA512:
6
- metadata.gz: f7cb2c5f6daeac2cf88b66725956a24e8386400d8a0e764c7c3c61a367ecfac2bdc000b015e35f157eb7998f08e3b9c5f2e53b0651c0baf1ea625e9fbfbbecf1
7
- data.tar.gz: 6ff73a44b73b9e1b9b38ae8f3ade5a0a38992f8dc24885be6b813036c17d4c75553e7059cab82598bad6ec535d224d41d1ca645673a618bd72d6c8e4ee243c5a
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}"
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Core
3
- VERSION = '1.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
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: '1.0'
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-02-21 00:00:00.000000000 Z
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: