meta-record 1.0.11 → 1.0.13

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: 0077f7c7a33828df7444f65e74174d33265dad364cd66b2512e78f6cdbb10336
4
- data.tar.gz: cef3190c95e6a760c07464abda995c1d69117373ad6b4e0b3d0ab6849fb979e5
3
+ metadata.gz: d2a459ae8bfea29eeb256c9da188c13d48d29ef77c402dc05f5a54913a05d9bf
4
+ data.tar.gz: f5ba00fadc0cc603b70b2c9d1a13a4ae5fe96e82764d3dbc0876cbaef6c78237
5
5
  SHA512:
6
- metadata.gz: 7decc390f5d0b83b3a15227a7fff48390ddfc5e3d7abd1afd4797190fa73c3b4358480f4bb82c41dfa385aca90dbd24c2a1d098e74343b27be51586fd119c472
7
- data.tar.gz: 21af9197b626a819662191106ff83c87f23bb2ddf74e980f5a7d62ac6c7ced5f9dd334bbd8f4a00c27e3ba925206353c156cf8dc6725784258093439496bad84
6
+ metadata.gz: a8a8814fe47220c18fe3e82cae38c0a2c8da2a19797e93ef83ba7b0a16da438a22ecb21d0faf7a26a61181ce9935ce3f9c9073db0ff4e8a29922734f3ece0969
7
+ data.tar.gz: 82a756725c203990ff958857ca01a9c5020d2275d7fa3c2af9fc6c13b874cdebeb9e3bc6c1c81bdab14800aa398164668a699fdb90830469ce874da2425178f7
data/bin/metarecord-make CHANGED
@@ -17,7 +17,7 @@ config_filepath = "#{Dir.pwd}/config/metarecord.rb"
17
17
  @tmpdir = ".tmp"
18
18
  $: << Dir.pwd
19
19
 
20
- if File.exists? config_filepath
20
+ if File.exist? config_filepath
21
21
  require config_filepath
22
22
  end
23
23
 
@@ -33,7 +33,7 @@ module MetaRecordRunner
33
33
  Dir["#{@tmpdir}/**/*"].each do |tmp_file|
34
34
  next if File.directory? tmp_file
35
35
  new_path = "#{@output}/#{tmp_file[@tmpdir.size + 1..tmp_file.size]}"
36
- if (not File.exists?(new_path)) || File.read(new_path) != File.read(tmp_file)
36
+ if (not File.exist?(new_path)) || File.read(new_path) != File.read(tmp_file)
37
37
  puts "[metarecord] generated #{new_path}"
38
38
  `mkdir -p '#{File.dirname new_path}'`
39
39
  `cp '#{tmp_file}' '#{new_path}'`
@@ -46,7 +46,7 @@ module MetaRecordRunner
46
46
  Dir["#{@output}/#{input}/**/*"].each do |actual_file|
47
47
  next if File.directory? actual_file
48
48
  tmp_path = "#{@tmpdir}/#{@output[@output.size + 1..@output.size]}"
49
- if not File.exists?(tmp_path)
49
+ if not File.exist?(tmp_path)
50
50
  puts "[metarecord] removed #{actual_file}"
51
51
  `rm '#{actual_file}'`
52
52
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Martin Moro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-12 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  MetaRecord is a code generator that allows you to define your application