sinatra_more 0.3.40 → 0.3.41
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +8 -0
- data/Gemfile.lock +51 -0
- data/README.rdoc +5 -10
- data/Rakefile +1 -3
- data/VERSION +1 -1
- data/lib/sinatra_more/markup_plugin/form_helpers.rb +2 -2
- data/sinatra_more.gemspec +225 -162
- data/test/active_support_helpers.rb +1 -0
- data/test/markup_plugin/test_asset_tag_helpers.rb +5 -5
- data/test/markup_plugin/test_form_helpers.rb +2 -2
- metadata +402 -52
- data/.gitignore +0 -23
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
sinatra_more (0.3.40)
|
5
|
+
activesupport (< 3.0.0)
|
6
|
+
bundler (>= 0.9.2)
|
7
|
+
jeweler
|
8
|
+
sinatra (>= 0.9.2)
|
9
|
+
sinatra_more
|
10
|
+
thor (>= 0.11.8)
|
11
|
+
tilt (>= 0.2)
|
12
|
+
|
13
|
+
GEM
|
14
|
+
remote: http://rubygems.org/
|
15
|
+
specs:
|
16
|
+
activesupport (2.3.10)
|
17
|
+
git (1.2.5)
|
18
|
+
haml (3.0.25)
|
19
|
+
jeweler (1.5.2)
|
20
|
+
bundler (~> 1.0.0)
|
21
|
+
git (>= 1.2.5)
|
22
|
+
rake
|
23
|
+
mocha (0.9.10)
|
24
|
+
rake
|
25
|
+
nokogiri (1.4.4)
|
26
|
+
rack (1.2.1)
|
27
|
+
rack-test (0.5.7)
|
28
|
+
rack (>= 1.0)
|
29
|
+
rake (0.8.7)
|
30
|
+
shoulda (2.11.3)
|
31
|
+
sinatra (1.1.2)
|
32
|
+
rack (~> 1.1)
|
33
|
+
tilt (~> 1.2)
|
34
|
+
thor (0.14.6)
|
35
|
+
tilt (1.2.2)
|
36
|
+
webrat (0.7.3)
|
37
|
+
nokogiri (>= 1.2.0)
|
38
|
+
rack (>= 1.0)
|
39
|
+
rack-test (>= 0.5.3)
|
40
|
+
|
41
|
+
PLATFORMS
|
42
|
+
ruby
|
43
|
+
|
44
|
+
DEPENDENCIES
|
45
|
+
haml (>= 2.2.14)
|
46
|
+
jeweler
|
47
|
+
mocha (>= 0.9.7)
|
48
|
+
rack-test (>= 0.5.0)
|
49
|
+
shoulda (>= 2.10.2)
|
50
|
+
sinatra_more!
|
51
|
+
webrat (>= 0.5.1)
|
data/README.rdoc
CHANGED
@@ -2,20 +2,15 @@
|
|
2
2
|
|
3
3
|
== Notice
|
4
4
|
|
5
|
-
Worth noting here that sinatra_more is still undergoing bug fixes and
|
6
|
-
However, I want to point out that this project is essentially made obsolete by another project that
|
7
|
-
I am working on (with DAddYE and others) called the {Padrino Framework}[http://github.com/padrino/padrino-framework].
|
5
|
+
Worth noting here is that sinatra_more is still undergoing minor bug fixes and I will manage pull requests but _development has stopped_. The reason for this is that this project has been superseded by another project called the {Padrino Framework}[http://www.padrinorb.com].
|
8
6
|
|
9
|
-
{Padrino}[http://
|
7
|
+
{Padrino}[http://www.padrinorb.com] is definately the place to look in the future
|
10
8
|
for a modular extension to Sinatra. Note that {Padrino}[http://github.com/padrino/padrino-framework] contains
|
11
|
-
everything from sinatra_more but is far more
|
9
|
+
everything from sinatra_more but is far more ambitious and larger in scope.
|
12
10
|
|
13
|
-
Padrino is
|
14
|
-
and follow that philosophy but to super-charge the functionality adding support for
|
15
|
-
development code reloading, advanced route definitions, I18n localization support, baked-in orm support, baked-in code generators, multi-app support, admin dashboard, authentication logic, view helpers, and more.
|
11
|
+
Padrino development is already well underway towards a 1.0 release, has a larger number of core developers, and a number of production applications have already been deployed. The idea for Padrino is to start with Sinatra and follow that philosophy but to super-charge the functionality adding support for development code reloading, advanced route definitions, I18n localization support, baked-in orm support, baked-in code generators, multi-app support, admin dashboard, authentication logic, view helpers, and more.
|
16
12
|
|
17
|
-
Feel free to
|
18
|
-
let us know what you think!
|
13
|
+
Feel free to watch or play with sinatra_more but I would recommend switching your eyes to Padrino if you want a more robust extension solution for Sinatra. Be sure to join us on the #padrino irc channel on freenode, and check out the {Padrino Guides}[http://www.padrinorb.com/guides] for more information.
|
19
14
|
|
20
15
|
== Preface
|
21
16
|
|
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ begin
|
|
15
15
|
gem.add_runtime_dependency "sinatra", ">= 0.9.2"
|
16
16
|
gem.add_runtime_dependency "tilt", ">= 0.2"
|
17
17
|
gem.add_runtime_dependency "thor", ">= 0.11.8"
|
18
|
-
gem.add_runtime_dependency "activesupport", "
|
18
|
+
gem.add_runtime_dependency "activesupport", "< 3.0.0"
|
19
19
|
gem.add_runtime_dependency "bundler", ">= 0.9.2"
|
20
20
|
gem.add_development_dependency "haml", ">= 2.2.14"
|
21
21
|
gem.add_development_dependency "shoulda", ">= 2.10.2"
|
@@ -48,8 +48,6 @@ rescue LoadError
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
task :test => :check_dependencies
|
52
|
-
|
53
51
|
task :default => :test
|
54
52
|
|
55
53
|
require 'rake/rdoctask'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.41
|
@@ -162,10 +162,10 @@ module SinatraMore
|
|
162
162
|
# Returns the options tags for a select based on the given option items
|
163
163
|
def options_for_select(option_items, selected_value=nil)
|
164
164
|
return '' if option_items.blank?
|
165
|
-
option_items.collect
|
165
|
+
option_items.collect { |caption, value|
|
166
166
|
value ||= caption
|
167
167
|
content_tag(:option, caption, :value => value, :selected => selected_value.to_s =~ /#{value}|#{caption}/)
|
168
|
-
|
168
|
+
}.join("\n")
|
169
169
|
end
|
170
170
|
|
171
171
|
# returns the hidden method field for 'put' and 'delete' forms
|
data/sinatra_more.gemspec
CHANGED
@@ -1,196 +1,217 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sinatra_more}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.41"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Nathan Esquenazi"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-01-21}
|
13
13
|
s.default_executable = %q{sinatra_gen}
|
14
14
|
s.description = %q{Expands sinatra with standard helpers and tools to allow for complex applications}
|
15
15
|
s.email = %q{nesquena@gmail.com}
|
16
16
|
s.executables = ["sinatra_gen"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
|
20
|
-
|
19
|
+
"README.rdoc",
|
20
|
+
"TODO"
|
21
21
|
]
|
22
22
|
s.files = [
|
23
23
|
".document",
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
24
|
+
"Gemfile",
|
25
|
+
"Gemfile.lock",
|
26
|
+
"IDEAS.md",
|
27
|
+
"LICENSE",
|
28
|
+
"README.rdoc",
|
29
|
+
"ROADMAP",
|
30
|
+
"Rakefile",
|
31
|
+
"TODO",
|
32
|
+
"VERSION",
|
33
|
+
"bin/sinatra_gen",
|
34
|
+
"generators/base_app/.gitignore",
|
35
|
+
"generators/base_app/Gemfile",
|
36
|
+
"generators/base_app/app/.empty_directory",
|
37
|
+
"generators/base_app/app/helpers/.empty_directory",
|
38
|
+
"generators/base_app/app/helpers/view_helpers.rb",
|
39
|
+
"generators/base_app/app/mailers/.empty_directory",
|
40
|
+
"generators/base_app/app/models/.empty_directory",
|
41
|
+
"generators/base_app/app/routes/.empty_directory",
|
42
|
+
"generators/base_app/app/routes/main.rb.tt",
|
43
|
+
"generators/base_app/app/views/.empty_directory",
|
44
|
+
"generators/base_app/config.ru.tt",
|
45
|
+
"generators/base_app/config/boot.rb.tt",
|
46
|
+
"generators/base_app/config/dependencies.rb.tt",
|
47
|
+
"generators/base_app/lib/.empty_directory",
|
48
|
+
"generators/base_app/log/.empty_directory",
|
49
|
+
"generators/base_app/public/images/.empty_directory",
|
50
|
+
"generators/base_app/public/images/.gitignore",
|
51
|
+
"generators/base_app/public/javascripts/.empty_directory",
|
52
|
+
"generators/base_app/public/stylesheets/.empty_directory",
|
53
|
+
"generators/base_app/test/models/.empty_directory",
|
54
|
+
"generators/base_app/test/routes/.empty_directory",
|
55
|
+
"generators/base_app/test/test_config.rb.tt",
|
56
|
+
"generators/base_app/tmp/.empty_directory",
|
57
|
+
"generators/base_app/vendor/gems/.empty_directory",
|
58
|
+
"generators/components/component_actions.rb",
|
59
|
+
"generators/components/files/jquery-1.3.2.min.js",
|
60
|
+
"generators/components/files/lowpro.js",
|
61
|
+
"generators/components/files/prototype.js",
|
62
|
+
"generators/components/files/right-min.js",
|
63
|
+
"generators/components/files/right-olds-min.js",
|
64
|
+
"generators/components/mocks/mocha_mock_gen.rb",
|
65
|
+
"generators/components/mocks/rr_mock_gen.rb",
|
66
|
+
"generators/components/orms/activerecord_orm_gen.rb",
|
67
|
+
"generators/components/orms/couchrest_orm_gen.rb",
|
68
|
+
"generators/components/orms/datamapper_orm_gen.rb",
|
69
|
+
"generators/components/orms/mongomapper_orm_gen.rb",
|
70
|
+
"generators/components/orms/sequel_orm_gen.rb",
|
71
|
+
"generators/components/renderers/erb_renderer_gen.rb",
|
72
|
+
"generators/components/renderers/haml_renderer_gen.rb",
|
73
|
+
"generators/components/scripts/jquery_script_gen.rb",
|
74
|
+
"generators/components/scripts/prototype_script_gen.rb",
|
75
|
+
"generators/components/scripts/rightjs_script_gen.rb",
|
76
|
+
"generators/components/tests/bacon_test_gen.rb",
|
77
|
+
"generators/components/tests/riot_test_gen.rb",
|
78
|
+
"generators/components/tests/rspec_test_gen.rb",
|
79
|
+
"generators/components/tests/shoulda_test_gen.rb",
|
80
|
+
"generators/components/tests/testspec_test_gen.rb",
|
81
|
+
"generators/generator_actions.rb",
|
82
|
+
"generators/skeleton_generator.rb",
|
83
|
+
"lib/sinatra_more.rb",
|
84
|
+
"lib/sinatra_more/mailer_plugin.rb",
|
85
|
+
"lib/sinatra_more/mailer_plugin/mail_object.rb",
|
86
|
+
"lib/sinatra_more/mailer_plugin/mailer_base.rb",
|
87
|
+
"lib/sinatra_more/markup_plugin.rb",
|
88
|
+
"lib/sinatra_more/markup_plugin/asset_tag_helpers.rb",
|
89
|
+
"lib/sinatra_more/markup_plugin/form_builder/abstract_form_builder.rb",
|
90
|
+
"lib/sinatra_more/markup_plugin/form_builder/standard_form_builder.rb",
|
91
|
+
"lib/sinatra_more/markup_plugin/form_helpers.rb",
|
92
|
+
"lib/sinatra_more/markup_plugin/format_helpers.rb",
|
93
|
+
"lib/sinatra_more/markup_plugin/output_helpers.rb",
|
94
|
+
"lib/sinatra_more/markup_plugin/tag_helpers.rb",
|
95
|
+
"lib/sinatra_more/render_plugin.rb",
|
96
|
+
"lib/sinatra_more/render_plugin/render_helpers.rb",
|
97
|
+
"lib/sinatra_more/routing_plugin.rb",
|
98
|
+
"lib/sinatra_more/routing_plugin/named_route.rb",
|
99
|
+
"lib/sinatra_more/routing_plugin/routing_helpers.rb",
|
100
|
+
"lib/sinatra_more/support_lite.rb",
|
101
|
+
"lib/sinatra_more/warden_plugin.rb",
|
102
|
+
"lib/sinatra_more/warden_plugin/warden_helpers.rb",
|
103
|
+
"sinatra_more.gemspec",
|
104
|
+
"test/active_support_helpers.rb",
|
105
|
+
"test/fixtures/mailer_app/app.rb",
|
106
|
+
"test/fixtures/mailer_app/views/demo_mailer/sample_mail.erb",
|
107
|
+
"test/fixtures/mailer_app/views/sample_mailer/anniversary_message.erb",
|
108
|
+
"test/fixtures/mailer_app/views/sample_mailer/birthday_message.erb",
|
109
|
+
"test/fixtures/markup_app/app.rb",
|
110
|
+
"test/fixtures/markup_app/views/capture_concat.erb",
|
111
|
+
"test/fixtures/markup_app/views/capture_concat.haml",
|
112
|
+
"test/fixtures/markup_app/views/content_for.erb",
|
113
|
+
"test/fixtures/markup_app/views/content_for.haml",
|
114
|
+
"test/fixtures/markup_app/views/content_tag.erb",
|
115
|
+
"test/fixtures/markup_app/views/content_tag.haml",
|
116
|
+
"test/fixtures/markup_app/views/fields_for.erb",
|
117
|
+
"test/fixtures/markup_app/views/fields_for.haml",
|
118
|
+
"test/fixtures/markup_app/views/form_for.erb",
|
119
|
+
"test/fixtures/markup_app/views/form_for.haml",
|
120
|
+
"test/fixtures/markup_app/views/form_tag.erb",
|
121
|
+
"test/fixtures/markup_app/views/form_tag.haml",
|
122
|
+
"test/fixtures/markup_app/views/link_to.erb",
|
123
|
+
"test/fixtures/markup_app/views/link_to.haml",
|
124
|
+
"test/fixtures/markup_app/views/mail_to.erb",
|
125
|
+
"test/fixtures/markup_app/views/mail_to.haml",
|
126
|
+
"test/fixtures/markup_app/views/meta_tag.erb",
|
127
|
+
"test/fixtures/markup_app/views/meta_tag.haml",
|
128
|
+
"test/fixtures/markup_app/views/yield_content.erb",
|
129
|
+
"test/fixtures/markup_app/views/yield_content.haml",
|
130
|
+
"test/fixtures/render_app/app.rb",
|
131
|
+
"test/fixtures/render_app/views/erb/test.erb",
|
132
|
+
"test/fixtures/render_app/views/haml/test.haml",
|
133
|
+
"test/fixtures/render_app/views/template/_user.haml",
|
134
|
+
"test/fixtures/render_app/views/template/haml_template.haml",
|
135
|
+
"test/fixtures/render_app/views/template/some_template.haml",
|
136
|
+
"test/fixtures/routing_app/app.rb",
|
137
|
+
"test/fixtures/routing_app/views/index.haml",
|
138
|
+
"test/fixtures/warden_app/app.rb",
|
139
|
+
"test/fixtures/warden_app/views/dashboard.haml",
|
140
|
+
"test/generators/test_skeleton_generator.rb",
|
141
|
+
"test/helper.rb",
|
142
|
+
"test/mailer_plugin/test_mail_object.rb",
|
143
|
+
"test/mailer_plugin/test_mailer_base.rb",
|
144
|
+
"test/markup_plugin/test_asset_tag_helpers.rb",
|
145
|
+
"test/markup_plugin/test_form_builder.rb",
|
146
|
+
"test/markup_plugin/test_form_helpers.rb",
|
147
|
+
"test/markup_plugin/test_format_helpers.rb",
|
148
|
+
"test/markup_plugin/test_output_helpers.rb",
|
149
|
+
"test/markup_plugin/test_tag_helpers.rb",
|
150
|
+
"test/test_mailer_plugin.rb",
|
151
|
+
"test/test_render_plugin.rb",
|
152
|
+
"test/test_routing_plugin.rb",
|
153
|
+
"test/test_warden_plugin.rb",
|
154
|
+
"vendor/pony/lib/pony.rb",
|
155
|
+
"vendor/pony/spec/base.rb",
|
156
|
+
"vendor/pony/spec/pony_spec.rb"
|
156
157
|
]
|
157
158
|
s.homepage = %q{http://github.com/nesquena/sinatra_more}
|
158
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
159
159
|
s.require_paths = ["lib"]
|
160
|
-
s.rubygems_version = %q{1.3.
|
160
|
+
s.rubygems_version = %q{1.3.7}
|
161
161
|
s.summary = %q{Expands sinatra to allow for complex applications}
|
162
162
|
s.test_files = [
|
163
163
|
"test/active_support_helpers.rb",
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
164
|
+
"test/fixtures/mailer_app/app.rb",
|
165
|
+
"test/fixtures/markup_app/app.rb",
|
166
|
+
"test/fixtures/render_app/app.rb",
|
167
|
+
"test/fixtures/routing_app/app.rb",
|
168
|
+
"test/fixtures/warden_app/app.rb",
|
169
|
+
"test/generators/test_skeleton_generator.rb",
|
170
|
+
"test/helper.rb",
|
171
|
+
"test/mailer_plugin/test_mail_object.rb",
|
172
|
+
"test/mailer_plugin/test_mailer_base.rb",
|
173
|
+
"test/markup_plugin/test_asset_tag_helpers.rb",
|
174
|
+
"test/markup_plugin/test_form_builder.rb",
|
175
|
+
"test/markup_plugin/test_form_helpers.rb",
|
176
|
+
"test/markup_plugin/test_format_helpers.rb",
|
177
|
+
"test/markup_plugin/test_output_helpers.rb",
|
178
|
+
"test/markup_plugin/test_tag_helpers.rb",
|
179
|
+
"test/test_mailer_plugin.rb",
|
180
|
+
"test/test_render_plugin.rb",
|
181
|
+
"test/test_routing_plugin.rb",
|
182
|
+
"test/test_warden_plugin.rb"
|
183
183
|
]
|
184
184
|
|
185
185
|
if s.respond_to? :specification_version then
|
186
186
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
187
187
|
s.specification_version = 3
|
188
188
|
|
189
|
-
if Gem::Version.new(Gem::
|
189
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
190
|
+
s.add_runtime_dependency(%q<jeweler>, [">= 0"])
|
191
|
+
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
192
|
+
s.add_runtime_dependency(%q<xml-simple>, [">= 0"])
|
193
|
+
s.add_runtime_dependency(%q<warden>, [">= 0"])
|
194
|
+
s.add_runtime_dependency(%q<tmail>, [">= 0"])
|
195
|
+
s.add_runtime_dependency(%q<sinatra_more>, [">= 0"])
|
196
|
+
s.add_development_dependency(%q<haml>, [">= 2.2.14"])
|
197
|
+
s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
|
198
|
+
s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
|
199
|
+
s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
|
200
|
+
s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
|
201
|
+
s.add_development_dependency(%q<haml>, [">= 2.2.14"])
|
202
|
+
s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
|
203
|
+
s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
|
204
|
+
s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
|
205
|
+
s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
|
206
|
+
s.add_development_dependency(%q<haml>, [">= 2.2.14"])
|
207
|
+
s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
|
208
|
+
s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
|
209
|
+
s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
|
210
|
+
s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
|
190
211
|
s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
|
191
212
|
s.add_runtime_dependency(%q<tilt>, [">= 0.2"])
|
192
213
|
s.add_runtime_dependency(%q<thor>, [">= 0.11.8"])
|
193
|
-
s.add_runtime_dependency(%q<activesupport>, ["
|
214
|
+
s.add_runtime_dependency(%q<activesupport>, ["< 3.0.0"])
|
194
215
|
s.add_runtime_dependency(%q<bundler>, [">= 0.9.2"])
|
195
216
|
s.add_development_dependency(%q<haml>, [">= 2.2.14"])
|
196
217
|
s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
|
@@ -198,10 +219,31 @@ Gem::Specification.new do |s|
|
|
198
219
|
s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
|
199
220
|
s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
|
200
221
|
else
|
222
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
223
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
224
|
+
s.add_dependency(%q<xml-simple>, [">= 0"])
|
225
|
+
s.add_dependency(%q<warden>, [">= 0"])
|
226
|
+
s.add_dependency(%q<tmail>, [">= 0"])
|
227
|
+
s.add_dependency(%q<sinatra_more>, [">= 0"])
|
228
|
+
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
229
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
230
|
+
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
231
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
232
|
+
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
233
|
+
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
234
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
235
|
+
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
236
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
237
|
+
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
238
|
+
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
239
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
240
|
+
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
241
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
242
|
+
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
201
243
|
s.add_dependency(%q<sinatra>, [">= 0.9.2"])
|
202
244
|
s.add_dependency(%q<tilt>, [">= 0.2"])
|
203
245
|
s.add_dependency(%q<thor>, [">= 0.11.8"])
|
204
|
-
s.add_dependency(%q<activesupport>, ["
|
246
|
+
s.add_dependency(%q<activesupport>, ["< 3.0.0"])
|
205
247
|
s.add_dependency(%q<bundler>, [">= 0.9.2"])
|
206
248
|
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
207
249
|
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
@@ -210,10 +252,31 @@ Gem::Specification.new do |s|
|
|
210
252
|
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
211
253
|
end
|
212
254
|
else
|
255
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
256
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
257
|
+
s.add_dependency(%q<xml-simple>, [">= 0"])
|
258
|
+
s.add_dependency(%q<warden>, [">= 0"])
|
259
|
+
s.add_dependency(%q<tmail>, [">= 0"])
|
260
|
+
s.add_dependency(%q<sinatra_more>, [">= 0"])
|
261
|
+
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
262
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
263
|
+
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
264
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
265
|
+
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
266
|
+
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
267
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
268
|
+
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
269
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
270
|
+
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
271
|
+
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
272
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
273
|
+
s.add_dependency(%q<mocha>, [">= 0.9.7"])
|
274
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
275
|
+
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
213
276
|
s.add_dependency(%q<sinatra>, [">= 0.9.2"])
|
214
277
|
s.add_dependency(%q<tilt>, [">= 0.2"])
|
215
278
|
s.add_dependency(%q<thor>, [">= 0.11.8"])
|
216
|
-
s.add_dependency(%q<activesupport>, ["
|
279
|
+
s.add_dependency(%q<activesupport>, ["< 3.0.0"])
|
217
280
|
s.add_dependency(%q<bundler>, [">= 0.9.2"])
|
218
281
|
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
219
282
|
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
@@ -11,7 +11,7 @@ class TestAssetTagHelpers < Test::Unit::TestCase
|
|
11
11
|
def flash
|
12
12
|
{ :notice => "Demo notice" }
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
context 'for #flash_tag method' do
|
16
16
|
should "display flash with no given attributes" do
|
17
17
|
assert_has_tag('div.flash', :content => "Demo notice") { flash_tag(:notice) }
|
@@ -53,13 +53,13 @@ class TestAssetTagHelpers < Test::Unit::TestCase
|
|
53
53
|
end
|
54
54
|
|
55
55
|
should "display link element for mail to with caption" do
|
56
|
-
actual_html = mail_to('test@demo.com', "My Email"
|
57
|
-
assert_has_tag(:a, :href => "mailto:test@demo.com", :content => 'My Email'
|
56
|
+
actual_html = mail_to('test@demo.com', "My Email")
|
57
|
+
assert_has_tag(:a, :href => "mailto:test@demo.com", :content => 'My Email') { actual_html }
|
58
58
|
end
|
59
59
|
|
60
60
|
should "display link element for mail to with caption and mail options" do
|
61
|
-
actual_html = mail_to('test@demo.com', "My Email", :subject => 'demo test', :
|
62
|
-
assert_has_tag(:a
|
61
|
+
actual_html = mail_to('test@demo.com', "My Email", :subject => 'demo test', :cc => 'foo@test.com')
|
62
|
+
assert_has_tag(:a) { actual_html }
|
63
63
|
assert_match /mailto\:test\@demo.com\?/, actual_html
|
64
64
|
assert_match /cc=foo\@test\.com/, actual_html
|
65
65
|
assert_match /subject\=demo\%20test/, actual_html
|
@@ -189,12 +189,12 @@ class TestFormHelpers < Test::Unit::TestCase
|
|
189
189
|
actual_html = text_area_tag(:about, :class => 'long')
|
190
190
|
assert_has_tag(:textarea, :class => "long", :content => '', :name => 'about') { actual_html }
|
191
191
|
end
|
192
|
-
|
192
|
+
|
193
193
|
should "display text area in ruby with specified content" do
|
194
194
|
actual_html = text_area_tag(:about, :value => "a test")
|
195
195
|
assert_has_tag(:textarea, :content => "a test", :name => 'about') { actual_html }
|
196
196
|
end
|
197
|
-
|
197
|
+
|
198
198
|
should "display text area in ruby with no content with closing tag" do
|
199
199
|
actual_html = text_area_tag(:about)
|
200
200
|
assert_has_tag(:textarea, :content => "", :name => 'about') { actual_html }
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra_more
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 65
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 41
|
10
|
+
version: 0.3.41
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Nathan Esquenazi
|
@@ -14,148 +15,492 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
+
date: 2011-01-21 00:00:00 -08:00
|
18
19
|
default_executable: sinatra_gen
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
+
type: :runtime
|
22
23
|
prerelease: false
|
23
|
-
|
24
|
+
name: jeweler
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
28
|
- - ">="
|
26
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
27
31
|
segments:
|
28
32
|
- 0
|
29
|
-
|
30
|
-
|
31
|
-
|
33
|
+
version: "0"
|
34
|
+
requirement: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
32
36
|
type: :runtime
|
33
|
-
|
37
|
+
prerelease: false
|
38
|
+
name: builder
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
requirement: *id002
|
34
49
|
- !ruby/object:Gem::Dependency
|
35
|
-
|
50
|
+
type: :runtime
|
36
51
|
prerelease: false
|
37
|
-
|
52
|
+
name: xml-simple
|
53
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
38
55
|
requirements:
|
39
56
|
- - ">="
|
40
57
|
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
41
59
|
segments:
|
42
60
|
- 0
|
43
|
-
|
44
|
-
|
61
|
+
version: "0"
|
62
|
+
requirement: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
45
64
|
type: :runtime
|
46
|
-
|
65
|
+
prerelease: false
|
66
|
+
name: warden
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
requirement: *id004
|
47
77
|
- !ruby/object:Gem::Dependency
|
48
|
-
|
78
|
+
type: :runtime
|
49
79
|
prerelease: false
|
50
|
-
|
80
|
+
name: tmail
|
81
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
51
83
|
requirements:
|
52
84
|
- - ">="
|
53
85
|
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
54
87
|
segments:
|
55
88
|
- 0
|
56
|
-
|
57
|
-
|
58
|
-
|
89
|
+
version: "0"
|
90
|
+
requirement: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
59
92
|
type: :runtime
|
60
|
-
|
93
|
+
prerelease: false
|
94
|
+
name: sinatra_more
|
95
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
104
|
+
requirement: *id006
|
61
105
|
- !ruby/object:Gem::Dependency
|
62
|
-
|
106
|
+
type: :development
|
63
107
|
prerelease: false
|
64
|
-
|
108
|
+
name: haml
|
109
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
65
111
|
requirements:
|
66
112
|
- - ">="
|
67
113
|
- !ruby/object:Gem::Version
|
114
|
+
hash: 27
|
68
115
|
segments:
|
69
116
|
- 2
|
70
117
|
- 2
|
118
|
+
- 14
|
119
|
+
version: 2.2.14
|
120
|
+
requirement: *id007
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
name: shoulda
|
125
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
hash: 35
|
131
|
+
segments:
|
71
132
|
- 2
|
72
|
-
|
73
|
-
|
74
|
-
|
133
|
+
- 10
|
134
|
+
- 2
|
135
|
+
version: 2.10.2
|
136
|
+
requirement: *id008
|
75
137
|
- !ruby/object:Gem::Dependency
|
76
|
-
|
138
|
+
type: :development
|
77
139
|
prerelease: false
|
78
|
-
|
140
|
+
name: mocha
|
141
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
79
143
|
requirements:
|
80
144
|
- - ">="
|
81
145
|
- !ruby/object:Gem::Version
|
146
|
+
hash: 53
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
- 9
|
150
|
+
- 7
|
151
|
+
version: 0.9.7
|
152
|
+
requirement: *id009
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
type: :development
|
155
|
+
prerelease: false
|
156
|
+
name: rack-test
|
157
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
158
|
+
none: false
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
hash: 11
|
163
|
+
segments:
|
164
|
+
- 0
|
165
|
+
- 5
|
166
|
+
- 0
|
167
|
+
version: 0.5.0
|
168
|
+
requirement: *id010
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
type: :development
|
171
|
+
prerelease: false
|
172
|
+
name: webrat
|
173
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
hash: 9
|
179
|
+
segments:
|
180
|
+
- 0
|
181
|
+
- 5
|
182
|
+
- 1
|
183
|
+
version: 0.5.1
|
184
|
+
requirement: *id011
|
185
|
+
- !ruby/object:Gem::Dependency
|
186
|
+
type: :development
|
187
|
+
prerelease: false
|
188
|
+
name: haml
|
189
|
+
version_requirements: &id012 !ruby/object:Gem::Requirement
|
190
|
+
none: false
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
hash: 27
|
195
|
+
segments:
|
196
|
+
- 2
|
197
|
+
- 2
|
198
|
+
- 14
|
199
|
+
version: 2.2.14
|
200
|
+
requirement: *id012
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
name: shoulda
|
205
|
+
version_requirements: &id013 !ruby/object:Gem::Requirement
|
206
|
+
none: false
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
hash: 35
|
211
|
+
segments:
|
212
|
+
- 2
|
213
|
+
- 10
|
214
|
+
- 2
|
215
|
+
version: 2.10.2
|
216
|
+
requirement: *id013
|
217
|
+
- !ruby/object:Gem::Dependency
|
218
|
+
type: :development
|
219
|
+
prerelease: false
|
220
|
+
name: mocha
|
221
|
+
version_requirements: &id014 !ruby/object:Gem::Requirement
|
222
|
+
none: false
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
hash: 53
|
227
|
+
segments:
|
228
|
+
- 0
|
229
|
+
- 9
|
230
|
+
- 7
|
231
|
+
version: 0.9.7
|
232
|
+
requirement: *id014
|
233
|
+
- !ruby/object:Gem::Dependency
|
234
|
+
type: :development
|
235
|
+
prerelease: false
|
236
|
+
name: rack-test
|
237
|
+
version_requirements: &id015 !ruby/object:Gem::Requirement
|
238
|
+
none: false
|
239
|
+
requirements:
|
240
|
+
- - ">="
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
hash: 11
|
243
|
+
segments:
|
244
|
+
- 0
|
245
|
+
- 5
|
246
|
+
- 0
|
247
|
+
version: 0.5.0
|
248
|
+
requirement: *id015
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
type: :development
|
251
|
+
prerelease: false
|
252
|
+
name: webrat
|
253
|
+
version_requirements: &id016 !ruby/object:Gem::Requirement
|
254
|
+
none: false
|
255
|
+
requirements:
|
256
|
+
- - ">="
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
hash: 9
|
259
|
+
segments:
|
260
|
+
- 0
|
261
|
+
- 5
|
262
|
+
- 1
|
263
|
+
version: 0.5.1
|
264
|
+
requirement: *id016
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
type: :development
|
267
|
+
prerelease: false
|
268
|
+
name: haml
|
269
|
+
version_requirements: &id017 !ruby/object:Gem::Requirement
|
270
|
+
none: false
|
271
|
+
requirements:
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
hash: 27
|
275
|
+
segments:
|
276
|
+
- 2
|
277
|
+
- 2
|
278
|
+
- 14
|
279
|
+
version: 2.2.14
|
280
|
+
requirement: *id017
|
281
|
+
- !ruby/object:Gem::Dependency
|
282
|
+
type: :development
|
283
|
+
prerelease: false
|
284
|
+
name: shoulda
|
285
|
+
version_requirements: &id018 !ruby/object:Gem::Requirement
|
286
|
+
none: false
|
287
|
+
requirements:
|
288
|
+
- - ">="
|
289
|
+
- !ruby/object:Gem::Version
|
290
|
+
hash: 35
|
291
|
+
segments:
|
292
|
+
- 2
|
293
|
+
- 10
|
294
|
+
- 2
|
295
|
+
version: 2.10.2
|
296
|
+
requirement: *id018
|
297
|
+
- !ruby/object:Gem::Dependency
|
298
|
+
type: :development
|
299
|
+
prerelease: false
|
300
|
+
name: mocha
|
301
|
+
version_requirements: &id019 !ruby/object:Gem::Requirement
|
302
|
+
none: false
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
hash: 53
|
307
|
+
segments:
|
308
|
+
- 0
|
309
|
+
- 9
|
310
|
+
- 7
|
311
|
+
version: 0.9.7
|
312
|
+
requirement: *id019
|
313
|
+
- !ruby/object:Gem::Dependency
|
314
|
+
type: :development
|
315
|
+
prerelease: false
|
316
|
+
name: rack-test
|
317
|
+
version_requirements: &id020 !ruby/object:Gem::Requirement
|
318
|
+
none: false
|
319
|
+
requirements:
|
320
|
+
- - ">="
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
hash: 11
|
323
|
+
segments:
|
324
|
+
- 0
|
325
|
+
- 5
|
326
|
+
- 0
|
327
|
+
version: 0.5.0
|
328
|
+
requirement: *id020
|
329
|
+
- !ruby/object:Gem::Dependency
|
330
|
+
type: :development
|
331
|
+
prerelease: false
|
332
|
+
name: webrat
|
333
|
+
version_requirements: &id021 !ruby/object:Gem::Requirement
|
334
|
+
none: false
|
335
|
+
requirements:
|
336
|
+
- - ">="
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
hash: 9
|
339
|
+
segments:
|
340
|
+
- 0
|
341
|
+
- 5
|
342
|
+
- 1
|
343
|
+
version: 0.5.1
|
344
|
+
requirement: *id021
|
345
|
+
- !ruby/object:Gem::Dependency
|
346
|
+
type: :runtime
|
347
|
+
prerelease: false
|
348
|
+
name: sinatra
|
349
|
+
version_requirements: &id022 !ruby/object:Gem::Requirement
|
350
|
+
none: false
|
351
|
+
requirements:
|
352
|
+
- - ">="
|
353
|
+
- !ruby/object:Gem::Version
|
354
|
+
hash: 63
|
82
355
|
segments:
|
83
356
|
- 0
|
84
357
|
- 9
|
85
358
|
- 2
|
86
359
|
version: 0.9.2
|
360
|
+
requirement: *id022
|
361
|
+
- !ruby/object:Gem::Dependency
|
87
362
|
type: :runtime
|
88
|
-
|
363
|
+
prerelease: false
|
364
|
+
name: tilt
|
365
|
+
version_requirements: &id023 !ruby/object:Gem::Requirement
|
366
|
+
none: false
|
367
|
+
requirements:
|
368
|
+
- - ">="
|
369
|
+
- !ruby/object:Gem::Version
|
370
|
+
hash: 15
|
371
|
+
segments:
|
372
|
+
- 0
|
373
|
+
- 2
|
374
|
+
version: "0.2"
|
375
|
+
requirement: *id023
|
89
376
|
- !ruby/object:Gem::Dependency
|
90
|
-
|
377
|
+
type: :runtime
|
378
|
+
prerelease: false
|
379
|
+
name: thor
|
380
|
+
version_requirements: &id024 !ruby/object:Gem::Requirement
|
381
|
+
none: false
|
382
|
+
requirements:
|
383
|
+
- - ">="
|
384
|
+
- !ruby/object:Gem::Version
|
385
|
+
hash: 35
|
386
|
+
segments:
|
387
|
+
- 0
|
388
|
+
- 11
|
389
|
+
- 8
|
390
|
+
version: 0.11.8
|
391
|
+
requirement: *id024
|
392
|
+
- !ruby/object:Gem::Dependency
|
393
|
+
type: :runtime
|
394
|
+
prerelease: false
|
395
|
+
name: activesupport
|
396
|
+
version_requirements: &id025 !ruby/object:Gem::Requirement
|
397
|
+
none: false
|
398
|
+
requirements:
|
399
|
+
- - <
|
400
|
+
- !ruby/object:Gem::Version
|
401
|
+
hash: 7
|
402
|
+
segments:
|
403
|
+
- 3
|
404
|
+
- 0
|
405
|
+
- 0
|
406
|
+
version: 3.0.0
|
407
|
+
requirement: *id025
|
408
|
+
- !ruby/object:Gem::Dependency
|
409
|
+
type: :runtime
|
91
410
|
prerelease: false
|
92
|
-
|
411
|
+
name: bundler
|
412
|
+
version_requirements: &id026 !ruby/object:Gem::Requirement
|
413
|
+
none: false
|
93
414
|
requirements:
|
94
415
|
- - ">="
|
95
416
|
- !ruby/object:Gem::Version
|
417
|
+
hash: 63
|
418
|
+
segments:
|
419
|
+
- 0
|
420
|
+
- 9
|
421
|
+
- 2
|
422
|
+
version: 0.9.2
|
423
|
+
requirement: *id026
|
424
|
+
- !ruby/object:Gem::Dependency
|
425
|
+
type: :development
|
426
|
+
prerelease: false
|
427
|
+
name: haml
|
428
|
+
version_requirements: &id027 !ruby/object:Gem::Requirement
|
429
|
+
none: false
|
430
|
+
requirements:
|
431
|
+
- - ">="
|
432
|
+
- !ruby/object:Gem::Version
|
433
|
+
hash: 27
|
96
434
|
segments:
|
97
435
|
- 2
|
98
436
|
- 2
|
99
437
|
- 14
|
100
438
|
version: 2.2.14
|
101
|
-
|
102
|
-
version_requirements: *id006
|
439
|
+
requirement: *id027
|
103
440
|
- !ruby/object:Gem::Dependency
|
104
|
-
|
441
|
+
type: :development
|
105
442
|
prerelease: false
|
106
|
-
|
443
|
+
name: shoulda
|
444
|
+
version_requirements: &id028 !ruby/object:Gem::Requirement
|
445
|
+
none: false
|
107
446
|
requirements:
|
108
447
|
- - ">="
|
109
448
|
- !ruby/object:Gem::Version
|
449
|
+
hash: 35
|
110
450
|
segments:
|
111
451
|
- 2
|
112
452
|
- 10
|
113
453
|
- 2
|
114
454
|
version: 2.10.2
|
115
|
-
|
116
|
-
version_requirements: *id007
|
455
|
+
requirement: *id028
|
117
456
|
- !ruby/object:Gem::Dependency
|
118
|
-
|
457
|
+
type: :development
|
119
458
|
prerelease: false
|
120
|
-
|
459
|
+
name: mocha
|
460
|
+
version_requirements: &id029 !ruby/object:Gem::Requirement
|
461
|
+
none: false
|
121
462
|
requirements:
|
122
463
|
- - ">="
|
123
464
|
- !ruby/object:Gem::Version
|
465
|
+
hash: 53
|
124
466
|
segments:
|
125
467
|
- 0
|
126
468
|
- 9
|
127
469
|
- 7
|
128
470
|
version: 0.9.7
|
129
|
-
|
130
|
-
version_requirements: *id008
|
471
|
+
requirement: *id029
|
131
472
|
- !ruby/object:Gem::Dependency
|
132
|
-
|
473
|
+
type: :development
|
133
474
|
prerelease: false
|
134
|
-
|
475
|
+
name: rack-test
|
476
|
+
version_requirements: &id030 !ruby/object:Gem::Requirement
|
477
|
+
none: false
|
135
478
|
requirements:
|
136
479
|
- - ">="
|
137
480
|
- !ruby/object:Gem::Version
|
481
|
+
hash: 11
|
138
482
|
segments:
|
139
483
|
- 0
|
140
484
|
- 5
|
141
485
|
- 0
|
142
486
|
version: 0.5.0
|
143
|
-
|
144
|
-
version_requirements: *id009
|
487
|
+
requirement: *id030
|
145
488
|
- !ruby/object:Gem::Dependency
|
146
|
-
|
489
|
+
type: :development
|
147
490
|
prerelease: false
|
148
|
-
|
491
|
+
name: webrat
|
492
|
+
version_requirements: &id031 !ruby/object:Gem::Requirement
|
493
|
+
none: false
|
149
494
|
requirements:
|
150
495
|
- - ">="
|
151
496
|
- !ruby/object:Gem::Version
|
497
|
+
hash: 9
|
152
498
|
segments:
|
153
499
|
- 0
|
154
500
|
- 5
|
155
501
|
- 1
|
156
502
|
version: 0.5.1
|
157
|
-
|
158
|
-
version_requirements: *id010
|
503
|
+
requirement: *id031
|
159
504
|
description: Expands sinatra with standard helpers and tools to allow for complex applications
|
160
505
|
email: nesquena@gmail.com
|
161
506
|
executables:
|
@@ -168,7 +513,8 @@ extra_rdoc_files:
|
|
168
513
|
- TODO
|
169
514
|
files:
|
170
515
|
- .document
|
171
|
-
-
|
516
|
+
- Gemfile
|
517
|
+
- Gemfile.lock
|
172
518
|
- IDEAS.md
|
173
519
|
- LICENSE
|
174
520
|
- README.rdoc
|
@@ -305,28 +651,32 @@ homepage: http://github.com/nesquena/sinatra_more
|
|
305
651
|
licenses: []
|
306
652
|
|
307
653
|
post_install_message:
|
308
|
-
rdoc_options:
|
309
|
-
|
654
|
+
rdoc_options: []
|
655
|
+
|
310
656
|
require_paths:
|
311
657
|
- lib
|
312
658
|
required_ruby_version: !ruby/object:Gem::Requirement
|
659
|
+
none: false
|
313
660
|
requirements:
|
314
661
|
- - ">="
|
315
662
|
- !ruby/object:Gem::Version
|
663
|
+
hash: 3
|
316
664
|
segments:
|
317
665
|
- 0
|
318
666
|
version: "0"
|
319
667
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
668
|
+
none: false
|
320
669
|
requirements:
|
321
670
|
- - ">="
|
322
671
|
- !ruby/object:Gem::Version
|
672
|
+
hash: 3
|
323
673
|
segments:
|
324
674
|
- 0
|
325
675
|
version: "0"
|
326
676
|
requirements: []
|
327
677
|
|
328
678
|
rubyforge_project:
|
329
|
-
rubygems_version: 1.3.
|
679
|
+
rubygems_version: 1.3.7
|
330
680
|
signing_key:
|
331
681
|
specification_version: 3
|
332
682
|
summary: Expands sinatra to allow for complex applications
|
data/.gitignore
DELETED