happy-helpers 0.1.0.pre.4 → 0.1.0.pre.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/happy-helpers/helpers/forms.rb +2 -2
- data/lib/happy-helpers/version.rb +1 -1
- metadata +3 -3
@@ -24,8 +24,8 @@ module HappyHelpers
|
|
24
24
|
:years => (Time.now.year - 10)..(Time.now.year + 10),
|
25
25
|
:months => 1..12,
|
26
26
|
:days => 1..31,
|
27
|
-
:month_formatter =>
|
28
|
-
:day_formatter =>
|
27
|
+
:month_formatter => lambda { |i| translate("date.month_names")[i] },
|
28
|
+
:day_formatter => lambda { |i| "#{i}." }
|
29
29
|
}.merge(options)
|
30
30
|
value ||= Time.now
|
31
31
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: happy-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.5
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tilt
|
16
|
-
requirement: &
|
16
|
+
requirement: &70251115759740 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '1.3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70251115759740
|
25
25
|
description: View helpers for your custom Rack app or framework.
|
26
26
|
email:
|
27
27
|
- hendrik@mans.de
|