meta-record 1.0.17 → 1.0.18
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79471cf609ea637059c8bef598aa0484f9729476c2b7277cda414481fbb7a214
|
|
4
|
+
data.tar.gz: 5976e4bc3870e9df2297975582c875be4312b55e32d8c9bfa3d26ee6c4a67f6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4353fabb23afb8ba99c16ad5130eef19d5a7cd8907fc2f8e81306b981624fbd0961e8cfac3aee35a8962d8c7d4b97674395bb8e2bb69c0002e30b503f50f62d7
|
|
7
|
+
data.tar.gz: 05b2c818089d6de641da135b58dda38c431855d4e7aa2e251f88713d43836ac614a032ddcd58d8a281ec90bf94093354629a6d003a5ea6f8c5f413f05a4dd092
|
|
@@ -47,9 +47,9 @@ class CrailsDestroyGenerator < GeneratorBase
|
|
|
47
47
|
def extension ; ".destroy.cpp" ; end
|
|
48
48
|
|
|
49
49
|
def make_file filename, data
|
|
50
|
-
include = "
|
|
50
|
+
include = "app/autogen/" + filename[0...-2] + "hpp"
|
|
51
51
|
source = "#include \"#{include}\"\n"
|
|
52
|
-
source += "#include \"
|
|
52
|
+
source += "#include \"app/autogen/#{filename[0...-2]}queries.hpp\"\n"
|
|
53
53
|
source += "#include <crails/odb/helpers.hpp>\n"
|
|
54
54
|
source += "#include <crails/odb/any.hpp>\n"
|
|
55
55
|
source += "#include <#{GeneratorBase.odb_connection[:include]}>\n"
|
|
@@ -356,7 +356,7 @@ class CrailsEditGenerator < GeneratorBase
|
|
|
356
356
|
end
|
|
357
357
|
|
|
358
358
|
def make_file filename, data
|
|
359
|
-
base = "
|
|
359
|
+
base = "app/autogen/" + filename[0...-3]
|
|
360
360
|
include = base + ".hpp"
|
|
361
361
|
data[:bodies].each do |body|
|
|
362
362
|
body.gsub! "${view-placeholder}", base.split("/")[0...-2].join("/")
|
|
@@ -72,7 +72,7 @@ CPP
|
|
|
72
72
|
def extension ; ".queries.hpp" ; end
|
|
73
73
|
|
|
74
74
|
def make_file filename, data
|
|
75
|
-
base = "
|
|
75
|
+
base = "app/autogen/" + filename[0...-3]
|
|
76
76
|
include = base + ".hpp"
|
|
77
77
|
file_define = "_#{filename[0...-3].upcase.gsub "/", "_"}_QUERIES_HPP"
|
|
78
78
|
source = <<CPP
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meta-record
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Martin Moro
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-11-
|
|
10
|
+
date: 2026-11-09 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: |2
|
|
13
13
|
MetaRecord is a code generator that allows you to define your application
|