foxpage 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 98eb0f68d2163136732589c5da391975f8164e5c4e985dccd0bd24e893bc3045
4
- data.tar.gz: e45d62a4c2a508010d066eab5fe822f8bc0a740c89b219a08d5a93e587b1ed8d
3
+ metadata.gz: 80a1fdb0c07dcf54fcca8c9fa2e3d6e2b7b1567edb663d298b1dd97ab33d37f8
4
+ data.tar.gz: 6b3c0c52f6146f0124e616a07cd941e7845543d813f5aadbbccc70d58c41bf7e
5
5
  SHA512:
6
- metadata.gz: e6ae9e51e8c3defd140e169df2d9126e2227922af918dab4d4cdd69ed356214e680850f941f15d450b9656b130fc2a8ec03321864060f42eebe0d86dac33eeb3
7
- data.tar.gz: 6dd3289ed9aba23e9b74f14fcdbc46d902f9ce4ed05c291b20707525b5061a6666ff2cd60f9dd15c238c8dfac866e4315a09dcb225ffa5b2d5672133e1024bf7
6
+ metadata.gz: c745470d17e8ab8b47a9f2c24aab465129fafa219adb42d50a39b10529b71f9d78011d0abc32888038f7a5ddd251efd7f63b99dee83f974933f66b96bdec0f9b
7
+ data.tar.gz: 91dc44b03e5ba5b431d24d3f462d657ca2b6a306336a64224625ddd488cdc0abbf5c8ff03b4a2ce56a909b9b3c4fa2ef597a85df924d05fad447183c5341364c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- foxpage (0.2.0)
4
+ foxpage (0.2.1)
5
5
  haml (~> 5.1)
6
6
  listen (~> 3.1)
7
7
  sassc (~> 2.0)
@@ -5,12 +5,13 @@ require "sprockets"
5
5
  module FoxPage
6
6
  module Helpers
7
7
  module AssetsHelper
8
- def asset_path(source)
9
- File.join("/assets", app.sprockets.manifest.assets[source])
8
+ def asset_path(source, prepend: "")
9
+ prepend +
10
+ File.join("/assets", app.sprockets.manifest.assets[source])
10
11
  end
11
12
 
12
- def stylesheet_link_tag(source)
13
- %(<link rel="stylesheet" href=#{asset_path(source).inspect} />)
13
+ def stylesheet_link_tag(source, prepend: "")
14
+ %(<link rel="stylesheet" href=#{asset_path(source, prepend: prepend).inspect} />)
14
15
  end
15
16
  end
16
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FoxPage
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foxpage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Gadinger
@@ -215,6 +215,7 @@ files:
215
215
  - lib/fox_page/app_template/app/controllers/application_controller.rb.tt
216
216
  - lib/fox_page/app_template/app/controllers/home_controller.rb.tt
217
217
  - lib/fox_page/app_template/app/helpers/application_helper.rb.tt
218
+ - lib/fox_page/app_template/app/models/__dot__keep.tt
218
219
  - lib/fox_page/app_template/app/views/home/index.haml.tt
219
220
  - lib/fox_page/app_template/app/views/layouts/_footer.haml.tt
220
221
  - lib/fox_page/app_template/app/views/layouts/default.haml.tt
@@ -223,6 +224,7 @@ files:
223
224
  - lib/fox_page/app_template/config/environment.rb.tt
224
225
  - lib/fox_page/app_template/config/routes.rb.tt
225
226
  - lib/fox_page/app_template/config/site.yml.tt
227
+ - lib/fox_page/app_template/data/__dot__keep.tt
226
228
  - lib/fox_page/app_template/gems.rb.tt
227
229
  - lib/fox_page/app_template/public/__dot__keep.tt
228
230
  - lib/fox_page/application.rb