trailblazer-wizard 0.0.2 → 0.0.4

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: bac88ad2581ab41d2430c7f82950a5bb29bb63f8fdbcfe8458caf4b940d2b4cd
4
- data.tar.gz: 76af2c12e68ef5f717b9c3a32b28ae4b2316337a7107eff526cd47b0371a40bd
3
+ metadata.gz: 3cec60a3eb72867c0d816532d0baf359d10dc19d416041214a24ffab2e296eb7
4
+ data.tar.gz: 8b9040dbc0791a70531ae6baef49abbbae1a617b0dfe83aebf91d5328bf34a85
5
5
  SHA512:
6
- metadata.gz: c875f975fae7b3a3122f4b3092999dae43d8dce894e782f597198e4f360154846b9782487064deafe4e3f30dd64985d6d40eb8fd5d2f7ba6853311a9208d78d0
7
- data.tar.gz: 363967cdb7401c2744e6a8761112fd69f297f469141a79b506115b81f9aa7a4af9f464d2b173536a823cdd9b5815c36cf5d7aff235a6cbb6afe335e58eb02083
6
+ metadata.gz: c25ed731bb86d9e4230b1bfc6007b84a054caf49d534d9e3301d91fae134060a90b6b5db11f0cba46ba2fab6391baab9df8d902e30d41c86d998ca737c376ac6
7
+ data.tar.gz: ab182faac78f38a188f2813ebf3dae05b04f03c6b9c347e1bea1ee89846ce173d19388997f65df230b8ad6d95254a39031e5c4d39f1e000cbecd642832ff977c
@@ -28,7 +28,10 @@ module Wizard
28
28
  private
29
29
 
30
30
  def copy(model, name, context)
31
- content = File.read("lib/templates/concept.rb.txt")
31
+ template = File.dirname(__FILE__)
32
+ template["lib/wizard"] = "lib/concept.txt"
33
+
34
+ content = File.read(template)
32
35
 
33
36
  content["_MODEL_"] = model.camelize
34
37
  content["::_CONTEXT_"] = context.nil? ? "" : "::#{context.camelize}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wizard
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-wizard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - aredda
@@ -9,7 +9,21 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2024-05-01 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: A gem that will help you generate concept files for Trailblazer more
14
28
  easily and quickly.
15
29
  email:
@@ -30,7 +44,7 @@ files:
30
44
  - README.md
31
45
  - Rakefile
32
46
  - bin/wizard
33
- - lib/templates/concept.rb.txt
47
+ - lib/concept.txt
34
48
  - lib/wizard.rb
35
49
  - lib/wizard/concept_generator.rb
36
50
  - lib/wizard/concept_type.rb
@@ -38,7 +52,6 @@ files:
38
52
  - lib/wizard/file_helper.rb
39
53
  - lib/wizard/version.rb
40
54
  - sig/wizard.rbs
41
- - trailblazer-wizard-0.0.1.gem
42
55
  homepage: https://www.github.com/aredda/trailblazer-wizard
43
56
  licenses:
44
57
  - MIT
Binary file
File without changes