padrino-helpers 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,11 @@
1
- = padrino-helpers
1
+ = Application Extensions and Helpers (padrino-helpers)
2
+
3
+ === Overview
2
4
 
3
5
  This component provides a great deal of view helpers related to html markup generation.
4
6
  There are helpers for generating tags, forms, links, images, and more. Most of the basic
5
7
  methods should be very familiar to anyone who has used rails view helpers.
6
8
 
7
- == Installation
8
-
9
- To install the 'full-stack' padrino framework, simply grab the latest version from gemcutter:
10
-
11
- $ sudo gem install padrino --source http://gemcutter.org
12
-
13
- This will install the necessary padrino gems to get you started.
14
- Now you are ready to use this gem to enhance your existing Sinatra projects or build new Padrino applications.
15
-
16
- You can also install only the padrino-helpers gem for more fine-grained use:
17
-
18
- $ sudo gem install padrino-helpers --source http://gemcutter.org
19
-
20
- == Usage
21
9
 
22
10
  === Output Helpers
23
11
 
@@ -485,4 +473,4 @@ See the wiki article for additional information: <...WIKI...>
485
473
 
486
474
  == Copyright
487
475
 
488
- Copyright (c) 2010 Padrino. See LICENSE for details.
476
+ Copyright (c) 2010 Padrino. See LICENSE for details.
data/Rakefile CHANGED
@@ -46,7 +46,7 @@ rescue LoadError
46
46
  end
47
47
  end
48
48
 
49
- task :test => :check_dependencies
49
+ # task :test => :check_dependencies
50
50
 
51
51
  task :default => :test
52
52
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{padrino-helpers}
8
- s.version = "0.6.1"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
@@ -80,7 +80,7 @@ Gem::Specification.new do |s|
80
80
 
81
81
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
82
82
  s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
83
- s.add_runtime_dependency(%q<padrino-core>, ["= 0.6.1"])
83
+ s.add_runtime_dependency(%q<padrino-core>, ["= 0.6.2"])
84
84
  s.add_development_dependency(%q<haml>, [">= 2.2.1"])
85
85
  s.add_development_dependency(%q<shoulda>, [">= 0"])
86
86
  s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
@@ -88,7 +88,7 @@ Gem::Specification.new do |s|
88
88
  s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
89
89
  else
90
90
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
91
- s.add_dependency(%q<padrino-core>, ["= 0.6.1"])
91
+ s.add_dependency(%q<padrino-core>, ["= 0.6.2"])
92
92
  s.add_dependency(%q<haml>, [">= 2.2.1"])
93
93
  s.add_dependency(%q<shoulda>, [">= 0"])
94
94
  s.add_dependency(%q<mocha>, [">= 0.9.7"])
@@ -97,7 +97,7 @@ Gem::Specification.new do |s|
97
97
  end
98
98
  else
99
99
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
100
- s.add_dependency(%q<padrino-core>, ["= 0.6.1"])
100
+ s.add_dependency(%q<padrino-core>, ["= 0.6.2"])
101
101
  s.add_dependency(%q<haml>, [">= 2.2.1"])
102
102
  s.add_dependency(%q<shoulda>, [">= 0"])
103
103
  s.add_dependency(%q<mocha>, [">= 0.9.7"])
@@ -5,6 +5,13 @@ require 'mocha'
5
5
  require 'rack/test'
6
6
  require 'webrat'
7
7
 
8
+ # We try to load the vendored padrino-core if exist
9
+ %w(core).each do |gem|
10
+ if File.exist?(File.dirname(__FILE__) + "/../../padrino-#{gem}/lib")
11
+ $LOAD_PATH.unshift File.dirname(__FILE__) + "/../../padrino-#{gem}/lib"
12
+ end
13
+ end
14
+
8
15
  require 'support_helpers'
9
16
  require 'padrino-helpers'
10
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -33,7 +33,7 @@ dependencies:
33
33
  requirements:
34
34
  - - "="
35
35
  - !ruby/object:Gem::Version
36
- version: 0.6.1
36
+ version: 0.6.2
37
37
  version:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: haml