component_library 0.0.1 → 0.0.2
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: cdbee49ecd63836a26a371a4c2a16f315d7aa185
|
4
|
+
data.tar.gz: fecb47a1c43479c257865856a4c73cb6ce4a199a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ca5b4e4b68fa2c007a0b5482e4e693c8fe960e303112b1d98b681a917d3c011e6b295266551d5095f4d8d0931b574993eac4d2ca3acd38590336c31dd38ce8a
|
7
|
+
data.tar.gz: 8314630da1b459dc286688b0a8b5d30303c148a39f03e37c3669af52ce733245fe58e780cc75c8381b1df1fc499ad28204d82a8369f542aff455cdbda417c1a5
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Component</title>
|
5
|
-
<%= stylesheet_link_tag 'library',
|
5
|
+
<%= stylesheet_link_tag 'library', ComponentLibrary.application_css, media: 'all' %>
|
6
6
|
<%= javascript_include_tag 'prism' %>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
data/lib/component_library.rb
CHANGED
@@ -2,9 +2,10 @@ require "component_library/engine"
|
|
2
2
|
|
3
3
|
module ComponentLibrary
|
4
4
|
class << self
|
5
|
-
mattr_accessor :root_directory, :root_path
|
5
|
+
mattr_accessor :root_directory, :root_path, :application_css
|
6
6
|
self.root_directory = "component"
|
7
7
|
self.root_path = "components"
|
8
|
+
self.application_css = "application"
|
8
9
|
end
|
9
10
|
|
10
11
|
def self.setup(&block)
|