wouter-views 0.0.1 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94b3cf7bfeda14996d0ce25902ae19b84d1725024ce8a2102301506f604f16e7
4
- data.tar.gz: f66c1a22ef7a29404d2fd1638a450afc2a3e0c91062c5de7f5135eea3fafc753
3
+ metadata.gz: 60b3bc086030dd099363e25f3b4bc6c564d1e7ced220ce5bdb08baf0c1cc0cc0
4
+ data.tar.gz: e767c7507a46f98090280e404261d8ad3d2475cee739ee90dcb9a264033a26dd
5
5
  SHA512:
6
- metadata.gz: c21209a777a3e10c13eb89aea1eda11509c399fd31b964f752962366afd14f6ad65151a91ad0e31aff0339db7d439aa79b2010d87415de8cc79032b30dfe365d
7
- data.tar.gz: f57188ad1839a905358fcd791c54c3a84157425f6850c07865efa5ecc747ed0924d3a144ab58df5fbbfabb2d072c97e5649b1eedd164d0f47bc3687d5ae92045
6
+ metadata.gz: e8874d0037b8bb8b146b2bbe8f9fe09b65c2f13c532d88cae67f6de05e8a304ef1cb74ee5418fa2a5a3ce318ba940f34c74f8cfe05d88161ff2e5befb9e78fe8
7
+ data.tar.gz: 310454193dec78f645833089e6598af13379675031ab90069c32d2d57fc92907386659ca88dfce8ba0e9c0b80b81f46ac36e844e044957b9972a6b66a095db7f
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Wouter Views
2
2
 
3
- Adds view template support to the Wouter web framework.
3
+ Adds view template support to the [Wouter](https://github.com/rawburt/wouter) web framework.
4
4
 
5
5
  `wouter-views` uses [Tilt](https://github.com/rtomayko/tilt) to load Ruby template engines.
6
6
 
data/lib/wouter/views.rb CHANGED
@@ -12,7 +12,7 @@ class Wouter
12
12
 
13
13
  return Tilt.new(full_path).render(bind) if File.exists?(full_path)
14
14
 
15
- full_path = dir + '/' + template
15
+ full_path = dir + '/' + template.to_s
16
16
 
17
17
  if Tilt.template_for('./test/fixtures/views/fallback.txt')
18
18
  Tilt.new(full_path).render(bind)
data/wouter-views.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'wouter-views'
5
5
  s.platform = Gem::Platform::RUBY
6
- s.version = '0.0.1'
6
+ s.version = '0.0.2'
7
7
  s.summary = 'View template support for Wouter web framework.'
8
8
  s.description = 'Adds view template support to the Wouter web framework.'
9
9
  s.authors = ['Robert Peterson']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wouter-views
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Peterson