monthra 0.1.1 → 0.1.2

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: 45b36b845fabde171c235d4bcd98632a5e211442
4
- data.tar.gz: a9d8c944ccd9c056b8dd29c794c4ee4859ee708b
3
+ metadata.gz: 459cf4e50c36589149301a430695569974a4eea6
4
+ data.tar.gz: 7caf36a6e5a77c3f60eb9edf21a7076b20f78106
5
5
  SHA512:
6
- metadata.gz: 3e4302f0388ea41bb927bf6fcacdd550b6401ba5b1603d156f7b66bf2bbdd545cb671eba5ff174bc70ae7b0fc1e570a8b2c32bb964839fedf2711417eb8bbd97
7
- data.tar.gz: 5ece4f757bd79d160de0ae5f7abb8d6e43f42820476645ddbff32739dfb97cc1a50838d3066eea3f42598fe86d6165ba515639028690a29bb86049ede16b58cb
6
+ metadata.gz: e235434570082fcc7d8c59280c474fedca54535c402549516066ad100ed8bb9dd0c5a66020122a4c62c0647f62f7227ad0c63ca69fa02c75a3552450fad79d25
7
+ data.tar.gz: 4cb10d2f35b6c7d89b14203ed39983828839921cf677c2d5c93e5278688d706b8f41e013a234f872852e99a0ec060796826916ac01373f7a57ace192fbac4460
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- monthra (0.1.0)
4
+ monthra (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -12,6 +12,11 @@ module Monthra
12
12
  end
13
13
  end
14
14
 
15
+ # @return [Month] For today
16
+ def self.current
17
+ self.at(Date.today)
18
+ end
19
+
15
20
  # @param [String] month_str
16
21
  # @param [String] format
17
22
  # @return [Month]
@@ -1,3 +1,3 @@
1
1
  module Monthra
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monthra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeremiah.hemphill@gmail.com
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-18 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler