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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80a1fdb0c07dcf54fcca8c9fa2e3d6e2b7b1567edb663d298b1dd97ab33d37f8
|
4
|
+
data.tar.gz: 6b3c0c52f6146f0124e616a07cd941e7845543d813f5aadbbccc70d58c41bf7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c745470d17e8ab8b47a9f2c24aab465129fafa219adb42d50a39b10529b71f9d78011d0abc32888038f7a5ddd251efd7f63b99dee83f974933f66b96bdec0f9b
|
7
|
+
data.tar.gz: 91dc44b03e5ba5b431d24d3f462d657ca2b6a306336a64224625ddd488cdc0abbf5c8ff03b4a2ce56a909b9b3c4fa2ef597a85df924d05fad447183c5341364c
|
data/Gemfile.lock
CHANGED
File without changes
|
File without changes
|
@@ -5,12 +5,13 @@ require "sprockets"
|
|
5
5
|
module FoxPage
|
6
6
|
module Helpers
|
7
7
|
module AssetsHelper
|
8
|
-
def asset_path(source)
|
9
|
-
|
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
|
data/lib/fox_page/version.rb
CHANGED
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.
|
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
|