scottmotte-merb-helpers 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/Rakefile +62 -0
- data/spec/spec_helper.rb +103 -0
- metadata +335 -0
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Scott Motte
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
require 'rake/gempackagetask'
|
4
|
+
require 'spec/rake/spectask'
|
5
|
+
require 'merb-core'
|
6
|
+
require 'merb-core/tasks/merb'
|
7
|
+
require 'merb-core/test/tasks/spectasks'
|
8
|
+
|
9
|
+
|
10
|
+
begin
|
11
|
+
require 'jeweler'
|
12
|
+
Jeweler::Tasks.new do |gem|
|
13
|
+
gem.name = "merb_auth_slice_multisite"
|
14
|
+
gem.summary = %Q{add multisite/subdomain functionality to your merb app on top of merb-auth}
|
15
|
+
gem.email = "scott@scottmotte.com"
|
16
|
+
gem.homepage = "http://github.com/scottmotte/merb_auth_slice_multisite"
|
17
|
+
gem.authors = ["scottmotte"]
|
18
|
+
|
19
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
20
|
+
end
|
21
|
+
rescue LoadError
|
22
|
+
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
23
|
+
end
|
24
|
+
|
25
|
+
require 'rake/testtask'
|
26
|
+
Rake::TestTask.new(:test) do |test|
|
27
|
+
test.libs << 'lib' << 'test'
|
28
|
+
test.pattern = 'test/**/*_test.rb'
|
29
|
+
test.verbose = false
|
30
|
+
end
|
31
|
+
|
32
|
+
begin
|
33
|
+
require 'rcov/rcovtask'
|
34
|
+
Rcov::RcovTask.new do |test|
|
35
|
+
test.libs << 'test'
|
36
|
+
test.pattern = 'test/**/*_test.rb'
|
37
|
+
test.verbose = true
|
38
|
+
end
|
39
|
+
rescue LoadError
|
40
|
+
task :rcov do
|
41
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
require 'rake/rdoctask'
|
46
|
+
Rake::RDocTask.new do |rdoc|
|
47
|
+
if File.exist?('VERSION.yml')
|
48
|
+
config = YAML.load(File.read('VERSION.yml'))
|
49
|
+
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
|
50
|
+
else
|
51
|
+
version = ""
|
52
|
+
end
|
53
|
+
|
54
|
+
rdoc.rdoc_dir = 'rdoc'
|
55
|
+
rdoc.title = "merb_auth_slice_multisite #{version}"
|
56
|
+
rdoc.rdoc_files.include('README*')
|
57
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
58
|
+
end
|
59
|
+
|
60
|
+
|
61
|
+
desc 'Default: run spec examples'
|
62
|
+
task :default => 'spec'
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'merb-core'
|
3
|
+
require 'merb-slices'
|
4
|
+
require 'spec'
|
5
|
+
require 'dm-core'
|
6
|
+
require 'dm-validations'
|
7
|
+
|
8
|
+
# Add merb_auth_slice_multisite.rb to the search path
|
9
|
+
Merb::Plugins.config[:merb_slices][:auto_register] = true
|
10
|
+
Merb::Plugins.config[:merb_slices][:search_path] = File.join(File.dirname(__FILE__), '..', 'lib', 'merb_auth_slice_multisite.rb')
|
11
|
+
|
12
|
+
# Require merb_auth_slice_multisite.rb explicitly so any dependencies are loaded
|
13
|
+
require Merb::Plugins.config[:merb_slices][:search_path]
|
14
|
+
|
15
|
+
# Using Merb.root below makes sure that the correct root is set for
|
16
|
+
# - testing standalone, without being installed as a gem and no host application
|
17
|
+
# - testing from within the host application; its root will be used
|
18
|
+
Merb.start_environment(
|
19
|
+
:testing => true,
|
20
|
+
:adapter => 'runner',
|
21
|
+
:environment => ENV['MERB_ENV'] || 'test',
|
22
|
+
:session_store => 'memory'
|
23
|
+
)
|
24
|
+
|
25
|
+
module Merb
|
26
|
+
module Test
|
27
|
+
module SliceHelper
|
28
|
+
|
29
|
+
# The absolute path to the current slice
|
30
|
+
def current_slice_root
|
31
|
+
@current_slice_root ||= File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
32
|
+
end
|
33
|
+
|
34
|
+
# Whether the specs are being run from a host application or standalone
|
35
|
+
def standalone?
|
36
|
+
Merb.root == ::MerbAuthSliceMultisite.root
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
Spec::Runner.configure do |config|
|
44
|
+
config.include(Merb::Test::ViewHelper)
|
45
|
+
config.include(Merb::Test::RouteHelper)
|
46
|
+
config.include(Merb::Test::ControllerHelper)
|
47
|
+
config.include(Merb::Test::SliceHelper)
|
48
|
+
|
49
|
+
config.before(:all) do
|
50
|
+
DataMapper.auto_migrate! if Merb.orm == :datamapper
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# You can add your own helpers here
|
55
|
+
#
|
56
|
+
Merb::Test.add_helpers do
|
57
|
+
def mount_slice
|
58
|
+
Merb::Router.prepare { add_slice(:MerbAuthSliceMultisite, "merb_auth_slice_multisite") } if standalone?
|
59
|
+
end
|
60
|
+
|
61
|
+
def dismount_slice
|
62
|
+
Merb::Router.reset! if standalone?
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# =============================================================================
|
67
|
+
# SITE STUFF
|
68
|
+
# =============================================================================
|
69
|
+
def valid_site_attributes(options = {})
|
70
|
+
{
|
71
|
+
:domain => 'http://www.example.org',
|
72
|
+
:subdomain => 'example',
|
73
|
+
:id => 1
|
74
|
+
}.merge(options)
|
75
|
+
end
|
76
|
+
|
77
|
+
def valid_second_site_attributes(options = {})
|
78
|
+
{
|
79
|
+
:domain => 'http://www.example2.org',
|
80
|
+
:subdomain => 'example2',
|
81
|
+
:active => true,
|
82
|
+
:id => 2
|
83
|
+
}.merge(options)
|
84
|
+
end
|
85
|
+
|
86
|
+
def valid_third_site_attributes(options = {})
|
87
|
+
{
|
88
|
+
:domain => 'http://www.example3.org',
|
89
|
+
:subdomain => 'example3',
|
90
|
+
:active => true,
|
91
|
+
:id => 3
|
92
|
+
}.merge(options)
|
93
|
+
end
|
94
|
+
|
95
|
+
# =============================================================================
|
96
|
+
# USER STUFF - see init.rb for where this gets spoofed
|
97
|
+
# =============================================================================
|
98
|
+
def valid_user_attributes(options = {})
|
99
|
+
{ :login => 'fred',
|
100
|
+
:email => 'fred@example.com',
|
101
|
+
:site_id => 1
|
102
|
+
}.merge(options)
|
103
|
+
end
|
metadata
ADDED
@@ -0,0 +1,335 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: scottmotte-merb-helpers
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.10
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael D. Ivey
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-03-18 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: merb-core
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.0.10
|
24
|
+
version:
|
25
|
+
description: Helper support for Merb
|
26
|
+
email: ivey@gweezlebur.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README
|
33
|
+
- LICENSE
|
34
|
+
- TODO
|
35
|
+
files:
|
36
|
+
- LICENSE
|
37
|
+
- README
|
38
|
+
- Rakefile
|
39
|
+
- TODO
|
40
|
+
- lib/merb-helpers
|
41
|
+
- lib/merb-helpers/core_ext
|
42
|
+
- lib/merb-helpers/core_ext/numeric.rb
|
43
|
+
- lib/merb-helpers/core_ext.rb
|
44
|
+
- lib/merb-helpers/date_time_formatting.rb
|
45
|
+
- lib/merb-helpers/date_time_helpers.rb
|
46
|
+
- lib/merb-helpers/form
|
47
|
+
- lib/merb-helpers/form/builder.rb
|
48
|
+
- lib/merb-helpers/form/helpers.rb
|
49
|
+
- lib/merb-helpers/form_helpers.rb
|
50
|
+
- lib/merb-helpers/tag_helpers.rb
|
51
|
+
- lib/merb-helpers/text_helpers.rb
|
52
|
+
- lib/merb-helpers/time_dsl.rb
|
53
|
+
- lib/merb-helpers.rb
|
54
|
+
- spec/core_ext_spec.rb
|
55
|
+
- spec/fixture
|
56
|
+
- spec/fixture/app
|
57
|
+
- spec/fixture/app/controllers
|
58
|
+
- spec/fixture/app/controllers/application.rb
|
59
|
+
- spec/fixture/app/controllers/bound_check_box.rb
|
60
|
+
- spec/fixture/app/controllers/bound_file_field.rb
|
61
|
+
- spec/fixture/app/controllers/bound_hidden_field.rb
|
62
|
+
- spec/fixture/app/controllers/bound_option_tag.rb
|
63
|
+
- spec/fixture/app/controllers/bound_password_field.rb
|
64
|
+
- spec/fixture/app/controllers/bound_radio_button.rb
|
65
|
+
- spec/fixture/app/controllers/bound_radio_group.rb
|
66
|
+
- spec/fixture/app/controllers/bound_select.rb
|
67
|
+
- spec/fixture/app/controllers/bound_text_area.rb
|
68
|
+
- spec/fixture/app/controllers/bound_text_field.rb
|
69
|
+
- spec/fixture/app/controllers/button.rb
|
70
|
+
- spec/fixture/app/controllers/check_box.rb
|
71
|
+
- spec/fixture/app/controllers/custom_builder.rb
|
72
|
+
- spec/fixture/app/controllers/delete_button.rb
|
73
|
+
- spec/fixture/app/controllers/exceptions.rb
|
74
|
+
- spec/fixture/app/controllers/field_set.rb
|
75
|
+
- spec/fixture/app/controllers/fields_for.rb
|
76
|
+
- spec/fixture/app/controllers/file_field.rb
|
77
|
+
- spec/fixture/app/controllers/foo.rb
|
78
|
+
- spec/fixture/app/controllers/form.rb
|
79
|
+
- spec/fixture/app/controllers/form_for.rb
|
80
|
+
- spec/fixture/app/controllers/hacker.rb
|
81
|
+
- spec/fixture/app/controllers/hidden_field.rb
|
82
|
+
- spec/fixture/app/controllers/label.rb
|
83
|
+
- spec/fixture/app/controllers/numeric_ext.rb
|
84
|
+
- spec/fixture/app/controllers/option_tag.rb
|
85
|
+
- spec/fixture/app/controllers/password_field.rb
|
86
|
+
- spec/fixture/app/controllers/radio_button.rb
|
87
|
+
- spec/fixture/app/controllers/radio_group.rb
|
88
|
+
- spec/fixture/app/controllers/relative_date.rb
|
89
|
+
- spec/fixture/app/controllers/relative_date_span.rb
|
90
|
+
- spec/fixture/app/controllers/select.rb
|
91
|
+
- spec/fixture/app/controllers/specs_controller.rb
|
92
|
+
- spec/fixture/app/controllers/submit.rb
|
93
|
+
- spec/fixture/app/controllers/tag_helper.rb
|
94
|
+
- spec/fixture/app/controllers/text_area.rb
|
95
|
+
- spec/fixture/app/controllers/text_field.rb
|
96
|
+
- spec/fixture/app/helpers
|
97
|
+
- spec/fixture/app/helpers/global_helpers.rb
|
98
|
+
- spec/fixture/app/models
|
99
|
+
- spec/fixture/app/models/fake_dm_model.rb
|
100
|
+
- spec/fixture/app/models/first_generic_fake_model.rb
|
101
|
+
- spec/fixture/app/models/hacker_generic_model.rb
|
102
|
+
- spec/fixture/app/models/second_generic_fake_model.rb
|
103
|
+
- spec/fixture/app/models/third_generic_fake_model.rb
|
104
|
+
- spec/fixture/app/views
|
105
|
+
- spec/fixture/app/views/bound_check_box_specs
|
106
|
+
- spec/fixture/app/views/bound_check_box_specs/basic.html.erb
|
107
|
+
- spec/fixture/app/views/bound_check_box_specs/basic_unchecked.html.erb
|
108
|
+
- spec/fixture/app/views/bound_check_box_specs/checked.html.erb
|
109
|
+
- spec/fixture/app/views/bound_check_box_specs/errors.html.erb
|
110
|
+
- spec/fixture/app/views/bound_check_box_specs/label.html.erb
|
111
|
+
- spec/fixture/app/views/bound_check_box_specs/on_and_off.html.erb
|
112
|
+
- spec/fixture/app/views/bound_check_box_specs/raise_value_error.html.erb
|
113
|
+
- spec/fixture/app/views/bound_file_field_specs
|
114
|
+
- spec/fixture/app/views/bound_file_field_specs/additional_attributes.html.erb
|
115
|
+
- spec/fixture/app/views/bound_file_field_specs/takes_string.html.erb
|
116
|
+
- spec/fixture/app/views/bound_file_field_specs/with_label.html.erb
|
117
|
+
- spec/fixture/app/views/bound_hidden_field_specs
|
118
|
+
- spec/fixture/app/views/bound_hidden_field_specs/basic.html.erb
|
119
|
+
- spec/fixture/app/views/bound_hidden_field_specs/errors.html.erb
|
120
|
+
- spec/fixture/app/views/bound_hidden_field_specs/hidden_error.html.erb
|
121
|
+
- spec/fixture/app/views/bound_hidden_field_specs/label.html.erb
|
122
|
+
- spec/fixture/app/views/bound_option_tag_specs
|
123
|
+
- spec/fixture/app/views/bound_option_tag_specs/grouped.html.erb
|
124
|
+
- spec/fixture/app/views/bound_option_tag_specs/nested.html.erb
|
125
|
+
- spec/fixture/app/views/bound_option_tag_specs/text_and_value.html.erb
|
126
|
+
- spec/fixture/app/views/bound_password_field_specs
|
127
|
+
- spec/fixture/app/views/bound_password_field_specs/attributes.html.erb
|
128
|
+
- spec/fixture/app/views/bound_password_field_specs/basic.html.erb
|
129
|
+
- spec/fixture/app/views/bound_password_field_specs/label.html.erb
|
130
|
+
- spec/fixture/app/views/bound_radio_button_specs
|
131
|
+
- spec/fixture/app/views/bound_radio_button_specs/basic.html.erb
|
132
|
+
- spec/fixture/app/views/bound_radio_group_specs
|
133
|
+
- spec/fixture/app/views/bound_radio_group_specs/basic.html.erb
|
134
|
+
- spec/fixture/app/views/bound_radio_group_specs/hashes.html.erb
|
135
|
+
- spec/fixture/app/views/bound_radio_group_specs/mixed.html.erb
|
136
|
+
- spec/fixture/app/views/bound_radio_group_specs/override_id.html.erb
|
137
|
+
- spec/fixture/app/views/bound_select_specs
|
138
|
+
- spec/fixture/app/views/bound_select_specs/basic.html.erb
|
139
|
+
- spec/fixture/app/views/bound_select_specs/blank.html.erb
|
140
|
+
- spec/fixture/app/views/bound_select_specs/label.html.erb
|
141
|
+
- spec/fixture/app/views/bound_select_specs/multiple.html.erb
|
142
|
+
- spec/fixture/app/views/bound_select_specs/prompt.html.erb
|
143
|
+
- spec/fixture/app/views/bound_select_specs/with_options.html.erb
|
144
|
+
- spec/fixture/app/views/bound_select_specs/with_options_with_blank.html.erb
|
145
|
+
- spec/fixture/app/views/bound_text_area_specs
|
146
|
+
- spec/fixture/app/views/bound_text_area_specs/basic.html.erb
|
147
|
+
- spec/fixture/app/views/bound_text_area_specs/label.html.erb
|
148
|
+
- spec/fixture/app/views/bound_text_field_specs
|
149
|
+
- spec/fixture/app/views/bound_text_field_specs/basic.html.erb
|
150
|
+
- spec/fixture/app/views/button_specs
|
151
|
+
- spec/fixture/app/views/button_specs/button_with_label.html.erb
|
152
|
+
- spec/fixture/app/views/button_specs/button_with_values.html.erb
|
153
|
+
- spec/fixture/app/views/button_specs/disabled_button.html.erb
|
154
|
+
- spec/fixture/app/views/check_box_specs
|
155
|
+
- spec/fixture/app/views/check_box_specs/basic.html.erb
|
156
|
+
- spec/fixture/app/views/check_box_specs/boolean.html.erb
|
157
|
+
- spec/fixture/app/views/check_box_specs/disabled.html.erb
|
158
|
+
- spec/fixture/app/views/check_box_specs/label.html.erb
|
159
|
+
- spec/fixture/app/views/check_box_specs/on_off_is_boolean.html.erb
|
160
|
+
- spec/fixture/app/views/check_box_specs/raise_unless_both_on_and_off.html.erb
|
161
|
+
- spec/fixture/app/views/check_box_specs/raises_error_if_not_boolean.html.erb
|
162
|
+
- spec/fixture/app/views/check_box_specs/raises_error_if_on_off_and_boolean_false.html.erb
|
163
|
+
- spec/fixture/app/views/check_box_specs/simple.html.erb
|
164
|
+
- spec/fixture/app/views/check_box_specs/to_string.html.erb
|
165
|
+
- spec/fixture/app/views/check_box_specs/unchecked.html.erb
|
166
|
+
- spec/fixture/app/views/custom_builder_specs
|
167
|
+
- spec/fixture/app/views/custom_builder_specs/everything.html.erb
|
168
|
+
- spec/fixture/app/views/delete_button_specs
|
169
|
+
- spec/fixture/app/views/delete_button_specs/delete_with_explicit_url.html.erb
|
170
|
+
- spec/fixture/app/views/delete_button_specs/delete_with_extra_params.html.erb
|
171
|
+
- spec/fixture/app/views/delete_button_specs/delete_with_label.html.erb
|
172
|
+
- spec/fixture/app/views/delete_button_specs/simple_delete.html.erb
|
173
|
+
- spec/fixture/app/views/exeptions
|
174
|
+
- spec/fixture/app/views/exeptions/client_error.html.erb
|
175
|
+
- spec/fixture/app/views/exeptions/internal_server_error.html.erb
|
176
|
+
- spec/fixture/app/views/exeptions/not_acceptable.html.erb
|
177
|
+
- spec/fixture/app/views/exeptions/not_found.html.erb
|
178
|
+
- spec/fixture/app/views/fields_for_specs
|
179
|
+
- spec/fixture/app/views/fields_for_specs/basic.html.erb
|
180
|
+
- spec/fixture/app/views/fields_for_specs/midstream.html.erb
|
181
|
+
- spec/fixture/app/views/fields_for_specs/nil.html.erb
|
182
|
+
- spec/fixture/app/views/fieldset_specs
|
183
|
+
- spec/fixture/app/views/fieldset_specs/legend.html.erb
|
184
|
+
- spec/fixture/app/views/file_field_specs
|
185
|
+
- spec/fixture/app/views/file_field_specs/disabled.html.erb
|
186
|
+
- spec/fixture/app/views/file_field_specs/makes_multipart.html.erb
|
187
|
+
- spec/fixture/app/views/file_field_specs/with_label.html.erb
|
188
|
+
- spec/fixture/app/views/file_field_specs/with_values.html.erb
|
189
|
+
- spec/fixture/app/views/foo
|
190
|
+
- spec/fixture/app/views/foo/bar.html.erb
|
191
|
+
- spec/fixture/app/views/form_for_specs
|
192
|
+
- spec/fixture/app/views/form_for_specs/basic.html.erb
|
193
|
+
- spec/fixture/app/views/form_specs
|
194
|
+
- spec/fixture/app/views/form_specs/create_a_form.html.erb
|
195
|
+
- spec/fixture/app/views/form_specs/create_a_multipart_form.html.erb
|
196
|
+
- spec/fixture/app/views/form_specs/fake_delete_if_set.html.erb
|
197
|
+
- spec/fixture/app/views/form_specs/fake_put_if_set.html.erb
|
198
|
+
- spec/fixture/app/views/form_specs/get_if_set.html.erb
|
199
|
+
- spec/fixture/app/views/form_specs/post_by_default.html.erb
|
200
|
+
- spec/fixture/app/views/form_specs/resourceful_form.html.erb
|
201
|
+
- spec/fixture/app/views/hacker
|
202
|
+
- spec/fixture/app/views/hacker/file_field.html.erb
|
203
|
+
- spec/fixture/app/views/hacker/hidden_field.html.erb
|
204
|
+
- spec/fixture/app/views/hacker/option_tag.html.erb
|
205
|
+
- spec/fixture/app/views/hacker/password_field.html.erb
|
206
|
+
- spec/fixture/app/views/hacker/radio_button.html.erb
|
207
|
+
- spec/fixture/app/views/hacker/radio_group.html.erb
|
208
|
+
- spec/fixture/app/views/hacker/text_area.html.erb
|
209
|
+
- spec/fixture/app/views/hacker/text_field.html.erb
|
210
|
+
- spec/fixture/app/views/hidden_field_specs
|
211
|
+
- spec/fixture/app/views/hidden_field_specs/basic.html.erb
|
212
|
+
- spec/fixture/app/views/hidden_field_specs/disabled.html.erb
|
213
|
+
- spec/fixture/app/views/hidden_field_specs/label.html.erb
|
214
|
+
- spec/fixture/app/views/label_specs
|
215
|
+
- spec/fixture/app/views/label_specs/basic.html.erb
|
216
|
+
- spec/fixture/app/views/label_specs/basic_with_attributes.html.erb
|
217
|
+
- spec/fixture/app/views/label_specs/basic_with_class.html.erb
|
218
|
+
- spec/fixture/app/views/layout
|
219
|
+
- spec/fixture/app/views/layout/application.html.erb
|
220
|
+
- spec/fixture/app/views/numeric_ext_specs
|
221
|
+
- spec/fixture/app/views/numeric_ext_specs/minutes_to_hours.html.erb
|
222
|
+
- spec/fixture/app/views/numeric_ext_specs/to_concurrency_default.html.erb
|
223
|
+
- spec/fixture/app/views/numeric_ext_specs/two_digits.html.erb
|
224
|
+
- spec/fixture/app/views/option_tag_specs
|
225
|
+
- spec/fixture/app/views/option_tag_specs/array.html.erb
|
226
|
+
- spec/fixture/app/views/option_tag_specs/clean.html.erb
|
227
|
+
- spec/fixture/app/views/option_tag_specs/collection.html.erb
|
228
|
+
- spec/fixture/app/views/option_tag_specs/multiple_selects.html.erb
|
229
|
+
- spec/fixture/app/views/option_tag_specs/no_extra_attributes.html.erb
|
230
|
+
- spec/fixture/app/views/option_tag_specs/optgroups.html.erb
|
231
|
+
- spec/fixture/app/views/option_tag_specs/selected.html.erb
|
232
|
+
- spec/fixture/app/views/option_tag_specs/with_blank.html.erb
|
233
|
+
- spec/fixture/app/views/option_tag_specs/with_prompt.html.erb
|
234
|
+
- spec/fixture/app/views/password_field_specs
|
235
|
+
- spec/fixture/app/views/password_field_specs/basic.html.erb
|
236
|
+
- spec/fixture/app/views/password_field_specs/disabled.html.erb
|
237
|
+
- spec/fixture/app/views/radio_button_specs
|
238
|
+
- spec/fixture/app/views/radio_button_specs/basic.html.erb
|
239
|
+
- spec/fixture/app/views/radio_button_specs/checked.html.erb
|
240
|
+
- spec/fixture/app/views/radio_button_specs/disabled.html.erb
|
241
|
+
- spec/fixture/app/views/radio_button_specs/label.html.erb
|
242
|
+
- spec/fixture/app/views/radio_button_specs/unchecked.html.erb
|
243
|
+
- spec/fixture/app/views/radio_group_specs
|
244
|
+
- spec/fixture/app/views/radio_group_specs/attributes.html.erb
|
245
|
+
- spec/fixture/app/views/radio_group_specs/basic.html.erb
|
246
|
+
- spec/fixture/app/views/radio_group_specs/checked.html.erb
|
247
|
+
- spec/fixture/app/views/radio_group_specs/hash.html.erb
|
248
|
+
- spec/fixture/app/views/radio_group_specs/specific_attributes.html.erb
|
249
|
+
- spec/fixture/app/views/relative_date_span_specs
|
250
|
+
- spec/fixture/app/views/relative_date_span_specs/date_span_on_same_day.html.erb
|
251
|
+
- spec/fixture/app/views/relative_date_span_specs/date_span_on_same_day_on_different_year.html.erb
|
252
|
+
- spec/fixture/app/views/relative_date_specs
|
253
|
+
- spec/fixture/app/views/relative_date_specs/relative_date_with_year.html.erb
|
254
|
+
- spec/fixture/app/views/relative_date_specs/relative_date_without_year.html.erb
|
255
|
+
- spec/fixture/app/views/relative_date_specs/relative_today.html.erb
|
256
|
+
- spec/fixture/app/views/relative_date_specs/relative_tomorrow.html.erb
|
257
|
+
- spec/fixture/app/views/relative_date_specs/relative_yesterday.html.erb
|
258
|
+
- spec/fixture/app/views/select_specs
|
259
|
+
- spec/fixture/app/views/select_specs/basic.html.erb
|
260
|
+
- spec/fixture/app/views/select_specs/blank.html.erb
|
261
|
+
- spec/fixture/app/views/select_specs/multiple.html.erb
|
262
|
+
- spec/fixture/app/views/select_specs/selected.html.erb
|
263
|
+
- spec/fixture/app/views/submit_specs
|
264
|
+
- spec/fixture/app/views/submit_specs/disabled_submit.html.erb
|
265
|
+
- spec/fixture/app/views/submit_specs/submit_with_label.html.erb
|
266
|
+
- spec/fixture/app/views/submit_specs/submit_with_values.html.erb
|
267
|
+
- spec/fixture/app/views/tag_helper
|
268
|
+
- spec/fixture/app/views/tag_helper/nested_tags.html.erb
|
269
|
+
- spec/fixture/app/views/tag_helper/tag_with_attributes.html.erb
|
270
|
+
- spec/fixture/app/views/tag_helper/tag_with_content.html.erb
|
271
|
+
- spec/fixture/app/views/tag_helper/tag_with_content_in_the_block.html.erb
|
272
|
+
- spec/fixture/app/views/text_area_specs
|
273
|
+
- spec/fixture/app/views/text_area_specs/basic.html.erb
|
274
|
+
- spec/fixture/app/views/text_area_specs/disabled.html.erb
|
275
|
+
- spec/fixture/app/views/text_area_specs/label.html.erb
|
276
|
+
- spec/fixture/app/views/text_area_specs/nil.html.erb
|
277
|
+
- spec/fixture/app/views/text_field_specs
|
278
|
+
- spec/fixture/app/views/text_field_specs/basic.html.erb
|
279
|
+
- spec/fixture/app/views/text_field_specs/class.html.erb
|
280
|
+
- spec/fixture/app/views/text_field_specs/disabled.html.erb
|
281
|
+
- spec/fixture/app/views/text_field_specs/label.html.erb
|
282
|
+
- spec/fixture/app/views/text_field_specs/symbolized_name.html.erb
|
283
|
+
- spec/fixture/config
|
284
|
+
- spec/fixture/config/environments
|
285
|
+
- spec/fixture/config/environments/development.rb
|
286
|
+
- spec/fixture/config/environments/production.rb
|
287
|
+
- spec/fixture/config/environments/test.rb
|
288
|
+
- spec/fixture/config/init.rb
|
289
|
+
- spec/fixture/config/rack.rb
|
290
|
+
- spec/fixture/config/router.rb
|
291
|
+
- spec/fixture/public
|
292
|
+
- spec/fixture/public/images
|
293
|
+
- spec/fixture/public/images/merb.jpg
|
294
|
+
- spec/fixture/public/merb.fcgi
|
295
|
+
- spec/fixture/public/stylesheets
|
296
|
+
- spec/fixture/public/stylesheets/master.css
|
297
|
+
- spec/merb.main.pid
|
298
|
+
- spec/merb_helpers_config_spec.rb
|
299
|
+
- spec/merb_helpers_date_time_spec.rb
|
300
|
+
- spec/merb_helpers_form_spec.rb
|
301
|
+
- spec/merb_helpers_tag_helper_spec.rb
|
302
|
+
- spec/merb_helpers_text_spec.rb
|
303
|
+
- spec/merb_test.log
|
304
|
+
- spec/numeric_extlib_spec.rb
|
305
|
+
- spec/ordinalize_spec.rb
|
306
|
+
- spec/spec_helper.rb
|
307
|
+
- spec/time_dsl_spec.rb
|
308
|
+
has_rdoc: true
|
309
|
+
homepage: http://merbivore.com
|
310
|
+
post_install_message:
|
311
|
+
rdoc_options: []
|
312
|
+
|
313
|
+
require_paths:
|
314
|
+
- lib
|
315
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
316
|
+
requirements:
|
317
|
+
- - ">="
|
318
|
+
- !ruby/object:Gem::Version
|
319
|
+
version: "0"
|
320
|
+
version:
|
321
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
|
+
requirements:
|
323
|
+
- - ">="
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
version: "0"
|
326
|
+
version:
|
327
|
+
requirements: []
|
328
|
+
|
329
|
+
rubyforge_project: merb
|
330
|
+
rubygems_version: 1.2.0
|
331
|
+
signing_key:
|
332
|
+
specification_version: 3
|
333
|
+
summary: Helper support for Merb
|
334
|
+
test_files: []
|
335
|
+
|