codeland-starter 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.rspec +3 -0
- data/.travis.yml +6 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +56 -0
- data/Rakefile +13 -0
- data/bin/codeland-starter +5 -0
- data/codeland-starter.gemspec +33 -0
- data/lib/codeland/starter.rb +50 -0
- data/lib/codeland/starter/cli.rb +33 -0
- data/lib/codeland/starter/codeland-starter.yml +5 -0
- data/lib/codeland/starter/configuration.rb +37 -0
- data/lib/codeland/starter/integrations/heroku.rb +87 -0
- data/lib/codeland/starter/version.rb +5 -0
- data/spec/fixtures/heroku_app.json +30 -0
- data/spec/spec_helper.rb +111 -0
- data/spec/starter/configuration_spec.rb +64 -0
- data/spec/starter/integrations/heroku_spec.rb +177 -0
- data/spec/starter/starter_spec.rb +62 -0
- data/template/codeland.rb +276 -0
- data/template/files/Procfile +1 -0
- data/template/files/app/assets/javascripts/flash.js.coffee.erb +11 -0
- data/template/files/app/assets/stylesheets/application.scss +18 -0
- data/template/files/app/assets/stylesheets/atoms/.keep +0 -0
- data/template/files/app/assets/stylesheets/base/_base.scss +0 -0
- data/template/files/app/assets/stylesheets/base/_typography.scss +0 -0
- data/template/files/app/assets/stylesheets/base/_utility.scss +0 -0
- data/template/files/app/assets/stylesheets/base/_variables-colors.scss +3 -0
- data/template/files/app/assets/stylesheets/base/_variables.scss +0 -0
- data/template/files/app/assets/stylesheets/molecules/_flash.scss +21 -0
- data/template/files/app/assets/stylesheets/organisms/_footer.scss +0 -0
- data/template/files/app/assets/stylesheets/organisms/_header.scss +0 -0
- data/template/files/app/views/layouts/_flash.html.slim +6 -0
- data/template/files/app/views/layouts/application.html.slim.erb +19 -0
- data/template/files/app/views/partials/_footer.html.slim +0 -0
- data/template/files/app/views/partials/_header.html.slim +0 -0
- metadata +244 -0
@@ -0,0 +1 @@
|
|
1
|
+
web: bundle exec passenger start -p $PORT --no-friendly-error-pages --max-pool-size 3
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@import "bootstrap-sprockets";
|
2
|
+
@import "bootstrap";
|
3
|
+
|
4
|
+
// ==== Base
|
5
|
+
@import "base/variables";
|
6
|
+
@import "base/variables-colors";
|
7
|
+
@import "base/base";
|
8
|
+
@import "base/typograph";
|
9
|
+
@import "base/utility";
|
10
|
+
|
11
|
+
// ==== Atoms
|
12
|
+
|
13
|
+
// ==== Molecules
|
14
|
+
@import "molecules/flash";
|
15
|
+
|
16
|
+
// ==== Organisms
|
17
|
+
@import "organisms/header";
|
18
|
+
@import "organisms/sidebar";
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
.flash {
|
2
|
+
font-size: 26px;
|
3
|
+
color: white;
|
4
|
+
z-index: 500;
|
5
|
+
position: fixed;
|
6
|
+
bottom: 0;
|
7
|
+
width: 100%;
|
8
|
+
text-align: center;
|
9
|
+
.wrapper {
|
10
|
+
padding: 20px;
|
11
|
+
}
|
12
|
+
.success.wrapper, .notice.wrapper {
|
13
|
+
background-color: $success;
|
14
|
+
}
|
15
|
+
.failure.wrapper, .alerts-error.wrapper, .alerts-error.wrapper {
|
16
|
+
background-color: $error;
|
17
|
+
}
|
18
|
+
.locale.wrapper {
|
19
|
+
background-color: $info;
|
20
|
+
}
|
21
|
+
}
|
File without changes
|
File without changes
|
@@ -0,0 +1,19 @@
|
|
1
|
+
doctype 5
|
2
|
+
html
|
3
|
+
head
|
4
|
+
meta[charset="utf-8"]
|
5
|
+
/[if lt IE 9]
|
6
|
+
meta[content="text/html; charset=utf-8" http-equiv="Content-Type"]
|
7
|
+
= javascript_include_tag "//html5shiv.googlecode.com/svn/trunk/html5.js"
|
8
|
+
meta[name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"]
|
9
|
+
title = content_for?(:page_title) ? "#{yield(:page_title)} - <%= @app_name.humanize %>" : "<%= @app_name.humanize %>"
|
10
|
+
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
11
|
+
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
12
|
+
= csrf_meta_tags
|
13
|
+
|
14
|
+
body
|
15
|
+
= initjs_tag "<%= @app_const_base %>"
|
16
|
+
= render 'flash' if flash.any?
|
17
|
+
= render 'partials/header'
|
18
|
+
= yield
|
19
|
+
= render 'partials/footer'
|
File without changes
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: codeland-starter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sérgio Schnorr Júnior
|
8
|
+
- Codeland
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2015-03-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: platform-api
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rails
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '3.1'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '3.1'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: thor
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0.19'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0.19'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: bundler
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.6'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.6'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rake
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rspec
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 3.1.0
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 3.1.0
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: webmock
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 1.20.3
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 1.20.3
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: simplecov
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.9.1
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.9.1
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: simplecov-console
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: pry
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: codeclimate-test-reporter
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 0.4.1
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 0.4.1
|
168
|
+
description:
|
169
|
+
email:
|
170
|
+
- jr.schnorr@gmail.com
|
171
|
+
- contato@codeland.com.br
|
172
|
+
executables:
|
173
|
+
- codeland-starter
|
174
|
+
extensions: []
|
175
|
+
extra_rdoc_files: []
|
176
|
+
files:
|
177
|
+
- ".gitignore"
|
178
|
+
- ".rspec"
|
179
|
+
- ".travis.yml"
|
180
|
+
- Gemfile
|
181
|
+
- LICENSE.txt
|
182
|
+
- README.md
|
183
|
+
- Rakefile
|
184
|
+
- bin/codeland-starter
|
185
|
+
- codeland-starter.gemspec
|
186
|
+
- lib/codeland/starter.rb
|
187
|
+
- lib/codeland/starter/cli.rb
|
188
|
+
- lib/codeland/starter/codeland-starter.yml
|
189
|
+
- lib/codeland/starter/configuration.rb
|
190
|
+
- lib/codeland/starter/integrations/heroku.rb
|
191
|
+
- lib/codeland/starter/version.rb
|
192
|
+
- spec/fixtures/heroku_app.json
|
193
|
+
- spec/spec_helper.rb
|
194
|
+
- spec/starter/configuration_spec.rb
|
195
|
+
- spec/starter/integrations/heroku_spec.rb
|
196
|
+
- spec/starter/starter_spec.rb
|
197
|
+
- template/codeland.rb
|
198
|
+
- template/files/Procfile
|
199
|
+
- template/files/app/assets/javascripts/flash.js.coffee.erb
|
200
|
+
- template/files/app/assets/stylesheets/application.scss
|
201
|
+
- template/files/app/assets/stylesheets/atoms/.keep
|
202
|
+
- template/files/app/assets/stylesheets/base/_base.scss
|
203
|
+
- template/files/app/assets/stylesheets/base/_typography.scss
|
204
|
+
- template/files/app/assets/stylesheets/base/_utility.scss
|
205
|
+
- template/files/app/assets/stylesheets/base/_variables-colors.scss
|
206
|
+
- template/files/app/assets/stylesheets/base/_variables.scss
|
207
|
+
- template/files/app/assets/stylesheets/molecules/_flash.scss
|
208
|
+
- template/files/app/assets/stylesheets/organisms/_footer.scss
|
209
|
+
- template/files/app/assets/stylesheets/organisms/_header.scss
|
210
|
+
- template/files/app/views/layouts/_flash.html.slim
|
211
|
+
- template/files/app/views/layouts/application.html.slim.erb
|
212
|
+
- template/files/app/views/partials/_footer.html.slim
|
213
|
+
- template/files/app/views/partials/_header.html.slim
|
214
|
+
homepage: https://github.com/codelandev/codeland-starter
|
215
|
+
licenses:
|
216
|
+
- MIT
|
217
|
+
metadata: {}
|
218
|
+
post_install_message:
|
219
|
+
rdoc_options: []
|
220
|
+
require_paths:
|
221
|
+
- bin
|
222
|
+
- lib
|
223
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
|
+
requirements:
|
230
|
+
- - ">="
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: '0'
|
233
|
+
requirements: []
|
234
|
+
rubyforge_project:
|
235
|
+
rubygems_version: 2.4.5
|
236
|
+
signing_key:
|
237
|
+
specification_version: 4
|
238
|
+
summary: To create Rails projects with template and integrations
|
239
|
+
test_files:
|
240
|
+
- spec/fixtures/heroku_app.json
|
241
|
+
- spec/spec_helper.rb
|
242
|
+
- spec/starter/configuration_spec.rb
|
243
|
+
- spec/starter/integrations/heroku_spec.rb
|
244
|
+
- spec/starter/starter_spec.rb
|