ferb 0.6.2 → 0.6.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 (2) hide show
  1. data/lib/ferb.rb +8 -8
  2. metadata +1 -1
data/lib/ferb.rb CHANGED
@@ -67,14 +67,14 @@ EOS
67
67
  <<EOS
68
68
  def #{signature}
69
69
  if Ferb.enable_reload?
70
- full_path = '#{source_file_data[:full_path]}'
71
- signature = '#{function}'
72
- if should_reload?(full_path)
73
- args = {:path => full_path}
74
- template = Ferb.load_template(args)
75
- add_timestamp(args[:full_path], args[:timestamp])
76
- internal_func = Ferb.construct_internal_function_def(signature,template)
77
- eval(internal_func)
70
+ __full_path = '#{source_file_data[:full_path]}'
71
+ __signature = '#{function}'
72
+ if should_reload?(__full_path)
73
+ __args = {:path => __full_path}
74
+ __template = Ferb.load_template(__args)
75
+ add_timestamp(__args[:full_path], __args[:timestamp])
76
+ __internal_func = Ferb.construct_internal_function_def(__signature,__template)
77
+ eval(__internal_func)
78
78
  end
79
79
  end
80
80
  __ferb_#{clean_sig}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ferb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Powers