wd_sinatra 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +148 -0
- data/Rakefile +2 -0
- data/bin/wd_sinatra +47 -0
- data/lib/wd_sinatra.rb +7 -0
- data/lib/wd_sinatra/app_loader.rb +120 -0
- data/lib/wd_sinatra/sinatra_ext.rb +117 -0
- data/lib/wd_sinatra/test_helpers.rb +204 -0
- data/lib/wd_sinatra/version.rb +5 -0
- data/templates/Gemfile +23 -0
- data/templates/Guardfile +13 -0
- data/templates/Rakefile +32 -0
- data/templates/api/hello_world.rb +29 -0
- data/templates/bin/console +7 -0
- data/templates/config.ru +5 -0
- data/templates/config/app.rb +5 -0
- data/templates/config/environments/default.rb +3 -0
- data/templates/config/environments/production.rb +2 -0
- data/templates/config/environments/test.rb +3 -0
- data/templates/config/hooks.rb +74 -0
- data/templates/config/middleware.rb +0 -0
- data/templates/config/sinatra_config.rb +12 -0
- data/templates/lib/body_parser.rb +24 -0
- data/templates/lib/tasks/doc.rake +39 -0
- data/templates/lib/tasks/doc_generator/bootstrap/.gitignore +4 -0
- data/templates/lib/tasks/doc_generator/bootstrap/LICENSE +176 -0
- data/templates/lib/tasks/doc_generator/bootstrap/Makefile +47 -0
- data/templates/lib/tasks/doc_generator/bootstrap/README.md +105 -0
- data/templates/lib/tasks/doc_generator/bootstrap/bootstrap.css +2467 -0
- data/templates/lib/tasks/doc_generator/bootstrap/bootstrap.min.css +356 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/css/docs.css +317 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/bootstrap-apple-114x114.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/bootstrap-apple-57x57.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/bootstrap-apple-72x72.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/favicon.ico +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/bird.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/browsers.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/example-diagram-01.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/example-diagram-02.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/example-diagram-03.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/grid-18px.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/twitter-logo-no-bird.png +0 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/js/application.js +52 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/js/google-code-prettify/prettify.css +94 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/assets/js/google-code-prettify/prettify.js +28 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/index.html +2037 -0
- data/templates/lib/tasks/doc_generator/bootstrap/docs/javascript.html +798 -0
- data/templates/lib/tasks/doc_generator/bootstrap/examples/container-app.html +119 -0
- data/templates/lib/tasks/doc_generator/bootstrap/examples/fluid.html +122 -0
- data/templates/lib/tasks/doc_generator/bootstrap/examples/hero.html +79 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-alerts.js +124 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-buttons.js +64 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-dropdown.js +55 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-modal.js +260 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-popover.js +90 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-scrollspy.js +107 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-tabs.js +80 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-twipsy.js +321 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/index.html +40 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-alerts.js +41 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-buttons.js +42 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-dropdown.js +52 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-modal.js +151 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-popover.js +76 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-scrollspy.js +31 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-tabs.js +77 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-twipsy.js +81 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/vendor/qunit.css +232 -0
- data/templates/lib/tasks/doc_generator/bootstrap/js/tests/vendor/qunit.js +1510 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/bootstrap.less +26 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/forms.less +479 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/mixins.less +222 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/patterns.less +1060 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/reset.less +141 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/scaffolding.less +139 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/tables.less +224 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/type.less +187 -0
- data/templates/lib/tasks/doc_generator/bootstrap/lib/variables.less +60 -0
- data/templates/lib/tasks/doc_generator/template.erb +117 -0
- data/templates/public/favicon.ico +0 -0
- data/wd-sinatra.gemspec +22 -0
- metadata +154 -0
@@ -0,0 +1,187 @@
|
|
1
|
+
/* Typography.less
|
2
|
+
* Headings, body text, lists, code, and more for a versatile and durable typography system
|
3
|
+
* ---------------------------------------------------------------------------------------- */
|
4
|
+
|
5
|
+
|
6
|
+
// BODY TEXT
|
7
|
+
// ---------
|
8
|
+
|
9
|
+
p {
|
10
|
+
#font > .shorthand(normal,@basefont,@baseline);
|
11
|
+
margin-bottom: @baseline / 2;
|
12
|
+
small {
|
13
|
+
font-size: @basefont - 2;
|
14
|
+
color: @grayLight;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
// HEADINGS
|
20
|
+
// --------
|
21
|
+
|
22
|
+
h1, h2, h3, h4, h5, h6 {
|
23
|
+
font-weight: bold;
|
24
|
+
color: @grayDark;
|
25
|
+
small {
|
26
|
+
color: @grayLight;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
h1 {
|
30
|
+
margin-bottom: @baseline;
|
31
|
+
font-size: 30px;
|
32
|
+
line-height: @baseline * 2;
|
33
|
+
small {
|
34
|
+
font-size: 18px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
h2 {
|
38
|
+
font-size: 24px;
|
39
|
+
line-height: @baseline * 2;
|
40
|
+
small {
|
41
|
+
font-size: 14px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
h3, h4, h5, h6 {
|
45
|
+
line-height: @baseline * 2;
|
46
|
+
}
|
47
|
+
h3 {
|
48
|
+
font-size: 18px;
|
49
|
+
small {
|
50
|
+
font-size: 14px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
h4 {
|
54
|
+
font-size: 16px;
|
55
|
+
small {
|
56
|
+
font-size: 12px;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
h5 {
|
60
|
+
font-size: 14px;
|
61
|
+
}
|
62
|
+
h6 {
|
63
|
+
font-size: 13px;
|
64
|
+
color: @grayLight;
|
65
|
+
text-transform: uppercase;
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
// COLORS
|
70
|
+
// ------
|
71
|
+
|
72
|
+
// Unordered and Ordered lists
|
73
|
+
ul, ol {
|
74
|
+
margin: 0 0 @baseline 25px;
|
75
|
+
}
|
76
|
+
ul ul,
|
77
|
+
ul ol,
|
78
|
+
ol ol,
|
79
|
+
ol ul {
|
80
|
+
margin-bottom: 0;
|
81
|
+
}
|
82
|
+
ul {
|
83
|
+
list-style: disc;
|
84
|
+
}
|
85
|
+
ol {
|
86
|
+
list-style: decimal;
|
87
|
+
}
|
88
|
+
li {
|
89
|
+
line-height: @baseline;
|
90
|
+
color: @gray;
|
91
|
+
}
|
92
|
+
ul.unstyled {
|
93
|
+
list-style: none;
|
94
|
+
margin-left: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
// Description Lists
|
98
|
+
dl {
|
99
|
+
margin-bottom: @baseline;
|
100
|
+
dt, dd {
|
101
|
+
line-height: @baseline;
|
102
|
+
}
|
103
|
+
dt {
|
104
|
+
font-weight: bold;
|
105
|
+
}
|
106
|
+
dd {
|
107
|
+
margin-left: @baseline / 2;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
// MISC
|
112
|
+
// ----
|
113
|
+
|
114
|
+
// Horizontal rules
|
115
|
+
hr {
|
116
|
+
margin: 20px 0 19px;
|
117
|
+
border: 0;
|
118
|
+
border-bottom: 1px solid #eee;
|
119
|
+
}
|
120
|
+
|
121
|
+
// Emphasis
|
122
|
+
strong {
|
123
|
+
font-style: inherit;
|
124
|
+
font-weight: bold;
|
125
|
+
}
|
126
|
+
em {
|
127
|
+
font-style: italic;
|
128
|
+
font-weight: inherit;
|
129
|
+
line-height: inherit;
|
130
|
+
}
|
131
|
+
.muted {
|
132
|
+
color: @grayLight;
|
133
|
+
}
|
134
|
+
|
135
|
+
// Blockquotes
|
136
|
+
blockquote {
|
137
|
+
margin-bottom: @baseline;
|
138
|
+
border-left: 5px solid #eee;
|
139
|
+
padding-left: 15px;
|
140
|
+
p {
|
141
|
+
#font > .shorthand(300,14px,@baseline);
|
142
|
+
margin-bottom: 0;
|
143
|
+
}
|
144
|
+
small {
|
145
|
+
display: block;
|
146
|
+
#font > .shorthand(300,12px,@baseline);
|
147
|
+
color: @grayLight;
|
148
|
+
&:before {
|
149
|
+
content: '\2014 \00A0';
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
// Addresses
|
155
|
+
address {
|
156
|
+
display: block;
|
157
|
+
line-height: @baseline;
|
158
|
+
margin-bottom: @baseline;
|
159
|
+
}
|
160
|
+
|
161
|
+
// Inline and block code styles
|
162
|
+
code, pre {
|
163
|
+
padding: 0 3px 2px;
|
164
|
+
font-family: Monaco, Andale Mono, Courier New, monospace;
|
165
|
+
font-size: 12px;
|
166
|
+
.border-radius(3px);
|
167
|
+
}
|
168
|
+
code {
|
169
|
+
background-color: lighten(@orange, 40%);
|
170
|
+
color: rgba(0,0,0,.75);
|
171
|
+
padding: 1px 3px;
|
172
|
+
}
|
173
|
+
pre {
|
174
|
+
background-color: #f5f5f5;
|
175
|
+
display: block;
|
176
|
+
padding: (@baseline - 1) / 2;
|
177
|
+
margin: 0 0 @baseline;
|
178
|
+
line-height: @baseline;
|
179
|
+
font-size: 12px;
|
180
|
+
border: 1px solid #ccc;
|
181
|
+
border: 1px solid rgba(0,0,0,.15);
|
182
|
+
.border-radius(3px);
|
183
|
+
white-space: pre;
|
184
|
+
white-space: pre-wrap;
|
185
|
+
word-wrap: break-word;
|
186
|
+
|
187
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
/* Variables.less
|
2
|
+
* Variables to customize the look and feel of Bootstrap
|
3
|
+
* ----------------------------------------------------- */
|
4
|
+
|
5
|
+
|
6
|
+
// Links
|
7
|
+
@linkColor: #0069d6;
|
8
|
+
@linkColorHover: darken(@linkColor, 15);
|
9
|
+
|
10
|
+
// Grays
|
11
|
+
@black: #000;
|
12
|
+
@grayDark: lighten(@black, 25%);
|
13
|
+
@gray: lighten(@black, 50%);
|
14
|
+
@grayLight: lighten(@black, 75%);
|
15
|
+
@grayLighter: lighten(@black, 90%);
|
16
|
+
@white: #fff;
|
17
|
+
|
18
|
+
// Accent Colors
|
19
|
+
@blue: #049CDB;
|
20
|
+
@blueDark: #0064CD;
|
21
|
+
@green: #46a546;
|
22
|
+
@red: #9d261d;
|
23
|
+
@yellow: #ffc40d;
|
24
|
+
@orange: #f89406;
|
25
|
+
@pink: #c3325f;
|
26
|
+
@purple: #7a43b6;
|
27
|
+
|
28
|
+
// Baseline grid
|
29
|
+
@basefont: 13px;
|
30
|
+
@baseline: 18px;
|
31
|
+
|
32
|
+
// Griditude
|
33
|
+
// Modify the grid styles in mixins.less
|
34
|
+
@gridColumns: 16;
|
35
|
+
@gridColumnWidth: 40px;
|
36
|
+
@gridGutterWidth: 20px;
|
37
|
+
@extraSpace: (@gridGutterWidth * 2); // For our grid calculations
|
38
|
+
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
39
|
+
|
40
|
+
// Color Scheme
|
41
|
+
// Use this to roll your own color schemes if you like (unused by Bootstrap by default)
|
42
|
+
@baseColor: @blue; // Set a base color
|
43
|
+
@complement: spin(@baseColor, 180); // Determine a complementary color
|
44
|
+
@split1: spin(@baseColor, 158); // Split complements
|
45
|
+
@split2: spin(@baseColor, -158);
|
46
|
+
@triad1: spin(@baseColor, 135); // Triads colors
|
47
|
+
@triad2: spin(@baseColor, -135);
|
48
|
+
@tetra1: spin(@baseColor, 90); // Tetra colors
|
49
|
+
@tetra2: spin(@baseColor, -90);
|
50
|
+
@analog1: spin(@baseColor, 22); // Analogs colors
|
51
|
+
@analog2: spin(@baseColor, -22);
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
// More variables coming soon:
|
56
|
+
// - @basefont to @baseFontSize
|
57
|
+
// - @baseline to @baseLineHeight
|
58
|
+
// - @baseFontFamily
|
59
|
+
// - @primaryButtonColor
|
60
|
+
// - anything else? File an issue on GitHub
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Bootstrap, from Twitter</title>
|
6
|
+
<meta name="description" content="">
|
7
|
+
<meta name="author" content="">
|
8
|
+
|
9
|
+
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
10
|
+
<!--[if lt IE 9]>
|
11
|
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
12
|
+
<![endif]-->
|
13
|
+
|
14
|
+
<!-- Le styles -->
|
15
|
+
<link href="css/bootstrap.css" rel="stylesheet">
|
16
|
+
<style type="text/css">
|
17
|
+
body {
|
18
|
+
padding-top: 60px;
|
19
|
+
}
|
20
|
+
</style>
|
21
|
+
|
22
|
+
<!-- Le fav and touch icons -->
|
23
|
+
<link rel="shortcut icon" href="images/favicon.ico">
|
24
|
+
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
25
|
+
<link rel="apple-touch-icon" sizes="72x72" href=images/apple-touch-icon-72x72.png">
|
26
|
+
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
|
27
|
+
</head>
|
28
|
+
|
29
|
+
<body>
|
30
|
+
|
31
|
+
<div class="topbar">
|
32
|
+
<div class="topbar-inner">
|
33
|
+
<div class="container-fluid">
|
34
|
+
<a class="brand" href="#">Web APIs Documentation</a>
|
35
|
+
<ul class="nav">
|
36
|
+
<li class="active"><a href="index.html">Home</a></li>
|
37
|
+
</ul>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div class="container-fluid">
|
43
|
+
<div class="sidebar">
|
44
|
+
<div class="well">
|
45
|
+
<h5>Available APIs</h5>
|
46
|
+
<ul>
|
47
|
+
<% WSList.all.sort{|a,b| a.url <=> b.url}.each do |api| %>
|
48
|
+
<li><a href="#<%= "raw-#{api.verb}-#{api.url}" %>"><%= api.url %> [<%= api.verb.upcase %>]</a></li>
|
49
|
+
<% end %>
|
50
|
+
</ul>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
<div class="content">
|
54
|
+
<div class="hero-unit">
|
55
|
+
<h1>Web APIs</h1>
|
56
|
+
<p>You will find on left, the list of all the web APIs offered by this app.</p>
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<% WSList.all.each do |api| %>
|
60
|
+
<div class="" id="<%= "raw-#{api.verb}-#{api.url}" %>">
|
61
|
+
<div>
|
62
|
+
<h2><%= api.verb.upcase %> <%= '[SSL]' if api.ssl %> /<%= api.url %></h2>
|
63
|
+
<% if api.auth_required %>
|
64
|
+
<span class='label important'>Authentication required</span>
|
65
|
+
<% end %>
|
66
|
+
<%= "<p>#{api.doc.desc}</p>" if api.doc.desc %>
|
67
|
+
<%# TODO support for namespaced params %>
|
68
|
+
<% [["Required", :required_rules], ["Optional", :optional_rules]].each do |label,rule_meth| %>
|
69
|
+
<% unless api.send(rule_meth).empty? %>
|
70
|
+
<h3><%= label %> Params</h3>
|
71
|
+
<ul>
|
72
|
+
<% api.send(rule_meth).each do |rule| %>
|
73
|
+
<li>
|
74
|
+
<span class='label notice'><%= rule.name %></span> of type <span class='label success'><%= rule.options[:type] || 'String' %></span>
|
75
|
+
<% if desc = api.doc.params_doc[rule.name.to_sym] %>
|
76
|
+
<%= desc %>
|
77
|
+
<% end %>
|
78
|
+
<% if options = rule.options[:options] %>
|
79
|
+
Value Options: <span class='label'><%= options.join(', ') %></span>
|
80
|
+
<% end %>
|
81
|
+
<% if default = rule.options[:default] %>
|
82
|
+
Default Value: <span class='label'><%= default %></span>
|
83
|
+
<% end %>
|
84
|
+
</li>
|
85
|
+
<% end %>
|
86
|
+
</ul>
|
87
|
+
<% end %>
|
88
|
+
<% end %>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div>
|
92
|
+
<% if api.response.nodes.any? %>
|
93
|
+
<h3>Response description</h3>
|
94
|
+
<% api.response.elements.each do |el| %>
|
95
|
+
<%= el.to_html %>
|
96
|
+
<% end %>
|
97
|
+
<% api.response.arrays.each do |arr| %>
|
98
|
+
<%= arr.to_html %>
|
99
|
+
<% end %>
|
100
|
+
</ul>
|
101
|
+
<h4>Response example</h4>
|
102
|
+
<p><code><%= api.response.to_json %></code></p>
|
103
|
+
<% end %>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</div>
|
107
|
+
<hr>
|
108
|
+
<% end %>
|
109
|
+
|
110
|
+
<footer>
|
111
|
+
<p>© You <%= Time.now.year %></p>
|
112
|
+
</footer>
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</body>
|
117
|
+
</html>
|
Binary file
|
data/wd-sinatra.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/wd_sinatra/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Matt Aimonetti"]
|
6
|
+
gem.email = ["mattaimonetti@gmail.com"]
|
7
|
+
gem.description = %q{Weasel-Diesel Sinatra app gem, allowing you to generate/update sinatra apps using the Weasel Diesel DSL}
|
8
|
+
gem.summary = %q{Weasel-Diesel Sinatra app gem, allowing you to generate/update sinatra apps using the Weasel Diesel DSL}
|
9
|
+
gem.homepage = "https://github.com/mattetti/wd_sinatra"
|
10
|
+
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "wd_sinatra"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = WD::Sinatra::VERSION
|
17
|
+
|
18
|
+
gem.add_dependency('weasel_diesel')
|
19
|
+
gem.add_dependency('thor')
|
20
|
+
end
|
21
|
+
|
22
|
+
|
metadata
ADDED
@@ -0,0 +1,154 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wd_sinatra
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Matt Aimonetti
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-04-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: weasel_diesel
|
16
|
+
requirement: &70114052246380 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70114052246380
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &70114052245740 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70114052245740
|
36
|
+
description: Weasel-Diesel Sinatra app gem, allowing you to generate/update sinatra
|
37
|
+
apps using the Weasel Diesel DSL
|
38
|
+
email:
|
39
|
+
- mattaimonetti@gmail.com
|
40
|
+
executables:
|
41
|
+
- wd_sinatra
|
42
|
+
extensions: []
|
43
|
+
extra_rdoc_files: []
|
44
|
+
files:
|
45
|
+
- .gitignore
|
46
|
+
- Gemfile
|
47
|
+
- LICENSE
|
48
|
+
- README.md
|
49
|
+
- Rakefile
|
50
|
+
- bin/wd_sinatra
|
51
|
+
- lib/wd_sinatra.rb
|
52
|
+
- lib/wd_sinatra/app_loader.rb
|
53
|
+
- lib/wd_sinatra/sinatra_ext.rb
|
54
|
+
- lib/wd_sinatra/test_helpers.rb
|
55
|
+
- lib/wd_sinatra/version.rb
|
56
|
+
- templates/Gemfile
|
57
|
+
- templates/Guardfile
|
58
|
+
- templates/Rakefile
|
59
|
+
- templates/api/hello_world.rb
|
60
|
+
- templates/bin/console
|
61
|
+
- templates/config.ru
|
62
|
+
- templates/config/app.rb
|
63
|
+
- templates/config/environments/default.rb
|
64
|
+
- templates/config/environments/production.rb
|
65
|
+
- templates/config/environments/test.rb
|
66
|
+
- templates/config/hooks.rb
|
67
|
+
- templates/config/middleware.rb
|
68
|
+
- templates/config/sinatra_config.rb
|
69
|
+
- templates/lib/body_parser.rb
|
70
|
+
- templates/lib/tasks/doc.rake
|
71
|
+
- templates/lib/tasks/doc_generator/bootstrap/.gitignore
|
72
|
+
- templates/lib/tasks/doc_generator/bootstrap/LICENSE
|
73
|
+
- templates/lib/tasks/doc_generator/bootstrap/Makefile
|
74
|
+
- templates/lib/tasks/doc_generator/bootstrap/README.md
|
75
|
+
- templates/lib/tasks/doc_generator/bootstrap/bootstrap.css
|
76
|
+
- templates/lib/tasks/doc_generator/bootstrap/bootstrap.min.css
|
77
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/css/docs.css
|
78
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/bootstrap-apple-114x114.png
|
79
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/bootstrap-apple-57x57.png
|
80
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/bootstrap-apple-72x72.png
|
81
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/ico/favicon.ico
|
82
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/bird.png
|
83
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/browsers.png
|
84
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/example-diagram-01.png
|
85
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/example-diagram-02.png
|
86
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/example-diagram-03.png
|
87
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/grid-18px.png
|
88
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/img/twitter-logo-no-bird.png
|
89
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/js/application.js
|
90
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/js/google-code-prettify/prettify.css
|
91
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/assets/js/google-code-prettify/prettify.js
|
92
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/index.html
|
93
|
+
- templates/lib/tasks/doc_generator/bootstrap/docs/javascript.html
|
94
|
+
- templates/lib/tasks/doc_generator/bootstrap/examples/container-app.html
|
95
|
+
- templates/lib/tasks/doc_generator/bootstrap/examples/fluid.html
|
96
|
+
- templates/lib/tasks/doc_generator/bootstrap/examples/hero.html
|
97
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-alerts.js
|
98
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-buttons.js
|
99
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-dropdown.js
|
100
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-modal.js
|
101
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-popover.js
|
102
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-scrollspy.js
|
103
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-tabs.js
|
104
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/bootstrap-twipsy.js
|
105
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/index.html
|
106
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-alerts.js
|
107
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-buttons.js
|
108
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-dropdown.js
|
109
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-modal.js
|
110
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-popover.js
|
111
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-scrollspy.js
|
112
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-tabs.js
|
113
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/unit/bootstrap-twipsy.js
|
114
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/vendor/qunit.css
|
115
|
+
- templates/lib/tasks/doc_generator/bootstrap/js/tests/vendor/qunit.js
|
116
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/bootstrap.less
|
117
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/forms.less
|
118
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/mixins.less
|
119
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/patterns.less
|
120
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/reset.less
|
121
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/scaffolding.less
|
122
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/tables.less
|
123
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/type.less
|
124
|
+
- templates/lib/tasks/doc_generator/bootstrap/lib/variables.less
|
125
|
+
- templates/lib/tasks/doc_generator/template.erb
|
126
|
+
- templates/public/favicon.ico
|
127
|
+
- wd-sinatra.gemspec
|
128
|
+
homepage: https://github.com/mattetti/wd_sinatra
|
129
|
+
licenses: []
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
136
|
+
requirements:
|
137
|
+
- - ! '>='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
requirements: []
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 1.8.16
|
149
|
+
signing_key:
|
150
|
+
specification_version: 3
|
151
|
+
summary: Weasel-Diesel Sinatra app gem, allowing you to generate/update sinatra apps
|
152
|
+
using the Weasel Diesel DSL
|
153
|
+
test_files: []
|
154
|
+
has_rdoc:
|