helpers 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ require "base64"
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "helpers"
9
- s.version = "0.1"
9
+ s.version = "0.1.1"
10
10
  s.authors = ["Jakub Stastny aka Botanicus"]
11
11
  s.homepage = "http://github.com/botanicus/helpers"
12
12
  s.summary = "Framework-agnostic template helpers"
@@ -0,0 +1,12 @@
1
+ # encoding: utf-8
2
+
3
+ require "helpers"
4
+ require "helpers/general"
5
+ require "helpers/assets"
6
+
7
+ module Helpers
8
+ def self.registered(app)
9
+ app.helpers Helpers::General
10
+ app.helpers Helpers::Assets
11
+ end
12
+ end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: helpers
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.1"
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jakub Stastny aka Botanicus
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
- date: 2011-05-26 00:00:00 +02:00
12
+ date: 2011-06-02 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -30,6 +30,7 @@ files:
30
30
  - helpers.gemspec
31
31
  - helpers.pre.gemspec
32
32
  - lib/helpers.rb
33
+ - lib/helpers/adapters/padrino.rb
33
34
  - lib/helpers/adapters/rails.rb
34
35
  - lib/helpers/adapters/rango.rb
35
36
  - lib/helpers/assets.rb