venus 0.7.1 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,3 +9,16 @@
9
9
  ba.use :hint, :wrap_with => { :tag => 'p', :class => 'help-block' }
10
10
  end
11
11
  end
12
+
13
+ <% if @unicorn %>
14
+ config.wrappers :admin, :tag => :div, :class => 'control-group' do |b|
15
+ config.form_class = "form-horizontal"
16
+ b.use :placeholder
17
+ b.use :label, :class => 'control-label', :tag => false
18
+ b.wrapper :tag => :div, :class => 'controls' do |ba|
19
+ ba.use :input
20
+ ba.use :hint, :wrap_with => { :tag => :span, :class => 'help-block' }
21
+ ba.use :error, :wrap_with => { :tag => :span, :class => 'help-inline' }
22
+ end
23
+ end
24
+ <% end %>
@@ -21,7 +21,7 @@ module Venus
21
21
  insert_template(
22
22
  "config/application.rb",
23
23
  "config_application.rb",
24
- :before => " end\n"
24
+ :before => "\n end\n"
25
25
  )
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module Venus
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: venus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-30 00:00:00.000000000 Z
12
+ date: 2013-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties