spicycode-beholder 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/beholder.rb +8 -7
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'micronaut/rake_task'
6
6
 
7
7
  GEM = "beholder"
8
- GEM_VERSION = "0.5.2"
8
+ GEM_VERSION = "0.5.3"
9
9
  AUTHOR = "Chad Humphries"
10
10
  EMAIL = "chad@spicycode.com"
11
11
  HOMEPAGE = "http://github.com/spicycode/beholder"
data/lib/beholder.rb CHANGED
@@ -61,18 +61,19 @@ class Beholder
61
61
  map_for(:default_dungeon) do |wizard|
62
62
 
63
63
  wizard.keep_a_watchful_eye_for 'lib', 'examples'
64
-
65
- wizard.prepare_spell_for /\/lib\/(.*)\.rb/ do |spell_component|
66
- ["examples/lib/#{spell_component[1]}_example.rb"]
67
- end
68
-
69
- wizard.prepare_spell_for /\/examples\/(.*)_example\.rb/ do |spell_component|
64
+
65
+ wizard.prepare_spell_for %r%examples/(.*)_example\.rb% do |spell_component|
70
66
  ["examples/#{spell_component[1]}_example.rb"]
71
67
  end
72
68
 
73
- wizard.prepare_spell_for /\/examples\/example_helper\.rb/ do |spell_component|
69
+ wizard.prepare_spell_for %r%examples/example_helper\.rb% do |spell_component|
74
70
  Dir["examples/**/*_example.rb"]
75
71
  end
72
+
73
+ wizard.prepare_spell_for %r%lib/(.*)\.rb% do |spell_component|
74
+ ["examples/lib/#{spell_component[1]}_example.rb"]
75
+ end
76
+
76
77
 
77
78
  end
78
79
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spicycode-beholder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Humphries