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 +4 -4
- data/lib/feature_pack.rb +2 -2
- metadata +19 -13
- /data/lib/generators/feature_pack/add_group/templates/{_group_metadata → _group_space}/controller.rb.tt +0 -0
- /data/lib/generators/feature_pack/add_group/templates/{_group_metadata → _group_space}/manifest.yaml.tt +0 -0
- /data/lib/generators/feature_pack/add_group/templates/{_group_metadata → _group_space}/routes.rb.disabled.tt +0 -0
- /data/lib/generators/feature_pack/add_group/templates/{_group_metadata → _group_space}/views/index.html.slim.tt +0 -0
- /data/lib/generators/feature_pack/add_group/templates/{_group_metadata → _group_space}/views/partials/_footer.html.slim.tt +0 -0
- /data/lib/generators/feature_pack/add_group/templates/{_group_metadata → _group_space}/views/partials/_header.html.slim.tt +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5911a157f2063b3ae77afce5727908597d1e41c0c3fcb0934dce7cf88b825946
|
4
|
+
data.tar.gz: b2e6695f5466e4eec17e23555afdfa30ecd7ec1b56ebb419ae039ddc4b7b605f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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(
|
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
|
+
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-
|
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.
|
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: '
|
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/
|
56
|
-
- lib/generators/feature_pack/add_group/templates/
|
57
|
-
- lib/generators/feature_pack/add_group/templates/
|
58
|
-
- lib/generators/feature_pack/add_group/templates/
|
59
|
-
- lib/generators/feature_pack/add_group/templates/
|
60
|
-
- lib/generators/feature_pack/add_group/templates/
|
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.
|
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.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|