ethiopic_date 0.0.12 → 0.0.13

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
  SHA1:
3
- metadata.gz: 1db2406e910c0e47c6806c317a76da4c05f70c6c
4
- data.tar.gz: e99a5f7a24cf2621b1ca3562b50abd6c6f7dc179
3
+ metadata.gz: f3ccaa9c1582e6c644fd3733bbb7e631784e6bfc
4
+ data.tar.gz: 878b745ba92a14c4244f5dbaa53f368ddd44c963
5
5
  SHA512:
6
- metadata.gz: cabed474d42136c74d00ac32eac65c7574456ac3f4a97b888d9edef3888c729246924bb0cff7a613bd918254b21277985d266af952770e05c599d603c9d84fb2
7
- data.tar.gz: 49bf705cec1c2d7f0d0c9e7c848ff6388fd835c4d4a0ad0176fbda541c1b240382f763193313450e8115a2e687dde979de0b5520383783ec899bc39f3a943505
6
+ metadata.gz: 80b4525abae06f8967f51ccdc8b4f4b63064b1117e11fb5c7e03d7b88a273ab25a3f9ae5e4f59d79d38c37b423001e3e7ed4e8f526cf1505d413ee79f5822614
7
+ data.tar.gz: a835d76b045b9c0b354cfa0fc630deb6999edaa3a37fef01cdbfb7c80bc79f656082cb80d7a11e59d6880eb0e2a43a4c31ae0a291cdd92ff9adc92dcf3e51d99
@@ -1,3 +1,3 @@
1
1
  module EthiopicDate
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
data/lib/ethiopic_date.rb CHANGED
@@ -83,7 +83,8 @@ module EthiopicDate
83
83
  year=ethiopic_date[:year]
84
84
  month=ethiopic_date[:month]
85
85
  day=ethiopic_date[:day]
86
- return " #{AmharicDays[:ethiopic_date[:dayName]]}, #{day} #{AmharicMonths[:month]} #{year} "
86
+ dayName = ethiopic_date[:dayName]
87
+ return " #{AmharicDays[dayName.to_sym]}, #{day} #{AmharicMonths[:month]} #{year} "
87
88
  end
88
89
 
89
90
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethiopic_date
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - G/yohannes Zenebe