component_library 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/{prism.js → _component_library/_prism.js} +0 -0
- data/app/assets/javascripts/{library.js → _component_library/library.js} +1 -0
- data/app/assets/stylesheets/{_prism.scss → _component_library/_prism.scss} +0 -0
- data/app/assets/stylesheets/{library.scss → _component_library/library.scss} +0 -0
- data/app/views/layouts/component_library.html.erb +2 -2
- data/lib/component_library.rb +8 -0
- data/lib/component_library/engine.rb +1 -1
- data/lib/component_library/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4185601bb49faa1ee46a96f5c110cda52f8e52e
|
4
|
+
data.tar.gz: b0371017de86bfc068d7cd5883a97b33a3e1cf06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26b2065319be021705f565d42aa15641655bcc78df317403bcc36f501d4fea6bea2e6f6f66f6618f2da8b8b2f15f1ff7b0e37b15f4399b62bd8a68a38f1d8923
|
7
|
+
data.tar.gz: 5c04680d48bbc96677b13b5cb5bc1cbea1fefb36765fba89e16244dab2426617d1c810a1ed1be5b1953a81155add057b1d81c95b668f41c1ba651a2da0c70286
|
File without changes
|
File without changes
|
File without changes
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Component</title>
|
5
|
-
<%= stylesheet_link_tag
|
6
|
-
<%= javascript_include_tag
|
5
|
+
<%= stylesheet_link_tag ComponentLibrary.stylesheet_path, ComponentLibrary.application_css, media: 'all' %>
|
6
|
+
<%= javascript_include_tag ComponentLibrary.javascript_path %>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
9
9
|
<body>
|
data/lib/component_library.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module ComponentLibrary
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
initializer "component_library.assets.precompile" do |app|
|
4
|
-
app.config.assets.precompile +=
|
4
|
+
app.config.assets.precompile += ["#{ComponentLibrary.stylesheet_path}.css", ComponentLibrary.javascript_path]
|
5
5
|
end
|
6
6
|
|
7
7
|
config.generators do |g|
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: component_library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rich Archer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.2.5.2
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 4.2.5.2
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: sqlite3
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +38,20 @@ dependencies:
|
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: '3.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sass
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,10 +82,10 @@ files:
|
|
82
82
|
- MIT-LICENSE
|
83
83
|
- README.rdoc
|
84
84
|
- Rakefile
|
85
|
-
- app/assets/javascripts/
|
86
|
-
- app/assets/javascripts/
|
87
|
-
- app/assets/stylesheets/_prism.scss
|
88
|
-
- app/assets/stylesheets/library.scss
|
85
|
+
- app/assets/javascripts/_component_library/_prism.js
|
86
|
+
- app/assets/javascripts/_component_library/library.js
|
87
|
+
- app/assets/stylesheets/_component_library/_prism.scss
|
88
|
+
- app/assets/stylesheets/_component_library/library.scss
|
89
89
|
- app/controllers/library_controller.rb
|
90
90
|
- app/models/library/component.rb
|
91
91
|
- app/models/library/librarian.rb
|