feature_pack 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/feature_pack.rb +2 -2
  3. metadata +13 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd18a6901bd123d6449e6570022136ecbd36e473b0cf572f27f6c91f80bd702d
4
- data.tar.gz: 322a89e29a1e357dd6680f31b30adda1f53fcaf4139a8357bbf855e3a27287ae
3
+ metadata.gz: 9c1076c32434b482c422874b1b2c5d7a0ba473270d62664988f31f57dff4056c
4
+ data.tar.gz: 6c630b91094c255f7db27664feb3304bf77e106b2333867712b25ef04597d7c6
5
5
  SHA512:
6
- metadata.gz: 2efc9f88f00cfdad138a79cab42c1cbda2e10a9147ecf37bbf5991bd024a5eb1cdc7e23f297ed442d2f9f20c5a488d11da714aec7e026f8fdf13a49c74463120
7
- data.tar.gz: df6e3f3a8635ca73b43caef82c78f6cb1d13c8bc90a249d72ee2c74ddf09e554b9ab68c52ef643658f8cdd1aafea30101ee72cf737285400f4237b7bef877fcb
6
+ metadata.gz: 8041b9f8610deac2e85dcae82b695aaa45466cefd7de6a49c8d1628c7c4e4122e2637455640489ff7aa71d8b08af6008d07f362a94d683e0a9de8bba3da10cd5
7
+ data.tar.gz: 3ef150857c0f8627253d5dff543553d06eb20fdb5fc4b46f343b0d8d19b898a49b47d66502baa3d2b17956c7c4451c1c54499f2d35c47719b13765c0da8353e4
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.0
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-15 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
@@ -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.