makit 0.0.22 → 0.0.24

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: d20004d1c96605bb23375807ee5541a266909981ad0c81893c719a2c7574c5fb
4
- data.tar.gz: 467f47e68f11b74a165d2a26c21c69edfc75fc37a6dc183ae6045005717afeec
3
+ metadata.gz: a7e4aec201a78d367ca71e01f3db4c0bc3e6a3ca093575fc40c4221fb97df022
4
+ data.tar.gz: 99fb9a03a7a5fc1e981aaf2562439b91756df2bcc0ea43f4c46f6a0b440dfe82
5
5
  SHA512:
6
- metadata.gz: 91c8cbbf9bf948fb47f7acbb7edde9048ba630c29ac6c28c799cca4fbda8c5cf2dc0e18b0368b9085bc238ce76a9c545deb7fa83c3dbd846a4c0b4c7cecceea0
7
- data.tar.gz: e4f4153782e42b0d0af6bcfff17694a05ec20c41978ee272860ea0519bcb989b5a8947beb2ea34aef432dce377212b258c80d2c1aa5b98e387b83304e190a300
6
+ metadata.gz: d5959f949e47d7f8450f3abdb35dc01acf667981e754d59cfae7a90e535932b5d8861fc0c40920b0b08da734a1eae9716b69c7dac8f0d3f63119e1110a4c2fc6
7
+ data.tar.gz: dcd6c8913e9acf739b90d5493b762309b6f2077a74ceebadbe079a33229903940407d4c42011e64e14ca8fdd6b51270eb620a7fd2a5a4ab6634beb6b29801667
@@ -1,222 +1,222 @@
1
- # General
2
- [Aa]rtifacts/
3
- [Ii]ntermediate/
4
- [Gg]enerated/
5
- third_party/
6
-
7
- # Ruby
8
- *.gem
9
- *.rbc
10
- /.config
11
- /coverage/
12
- /InstalledFiles
13
- /pkg/
14
- /spec/reports/
15
- /spec/examples.txt
16
- /test/tmp/
17
- /test/version_tmp/
18
- /tmp/
19
- /.yardoc/
20
- /_yardoc/
21
- /doc/
22
- /rdoc/
23
- /.bundle/
24
- /vendor/bundle
25
- /lib/bundler/man/
26
- .rvmrc
27
-
28
- # Rust
29
- /target/
30
- Cargo.lock
31
- **/*.rs.bk
32
- /target
33
- /Cargo.lock
34
-
35
- # DotNet
36
- *.rsuser
37
- *.suo
38
- *.user
39
- *.userosscache
40
- *.sln.docstates
41
- *.txt
42
- *.userprefs
43
- BenchmarkDotNet.Artifacts/
44
- [Dd]ebug/
45
- [Dd]ebugPublic/
46
- [Rr]elease/
47
- [Rr]eleases/
48
- x64/
49
- x86/
50
- [Aa][Rr][Mm]/
51
- [Aa][Rr][Mm]64/
52
- bld/
53
- [Bb]in/
54
- [Oo]bj/
55
- [Ll]og/
56
- [Aa]rtifacts/
57
- .vs/
58
- Generated\ Files/
59
- [Tt]est[Rr]esult*/
60
- [Bb]uild[Ll]og.*
61
- *.VisualState.xml
62
- TestResult.xml
63
- [Dd]ebugPS/
64
- [Rr]eleasePS/
65
- dlldata.c
66
- BenchmarkDotNet.Artifacts/
67
-
68
- project.lock.json
69
- project.fragment.lock.json
70
- artifacts/
71
- StyleCopReport.xml
72
- *_i.c
73
- *_p.c
74
- *_h.h
75
- *.ilk
76
- *.meta
77
- *.obj
78
- *.iobj
79
- *.pch
80
- *.pdb
81
- *.ipdb
82
- *.pgc
83
- *.pgd
84
- *.rsp
85
- *.sbr
86
- *.tlb
87
- *.tli
88
- *.tlh
89
- *.tmp
90
- *.tmp_proj
91
- *_wpftmp.csproj
92
- *.log
93
- *.vspscc
94
- *.vssscc
95
- .builds
96
- *.pidb
97
- *.svclog
98
- *.scc
99
- _Chutzpah*
100
- ipch/
101
- *.aps
102
- *.ncb
103
- *.opendb
104
- *.opensdf
105
- *.sdf
106
- *.cachefile
107
- *.VC.db
108
- *.VC.VC.opendb
109
- *.psess
110
- *.vsp
111
- *.vspx
112
- *.sap
113
- *.e2e
114
- $tf/
115
- *.gpState
116
- _ReSharper*/
117
- *.[Rr]e[Ss]harper
118
- *.DotSettings.user
119
- .JustCode
120
- _TeamCity*
121
- *.dotCover
122
- .axoCover/*
123
- !.axoCover/settings.json
124
- *.coverage
125
- *.coveragexml
126
- _NCrunch_*
127
- .*crunch*.local.xml
128
- nCrunchTemp_*
129
- *.mm.*
130
- AutoTest.Net/
131
- .sass-cache/
132
- [Ee]xpress/
133
- DocProject/buildhelp/
134
- DocProject/Help/*.HxT
135
- DocProject/Help/*.HxC
136
- DocProject/Help/*.hhc
137
- DocProject/Help/*.hhk
138
- DocProject/Help/*.hhp
139
- DocProject/Help/Html2
140
- DocProject/Help/html
141
- publish/
142
- *.[Pp]ublish.xml
143
- *.azurePubxml
144
- *.pubxml
145
- *.publishproj
146
- PublishScripts/
147
- *.nupkg
148
- **/[Pp]ackages/*
149
- !**/[Pp]ackages/build/
150
- *.nuget.props
151
- *.nuget.targets
152
- csx/
153
- *.build.csdef
154
- ecf/
155
- rcf/
156
- AppPackages/
157
- BundleArtifacts/
158
- Package.StoreAssociation.xml
159
- _pkginfo.txt
160
- *.appx
161
- *.[Cc]ache
162
- # but keep track of directories ending in .cache
163
- !*.[Cc]ache/
164
- ClientBin/
165
- ~$*
166
- *~
167
- *.dbmdl
168
- *.dbproj.schemaview
169
- *.jfm
170
- *.pfx
171
- *.publishsettings
172
- orleans.codegen.cs
173
- **/wwwroot/lib/
174
- Generated_Code/
175
- _UpgradeReport_Files/
176
- Backup*/
177
- UpgradeLog*.XML
178
- UpgradeLog*.htm
179
- ServiceFabricBackup/
180
- *.rptproj.bak
181
- *.mdf
182
- *.ldf
183
- *.ndf
184
- *.rdl.data
185
- *.bim.layout
186
- *.bim_*.settings
187
- *.rptproj.rsuser
188
- FakesAssemblies/
189
- *.GhostDoc.xml
190
- .ntvs_analysis.dat
191
- node_modules/
192
- *.plg
193
- *.opt
194
- *.vbw
195
- **/*.HTMLClient/GeneratedArtifacts
196
- **/*.DesktopClient/GeneratedArtifacts
197
- **/*.DesktopClient/ModelManifest.xml
198
- **/*.Server/GeneratedArtifacts
199
- **/*.Server/ModelManifest.xml
200
- _Pvt_Extensions
201
- .paket/paket.exe
202
- paket-files/
203
- .fake/
204
- .idea/
205
- *.sln.iml
206
- .cr/personal
207
- __pycache__/
208
- *.pyc
209
- tools/**
210
- !tools/packages.config
211
- *.tss
212
- *.jmconfig
213
- *.btp.cs
214
- *.btm.cs
215
- *.odx.cs
216
- *.xsd.cs
217
- OpenCover/
218
- ASALocalRun/
219
- *.binlog
220
- *.nvuser
221
- .mfractor/
222
- .localhistory/
1
+ # General
2
+ [Aa]rtifacts/
3
+ [Ii]ntermediate/
4
+ [Gg]enerated/
5
+ third_party/
6
+
7
+ # Ruby
8
+ *.gem
9
+ *.rbc
10
+ /.config
11
+ /coverage/
12
+ /InstalledFiles
13
+ /pkg/
14
+ /spec/reports/
15
+ /spec/examples.txt
16
+ /test/tmp/
17
+ /test/version_tmp/
18
+ /tmp/
19
+ /.yardoc/
20
+ /_yardoc/
21
+ /doc/
22
+ /rdoc/
23
+ /.bundle/
24
+ /vendor/bundle
25
+ /lib/bundler/man/
26
+ .rvmrc
27
+
28
+ # Rust
29
+ /target/
30
+ Cargo.lock
31
+ **/*.rs.bk
32
+ /target
33
+ /Cargo.lock
34
+
35
+ # DotNet
36
+ *.rsuser
37
+ *.suo
38
+ *.user
39
+ *.userosscache
40
+ *.sln.docstates
41
+ *.txt
42
+ *.userprefs
43
+ BenchmarkDotNet.Artifacts/
44
+ [Dd]ebug/
45
+ [Dd]ebugPublic/
46
+ [Rr]elease/
47
+ [Rr]eleases/
48
+ x64/
49
+ x86/
50
+ [Aa][Rr][Mm]/
51
+ [Aa][Rr][Mm]64/
52
+ bld/
53
+ [Bb]in/
54
+ [Oo]bj/
55
+ [Ll]og/
56
+ [Aa]rtifacts/
57
+ .vs/
58
+ Generated\ Files/
59
+ [Tt]est[Rr]esult*/
60
+ [Bb]uild[Ll]og.*
61
+ *.VisualState.xml
62
+ TestResult.xml
63
+ [Dd]ebugPS/
64
+ [Rr]eleasePS/
65
+ dlldata.c
66
+ BenchmarkDotNet.Artifacts/
67
+
68
+ project.lock.json
69
+ project.fragment.lock.json
70
+ artifacts/
71
+ StyleCopReport.xml
72
+ *_i.c
73
+ *_p.c
74
+ *_h.h
75
+ *.ilk
76
+ *.meta
77
+ *.obj
78
+ *.iobj
79
+ *.pch
80
+ *.pdb
81
+ *.ipdb
82
+ *.pgc
83
+ *.pgd
84
+ *.rsp
85
+ *.sbr
86
+ *.tlb
87
+ *.tli
88
+ *.tlh
89
+ *.tmp
90
+ *.tmp_proj
91
+ *_wpftmp.csproj
92
+ *.log
93
+ *.vspscc
94
+ *.vssscc
95
+ .builds
96
+ *.pidb
97
+ *.svclog
98
+ *.scc
99
+ _Chutzpah*
100
+ ipch/
101
+ *.aps
102
+ *.ncb
103
+ *.opendb
104
+ *.opensdf
105
+ *.sdf
106
+ *.cachefile
107
+ *.VC.db
108
+ *.VC.VC.opendb
109
+ *.psess
110
+ *.vsp
111
+ *.vspx
112
+ *.sap
113
+ *.e2e
114
+ $tf/
115
+ *.gpState
116
+ _ReSharper*/
117
+ *.[Rr]e[Ss]harper
118
+ *.DotSettings.user
119
+ .JustCode
120
+ _TeamCity*
121
+ *.dotCover
122
+ .axoCover/*
123
+ !.axoCover/settings.json
124
+ *.coverage
125
+ *.coveragexml
126
+ _NCrunch_*
127
+ .*crunch*.local.xml
128
+ nCrunchTemp_*
129
+ *.mm.*
130
+ AutoTest.Net/
131
+ .sass-cache/
132
+ [Ee]xpress/
133
+ DocProject/buildhelp/
134
+ DocProject/Help/*.HxT
135
+ DocProject/Help/*.HxC
136
+ DocProject/Help/*.hhc
137
+ DocProject/Help/*.hhk
138
+ DocProject/Help/*.hhp
139
+ DocProject/Help/Html2
140
+ DocProject/Help/html
141
+ publish/
142
+ *.[Pp]ublish.xml
143
+ *.azurePubxml
144
+ *.pubxml
145
+ *.publishproj
146
+ PublishScripts/
147
+ *.nupkg
148
+ **/[Pp]ackages/*
149
+ !**/[Pp]ackages/build/
150
+ *.nuget.props
151
+ *.nuget.targets
152
+ csx/
153
+ *.build.csdef
154
+ ecf/
155
+ rcf/
156
+ AppPackages/
157
+ BundleArtifacts/
158
+ Package.StoreAssociation.xml
159
+ _pkginfo.txt
160
+ *.appx
161
+ *.[Cc]ache
162
+ # but keep track of directories ending in .cache
163
+ !*.[Cc]ache/
164
+ ClientBin/
165
+ ~$*
166
+ *~
167
+ *.dbmdl
168
+ *.dbproj.schemaview
169
+ *.jfm
170
+ *.pfx
171
+ *.publishsettings
172
+ orleans.codegen.cs
173
+ **/wwwroot/lib/
174
+ Generated_Code/
175
+ _UpgradeReport_Files/
176
+ Backup*/
177
+ UpgradeLog*.XML
178
+ UpgradeLog*.htm
179
+ ServiceFabricBackup/
180
+ *.rptproj.bak
181
+ *.mdf
182
+ *.ldf
183
+ *.ndf
184
+ *.rdl.data
185
+ *.bim.layout
186
+ *.bim_*.settings
187
+ *.rptproj.rsuser
188
+ FakesAssemblies/
189
+ *.GhostDoc.xml
190
+ .ntvs_analysis.dat
191
+ node_modules/
192
+ *.plg
193
+ *.opt
194
+ *.vbw
195
+ **/*.HTMLClient/GeneratedArtifacts
196
+ **/*.DesktopClient/GeneratedArtifacts
197
+ **/*.DesktopClient/ModelManifest.xml
198
+ **/*.Server/GeneratedArtifacts
199
+ **/*.Server/ModelManifest.xml
200
+ _Pvt_Extensions
201
+ .paket/paket.exe
202
+ paket-files/
203
+ .fake/
204
+ .idea/
205
+ *.sln.iml
206
+ .cr/personal
207
+ __pycache__/
208
+ *.pyc
209
+ tools/**
210
+ !tools/packages.config
211
+ *.tss
212
+ *.jmconfig
213
+ *.btp.cs
214
+ *.btm.cs
215
+ *.odx.cs
216
+ *.xsd.cs
217
+ OpenCover/
218
+ ASALocalRun/
219
+ *.binlog
220
+ *.nvuser
221
+ .mfractor/
222
+ .localhistory/
@@ -161,5 +161,9 @@ module Makit
161
161
  end
162
162
  newest_file
163
163
  end
164
+
165
+ def self.copy(src_dir, dst_dir)
166
+ FileUtils.cp_r(src_dir, dst_dir)
167
+ end
164
168
  end
165
169
  end
@@ -98,13 +98,14 @@ module Makit
98
98
  minutes = minutes % 60
99
99
  days = (hours / 24).to_i
100
100
  hours = hours % 24
101
+ milliseconds = (seconds % 1 * 1000).to_i
101
102
 
102
103
  parts = []
103
104
  parts << "#{days} days" if days > 0
104
105
  parts << "#{hours} hours" if hours > 0
105
106
  parts << "#{minutes} minutes" if minutes > 0
106
107
  parts << "#{seconds} seconds" if seconds > 0
107
-
108
+ parts << "#{milliseconds} milliseconds" if milliseconds > 0 && seconds < 1
108
109
  parts.join(", ")
109
110
  end
110
111
  end
data/lib/makit/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Makit
4
- VERSION = "0.0.22"
4
+ VERSION = "0.0.24"
5
5
 
6
6
  class Version
7
7
  # given an array of version strings, return the highest version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-08 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.5.20
214
+ rubygems_version: 3.5.23
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: CI/CD tools for Ruby developers.