bowtie 0.2 → 0.2.5

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.
data/README.rdoc CHANGED
@@ -17,7 +17,7 @@ Mount Bowtie wherever you want by editing your config.ru file, optionally includ
17
17
  require 'myapp'
18
18
  require 'bowtie'
19
19
 
20
- BOWTIE_AUTH = {:user => 'admin', :pass => '12345' }
20
+ BOWTIE_AUTH = {:user => 'admin', :pass => '12345' }
21
21
 
22
22
  app = Rack::Builder.new {
23
23
  map "/admin" do
data/bowtie.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |s|
3
3
  s.name = %q{bowtie}
4
- s.version = "0.2"
4
+ s.version = "0.2.5"
5
5
 
6
6
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
7
7
  s.authors = ["Tomás Pollak"]
@@ -1,4 +1,6 @@
1
- <% if @resource and @resource.errors.any? %>
1
+ <% begin
2
+
3
+ if @resource and @resource.errors.any? %>
2
4
 
3
5
  <div class="errorlist">
4
6
 
@@ -10,4 +12,8 @@
10
12
 
11
13
  </div>
12
14
 
13
- <% end %>
15
+ <% end
16
+
17
+ rescue NoMethodError
18
+ # dm-validations not included
19
+ end %>
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- version: "0.2"
8
+ - 5
9
+ version: 0.2.5
9
10
  platform: ruby
10
11
  authors:
11
12
  - "Tom\xC3\xA1s Pollak"