feature_pack 0.1.2 → 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efa0492819f5f4d1c41a235a9b4f07f57fb2f634e5b624c6d852c6599590180c
|
4
|
+
data.tar.gz: b77bc5fdc56fca2c257854afb193b53949635387b18323d8b4a42c3a7a155a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2fb6e5c3fc3f989e04bb79846743cafc8672dd1f60ae3480b46a7557bfb9c43d2ce24dfe6dfa2364e1e11c49aebbe240aecbaf153297516f5bd4d9100e1ac1a
|
7
|
+
data.tar.gz: cf080f73d2dda1927a5b45f9a72f133309dc9e8f2dedeee6bd5c56954c046b40900716d00719c43054419f1453e1a4fa92e55b753a7e3b84667da3b7d10964a7
|
data/lib/feature_pack.rb
CHANGED
@@ -39,7 +39,7 @@ module FeaturePack
|
|
39
39
|
|
40
40
|
@@ignored_paths << @@path.join('feature_pack/feature_pack_routes.rb')
|
41
41
|
|
42
|
-
raise "No Groups found in: '#{@@features_path}'" if Dir.glob("#{@@features_path}/[!_]*/").empty?
|
42
|
+
# raise "No Groups found in: '#{@@features_path}'" if Dir.glob("#{@@features_path}/[!_]*/").empty?
|
43
43
|
|
44
44
|
@@groups = Dir.glob("#{@@features_path}/[!_]*/").map do |group_path|
|
45
45
|
relative_path = Pathname.new(group_path)
|
@@ -1,5 +1,8 @@
|
|
1
|
+
require 'rails/generators/base'
|
2
|
+
require 'rails/generators/named_base'
|
3
|
+
|
1
4
|
class FeaturePack::AddGroupGenerator < Rails::Generators::NamedBase
|
2
|
-
|
5
|
+
|
3
6
|
desc 'Adds a new Feature Group'
|
4
7
|
source_root File.expand_path('templates', __dir__)
|
5
8
|
|