padrino-helpers 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +7 -7
- data/Rakefile +4 -15
- data/lib/padrino-helpers/asset_tag_helpers.rb +2 -2
- data/lib/padrino-helpers/locale/da.yml +91 -0
- data/lib/padrino-helpers/locale/fr.yml +79 -0
- data/lib/padrino-helpers/locale/pt_br.yml +103 -0
- data/lib/padrino-helpers/locale/ru.yml +103 -0
- data/lib/padrino-helpers/number_helpers.rb +1 -3
- data/padrino-helpers.gemspec +9 -6
- metadata +9 -6
- data/VERSION +0 -1
data/README.rdoc
CHANGED
@@ -52,7 +52,7 @@ to the template through the use of <tt>concat_content</tt>. Note have been built
|
|
52
52
|
templates using the same syntax.
|
53
53
|
|
54
54
|
For more information on using output helpers, check out the guide for
|
55
|
-
{Padrino Helpers}[http://
|
55
|
+
{Padrino Helpers}[http://www.padrinorb.com/guides/application-helpers].
|
56
56
|
|
57
57
|
=== Tag Helpers
|
58
58
|
|
@@ -73,7 +73,7 @@ The input_tag is used to build tags that are related to accepting input from the
|
|
73
73
|
Note that all of these accept html options and result in returning a string containing html tags.
|
74
74
|
|
75
75
|
For more information on using tag helpers, check out the guide for
|
76
|
-
{Padrino Helpers}[http://
|
76
|
+
{Padrino Helpers}[http://www.padrinorb.com/guides/application-helpers].
|
77
77
|
|
78
78
|
=== Asset Helpers
|
79
79
|
|
@@ -94,7 +94,7 @@ simple view template:
|
|
94
94
|
%p= image_tag 'padrino.png', :width => '35', :class => 'logo'
|
95
95
|
|
96
96
|
For more information on using asset helpers, check out the guide for
|
97
|
-
{Padrino Helpers}[http://
|
97
|
+
{Padrino Helpers}[http://www.padrinorb.com/guides/application-helpers].
|
98
98
|
|
99
99
|
=== Form Helpers
|
100
100
|
|
@@ -119,7 +119,7 @@ example of constructing a non-object form would be:
|
|
119
119
|
= submit_tag "Remove"
|
120
120
|
|
121
121
|
For more information on using form helpers, check out the guide for
|
122
|
-
{Padrino Helpers}[http://
|
122
|
+
{Padrino Helpers}[http://www.padrinorb.com/guides/application-helpers].
|
123
123
|
|
124
124
|
=== FormBuilders
|
125
125
|
|
@@ -176,7 +176,7 @@ and would generate this html (with each input contained in a paragraph and conta
|
|
176
176
|
You can also easily build your own FormBuilder which allows for customized fields and behavior.
|
177
177
|
|
178
178
|
For more information on using the Padrino form builders, check out the guide for
|
179
|
-
{Padrino Helpers}[http://
|
179
|
+
{Padrino Helpers}[http://www.padrinorb.com/guides/application-helpers].
|
180
180
|
|
181
181
|
=== Format Helpers
|
182
182
|
|
@@ -204,7 +204,7 @@ Format helpers also includes a number of useful text manipulation functions such
|
|
204
204
|
These helpers can be invoked from any route or view within your application.
|
205
205
|
|
206
206
|
For more information on using the format helpers, check out the guide for
|
207
|
-
{Padrino Helpers}[http://
|
207
|
+
{Padrino Helpers}[http://www.padrinorb.com/guides/application-helpers].
|
208
208
|
|
209
209
|
=== Render Helpers
|
210
210
|
|
@@ -229,7 +229,7 @@ Finally, we have the all-important partials support for rendering mini-templates
|
|
229
229
|
partial 'photo/_item', :collection => @photos
|
230
230
|
|
231
231
|
For more information on using the render and partial helpers, check out the guide for
|
232
|
-
{Padrino Helpers}[http://
|
232
|
+
{Padrino Helpers}[http://www.padrinorb.com/guides/application-helpers].
|
233
233
|
|
234
234
|
== Copyright
|
235
235
|
|
data/Rakefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
3
|
|
4
|
-
|
4
|
+
require File.expand_path("../../padrino-core/lib/padrino-core/version.rb", __FILE__)
|
5
5
|
|
6
6
|
begin
|
7
7
|
require 'jeweler'
|
@@ -13,7 +13,8 @@ begin
|
|
13
13
|
gem.homepage = "http://github.com/padrino/padrino-framework/tree/master/padrino-helpers"
|
14
14
|
gem.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
|
15
15
|
gem.rubyforge_project = 'padrino-helpers'
|
16
|
-
gem.
|
16
|
+
gem.version = Padrino.version
|
17
|
+
gem.add_runtime_dependency "padrino-core", "= #{Padrino.version}"
|
17
18
|
gem.add_development_dependency "haml", ">= 2.2.1"
|
18
19
|
gem.add_development_dependency "shoulda", ">= 2.10.3"
|
19
20
|
gem.add_development_dependency "mocha", ">= 0.9.7"
|
@@ -48,16 +49,4 @@ rescue LoadError
|
|
48
49
|
end
|
49
50
|
end
|
50
51
|
|
51
|
-
|
52
|
-
|
53
|
-
task :default => :test
|
54
|
-
|
55
|
-
require 'rake/rdoctask'
|
56
|
-
Rake::RDocTask.new do |rdoc|
|
57
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
58
|
-
|
59
|
-
rdoc.rdoc_dir = 'rdoc'
|
60
|
-
rdoc.title = "padrino-helpers #{version}"
|
61
|
-
rdoc.rdoc_files.include('README*')
|
62
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
63
|
-
end
|
52
|
+
task :default => :test
|
@@ -120,7 +120,7 @@ module Padrino
|
|
120
120
|
# meta_tag "weblog,news", :name => "keywords"
|
121
121
|
#
|
122
122
|
# # Generates: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
123
|
-
# meta_tag "text/html; charset=UTF-8",
|
123
|
+
# meta_tag "text/html; charset=UTF-8", 'http-equiv' => "Content-Type"
|
124
124
|
#
|
125
125
|
def meta_tag(content, options={})
|
126
126
|
options.reverse_merge!("content" => content)
|
@@ -239,7 +239,7 @@ module Padrino
|
|
239
239
|
#
|
240
240
|
def uri_root_path(*paths)
|
241
241
|
root_uri = self.class.uri_root if self.class.respond_to?(:uri_root)
|
242
|
-
File.join(root_uri || '/', *paths)
|
242
|
+
File.join(ENV['RACK_BASE_URI'].to_s, root_uri || '/', *paths)
|
243
243
|
end
|
244
244
|
|
245
245
|
##
|
@@ -0,0 +1,91 @@
|
|
1
|
+
da:
|
2
|
+
number:
|
3
|
+
format:
|
4
|
+
separator: ","
|
5
|
+
delimiter: "."
|
6
|
+
precision: 3
|
7
|
+
currency:
|
8
|
+
format:
|
9
|
+
format: "%u %n"
|
10
|
+
unit: "DKK"
|
11
|
+
separator: ","
|
12
|
+
delimiter: "."
|
13
|
+
precision: 2
|
14
|
+
precision:
|
15
|
+
format:
|
16
|
+
# separator:
|
17
|
+
delimiter: ""
|
18
|
+
# precision:
|
19
|
+
human:
|
20
|
+
format:
|
21
|
+
# separator:
|
22
|
+
delimiter: ""
|
23
|
+
precision: 1
|
24
|
+
storage_units:
|
25
|
+
# Storage units output formatting.
|
26
|
+
# %u is the storage unit, %n is the number (default: 2 MB)
|
27
|
+
format: "%n %u"
|
28
|
+
units:
|
29
|
+
byte:
|
30
|
+
one: "Byte"
|
31
|
+
other: "Bytes"
|
32
|
+
kb: "KB"
|
33
|
+
mb: "MB"
|
34
|
+
gb: "GB"
|
35
|
+
tb: "TB"
|
36
|
+
percentage:
|
37
|
+
format:
|
38
|
+
# separator:
|
39
|
+
delimiter: ""
|
40
|
+
# precision:
|
41
|
+
|
42
|
+
datetime:
|
43
|
+
distance_in_words:
|
44
|
+
half_a_minute: "et halvt minut"
|
45
|
+
less_than_x_seconds:
|
46
|
+
one: "mindre end et sekund"
|
47
|
+
other: "mindre end {{count}} sekunder"
|
48
|
+
x_seconds:
|
49
|
+
one: "et sekund"
|
50
|
+
other: "{{count}} sekunder"
|
51
|
+
less_than_x_minutes:
|
52
|
+
one: "mindre end et minut"
|
53
|
+
other: "mindre end {{count}} minutter"
|
54
|
+
x_minutes:
|
55
|
+
one: "et minut"
|
56
|
+
other: "{{count}} minutter"
|
57
|
+
about_x_hours:
|
58
|
+
one: "cirka en time"
|
59
|
+
other: "cirka {{count}} timer"
|
60
|
+
x_days:
|
61
|
+
one: "en dag"
|
62
|
+
other: "{{count}} dage"
|
63
|
+
about_x_months:
|
64
|
+
one: "cirka en måned"
|
65
|
+
other: "cirka {{count}} måneder"
|
66
|
+
x_months:
|
67
|
+
one: "en måned"
|
68
|
+
other: "{{count}} måneder"
|
69
|
+
about_x_years:
|
70
|
+
one: "cirka et år"
|
71
|
+
other: "cirka {{count}} år"
|
72
|
+
over_x_years:
|
73
|
+
one: "mere end et år"
|
74
|
+
other: "mere end {{count}} år"
|
75
|
+
almost_x_years:
|
76
|
+
one: "næsten et år"
|
77
|
+
other: "næsten {{count}} years"
|
78
|
+
prompts:
|
79
|
+
second: "Sekund"
|
80
|
+
minute: "Minut"
|
81
|
+
hour: "Time"
|
82
|
+
day: "Dag"
|
83
|
+
month: "Måned"
|
84
|
+
year: "År"
|
85
|
+
models:
|
86
|
+
errors:
|
87
|
+
template:
|
88
|
+
header:
|
89
|
+
one: "En fejl forhindrede {{model}} i at blive gemt"
|
90
|
+
other: "{{count}} fejl forhindrede denne {{model}} i at blive gemt"
|
91
|
+
body: "Der var problemer med følgende felter:"
|
@@ -0,0 +1,79 @@
|
|
1
|
+
fr:
|
2
|
+
number:
|
3
|
+
format:
|
4
|
+
precision: 2
|
5
|
+
separator: ','
|
6
|
+
delimiter: '.'
|
7
|
+
currency:
|
8
|
+
format:
|
9
|
+
unit: '€'
|
10
|
+
format: '%n%u'
|
11
|
+
separator:
|
12
|
+
delimiter:
|
13
|
+
precision:
|
14
|
+
percentage:
|
15
|
+
format:
|
16
|
+
delimiter: ""
|
17
|
+
precision:
|
18
|
+
format:
|
19
|
+
delimiter: ""
|
20
|
+
human:
|
21
|
+
format:
|
22
|
+
delimiter: ""
|
23
|
+
precision: 1
|
24
|
+
storage_units:
|
25
|
+
# Storage units output formatting.
|
26
|
+
# %u is the storage unit, %n is the number (default: 2 MB)
|
27
|
+
format: "%n %u"
|
28
|
+
units:
|
29
|
+
byte:
|
30
|
+
one: "Byte"
|
31
|
+
other: "Bytes"
|
32
|
+
kb: "KB"
|
33
|
+
mb: "MB"
|
34
|
+
gb: "GB"
|
35
|
+
tb: "TB"
|
36
|
+
|
37
|
+
datetime:
|
38
|
+
distance_in_words:
|
39
|
+
half_a_minute: "une demi minute"
|
40
|
+
less_than_x_seconds:
|
41
|
+
one: "infèrieur à une seconde"
|
42
|
+
other: "infèrieur à {{count}} secondes"
|
43
|
+
x_seconds:
|
44
|
+
one: "1 seconde"
|
45
|
+
other: "{{count}} secondes"
|
46
|
+
less_than_x_minutes:
|
47
|
+
one: "infèrieur à 1 minute"
|
48
|
+
other: "infèrieur à {{count}} minutes"
|
49
|
+
x_minutes:
|
50
|
+
one: "1 minute"
|
51
|
+
other: "{{count}} minutes"
|
52
|
+
about_x_hours:
|
53
|
+
one: "environ 1 heure"
|
54
|
+
other: "environ {{count}} heures"
|
55
|
+
x_days:
|
56
|
+
one: "1 jour"
|
57
|
+
other: "{{count}} jours"
|
58
|
+
about_x_months:
|
59
|
+
one: "environ 1 mois"
|
60
|
+
other: "environ {{count}} mois"
|
61
|
+
x_months:
|
62
|
+
one: "1 mois"
|
63
|
+
other: "{{count}} mois"
|
64
|
+
about_x_years:
|
65
|
+
one: "environ 1 ans"
|
66
|
+
other: "environ {{count}} ans"
|
67
|
+
over_x_years:
|
68
|
+
one: "plus d'un an"
|
69
|
+
other: "plus de {{count}} ans"
|
70
|
+
almost_x_years:
|
71
|
+
one: "près d'un ans"
|
72
|
+
other: "près de {{count}} years"
|
73
|
+
models:
|
74
|
+
errors:
|
75
|
+
template:
|
76
|
+
header:
|
77
|
+
one: "1 erreur a empêché ce {{model}} d'être sauvé"
|
78
|
+
other: "{{count}} erreurs ont empêché ce {{model}} d'être sauvé"
|
79
|
+
body: "Il y avait des problèmes avec les champs suivants:"
|
@@ -0,0 +1,103 @@
|
|
1
|
+
pt_br:
|
2
|
+
number:
|
3
|
+
# Used in number_with_delimiter()
|
4
|
+
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
5
|
+
format:
|
6
|
+
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
7
|
+
separator: ","
|
8
|
+
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
9
|
+
delimiter: "."
|
10
|
+
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
|
11
|
+
precision: 3
|
12
|
+
|
13
|
+
# Used in number_to_currency()
|
14
|
+
currency:
|
15
|
+
format:
|
16
|
+
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
17
|
+
format: "%u%n"
|
18
|
+
unit: "R$"
|
19
|
+
# These three are to override number.format and are optional
|
20
|
+
separator: "."
|
21
|
+
delimiter: ","
|
22
|
+
precision: 2
|
23
|
+
|
24
|
+
# Used in number_to_percentage()
|
25
|
+
percentage:
|
26
|
+
format:
|
27
|
+
# These three are to override number.format and are optional
|
28
|
+
# separator:
|
29
|
+
delimiter: ""
|
30
|
+
# precision:
|
31
|
+
|
32
|
+
# Used in number_to_precision()
|
33
|
+
precision:
|
34
|
+
format:
|
35
|
+
# These three are to override number.format and are optional
|
36
|
+
# separator:
|
37
|
+
delimiter: ""
|
38
|
+
# precision:
|
39
|
+
|
40
|
+
# Used in number_to_human_size()
|
41
|
+
human:
|
42
|
+
format:
|
43
|
+
# These three are to override number.format and are optional
|
44
|
+
# separator:
|
45
|
+
delimiter: ""
|
46
|
+
precision: 1
|
47
|
+
storage_units:
|
48
|
+
# Storage units output formatting.
|
49
|
+
# %u is the storage unit, %n is the number (default: 2 MB)
|
50
|
+
format: "%n %u"
|
51
|
+
units:
|
52
|
+
byte:
|
53
|
+
one: "Byte"
|
54
|
+
other: "Bytes"
|
55
|
+
kb: "KB"
|
56
|
+
mb: "MB"
|
57
|
+
gb: "GB"
|
58
|
+
tb: "TB"
|
59
|
+
|
60
|
+
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
61
|
+
datetime:
|
62
|
+
distance_in_words:
|
63
|
+
half_a_minute: "meio minuto"
|
64
|
+
less_than_x_seconds:
|
65
|
+
one: "menos de 1 segundo"
|
66
|
+
other: "menos de {{count}} segundos"
|
67
|
+
x_seconds:
|
68
|
+
one: "1 segundo"
|
69
|
+
other: "{{count}} segundos"
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: "menos de 1 minuto"
|
72
|
+
other: "menos de {{count}} minutos"
|
73
|
+
x_minutes:
|
74
|
+
one: "1 minuto"
|
75
|
+
other: "{{count}} minutos"
|
76
|
+
about_x_hours:
|
77
|
+
one: "cerca de 1 hora"
|
78
|
+
other: "cerca de {{count}} horas"
|
79
|
+
x_days:
|
80
|
+
one: "1 dia"
|
81
|
+
other: "{{count}} dias"
|
82
|
+
about_x_months:
|
83
|
+
one: "cerca de 1 mês"
|
84
|
+
other: "cerca de {{count}} meses"
|
85
|
+
x_months:
|
86
|
+
one: "1 mês"
|
87
|
+
other: "{{count}} meses"
|
88
|
+
about_x_years:
|
89
|
+
one: "cerca de 1 ano"
|
90
|
+
other: "cerca de {{count}} anos"
|
91
|
+
over_x_years:
|
92
|
+
one: "mais de 1 ano"
|
93
|
+
other: "mais de {{count}} anos"
|
94
|
+
almost_x_years:
|
95
|
+
one: "quase 1 ano"
|
96
|
+
other: "quase {{count}} anos"
|
97
|
+
models:
|
98
|
+
errors:
|
99
|
+
template:
|
100
|
+
header:
|
101
|
+
one: "Não posso salvar {{model}}: 1 erro"
|
102
|
+
other: "Não posso salvar {{model}}: {{count}} erros."
|
103
|
+
body: "Por favor, verifique novamente os seguintes campos:"
|
@@ -0,0 +1,103 @@
|
|
1
|
+
ru:
|
2
|
+
number:
|
3
|
+
# Used in number_with_delimiter()
|
4
|
+
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
5
|
+
format:
|
6
|
+
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
7
|
+
separator: ","
|
8
|
+
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
9
|
+
delimiter: ""
|
10
|
+
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
|
11
|
+
precision: 3
|
12
|
+
|
13
|
+
# Used in number_to_currency()
|
14
|
+
currency:
|
15
|
+
format:
|
16
|
+
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
17
|
+
format: "%n %u"
|
18
|
+
unit: "руб"
|
19
|
+
# These three are to override number.format and are optional
|
20
|
+
separator: ","
|
21
|
+
delimiter: " "
|
22
|
+
precision: 2
|
23
|
+
|
24
|
+
# Used in number_to_percentage()
|
25
|
+
percentage:
|
26
|
+
format:
|
27
|
+
# These three are to override number.format and are optional
|
28
|
+
# separator:
|
29
|
+
delimiter: ""
|
30
|
+
# precision:
|
31
|
+
|
32
|
+
# Used in number_to_precision()
|
33
|
+
precision:
|
34
|
+
format:
|
35
|
+
# These three are to override number.format and are optional
|
36
|
+
# separator:
|
37
|
+
delimiter: ""
|
38
|
+
# precision:
|
39
|
+
|
40
|
+
# Used in number_to_human_size()
|
41
|
+
human:
|
42
|
+
format:
|
43
|
+
# These three are to override number.format and are optional
|
44
|
+
# separator:
|
45
|
+
delimiter: ""
|
46
|
+
precision: 1
|
47
|
+
storage_units:
|
48
|
+
# Storage units output formatting.
|
49
|
+
# %u is the storage unit, %n is the number (default: 2 MB)
|
50
|
+
format: "%n %u"
|
51
|
+
units:
|
52
|
+
byte:
|
53
|
+
one: "Байт"
|
54
|
+
other: "Байт"
|
55
|
+
kb: "Кб"
|
56
|
+
mb: "Мб"
|
57
|
+
gb: "Гб"
|
58
|
+
tb: "Тб"
|
59
|
+
|
60
|
+
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
61
|
+
datetime:
|
62
|
+
distance_in_words:
|
63
|
+
half_a_minute: "пол минуты"
|
64
|
+
less_than_x_seconds:
|
65
|
+
one: "менее секунды"
|
66
|
+
other: "менее {{count}} секунд"
|
67
|
+
x_seconds:
|
68
|
+
one: "1 секунда"
|
69
|
+
other: "{{count}} секунд"
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: "менее минуты"
|
72
|
+
other: "менее {{count}} минут"
|
73
|
+
x_minutes:
|
74
|
+
one: "1 минута"
|
75
|
+
other: "{{count}} минут"
|
76
|
+
about_x_hours:
|
77
|
+
one: "около часа"
|
78
|
+
other: "около {{count}} часов"
|
79
|
+
x_days:
|
80
|
+
one: "1 день"
|
81
|
+
other: "{{count}} дней"
|
82
|
+
about_x_months:
|
83
|
+
one: "около месяца"
|
84
|
+
other: "около {{count}} месяцев"
|
85
|
+
x_months:
|
86
|
+
one: "1 месяц"
|
87
|
+
other: "{{count}} месяцев"
|
88
|
+
about_x_years:
|
89
|
+
one: "около года"
|
90
|
+
other: "около {{count}} лет"
|
91
|
+
over_x_years:
|
92
|
+
one: "более года"
|
93
|
+
other: "более {{count}} лет"
|
94
|
+
almost_x_years:
|
95
|
+
one: "почти год"
|
96
|
+
other: "почти {{count}} года"
|
97
|
+
models:
|
98
|
+
errors:
|
99
|
+
template:
|
100
|
+
header:
|
101
|
+
one: "Данные «{{model}}» не могут быть сохранены из-за 1 ошибки"
|
102
|
+
other: "Данные «{{model}}» не могут быть сохранены из-за {{count}} ошибок"
|
103
|
+
body: "Допущены ошибки в следующих полях:"
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'bigdecimal'
|
2
|
-
|
3
1
|
module Padrino
|
4
2
|
module Helpers
|
5
3
|
##
|
@@ -180,7 +178,7 @@ module Padrino
|
|
180
178
|
delimiter ||= (options[:delimiter] || defaults[:delimiter])
|
181
179
|
|
182
180
|
begin
|
183
|
-
rounded_number =
|
181
|
+
rounded_number = (Float(number) * (10 ** precision)).round.to_f / 10 ** precision
|
184
182
|
number_with_delimiter("%01.#{precision}f" % rounded_number,
|
185
183
|
:separator => separator,
|
186
184
|
:delimiter => delimiter)
|
data/padrino-helpers.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{padrino-helpers}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.10"
|
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"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-04-22}
|
13
13
|
s.description = %q{Tag helpers, asset helpers, form helpers, form builders and many more helpers for padrino}
|
14
14
|
s.email = %q{padrinorb@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -21,16 +21,19 @@ Gem::Specification.new do |s|
|
|
21
21
|
"LICENSE",
|
22
22
|
"README.rdoc",
|
23
23
|
"Rakefile",
|
24
|
-
"VERSION",
|
25
24
|
"lib/padrino-helpers.rb",
|
26
25
|
"lib/padrino-helpers/asset_tag_helpers.rb",
|
27
26
|
"lib/padrino-helpers/form_builder/abstract_form_builder.rb",
|
28
27
|
"lib/padrino-helpers/form_builder/standard_form_builder.rb",
|
29
28
|
"lib/padrino-helpers/form_helpers.rb",
|
30
29
|
"lib/padrino-helpers/format_helpers.rb",
|
30
|
+
"lib/padrino-helpers/locale/da.yml",
|
31
31
|
"lib/padrino-helpers/locale/de.yml",
|
32
32
|
"lib/padrino-helpers/locale/en.yml",
|
33
|
+
"lib/padrino-helpers/locale/fr.yml",
|
33
34
|
"lib/padrino-helpers/locale/it.yml",
|
35
|
+
"lib/padrino-helpers/locale/pt_br.yml",
|
36
|
+
"lib/padrino-helpers/locale/ru.yml",
|
34
37
|
"lib/padrino-helpers/number_helpers.rb",
|
35
38
|
"lib/padrino-helpers/output_helpers.rb",
|
36
39
|
"lib/padrino-helpers/render_helpers.rb",
|
@@ -84,14 +87,14 @@ Gem::Specification.new do |s|
|
|
84
87
|
s.specification_version = 3
|
85
88
|
|
86
89
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
87
|
-
s.add_runtime_dependency(%q<padrino-core>, ["= 0.9.
|
90
|
+
s.add_runtime_dependency(%q<padrino-core>, ["= 0.9.10"])
|
88
91
|
s.add_development_dependency(%q<haml>, [">= 2.2.1"])
|
89
92
|
s.add_development_dependency(%q<shoulda>, [">= 2.10.3"])
|
90
93
|
s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
|
91
94
|
s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
|
92
95
|
s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
|
93
96
|
else
|
94
|
-
s.add_dependency(%q<padrino-core>, ["= 0.9.
|
97
|
+
s.add_dependency(%q<padrino-core>, ["= 0.9.10"])
|
95
98
|
s.add_dependency(%q<haml>, [">= 2.2.1"])
|
96
99
|
s.add_dependency(%q<shoulda>, [">= 2.10.3"])
|
97
100
|
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
@@ -99,7 +102,7 @@ Gem::Specification.new do |s|
|
|
99
102
|
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
100
103
|
end
|
101
104
|
else
|
102
|
-
s.add_dependency(%q<padrino-core>, ["= 0.9.
|
105
|
+
s.add_dependency(%q<padrino-core>, ["= 0.9.10"])
|
103
106
|
s.add_dependency(%q<haml>, [">= 2.2.1"])
|
104
107
|
s.add_dependency(%q<shoulda>, [">= 2.10.3"])
|
105
108
|
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 10
|
9
|
+
version: 0.9.10
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Padrino Team
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-
|
20
|
+
date: 2010-04-22 00:00:00 +02:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -30,8 +30,8 @@ dependencies:
|
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
- 9
|
33
|
-
-
|
34
|
-
version: 0.9.
|
33
|
+
- 10
|
34
|
+
version: 0.9.10
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -118,16 +118,19 @@ files:
|
|
118
118
|
- LICENSE
|
119
119
|
- README.rdoc
|
120
120
|
- Rakefile
|
121
|
-
- VERSION
|
122
121
|
- lib/padrino-helpers.rb
|
123
122
|
- lib/padrino-helpers/asset_tag_helpers.rb
|
124
123
|
- lib/padrino-helpers/form_builder/abstract_form_builder.rb
|
125
124
|
- lib/padrino-helpers/form_builder/standard_form_builder.rb
|
126
125
|
- lib/padrino-helpers/form_helpers.rb
|
127
126
|
- lib/padrino-helpers/format_helpers.rb
|
127
|
+
- lib/padrino-helpers/locale/da.yml
|
128
128
|
- lib/padrino-helpers/locale/de.yml
|
129
129
|
- lib/padrino-helpers/locale/en.yml
|
130
|
+
- lib/padrino-helpers/locale/fr.yml
|
130
131
|
- lib/padrino-helpers/locale/it.yml
|
132
|
+
- lib/padrino-helpers/locale/pt_br.yml
|
133
|
+
- lib/padrino-helpers/locale/ru.yml
|
131
134
|
- lib/padrino-helpers/number_helpers.rb
|
132
135
|
- lib/padrino-helpers/output_helpers.rb
|
133
136
|
- lib/padrino-helpers/render_helpers.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.9.9
|