cosmit-suspenders 1.36.2 → 1.36.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: f0c7c391b91e634c80f40b879963d29a61f41af0
4
- data.tar.gz: b9887843a644b1738407e826e880f5f38344064a
3
+ metadata.gz: d1e7d713bc808f4f69cf91bd35385907a058f652
4
+ data.tar.gz: 0d7d1d58b5824d23b934250d7d953065e26fee63
5
5
  SHA512:
6
- metadata.gz: c6f5790d4d70ab924001462609c3994ba01a210b4950a38309e41d8e08de1a86214e128eb33cdcc50d089ed1d01e081093a70852f1e017e192c4d71556d263cd
7
- data.tar.gz: 746174f87e4757c7d5fc14278eb4752a9b80792cff618d705cdd1ff527d1ca8a896be7447996559cc90992e2f12f715c7e099240faacf63cde3467bc2642d300
6
+ metadata.gz: 4a973ba3c5e9038aaa08491f892aa021e49a334a70f14c360e7677bb735ef741629192291f3a922a971796e5384ad0c41dd48c91443e95ab13d8a9e204bf99df
7
+ data.tar.gz: e99cb007eca65640927c2bca461859e6b319e13d105f74d9b23c6b7a0f2a51c3e8f8c346ee09b3f40ed465569a11acf780f9fb544ce4423dbe1c2bc3064c523e
@@ -232,6 +232,18 @@ end
232
232
  force: true
233
233
  end
234
234
 
235
+ def create_application_header
236
+ template '_header.html.slim.erb',
237
+ 'app/views/partials/_header.html.slim',
238
+ force: true
239
+ end
240
+
241
+ def create_application_footer
242
+ template '_footer.html.slim.erb',
243
+ 'app/views/partials/_footer.html.slim',
244
+ force: true
245
+ end
246
+
235
247
  def use_postgres_config_template
236
248
  template 'postgresql_database.yml.erb', 'config/database.yml',
237
249
  force: true
@@ -149,6 +149,8 @@ module Suspenders
149
149
  build :create_shared_flashes
150
150
  build :create_shared_javascripts
151
151
  build :create_application_layout
152
+ build :create_application_header
153
+ build :create_application_footer
152
154
  end
153
155
 
154
156
  def configure_app
@@ -1,5 +1,5 @@
1
1
  module Suspenders
2
2
  RAILS_VERSION = "~> 4.2"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "1.36.2"
4
+ VERSION = "1.36.3"
5
5
  end
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cosmit-suspenders
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.2
4
+ version: 1.36.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - COSMIT
@@ -141,6 +141,8 @@ files:
141
141
  - templates/Procfile
142
142
  - templates/README.md.erb
143
143
  - templates/_flash.html.slim
144
+ - templates/_footer.html.slim
145
+ - templates/_header.html.slim
144
146
  - templates/_javascript.html.slim
145
147
  - templates/action_mailer.rb
146
148
  - templates/app.json.erb
@@ -174,7 +176,7 @@ files:
174
176
  - templates/spec_helper.rb
175
177
  - templates/staging.rb
176
178
  - templates/suspenders_gitignore
177
- - templates/suspenders_layout.html.slim.erb
179
+ - templates/suspenders_layout.html.slim
178
180
  homepage: https://github.com/COSMITdev/suspenders
179
181
  licenses:
180
182
  - MIT