feature_pack 0.4.0 → 0.6.1

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: dd18a6901bd123d6449e6570022136ecbd36e473b0cf572f27f6c91f80bd702d
4
- data.tar.gz: 322a89e29a1e357dd6680f31b30adda1f53fcaf4139a8357bbf855e3a27287ae
3
+ metadata.gz: 5911a157f2063b3ae77afce5727908597d1e41c0c3fcb0934dce7cf88b825946
4
+ data.tar.gz: b2e6695f5466e4eec17e23555afdfa30ecd7ec1b56ebb419ae039ddc4b7b605f
5
5
  SHA512:
6
- metadata.gz: 2efc9f88f00cfdad138a79cab42c1cbda2e10a9147ecf37bbf5991bd024a5eb1cdc7e23f297ed442d2f9f20c5a488d11da714aec7e026f8fdf13a49c74463120
7
- data.tar.gz: df6e3f3a8635ca73b43caef82c78f6cb1d13c8bc90a249d72ee2c74ddf09e554b9ab68c52ef643658f8cdd1aafea30101ee72cf737285400f4237b7bef877fcb
6
+ metadata.gz: cdb9ca937aae5ea9e2810099996e9ebbac820893a7f33d3fe6a2da3156f25a8a8f649af2b1ba619f4935d2c53fc3ba2fd1add7dfd09d62c867031442a6bbe49a
7
+ data.tar.gz: 20ca4ea74992475d362f3eb9b1edb66a8f871ac5ec0961acba89df8e8deae8a1bfffaa85eafc260651f68edef123fd6e96c20450b62d1348dce23922105dd558
data/lib/feature_pack.rb CHANGED
@@ -17,13 +17,13 @@ module FeaturePack
17
17
  javascript_files_paths
18
18
  ].freeze
19
19
 
20
- def self.setup(features_path:)
20
+ def self.setup()
21
21
  raise 'FeaturePack already setup!' if defined?(@@setup_executed_flag)
22
22
 
23
23
  @@path = Pathname.new(__dir__)
24
24
  load @@path.join('feature_pack/error.rb')
25
25
 
26
- @@features_path = Pathname.new(features_path)
26
+ @@features_path = Pathname.new(Rails.root.join('app/feature_packs'))
27
27
  raise "Invalid features_path: '#{@@features_path}'" if @@features_path.nil?
28
28
  raise "Inexistent features_path: '#{@@features_path}'" unless Dir.exist?(@@features_path)
29
29
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feature_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gedean Dias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-25 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '7.2'
19
+ version: '7.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '9.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '7.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '7.2'
32
+ version: '9.0'
27
33
  description: Organizes and sets up the architecture of micro-applications within a
28
34
  Rails application, enabling the segregation of code, management, and isolation of
29
35
  functionalities, which can be developed, tested, and maintained independently of
@@ -52,12 +58,12 @@ files:
52
58
  - lib/generators/feature_pack/add_feature/templates/views/partials/_header.html.slim.tt
53
59
  - lib/generators/feature_pack/add_group/USAGE
54
60
  - lib/generators/feature_pack/add_group/add_group_generator.rb
55
- - lib/generators/feature_pack/add_group/templates/_group_metadata/controller.rb.tt
56
- - lib/generators/feature_pack/add_group/templates/_group_metadata/manifest.yaml.tt
57
- - lib/generators/feature_pack/add_group/templates/_group_metadata/routes.rb.disabled.tt
58
- - lib/generators/feature_pack/add_group/templates/_group_metadata/views/index.html.slim.tt
59
- - lib/generators/feature_pack/add_group/templates/_group_metadata/views/partials/_footer.html.slim.tt
60
- - lib/generators/feature_pack/add_group/templates/_group_metadata/views/partials/_header.html.slim.tt
61
+ - lib/generators/feature_pack/add_group/templates/_group_space/controller.rb.tt
62
+ - lib/generators/feature_pack/add_group/templates/_group_space/manifest.yaml.tt
63
+ - lib/generators/feature_pack/add_group/templates/_group_space/routes.rb.disabled.tt
64
+ - lib/generators/feature_pack/add_group/templates/_group_space/views/index.html.slim.tt
65
+ - lib/generators/feature_pack/add_group/templates/_group_space/views/partials/_footer.html.slim.tt
66
+ - lib/generators/feature_pack/add_group/templates/_group_space/views/partials/_header.html.slim.tt
61
67
  homepage: https://github.com/gedean/feature_pack
62
68
  licenses:
63
69
  - MIT
@@ -77,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
83
  - !ruby/object:Gem::Version
78
84
  version: '0'
79
85
  requirements: []
80
- rubygems_version: 3.5.22
86
+ rubygems_version: 3.5.23
81
87
  signing_key:
82
88
  specification_version: 4
83
89
  summary: New way to organize app features in Rails.