modular-grid 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/modular.rb +5 -15
- data/lib/modular/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a21dbbc87df67830ef3d5727b73e0e8cec52a225
|
4
|
+
data.tar.gz: d664e3fa2e037a5d42bb7372928a120ec35c58fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6ea724b0a2d073633a5ea6e30cde187e30f1c21e05d8d577a92f838f96a0795d627713c4f3a3e242e95712c40b0269a18cbde0175dd812fc4a8c92824fd555d
|
7
|
+
data.tar.gz: e26b353ebff813727cbad4444478b00e2f075d65e4ca8cd49e38e010ef9448f9535745910697fb898d5144e3377b5269a708bf7494702dcdf40a628b830b6946
|
data/lib/modular.rb
CHANGED
@@ -1,19 +1,9 @@
|
|
1
1
|
require "modular/version"
|
2
2
|
|
3
3
|
module Modular
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
# class Railtie < ::Rails::Railtie
|
10
|
-
# rake_tasks do
|
11
|
-
# load "tasks/install.rake"
|
12
|
-
# end
|
13
|
-
# end
|
14
|
-
# end
|
15
|
-
# else
|
16
|
-
modular_path = File.expand_path("../../app/assets/stylesheets", __FILE__)
|
17
|
-
ENV["SASS_PATH"] = [ENV["SASS_PATH"], modular_path].compact.join(File::PATH_SEPARATOR)
|
18
|
-
# end
|
4
|
+
if defined?(Rails) && defined?(Rails::Engine)
|
5
|
+
class Engine < ::Rails::Engine
|
6
|
+
require 'modular/engine'
|
7
|
+
end
|
8
|
+
end
|
19
9
|
end
|
data/lib/modular/version.rb
CHANGED