asples_sinatra 0.0.2 → 0.0.21

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: b9cb808f0a7d6d8f6aeccc4e11a69049de5bc626
4
- data.tar.gz: fe293fb75b72c8fbe6ca0510ff51b06b26e728df
3
+ metadata.gz: 0cf5b72922dd3702e331841f1d294397359de70e
4
+ data.tar.gz: 1ef28e45b5f721e5fdec9146d1c9cdd6a44e3b83
5
5
  SHA512:
6
- metadata.gz: a0676888f822f3eb5f807cbc0b527b1366037739c6a687d8653160a423b3007a5bed4f9db7cb23a8679e36b4e0b45d840060735263f4e576289e3bb3f82f6a2b
7
- data.tar.gz: 7f9e3076e8731d49df1c9dc09ead45d4154776868e052304ad1331fa20568fe12ea90bf113ea5bd1ae82075762915fb0ebbf41317770dacac3cd75cb12f7dbb6
6
+ metadata.gz: 76e372879591c9a80e0b9212c1fc871531ac9b23785840ca22d46e6a07c957d2e697e92d622c34a45fdce2bcd904f7d40ba3ec6bb11252b906b3011b0b20a3e2
7
+ data.tar.gz: 445a43caa6cd8d4466db80edcdc7cb3bb6143e1ae9de833a0fc9e6e64f156d39c8beca07706b78ee7e551961ae8f84379f9555a03c56d2a0f0350f33bb6bf3d1
@@ -1,7 +1,7 @@
1
1
  module AsplesSinatra
2
2
  module Helpers
3
3
  def input(name, options={})
4
- haml :input, {layout: false}, options.merge!({field_name: name})
4
+ haml :'input', {layout: false}, options.merge!({field_name: name})
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module AsplesSinatra
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.21"
3
3
  end
@@ -6,5 +6,6 @@ require 'active_support/core_ext'
6
6
 
7
7
 
8
8
  module AsplesSinatra
9
+ Sinatra::Application.set :views, Proc.new { File.join(root, "lib/asples_sinatra/templates/") }
9
10
  # Your code goes here...
10
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asples_sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Per Evensen
@@ -104,8 +104,8 @@ files:
104
104
  - lib/asples_sinatra.rb
105
105
  - lib/asples_sinatra/helpers.rb
106
106
  - lib/asples_sinatra/sinatra.rb
107
+ - lib/asples_sinatra/templates/input.haml
107
108
  - lib/asples_sinatra/version.rb
108
- - views/input.haml
109
109
  homepage: https://github.com/asplespng/asples_sinatra
110
110
  licenses:
111
111
  - MIT
File without changes