date_format 0.3.1 → 0.3.2

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: 4331c5ebcc7f750c20dc581635deec992f44f66b
4
- data.tar.gz: 2c6f3314a51e8ebe82abc9336bce6c0e410e69a4
3
+ metadata.gz: fd52ea155fe83ad311012fce4103b58f2c60487f
4
+ data.tar.gz: 3cc8733e8691a93e2f7a5ba9a3ed24c637caab24
5
5
  SHA512:
6
- metadata.gz: 5e309ce374d843e081278811d7e81cb673f82790861667bfc3e66ad3c235a2970e8c7e0bc3d22c4bd8911bbfeb77123bab1c8408d98cfca24d8b622b747ba943
7
- data.tar.gz: c4668c9d4ff49cb59f1c1983fa24b313b86d8b569d704895832205ae0a2b68649b6b6eafbc588cc4ce84bb5deea018ab9ef1644cf23f6dd59228adec23a0e4f0
6
+ metadata.gz: 964426c0bef79366c7702c6b4c1147deceeb678e28f03a602799ab1e477869d1c7f506a8ced9e2b3ec979e0111c3ca099faf23baa4d24bfc59673a35ee23cfd6
7
+ data.tar.gz: 9b551225c91f1638df492937b35c05bd120ab3374c6d9dd31d3574969e33b2141b454d5f1435eccb1c4d68e3337ebfa2567ee5bf53c885e092c1cf527434af70
@@ -52,6 +52,16 @@ module DateFormat
52
52
  "%a, %b %d, %Y"
53
53
  when "ONLY_DATE_DEFAULT" # => 3/4/2014 ***
54
54
  "%d/%m/%Y"
55
+ when "ONLY_CURRENT_DATE_NUMBER" # => 3 ***
56
+ "%d"
57
+ when "ONLY_CURRENT_DATE_ALPHABET" # => Sat ***
58
+ "%a"
59
+ when "ONLY_CURRENT_MONTH_NUMBER" # => 4 ***
60
+ "%m"
61
+ when "ONLY_CURRENT_MONTH_ALPHABET" # => Apr ***
62
+ "%b"
63
+ when "ONLY_CURRENT_YEAR_MONTH" # => 201404 ***
64
+ "%Y%m"
55
65
  else
56
66
  "%d.%m.%y"
57
67
  end
@@ -1,3 +1,3 @@
1
1
  module DateFormat
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: date_format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahul Patil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler