month 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +53 -0
- data/month.gemspec +3 -3
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6f2cb49e56df71efa50a5d0b1d0defa911997bb7b1f064ce4820cbb171d64b7
|
4
|
+
data.tar.gz: 3d16daecccc4d6b4a8287e870f6114d51e148478aa7f26bf295a805020f9b670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dcaed88e8f32858f302b14369a7f095bbe5e237d89599ed74bd430956946e3297c52eba4f639b94b17b7f8b9060e7b208d4360d3f8812f2ab2fc41a7970dc62
|
7
|
+
data.tar.gz: 6d0627f52ef61f665be335c66734cf9e0fcce5d0751bf9bf08c07aaf195b6209fb970cf0696625d3667dce68350fcc7c55e34fbb7b2c7ba45bdf13acc14a5de0
|
data/CHANGES.md
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# 1.7.1
|
2
|
+
|
3
|
+
* Added CHANGES.md to gem files
|
4
|
+
|
5
|
+
* Fixed outdated changelog_uri
|
6
|
+
|
7
|
+
# 1.7.0
|
8
|
+
|
9
|
+
* Added optional YAML integration
|
10
|
+
|
11
|
+
This makes it possible to dump/load month objects to/from YAML as scalar values. For example:
|
12
|
+
|
13
|
+
require 'month/yaml'
|
14
|
+
|
15
|
+
puts YAML.dump([Month.today])
|
16
|
+
|
17
|
+
This functionality is not enabled by default, due to the use of Module#prepend.
|
18
|
+
|
19
|
+
# 1.6.0
|
20
|
+
|
21
|
+
* Added Month#month alias for Month#number
|
22
|
+
|
23
|
+
* Added Month#iso8601 alias for Month#to_s
|
24
|
+
|
25
|
+
# 1.5.0
|
26
|
+
|
27
|
+
* Added Month#<< and Month#>> methods (@pboling)
|
28
|
+
|
29
|
+
* Added Month.today method
|
30
|
+
|
31
|
+
* Added Month.now method
|
32
|
+
|
33
|
+
# 1.4.0
|
34
|
+
|
35
|
+
* Fixed comparison with nil objects / ActiveRecord serialization
|
36
|
+
|
37
|
+
# 1.3.0
|
38
|
+
|
39
|
+
* Month objects are now frozen on initialization (@replaid, #4)
|
40
|
+
|
41
|
+
# 1.2.0
|
42
|
+
|
43
|
+
* Added step argument to Month#step and upto/downto methods (@jkr2255, #3)
|
44
|
+
|
45
|
+
# 1.1.0
|
46
|
+
|
47
|
+
* Fixed fence-post error with addition (@fhwang, #2)
|
48
|
+
|
49
|
+
* Added subtraction functionality for calculating number of months between two month objects (@aprikip, #1)
|
50
|
+
|
51
|
+
# 1.0.0
|
52
|
+
|
53
|
+
* New version!
|
data/month.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'month'
|
3
|
-
s.version = '1.7.
|
3
|
+
s.version = '1.7.1'
|
4
4
|
s.license = 'MIT'
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.authors = ['Tim Craft']
|
@@ -8,13 +8,13 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.homepage = 'https://github.com/readysteady/month'
|
9
9
|
s.description = 'Ruby gem for working with months'
|
10
10
|
s.summary = 'See description'
|
11
|
-
s.files = Dir.glob('lib/**/*.rb') + %w
|
11
|
+
s.files = Dir.glob('lib/**/*.rb') + %w[CHANGES.md LICENSE.txt README.md month.gemspec]
|
12
12
|
s.required_ruby_version = '>= 1.9.3'
|
13
13
|
s.require_path = 'lib'
|
14
14
|
s.metadata = {
|
15
15
|
'homepage' => 'https://github.com/readysteady/month',
|
16
16
|
'source_code_uri' => 'https://github.com/readysteady/month',
|
17
17
|
'bug_tracker_uri' => 'https://github.com/readysteady/month/issues',
|
18
|
-
'changelog_uri' => 'https://github.com/readysteady/month/blob/
|
18
|
+
'changelog_uri' => 'https://github.com/readysteady/month/blob/main/CHANGES.md'
|
19
19
|
}
|
20
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: month
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Craft
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby gem for working with months
|
14
14
|
email:
|
@@ -17,6 +17,7 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
+
- CHANGES.md
|
20
21
|
- LICENSE.txt
|
21
22
|
- README.md
|
22
23
|
- lib/month.rb
|
@@ -29,8 +30,8 @@ metadata:
|
|
29
30
|
homepage: https://github.com/readysteady/month
|
30
31
|
source_code_uri: https://github.com/readysteady/month
|
31
32
|
bug_tracker_uri: https://github.com/readysteady/month/issues
|
32
|
-
changelog_uri: https://github.com/readysteady/month/blob/
|
33
|
-
post_install_message:
|
33
|
+
changelog_uri: https://github.com/readysteady/month/blob/main/CHANGES.md
|
34
|
+
post_install_message:
|
34
35
|
rdoc_options: []
|
35
36
|
require_paths:
|
36
37
|
- lib
|
@@ -45,8 +46,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
47
48
|
requirements: []
|
48
|
-
rubygems_version: 3.1.
|
49
|
-
signing_key:
|
49
|
+
rubygems_version: 3.1.4
|
50
|
+
signing_key:
|
50
51
|
specification_version: 4
|
51
52
|
summary: See description
|
52
53
|
test_files: []
|