rugular 0.9.11 → 0.9.12

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: 5d6e2a635b69123c08b807fbb437bed7fed08d3f
4
- data.tar.gz: 7391f62fb550633909496a76e0f4d8749e7a271d
3
+ metadata.gz: c50b180e36f8c0a4782687308844348449b3295e
4
+ data.tar.gz: f6798da925f31d3f331816275b4cf588ac60b50d
5
5
  SHA512:
6
- metadata.gz: bd75480f84613f4fd02de24966493e94af7f3e228b95683ee33878b72879194afb8ec44cbdaff98c6041905a20650c0f3c6ef6229238b9ec44114564cce25c98
7
- data.tar.gz: 4710c27c9ddf49fee7345fc426b28018b277f3f5340a8191212b76b16190197ed0dc47ff7bf4b14c5e165c7782ef3b0b2414203c6782a858d9c7451583658f71
6
+ metadata.gz: 761a09ea3103c1948f7c76e1b9235eb28c1195ac3616b1cd2ddf78712dab057908745eaf122d6eeb4c33a3edb6f973919847514f1f67f3fb5e1ea94238c7b70f
7
+ data.tar.gz: b380a6d74dfec31228b8315b8e62e32005d8c97ab8ed68628078a56dc7334026e166791970ac83f9f16ce9e4acbadcd47f74434f3c16c6a00d701bf759a784a9
@@ -25,13 +25,7 @@ module Rugular
25
25
 
26
26
  def compile_bower_javascript
27
27
  File.open('dist/vendor.js', 'w') do |file|
28
- file.write(Uglifier.compile(bower_and_vendor_javascript))
29
- end
30
- end
31
-
32
- def compile_bower_stylesheets
33
- File.open('dist/vendor.css', 'w') do |file|
34
- file.write bower_css
28
+ file.write(Uglifier.compile(bower_javascript))
35
29
  end
36
30
  end
37
31
 
@@ -94,31 +88,14 @@ module Rugular
94
88
 
95
89
  private
96
90
 
97
- def bower_and_vendor_javascript
98
- bower_javascript + vendor_javascript
99
- end
100
-
101
91
  def bower_javascript
102
- bower_yaml.fetch('bower_components').fetch('js').map do |filename|
92
+ bower_yaml.fetch('js').map do |filename|
103
93
  File.read('bower_components/' + filename)
104
94
  end.join
105
95
  end
106
96
 
107
- def vendor_javascript
108
- bower_yaml.fetch('vendor').fetch('coffee').map do |filename|
109
- CoffeeScript.compile(File.read('vendor/' + filename))
110
- end.join
111
- end
112
-
113
- def bower_css
114
- bower_yaml.fetch('bower_components').fetch('css').map do |filename|
115
- File.read('bower_components/' + filename)
116
- end.join
117
- end
118
-
119
-
120
97
  def bower_yaml
121
- YAML.load(File.read('src/bower_components.yaml'))
98
+ YAML.load(File.read('bower_components.yaml'))
122
99
  end
123
100
 
124
101
  def lib_directory
@@ -1,3 +1,3 @@
1
1
  module Rugular
2
- VERSION = '0.9.11'
2
+ VERSION = '0.9.12'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook