modular-grid 0.0.7 → 0.0.8

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: a21dbbc87df67830ef3d5727b73e0e8cec52a225
4
- data.tar.gz: d664e3fa2e037a5d42bb7372928a120ec35c58fb
3
+ metadata.gz: a702390b419fe8ad84dc67f09df3cbfd3ab42334
4
+ data.tar.gz: 4fd0ec699ac2441eb522da41831ef014b2cb94a5
5
5
  SHA512:
6
- metadata.gz: c6ea724b0a2d073633a5ea6e30cde187e30f1c21e05d8d577a92f838f96a0795d627713c4f3a3e242e95712c40b0269a18cbde0175dd812fc4a8c92824fd555d
7
- data.tar.gz: e26b353ebff813727cbad4444478b00e2f075d65e4ca8cd49e38e010ef9448f9535745910697fb898d5144e3377b5269a708bf7494702dcdf40a628b830b6946
6
+ metadata.gz: 68db76732533a8edb856ac0c849ef0ddf8119a9c82450085e5ce96f22c5535b6e360ae9a1ca8cfae83336074d14dfe5c29571725a63882645a79c6dc6cdb2835
7
+ data.tar.gz: 9d70a1e1f8f7d49da9a3bd9f0887e5c7640e06627487502f9272fde4b998c72440666d5ba05b910bb3027a0c8de9c670f77686a45261e31fccb4ef0b52aba330
data/lib/modular.rb CHANGED
@@ -1,9 +1,16 @@
1
1
  require "modular/version"
2
2
 
3
+ unless defined?(Sass)
4
+ require 'sass'
5
+ end
6
+
3
7
  module Modular
4
8
  if defined?(Rails) && defined?(Rails::Engine)
5
9
  class Engine < ::Rails::Engine
6
10
  require 'modular/engine'
7
11
  end
12
+ else
13
+ modular_path = File.expand_path("../../app/assets/stylesheets", __FILE__)
14
+ ENV["SASS_PATH"] = [ENV["SASS_PATH"], modular_path].compact.join(File::PATH_SEPARATOR)
8
15
  end
9
16
  end
@@ -1,6 +1,4 @@
1
- require "modular/version"
2
-
3
1
  module Modular
4
- class Engine < Rails::Engine
5
- end
2
+ class Engine < Rails::Engine
3
+ end
6
4
  end
@@ -1,3 +1,3 @@
1
1
  module Modular
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modular-grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Wreggelsworth