skellington 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a7028bcf25ec372455d53550889c479e3f617cd
4
- data.tar.gz: 3636e5fc091105437222fd201a3c74098a8570ef
3
+ metadata.gz: 7dc5484b1c9079b8be1dae1dac6c47a31e9ba333
4
+ data.tar.gz: 993da921c5a9f9764717a8f10f44380db612fdb2
5
5
  SHA512:
6
- metadata.gz: e82d7b50817d06e14f8407508ba45a5c44f5f73070f9c9620e0787d25fa056c78cfdc306592be9bdaec7373b66ed74d0022ace363465adcf3a40d7c3c81a8777
7
- data.tar.gz: 4b521d0ae78e5f1472dab29f869ae7f5609f3bd9c16447b7ccc1340a7944f75fbac632157690dd324cf1e9b3439549123a6b8dc29ac76577655f850ec2ff59b0
6
+ metadata.gz: 3754fca5ee211a698ac4cd0e2c8991fd5a60995268bc7b38f42eaf0463727546c6c679bdcba9e7fc4b97e3adc96fec0be39adcd17e8da46a3377f89d2eee8732
7
+ data.tar.gz: 51df3f90778e82f288f18b94bd8c40f9a18fb03d4b953af3dfed212df61f0e9a129560552ddaec468657c6f0e9c3c7d093d14392b35d0f2a9c50ef36d95175e3
@@ -15,6 +15,7 @@ module Skellington
15
15
  @g.licensor = options[:licensor]
16
16
  @g.run
17
17
  end
18
+ map %w(-g) => :generate
18
19
 
19
20
  desc 'postinstall', 'Show some helpful hints'
20
21
  def postinstall
@@ -1,3 +1,3 @@
1
1
  module Skellington
2
- VERSION = '0.7.2'
2
+ VERSION = '0.7.3'
3
3
  end
@@ -19,7 +19,7 @@ module <%= @gen.camelname %>
19
19
  wants.html do
20
20
  @content = '<h1>Hello from <%= @gen.camelname %></h1>'
21
21
  @title = '<%= @gen.camelname %>'
22
- @github_url = CONFIG['github_url'] || 'https://github.com'
22
+ @github_url = CONFIG['github_url']
23
23
  erb :index, layout: :default
24
24
  end
25
25
 
@@ -2,7 +2,7 @@
2
2
  <html lang='en'>
3
3
  <%%= erb :'includes/header' %>
4
4
  <body>
5
- <%%= erb :'includes/github-corner' %>
5
+ <%%= erb :'includes/github-corner' if @github_url %>
6
6
  <div class='container'>
7
7
  <div class='row'>
8
8
  <div class='col-md-2'></div>
data/spec/cli/app_spec.rb CHANGED
@@ -29,7 +29,7 @@ module Skellington
29
29
  wants.html do
30
30
  @content = '<h1>Hello from DummyApp</h1>'
31
31
  @title = 'DummyApp'
32
- @github_url = CONFIG['github_url'] || 'https://github.com'
32
+ @github_url = CONFIG['github_url']
33
33
  erb :index, layout: :default
34
34
  end
35
35
 
@@ -12,7 +12,7 @@ module Skellington
12
12
  <html lang='en'>
13
13
  /erb.*'includes/header'/
14
14
  <body>
15
- /erb.*'includes/github-corner'/
15
+ /erb.*'includes/github-corner' if @github_url/
16
16
  <div class='container'>
17
17
  <div class='row'>
18
18
  <div class='col-md-2'></div>
@@ -29,7 +29,7 @@ module Skellington
29
29
  wants.html do
30
30
  @content = '<h1>Hello from SomeApp</h1>'
31
31
  @title = 'SomeApp'
32
- @github_url = CONFIG['github_url'] || 'https://github.com'
32
+ @github_url = CONFIG['github_url']
33
33
  erb :index, layout: :default
34
34
  end
35
35
 
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.7.2
4
+ version: 0.7.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-09-01 00:00:00.000000000 Z
11
+ date: 2016-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor