skellington 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fa8054ba525d6331053badd6a6bf85b67a4f227
|
4
|
+
data.tar.gz: 72b3ac473d0c0610d1577d6d287bc51e307ba25e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a413c46c080d78fee84e2dd1a39d792a8b39ff6aae437f5196ad06f8d5aaaa060d7ad272f704d512ad02007bcff83caf41a5f0c92347c1111ca036288450e676
|
7
|
+
data.tar.gz: 02a80db9145cf3ee0f40eea2e251f7317f7caa29c9bcbb3f17d76540fb4db49f41b2792f8d4125cd8807b49b8651dbd7e8ebcd37bf6e99d0541172b930f5aa09
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<% if @gen.framework == 'sinatra' %>
|
2
|
+
<% if @gen.bootstrap == '4' %>
|
3
|
+
<% @gen.gems['production'].delete 'bootstrap-sass' %>
|
4
|
+
<% @gen.gems['production']['bootstrap'] = '4.0.0.alpha5' %>
|
5
|
+
<% end %>
|
6
|
+
<% end %>
|
7
|
+
source 'https://rubygems.org'
|
8
|
+
|
9
|
+
ruby '<%= RUBY_VERSION %>'
|
10
|
+
<% gems = {} %>
|
11
|
+
<% case @gen.framework %>
|
12
|
+
<% when 'sinatra' %>
|
13
|
+
<% gems = @gen.gems['production'] %>
|
14
|
+
<% when 'jekyll' %>
|
15
|
+
<% gems = @gen.gems %>
|
16
|
+
<% end %>
|
17
|
+
<% gems.each_pair do |gem, version| %>
|
18
|
+
gem '<%= gem %>'<% if version %>, '~> <%= version %>'<% end %>
|
19
|
+
<% end %>
|
20
|
+
|
21
|
+
<% if @gen.framework == 'sinatra' %>
|
22
|
+
group :test do
|
23
|
+
<% @gen.gems['test'].each_pair do |gem, version| %>
|
24
|
+
gem '<%= gem %>'<% if version %>, '~> <%= version %>'<% end %>
|
25
|
+
<% end %>
|
26
|
+
end
|
27
|
+
<% end %>
|
data/lib/skellington/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skellington
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pikesley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -197,6 +197,7 @@ files:
|
|
197
197
|
- bin/skellington
|
198
198
|
- config/config.yaml
|
199
199
|
- lib/common/templates/.ruby-version.eruby
|
200
|
+
- lib/common/templates/Gemfile.eruby
|
200
201
|
- lib/common/templates/LICENSE.md.eruby
|
201
202
|
- lib/common/templates/gitignore
|
202
203
|
- lib/common/templates/includes/footer
|
@@ -208,13 +209,11 @@ files:
|
|
208
209
|
- lib/common/templates/sass/styles.scss
|
209
210
|
- lib/common/templates/sass/variables.scss
|
210
211
|
- lib/common/templates/views/layout
|
211
|
-
- lib/jekyll/templates/Gemfile.eruby
|
212
212
|
- lib/jekyll/templates/_config.yml.eruby
|
213
213
|
- lib/jekyll/templates/_data/libs.yml.eruby
|
214
214
|
- lib/jekyll/templates/index.md.eruby
|
215
215
|
- lib/jekyll/templates/post-run.eruby
|
216
216
|
- lib/sinatra/templates/.rspec.eruby
|
217
|
-
- lib/sinatra/templates/Gemfile.eruby
|
218
217
|
- lib/sinatra/templates/Guardfile.eruby
|
219
218
|
- lib/sinatra/templates/Procfile.eruby
|
220
219
|
- lib/sinatra/templates/Rakefile.eruby
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<% if @gen.bootstrap == '4' %>
|
2
|
-
<% @gen.gems['production'].delete 'bootstrap-sass' %>
|
3
|
-
<% @gen.gems['production']['bootstrap'] = '4.0.0.alpha5' %>
|
4
|
-
<% end %>
|
5
|
-
source 'https://rubygems.org'
|
6
|
-
|
7
|
-
ruby '<%= RUBY_VERSION %>'
|
8
|
-
|
9
|
-
<% @gen.gems['production'].each_pair do |gem, version| %>
|
10
|
-
gem '<%= gem %>'<% if version %>, '~> <%= version %>'<% end %>
|
11
|
-
<% end %>
|
12
|
-
|
13
|
-
group :test do
|
14
|
-
<% @gen.gems['test'].each_pair do |gem, version| %>
|
15
|
-
gem '<%= gem %>'<% if version %>, '~> <%= version %>'<% end %>
|
16
|
-
<% end %>
|
17
|
-
end
|