fiscaly 1.2.1 → 1.3.0

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: 67521940598e1155c648a2ead9e63deda70b207cae1ac4c5e613bdb9bb2b0db3
4
- data.tar.gz: c262ee00571e250b4f7782f67f9ad3181c2a9c88b757509f4d434df1b2bfc992
3
+ metadata.gz: 3bbd8a3293e55bfc0fdb505458f56c24d15e2914579626edb308767f34b5a425
4
+ data.tar.gz: 43939c4a6f64bb44db7f30ab1dedbd6774bf74f138ac1687f0ae47511235cc11
5
5
  SHA512:
6
- metadata.gz: f2fdfc4c39e66bb3f08f569d0b11a1e559308778821f3903ffe7a012ea54f309f460e1fff6f922328b752adfdbd888acbfc1d2b616e53005aba4d348873b496d
7
- data.tar.gz: 62b9e8cb3ebbad2d7c336a2f5e368f7b12c4b14c746d9b631ebce0de004aa229b7b8a1540e636f20cfccc2b16ff1716c1e604530a471fdcf93c9dd5ad85f74fe
6
+ metadata.gz: c89c66e70cc730b08d610aaa9d60a4cb0bc4972784a6dffbc035521f77d3277b8c980570a2167e1229e278070cc8058551f2fddf309c546f5965b287fd45f948
7
+ data.tar.gz: e435c9f6aa0dfcec13db40edd9ad2c0cf57ff302f619bfa089bbf06a1bfc2fdbc3e2e016e9680ab3fa9424ea4bcb187b2bda5dd85f793f8321294e0a26206ac9
@@ -4,41 +4,23 @@ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  test:
7
- runs-on: ubuntu-20.04
7
+ runs-on: ubuntu-22.04
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1]
12
- gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70']
11
+ ruby: ['3.0', 3.1, 3.2, 3.3, 3.4, '4.0']
12
+ gemfile: ['rails70', 'rails71', 'rails72', 'rails80', 'rails81']
13
13
  exclude:
14
- - ruby: 2.3
15
- gemfile: rails60
16
- - ruby: 2.3
17
- gemfile: rails61
18
- - ruby: 2.3
19
- gemfile: rails70
20
- - ruby: 2.4
21
- gemfile: rails60
22
- - ruby: 2.4
23
- gemfile: rails61
24
- - ruby: 2.4
25
- gemfile: rails70
26
- - ruby: 2.5
27
- gemfile: rails70
28
- - ruby: 2.6
29
- gemfile: rails70
30
14
  - ruby: 3.0
31
- gemfile: rails50
15
+ gemfile: rails72
32
16
  - ruby: 3.0
33
- gemfile: rails51
17
+ gemfile: rails80
34
18
  - ruby: 3.0
35
- gemfile: rails52
19
+ gemfile: rails81
36
20
  - ruby: 3.1
37
- gemfile: rails50
21
+ gemfile: rails80
38
22
  - ruby: 3.1
39
- gemfile: rails51
40
- - ruby: 3.1
41
- gemfile: rails52
23
+ gemfile: rails81
42
24
 
43
25
  name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
44
26
 
@@ -46,11 +28,14 @@ jobs:
46
28
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
47
29
 
48
30
  steps:
49
- - uses: actions/checkout@v2
31
+ - uses: actions/checkout@v4
50
32
  - uses: ruby/setup-ruby@v1
51
33
  with:
52
34
  ruby-version: ${{ matrix.ruby }}
53
35
  bundler-cache: true
36
+ - name: Bundle list
37
+ run: |
38
+ bundle list
54
39
  - name: Run test
55
40
  run: |
56
41
  bundle exec rspec
data/.gitignore CHANGED
File without changes
data/.rspec CHANGED
File without changes
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.3.0
4
+
5
+ * Drop support for ruby <= 2.7, rails <= 6.1.
6
+
7
+ ## 1.2.2
8
+
9
+ * Add `frozen_string_literal: true`.
10
+
3
11
  ## 1.2.1
4
12
 
5
13
  * Support activesupport 7.0.
data/Gemfile CHANGED
File without changes
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
@@ -4,8 +4,8 @@ Fiscal date class for ruby.
4
4
 
5
5
  ## Dependencies
6
6
 
7
- * ruby 2.3+
8
- * activesupport 5.0+
7
+ * ruby 3.0+
8
+ * activesupport 7.0+
9
9
 
10
10
  ## Installation
11
11
 
data/Rakefile CHANGED
File without changes
data/fiscaly.gemspec CHANGED
@@ -17,7 +17,9 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "activesupport", ">= 5.0"
20
+ spec.required_ruby_version = ">= 3.0"
21
+
22
+ spec.add_dependency "activesupport", ">= 7.0"
21
23
 
22
24
  spec.add_development_dependency "rake"
23
25
  spec.add_development_dependency "rspec"
@@ -1,5 +1,12 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem "rails", "~> 7.0.1"
3
+ gem "activesupport", "~> 7.0.1"
4
+
5
+ gem "concurrent-ruby", "<= 1.3.4"
6
+
7
+ if RUBY_VERSION >= "3.4"
8
+ gem "bigdecimal"
9
+ gem "mutex_m"
10
+ end
4
11
 
5
12
  gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem "activesupport", "~> 5.0.0"
3
+ gem "activesupport", "~> 7.1.0"
4
4
 
5
5
  gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem "activesupport", "~> 5.1.0"
3
+ gem "activesupport", "~> 7.2.0"
4
4
 
5
5
  gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem "activesupport", "~> 5.2.0"
3
+ gem "activesupport", "~> 8.0.0"
4
4
 
5
5
  gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem "activesupport", "~> 6.1.0"
3
+ gem "activesupport", "~> 8.1.0"
4
4
 
5
5
  gemspec path: "../"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class Fiscaly
2
4
  module Extension
3
5
  def fiscaly(options = {})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class Fiscaly
2
- VERSION = '1.2.1'
4
+ VERSION = '1.3.0'
3
5
  end
data/lib/fiscaly.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'active_support'
2
4
  require 'active_support/core_ext'
3
5
  require 'fiscaly/version'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiscaly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2022-01-08 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -16,14 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '5.0'
18
+ version: '7.0'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '5.0'
25
+ version: '7.0'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: rake
29
28
  requirement: !ruby/object:Gem::Requirement
@@ -84,19 +83,17 @@ files:
84
83
  - bin/console
85
84
  - bin/setup
86
85
  - fiscaly.gemspec
87
- - gemfiles/rails50.gemfile
88
- - gemfiles/rails51.gemfile
89
- - gemfiles/rails52.gemfile
90
- - gemfiles/rails60.gemfile
91
- - gemfiles/rails61.gemfile
92
86
  - gemfiles/rails70.gemfile
87
+ - gemfiles/rails71.gemfile
88
+ - gemfiles/rails72.gemfile
89
+ - gemfiles/rails80.gemfile
90
+ - gemfiles/rails81.gemfile
93
91
  - lib/fiscaly.rb
94
92
  - lib/fiscaly/extension.rb
95
93
  - lib/fiscaly/version.rb
96
94
  homepage: https://github.com/kanety/fiscaly
97
95
  licenses: []
98
96
  metadata: {}
99
- post_install_message:
100
97
  rdoc_options: []
101
98
  require_paths:
102
99
  - lib
@@ -104,15 +101,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
101
  requirements:
105
102
  - - ">="
106
103
  - !ruby/object:Gem::Version
107
- version: '0'
104
+ version: '3.0'
108
105
  required_rubygems_version: !ruby/object:Gem::Requirement
109
106
  requirements:
110
107
  - - ">="
111
108
  - !ruby/object:Gem::Version
112
109
  version: '0'
113
110
  requirements: []
114
- rubygems_version: 3.1.2
115
- signing_key:
111
+ rubygems_version: 3.6.9
116
112
  specification_version: 4
117
113
  summary: Financial date class for ruby
118
114
  test_files: []
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem "activesupport", "~> 6.0.0"
4
- gem "psych", "~> 3.3.0"
5
-
6
- gemspec path: "../"