ask_year_month 0.1.0 → 0.1.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: a9a165f7e16ac6649abc0679192aeef1019b04f71803f00addd4117eb8b8273b
4
- data.tar.gz: cf54b88753872c17b111a2f26378b65edd7328d4e2feefdefcb33dd933691b76
3
+ metadata.gz: df31dbd937f4b7ec0242ad6d54b4abfad1da50d250851a8b954c37bf9b71e80f
4
+ data.tar.gz: a43c7dc0e2d5f32b7bcc89e85a03f03029c57be22fbf5b68ed8b7ea30ad7f4da
5
5
  SHA512:
6
- metadata.gz: 3aba5638cfb6f989486aafbb347634839bc88ca25b195cde3373fb329887d7114cf0827832eef5d95f6d00962b615c020a8b5bf5d71153864a84464b2e63c3d0
7
- data.tar.gz: 6f36b3e76d9eb993940ca282cf44bd47239f0aa07d08da5a59a9864283be2a77c9dff5f5a772bfbfdae803eefe5fd0d269ad6a38eb2c845cb8e492a0f309acb2
6
+ metadata.gz: 2fcff65662cd3315b1d7a8519bba88ffe59a33baed8144d300a7ec3b8f27fb70faa342b1c2e0e09d3e42e07758129f8ce1ced56b584a7a2ba17c0c4d16547a12
7
+ data.tar.gz: 97e2581e8a94d2dfda9f10e10664ca02218a6d45d7a74e8ba0f5952736649365f0214c6f9fbec286b55d01f392770bf324f5e46c4e32ba913c42c1aef07c91ca
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # AskYearMonth
2
2
  You can simply check **what month, what year** it is by the name of the month and year.
3
+ <br>
3
4
  (Year is not implemented. coming soon...)
4
5
 
5
6
  This Gem was extend [Date, DateTime, Time, ActiveSupport::TimeWithZone].
@@ -11,10 +12,19 @@ This Gem was extend [Date, DateTime, Time, ActiveSupport::TimeWithZone].
11
12
  DateTime.parse('2020-12-05').month == 12
12
13
  #=> true
13
14
 
15
+ Time.parse('2020-03-05').month == 3
16
+ #=> true
17
+
14
18
  # It's beautiful!
15
19
  DateTime.parse('2020-12-05').december?
16
20
  #=> true
21
+
22
+ Time.parse('2020-03-05').march?
23
+ #=> true
17
24
  ```
25
+ ## Methods
26
+
27
+ https://github.com/mah666hhh/ask_year_month/blob/main/lib/ask_year_month/month_name_helper.rb
18
28
 
19
29
  ## Usage
20
30
  How to use my plugin.
@@ -1,3 +1,3 @@
1
1
  module AskYearMonth
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ask_year_month
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mah666hhh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-04 00:00:00.000000000 Z
11
+ date: 2020-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,7 +44,9 @@ dependencies:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
- description: You can use this gem to get the name of the month.
47
+ description: You can simply check **what month, what year** it is by the name of the
48
+ month and year.<br>(Year is not implemented. coming soon...) This Gem was extend
49
+ [Date, DateTime, Time, ActiveSupport::TimeWithZone] [Show on GitHub](https://github.com/mah666hhh/ask_year_month)
48
50
  email:
49
51
  - mah666hhh@gmail.com
50
52
  executables: []