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: 3e2946dd4dbd9336908bb8044877f745a97d44ee11fa125eb3a8a77f0102c3c2
4
- data.tar.gz: 5e29ad8bcf002715386a2c93fa9a2ef4e9cb5922a49f198dbcdcd9e43caac354
3
+ metadata.gz: efa0492819f5f4d1c41a235a9b4f07f57fb2f634e5b624c6d852c6599590180c
4
+ data.tar.gz: b77bc5fdc56fca2c257854afb193b53949635387b18323d8b4a42c3a7a155a2a
5
5
  SHA512:
6
- metadata.gz: ad1e716ab8b251c4c6677074e338ad84ecaf127e3f6c2acd6a1b52a9ddcb27c7ad6346812645499e269ca6bd929bf14888585026ef0adebfd7a2275be73ff883
7
- data.tar.gz: 8ed15f2382e2c3cc301e55e649e916cb1925ba4c4987e871e9a26156eb0ecb347315cee8b2a25d1a55d162fa367c21ea1dfe73132a211d482f61707630b1236a
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,3 +1,6 @@
1
+ require 'rails/generators/base'
2
+ require 'rails/generators/named_base'
3
+
1
4
  class FeaturePack::AddFeatureGenerator < Rails::Generators::NamedBase
2
5
  desc 'Adds a new Feature'
3
6
  source_root File.expand_path('templates', __dir__)
@@ -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
- # class Generators::FeaturePack::AddGroup::AddGroupGenerator < Rails::Generators::NamedBase
5
+
3
6
  desc 'Adds a new Feature Group'
4
7
  source_root File.expand_path('templates', __dir__)
5
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feature_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gedean Dias