blade 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/blade.gemspec +0 -1
- data/lib/blade.rb +7 -0
- data/lib/blade/assets.rb +0 -1
- data/lib/blade/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e233a3c6114dbcd7ac696adafb3aabc804bb696e
|
4
|
+
data.tar.gz: 44ffe08f2179576ae513c6c8c41fca0db723294a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c439a65f4c2ce2b86f63ff35f700341bfe29426b394a4e2d2e0e0c935d3256bded30b8af3a9235b94606c20080f4c2bac0b56eabad75b55f53edbd923bc00e1e
|
7
|
+
data.tar.gz: 52e61896d141714981ac4af76d8dfeb3a13b8e27fcd15293a6b9e8ef201085e3eee4330fb582d9ceb3e392b74eb4a3169ad1daba68f4e6104dd3949902c0dff1
|
data/blade.gemspec
CHANGED
@@ -30,7 +30,6 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_dependency "eventmachine"
|
31
31
|
spec.add_dependency "faye"
|
32
32
|
spec.add_dependency "sprockets", ">= 3.0"
|
33
|
-
spec.add_dependency "sprockets-export", "~> 0.9.1"
|
34
33
|
spec.add_dependency "thin", ">= 1.6.0"
|
35
34
|
spec.add_dependency "useragent", "~> 0.16.7"
|
36
35
|
spec.add_dependency "thor", "~> 0.19.1"
|
data/lib/blade.rb
CHANGED
@@ -83,6 +83,7 @@ module Blade
|
|
83
83
|
|
84
84
|
config.plugins ||= {}
|
85
85
|
|
86
|
+
load_requires
|
86
87
|
load_plugins
|
87
88
|
load_adapter
|
88
89
|
end
|
@@ -140,6 +141,12 @@ module Blade
|
|
140
141
|
require "blade/#{config.framework}_adapter"
|
141
142
|
end
|
142
143
|
|
144
|
+
def load_requires
|
145
|
+
Array(config.require).each do |path|
|
146
|
+
require path
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
143
150
|
def load_plugins
|
144
151
|
config.plugins.keys.each do |name|
|
145
152
|
require "blade/#{name}_plugin"
|
data/lib/blade/assets.rb
CHANGED
data/lib/blade/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javan Makhmali
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -150,20 +150,6 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '3.0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: sprockets-export
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 0.9.1
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 0.9.1
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: thin
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|