month 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +53 -0
  3. data/month.gemspec +3 -3
  4. metadata +8 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc374de89e555a551ec3e4f67ca198a4fd0103d9bc256068b892f2405a049a6a
4
- data.tar.gz: 8cc382ea4e97c8bbd0f234fcdb8808db495ad4ed487fbe8acb1ce7585c03d4d6
3
+ metadata.gz: c6f2cb49e56df71efa50a5d0b1d0defa911997bb7b1f064ce4820cbb171d64b7
4
+ data.tar.gz: 3d16daecccc4d6b4a8287e870f6114d51e148478aa7f26bf295a805020f9b670
5
5
  SHA512:
6
- metadata.gz: 11816342dee7af3574b80824283675823d703232fe39d3170e3f3ad424073584a0f4a95bae6b2ee1218b164a9d845245c2f8fe2ab63043554d2093c00abc7279
7
- data.tar.gz: 0327fe3d9a9df8ea2957b13e28e1670585241187510a6f047883c2d0e02caea0cbb7ecb05b19f118f333ae46fd3b55d4774e654f72c785fe6cf5493142108fd1
6
+ metadata.gz: 9dcaed88e8f32858f302b14369a7f095bbe5e237d89599ed74bd430956946e3297c52eba4f639b94b17b7f8b9060e7b208d4360d3f8812f2ab2fc41a7970dc62
7
+ data.tar.gz: 6d0627f52ef61f665be335c66734cf9e0fcce5d0751bf9bf08c07aaf195b6209fb970cf0696625d3667dce68350fcc7c55e34fbb7b2c7ba45bdf13acc14a5de0
@@ -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!
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'month'
3
- s.version = '1.7.0'
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(LICENSE.txt README.md month.gemspec)
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/master/CHANGES.md'
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.0
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-06-10 00:00:00.000000000 Z
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/master/CHANGES.md
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.2
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: []