lucabook 0.5.1 → 0.5.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
  SHA256:
3
- metadata.gz: 46ce22e0f8c712f87dcc973fc9354b8a15be9e744654bf900658a2c43b6c061a
4
- data.tar.gz: 5a2e0b5e7efa1a3b091d222b9332381660e9beb3a80c4083a79e7487f4187cf4
3
+ metadata.gz: 0aada3e712bc8c2ecd96ea0cfe499565d7c6c036decb8b0a29f90bddaf65d9b8
4
+ data.tar.gz: e7ab9a0d301a86f80b9dcd74140bbf596bfdb6ce73c11cf8aef0b4e6413e7fa7
5
5
  SHA512:
6
- metadata.gz: 7b7125906c0f3456b6fc302ed8c8bbefadcb3be4e1fd128417556e1705dd703d24c37a88f71c2a402274cfcda0ca5c780171d0551d64d7b033e49e167e2df0ac
7
- data.tar.gz: 6de5301ba82946dd0d38d7842a8f96752c75de6c396dfc82458967b1337b076f967b8786bfc545b53b7351ec6b1191bfabb6143f6d6198517985aaff66586034
6
+ metadata.gz: 2a5588460f50c3ac0613c16977c1b0849fdf279c25ca18f435d1dfa62e1ad31ef69647774e95a1e01f7255158604f445e61900fd9f992be6775299b2dd5f2d28
7
+ data.tar.gz: 0a666d47c831e4f8bfa0adf5c064c544de2c2c55d45c4c407dc1e3cd62ecaa5e9f6034ba65925ac936e7375b93ef38094932f43bd99af96dbedabf3fae4a7aaa
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'bigdecimal'
4
+ require 'luca_support/const'
4
5
 
5
6
  module LucaBook
6
7
  module Util
@@ -44,7 +45,7 @@ module LucaBook
44
45
 
45
46
  def current_fy(date = nil, to: nil)
46
47
  date ||= Date.today
47
- start_month = CONST.config['fy_start']
48
+ start_month = LucaSupport::CONST.config['fy_start']
48
49
  start_year = date.month >= start_month ? date.year : date.year - 1
49
50
  @start_date = Date.new(start_year, start_month, 1)
50
51
  @end_date = Date.new(start_year + 1, start_month - 1, -1)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucaBook
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucabook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chuma Takahiro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-10 00:00:00.000000000 Z
11
+ date: 2024-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lucarecord