heydan 0.1.3.1 → 0.1.3.2
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 +4 -4
- data/lib/heydan/script_file.rb +2 -1
- data/lib/{templates → heydan/templates}/script.rb.erb +0 -0
- data/lib/heydan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21ab4f379afc12663a04d2b0bab3d3c0d14bec73
|
|
4
|
+
data.tar.gz: 1cd5a4e4cd0ac9980e2c6cca0c8bbae6a31b1156
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23f6c56ed723344359b9ad599630bc1f707fcc73242c5cf05a8db31baead864e0aa560ab0bfe1a45144b62a0b503725c618eb106e7644164c6fe2b76e685c221
|
|
7
|
+
data.tar.gz: 9d76dcadc1bc4bf2e271e2ecb9d188d126e45422f510e068f0705b0a748d4f32faa64289f771eb763b071e60253a53d35c50d51caf8dbca9ef3c67868d3fbe27
|
data/lib/heydan/script_file.rb
CHANGED
|
@@ -25,7 +25,8 @@ class HeyDan::ScriptFile
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def template
|
|
28
|
-
|
|
28
|
+
|
|
29
|
+
template_path = File.join(File.dirname(__FILE__), 'templates', 'script.rb.erb')
|
|
29
30
|
require 'erb'
|
|
30
31
|
ERB.new(File.read(template_path)).result binding
|
|
31
32
|
end
|
|
File without changes
|
data/lib/heydan/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heydan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.3.
|
|
4
|
+
version: 0.1.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Melton
|
|
@@ -311,8 +311,8 @@ files:
|
|
|
311
311
|
- lib/heydan/server.rb
|
|
312
312
|
- lib/heydan/source_file.rb
|
|
313
313
|
- lib/heydan/sources.rb
|
|
314
|
+
- lib/heydan/templates/script.rb.erb
|
|
314
315
|
- lib/heydan/version.rb
|
|
315
|
-
- lib/templates/script.rb.erb
|
|
316
316
|
homepage: http://github.com/danmelton/heydan
|
|
317
317
|
licenses:
|
|
318
318
|
- MIT
|