expansions 0.4.28 → 0.4.29

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87468e00cac831515aeba5b44eb8c18c8189218a
4
- data.tar.gz: a7eaba07c50412bbad98b1c4a853f107d718418e
3
+ metadata.gz: a57ddf75d06beed6bb228e8e3c8b873a24a5b866
4
+ data.tar.gz: 80ea35ffbb984504982cfe5a24d0684a6760952c
5
5
  SHA512:
6
- metadata.gz: d4b137831b0d40eb964982e239ae5352ff758d0f782fc26867cc45d1ef462f17f42343f2654ec111431ad0f078d0489fb4e685dafddce94dec4defa94af475f7
7
- data.tar.gz: 1113cb698c7dbfe4b909e87d4f5ccadeb653f887c1d424606dfeda824a3b73156378fbc4f9b9f1e7ba34ad805ed59b73482fbd1be7a2e57919272cc554d92bae
6
+ metadata.gz: 9e5d7f035f332c36730d32a1aeb17ced90575170d3497dc1b6c3dcf9d3b1e03f3947fe074fed7d44e465204146c40e53f36cd80d7c4076bb968ed93201caad30
7
+ data.tar.gz: b0fed1960ba755cb28cf57fe3929d1efbac09bdc22747b5f29bdeb5655f12b7822528a8e8b8a6c08020aa3e70c50317704d80a49461d511da009434353aa2f82
@@ -39,8 +39,8 @@ module Expansions
39
39
  super
40
40
  initialize_hashes :files_to_merge,:copies
41
41
 
42
- @globber = Proc.new do |path|
43
- glob(path)
42
+ @globber = Proc.new do |path, exclude|
43
+ glob(path, exclude)
44
44
  end
45
45
 
46
46
  end
@@ -60,9 +60,9 @@ module Expansions
60
60
  end
61
61
 
62
62
  def look_for_templates_in(path, options=Hash.new(nil))
63
- exlusion = options.fetch(:exclude, -> (file) { false })
63
+ exclude = options.fetch(:exclude, -> (file) { false })
64
64
 
65
- globber.call(path, exlusion).process_all_items_using(TemplateVisitor.instance)
65
+ globber.call(path, exclude).process_all_items_using(TemplateVisitor.instance)
66
66
  end
67
67
 
68
68
  def cleanup(&block)
@@ -1,3 +1,3 @@
1
1
  module Expansions
2
- VERSION = "0.4.28"
2
+ VERSION = "0.4.29"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expansions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.28
4
+ version: 0.4.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Develop With Passion®