metatext 0.0.3 → 0.0.4

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. checksums.yaml +4 -4
  2. data/lib/metatext.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5db5693037bf42eb2e14c7a95992ee8d9f4c88fe
4
- data.tar.gz: 19c806d439bd60cf42af803c36f7801c025cffa1
3
+ metadata.gz: 37d12d93021c2ce5a30dc56fa11d4ce7303d0c02
4
+ data.tar.gz: 9cd9dcd5d4ded3f8dbf98e430bd296deeaf65f9c
5
5
  SHA512:
6
- metadata.gz: 704e05765d73a865821aa7e73b429cb6ddcf673d1f11602c4ae7583d86f7ebf0bec49419d8898d84202d9c16448f098e55dc66b28be867fac3b175b7f9f2e4c4
7
- data.tar.gz: a3132a73143a2b4681ef46df2b4b176b4d153aa3c8e6d077df1c54366a5a8a94867b99593262dcda0917aeb6bc94c38ee73fb69c87b2abbc9fc02cffb5392c13
6
+ metadata.gz: 00ac25db81e30142b0af2272a0ae314e194b3705954f8435c1bd8509132cf099051205e9c49308649dcf3d28c0982c43737cf7426e0616d46463278452843a40
7
+ data.tar.gz: 2511742ab7ff44071abadd202ab7df0ffffe8d9531c22aa4c581b95606af0d8d0a73854b91108853e9fc68e9cc74d317844b8820c703104a39250d192641b8fb
@@ -57,7 +57,7 @@ class Metatext
57
57
  # run the file contents through erb
58
58
  # @param with - the variables you want available in the file
59
59
 
60
- def erbify(raw, with:)
60
+ def erbify(raw, with: {})
61
61
  namespace = OpenStruct.new with
62
62
  ERB.new(raw).result namespace.instance_eval { binding }
63
63
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metatext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Guest