tilt-mote 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dac3da76b83dc8de879d241d34f71d3c9a6bc1c0
4
- data.tar.gz: 859072b03170b83e59e53dfb1ce2f51dce2910a8
3
+ metadata.gz: 856eceaa361c5907116426d0b7f6bfb52a02a6ad
4
+ data.tar.gz: 86b87cac2180f40bdc67c0249dba054161dca802
5
5
  SHA512:
6
- metadata.gz: f2b5aecbf41f1231372cdae9bb0d27511416bffe870f143b633feea2c9d551e5620ec252f86acf2007b405af7f4f1ebb3f1e7560eca467f33a52ae8d0934b174
7
- data.tar.gz: 9209f25ef8ad5c4ab538eb2498034870dcd7593941e10b75f656c5890f877abc9204b183aec301b486f0a0e59ceea2f85b108afcad799db8f1f0e6b60ac472f7
6
+ metadata.gz: 431a60ce5c5dd98a90fcb5a0a58d157c271e2631095b4738f62b341cb1acc3cfef8278176686b92d7308d5ecd68714b597046af80bc2807005ec337d73fd8afb
7
+ data.tar.gz: e3b2bd34405bbbfb6b570c506bd639d9163dfa8efacf917fe0c276cf16d25276912bc4cb5230bbeb7db1ed471077152684baca2b92f8f9da4dcbe864b23347b0
data/README.md CHANGED
@@ -29,7 +29,7 @@ Cuba plugin
29
29
 
30
30
  There is a [Cuba](https://github.com/soveran/cuba) minimal plugin you could use.
31
31
 
32
- ```
32
+ ```ruby
33
33
  require 'cuba'
34
34
  require 'cuba/render'
35
35
  require 'tilt/mote'
data/lib/cuba/mote.rb CHANGED
@@ -1,7 +1,5 @@
1
- module Mout
2
- module Render
3
- def self.setup(app)
4
- app.settings[:render][:template_engine] = "mote"
5
- end
1
+ module MoteHelper
2
+ def self.setup(app)
3
+ app.settings[:render][:template_engine] = "mote"
6
4
  end
7
5
  end
data/test/test_helper.rb CHANGED
@@ -5,7 +5,7 @@ require File.expand_path("../lib/tilt/mote", File.dirname(__FILE__))
5
5
  require File.expand_path("../lib/cuba/mote", File.dirname(__FILE__))
6
6
 
7
7
  Cuba.plugin(Cuba::Render)
8
- Cuba.plugin(Mout::Render)
8
+ Cuba.plugin(MoteHelper)
9
9
 
10
10
  Cuba.settings[:render][:views] = "./test/views"
11
11
 
data/tilt-mote.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "tilt-mote"
7
- spec.version = "0.0.3"
7
+ spec.version = "0.0.4"
8
8
  spec.authors = ["Horacio Bertorello"]
9
9
  spec.email = ["syrii@msn.com"]
10
10
  spec.summary = "Use Mote templates with Tilt."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tilt-mote
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
  - Horacio Bertorello