spuit 0.0.6 → 0.0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -0
- data/lib/spuit.rb +7 -7
- data/lib/spuit/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc84568b67707972d4c148fe4f68c36440d79f5b
|
4
|
+
data.tar.gz: 201c0b13dfa3be8640cf34eb4bcd9b48449e1026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5b7f8a26f61a56e6a0073136418362c606e76accffc180605214f8ac5bf761664908ea7b776c6bfce5507ccb1fe509d27432197e11b8f741a22e21c405e1e48
|
7
|
+
data.tar.gz: 34b99fd3d6abe43e3cb569d1ea680ef4aff31bf715dfd1f0610e766b1d158a13618d3e8e74d9990d6a3c0cc538d61a05e08355524926f79b74d7b04bc215783a
|
data/Gemfile.lock
ADDED
data/lib/spuit.rb
CHANGED
@@ -3,16 +3,16 @@
|
|
3
3
|
dir = File.dirname(__FILE__)
|
4
4
|
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
|
5
5
|
|
6
|
-
require "
|
7
|
-
require "
|
6
|
+
require "spuit/generator"
|
7
|
+
require "spuit/version"
|
8
8
|
require 'sass'
|
9
|
-
require '
|
9
|
+
require 'spuit'
|
10
10
|
|
11
11
|
unless defined?(Sass)
|
12
12
|
require 'sass'
|
13
13
|
end
|
14
14
|
|
15
|
-
module
|
15
|
+
module Spuit
|
16
16
|
@components ||= []
|
17
17
|
class << self
|
18
18
|
attr_accessor :components
|
@@ -24,7 +24,7 @@ module Oulu
|
|
24
24
|
|
25
25
|
if defined?(Rails) && defined?(Rails::Engine)
|
26
26
|
class Engine < ::Rails::Engine
|
27
|
-
require '
|
27
|
+
require 'spuit/engine'
|
28
28
|
end
|
29
29
|
|
30
30
|
module Rails
|
@@ -35,7 +35,7 @@ module Oulu
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
else
|
38
|
-
|
39
|
-
ENV["SASS_PATH"] = [ENV["SASS_PATH"],
|
38
|
+
spuit_path = File.expand_path("../../app/assets/stylesheets", __FILE__)
|
39
|
+
ENV["SASS_PATH"] = [ENV["SASS_PATH"], spuit_path].compact.join(File::PATH_SEPARATOR)
|
40
40
|
end
|
41
41
|
end
|
data/lib/spuit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spuit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6
|
4
|
+
version: 0.0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- is8r
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- ".gitignore"
|
50
50
|
- ".npmignore"
|
51
51
|
- Gemfile
|
52
|
+
- Gemfile.lock
|
52
53
|
- README.md
|
53
54
|
- Rakefile
|
54
55
|
- assets/javascripts/index.js
|