hephaestus 0.1.1 → 0.1.3

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: 91109351951b2ac1514f251751c9311dd55028f4fdcfa8e0140fc2c4efa014c9
4
- data.tar.gz: 452d4065cdfb605092c41c5677e87b85fe4070c6b21d2c28d8cd4649cadbfbb4
3
+ metadata.gz: ec50cd2cc85932b748a97df9741291de3651b88ab8d06584f96d2a03ad474a73
4
+ data.tar.gz: ade4d54823ec4a179234a259dd4ac1ae05f6e9228aa52955529043a473d35821
5
5
  SHA512:
6
- metadata.gz: 31f32e5f396ae5b519bde7f6c30b7b796ae26f0db150e6ed1717eb2aaf153079f1755b0d8da36312bb3e5c151f2c7534fbfcf81c8d9efcf11e6f7769b2a5f2cd
7
- data.tar.gz: d1b3456db78f30e7d62c20731cd1fcb3925bc39e1e8653fff9a2bfa693b8b38db0a6c48fffc1df86d8417a50098a4f195570f63387f412ba22b4b88855d29507
6
+ metadata.gz: 9c4c51dd65cb697d9eee304fd7a6915af8301cbf4fbab804fe17c06f0b50142f72d61914d2d10403f04de6f67b916f7f9b4b93b99d83833769fdf63860fa2fef
7
+ data.tar.gz: 4190712ab8505f2e450911a32bd860a0e811129934f817d1f3a6bb80297e0b9bc3b3fd2555a10df39a72c95548bfe044b974a75bf321b8ee51920b2f77401786
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.1.3](https://github.com/yettoapp/hephaestus/tree/v0.1.3) (2023-03-15)
4
+
5
+ [Full Changelog](https://github.com/yettoapp/hephaestus/compare/v0.1.2...v0.1.3)
6
+
7
+ ## [v0.1.2](https://github.com/yettoapp/hephaestus/tree/v0.1.2) (2023-03-15)
8
+
9
+ [Full Changelog](https://github.com/yettoapp/hephaestus/compare/v0.1.1...v0.1.2)
10
+
3
11
  ## [v0.1.1](https://github.com/yettoapp/hephaestus/tree/v0.1.1) (2023-03-15)
4
12
 
5
13
  [Full Changelog](https://github.com/yettoapp/hephaestus/compare/v0.1.0...v0.1.1)
@@ -139,8 +139,8 @@ module Hephaestus
139
139
  end
140
140
 
141
141
  def replace_generic_variables
142
- replace_in_files(destination_root, "${APP}", short_appname.capitalize)
143
- replace_in_files(destination_root, "${app}", short_appname.downcase)
142
+ replace_in_files(destination_root, "${APP}", short_app_name.capitalize)
143
+ replace_in_files(destination_root, "${app}", short_app_name.downcase)
144
144
  replace_in_files(destination_root, "PlugApp", app_name.underscore.camelcase)
145
145
  replace_in_files(destination_root, "plug-app", app_name.dasherize)
146
146
  replace_in_files(destination_root, "PLUG_APP", app_name.underscore.upcase)
@@ -149,7 +149,7 @@ module Hephaestus
149
149
 
150
150
  private
151
151
 
152
- def short_appname
152
+ def short_app_name
153
153
  app_name.split("_").last
154
154
  end
155
155
 
@@ -101,7 +101,7 @@ module Hephaestus
101
101
  end
102
102
 
103
103
  def setup_test_environment
104
- say("Setting up the production environment")
104
+ say("Setting up the test environment")
105
105
  build(:setup_test_environment)
106
106
  end
107
107
 
@@ -37,7 +37,7 @@ module Hephaestus
37
37
  Rails.app_class.module_parent_name.demodulize.underscore.dasherize
38
38
  end
39
39
 
40
- def short_appname
40
+ def short_app_name
41
41
  app_name.sub(/plug-/i, "")
42
42
  end
43
43
 
@@ -24,7 +24,7 @@ module Hephaestus
24
24
 
25
25
  def libs
26
26
  copy_file("app/lib/body_parameter/yetto_parameters.rb", "app/lib/body_parameter/yetto_parameters.rb")
27
- copy_file("app/lib/constants/app.rb", "app/lib/constants/#{app_name}.rb")
27
+ copy_file("app/lib/constants/app.rb", "app/lib/constants/plug_#{short_app_name}.rb")
28
28
  copy_file("app/lib/headers/yetto.rb", "app/lib/headers/yetto.rb")
29
29
  copy_file("app/lib/path_parameter/yetto_parameters.rb", "app/lib/path_parameter/yetto_parameters.rb")
30
30
  directory("app/lib/plug_app", "app/lib/#{app_name.underscore}")
@@ -14,7 +14,7 @@ module Hephaestus
14
14
  end
15
15
 
16
16
  def plug_schema
17
- copy_file("lib/plug_app/schemas/api/2023-03-06/paths/plug.json", "lib/#{app_name.underscore}/schemas/api/2023-03-06/paths/#{short_appname.underscore}.json")
17
+ copy_file("lib/plug_app/schemas/api/2023-03-06/paths/plug.json", "lib/#{app_name.underscore}/schemas/api/2023-03-06/paths/#{short_app_name.underscore}.json")
18
18
  remove_file("lib/#{app_name.underscore}/schemas/api/2023-03-06/paths/plug.json") # cleanup
19
19
  end
20
20
  end
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Hephaestus
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.3"
6
6
  RAILS_VERSION = "~> 7.0.0"
7
7
  RUBY_VERSION = File
8
8
  .read("#{File.dirname(__FILE__)}/../../.ruby-version")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hephaestus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian