invoice_translations 0.0.2 → 0.0.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: 8d31806a19d6c5aef6eab0b7b4b8127b73d946f5
4
- data.tar.gz: fb74f681b7802b9c22a092012f793b57bb9b6a49
3
+ metadata.gz: 8526e92e781ef95a73896fd5ac12a54b34c620d4
4
+ data.tar.gz: 680c366988dda98ba2e4aa551533a4130224fe29
5
5
  SHA512:
6
- metadata.gz: 1713f062296a4e47d828c7cc74f922e7dfe1c7e5a5762c19a258fb3357202eb7285cccfb66ff6624fcd9956f7fc72ce4dd9b758ad8d316674da2dcb89b7e3318
7
- data.tar.gz: 9404dce6bda181126596eac607ad2853a1d1f755e267bb8bf8dae239133b4071c9d88834a2d96f0ae6b0466f06f740c0e079776c2fbef649bf145dc94c281677
6
+ metadata.gz: 363492e538a0fb68dafbbecdec6270f8c73405aa0c4ebf157891540cd3708b394f6c9c91e08ee16f361425c63f95889577a2ae2c8930a069c28f2285c5cd1441
7
+ data.tar.gz: 76c5da24bc624f00e61b2e3722781d7c9fffed6d4206282ab393347a74e572f578169f44feccd8422ef7f7a1e7b6c147dac03917500befeb20ae0f2868f7d67b
@@ -7,7 +7,7 @@ module InvoiceTranslations
7
7
  end
8
8
 
9
9
  def to_h
10
- @i18n.t.to_hash['invoice'.freeze]
10
+ @i18n.t.to_hash
11
11
  end
12
12
 
13
13
  def [](name)
@@ -1,3 +1,3 @@
1
1
  module InvoiceTranslations
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -7,6 +7,6 @@ class TestInvoiceTranslations < Minitest::Test
7
7
  end
8
8
 
9
9
  def test_to_h
10
- assert_equal 'Rechnung', InvoiceTranslations.to_h['de']['invoice']
10
+ assert_equal 'German', InvoiceTranslations.to_h['de']['description']
11
11
  end
12
12
  end
@@ -13,6 +13,6 @@ class TestInvoiceTranslationsI18n < Minitest::Test
13
13
 
14
14
  def test_to_h
15
15
  assert_equal Hash, @i18n.to_h.class
16
- assert_equal 'Invoice', @i18n.to_h['invoice']
16
+ assert_equal 'English', @i18n.to_h['description']
17
17
  end
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invoice_translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Fox