lucarecord 0.2.28 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/luca_record/io.rb +6 -0
- data/lib/luca_record/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed7b48ed86166e5a300510832dff02e9e51d4fd3184aeaa4b1c73b663845631
|
4
|
+
data.tar.gz: a2b03908af268809a66a08e600994064f5a1bf9cda2610f94f9f849b5d981188
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cefaa9401e153e6cd7f628c8141265b172ca3cec2606294b691a08acc6860c46b76ed60739f1f8ac1e40dc57e8def103d507d5b917fa3713c118bc8e333888e
|
7
|
+
data.tar.gz: b85f03f247270a7d87ab7635bf7e0dc73ecaf0f33af37660ce666d1f287259274c612112f77305f3ad317a823324058290b81d5a19e7e47c947f88d6d598788e
|
data/CHANGELOG.md
CHANGED
data/lib/luca_record/io.rb
CHANGED
@@ -90,6 +90,12 @@ module LucaRecord # :nodoc:
|
|
90
90
|
end
|
91
91
|
end
|
92
92
|
|
93
|
+
# [year, month] pair of the latest record
|
94
|
+
#
|
95
|
+
def latest_month(code = nil, basedir = @dirname)
|
96
|
+
LucaSupport::Code.decode_term(Dir.entries(abs_path(basedir)).max)
|
97
|
+
end
|
98
|
+
|
93
99
|
# ----------------------------------------------------------------
|
94
100
|
# :section: Write Methods
|
95
101
|
# <tt>basedir</tt> is set by class instance variable <tt>@dirname</tt>
|
data/lib/luca_record/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lucarecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chuma Takahiro
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: 12.3.3
|
69
69
|
description: 'ERP File operation framework
|
70
70
|
|
71
|
-
'
|
71
|
+
'
|
72
72
|
email:
|
73
73
|
- co.chuma@gmail.com
|
74
74
|
executables: []
|
@@ -95,7 +95,7 @@ metadata:
|
|
95
95
|
homepage_uri: https://github.com/chumaltd/luca/tree/master/lucarecord
|
96
96
|
source_code_uri: https://github.com/chumaltd/luca/tree/master/lucarecord
|
97
97
|
changelog_uri: https://github.com/chumaltd/luca/tree/master/lucarecord/CHANGELOG.md
|
98
|
-
post_install_message:
|
98
|
+
post_install_message:
|
99
99
|
rdoc_options: []
|
100
100
|
require_paths:
|
101
101
|
- lib
|
@@ -110,8 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
|
-
rubygems_version: 3.2.
|
114
|
-
signing_key:
|
113
|
+
rubygems_version: 3.2.5
|
114
|
+
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: ERP File operation framework
|
117
117
|
test_files: []
|