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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 741d77e4a774092661eb29a461253769b500bfe5
4
- data.tar.gz: f7fc04f9f2188a0ddb8d4ef88eac0190344edc08
3
+ metadata.gz: e233a3c6114dbcd7ac696adafb3aabc804bb696e
4
+ data.tar.gz: 44ffe08f2179576ae513c6c8c41fca0db723294a
5
5
  SHA512:
6
- metadata.gz: 806d5702cfd5c227508fe0c32320276c88c3c357655b835971e402885b5bb57dfd757dd5387cae8583e3a64259e9323d1515cf070597bfc447c8d9b58680f61a
7
- data.tar.gz: 6fc2625d6cb369025448bbf582df57d06f235a75149c6dc69affe380117b1edea0f576dc909c6125f9736aed2a86b6591b0a599d27d4f58dd74396e949ab0a79
6
+ metadata.gz: c439a65f4c2ce2b86f63ff35f700341bfe29426b394a4e2d2e0e0c935d3256bded30b8af3a9235b94606c20080f4c2bac0b56eabad75b55f53edbd923bc00e1e
7
+ data.tar.gz: 52e61896d141714981ac4af76d8dfeb3a13b8e27fcd15293a6b9e8ef201085e3eee4330fb582d9ceb3e392b74eb4a3169ad1daba68f4e6104dd3949902c0dff1
@@ -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"
@@ -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"
@@ -1,5 +1,4 @@
1
1
  require "sprockets"
2
- require "sprockets/export"
3
2
 
4
3
  module Blade::Assets
5
4
  autoload :Builder, "blade/assets/builder"
@@ -1,3 +1,3 @@
1
1
  module Blade
2
- VERSION = "0.6.1"
2
+ VERSION = "0.7.0"
3
3
  end
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.6.1
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-12 00:00:00.000000000 Z
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