high_five 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- high_five (0.0.3)
4
+ high_five (0.0.4)
5
5
  compass (~> 0.12.2)
6
6
  sprockets (~> 2.9.0)
7
7
  thor (~> 0.17.0)
@@ -88,8 +88,8 @@ module HighFive
88
88
  @sass_files << path.dup
89
89
  end
90
90
 
91
- def compass(config_file)
92
- @compass_configs << config_file.dup
91
+ def compass(config_dir)
92
+ @compass_dir = config_dir
93
93
  end
94
94
 
95
95
  def stylesheets(path)
@@ -36,11 +36,11 @@ module HighFive
36
36
 
37
37
  if @config.compass_dir
38
38
  compass_dir = File.join(base_config.root, @config.compass_dir)
39
+ say "Precompiling compass styles from #{compass_dir}}"
39
40
  pwd = Dir.pwd
40
41
  Dir.chdir compass_dir
41
42
  # TODO make this invoke compass programatically
42
43
  # Consider using sprockets for css too, although I kindof hate that
43
- say "Precompiling compass styles from #{compass_dir}}"
44
44
  success = false
45
45
  if @environment == "production"
46
46
  success = system("compass compile --force --no-debug-info -e production")
@@ -69,10 +69,11 @@ module HighFive
69
69
  bundle.write_to(appjs)
70
70
  else
71
71
  # Add each of the javascript files to the generated folder
72
- @javascripts = bundle.dependencies.map do |asset|
72
+ @javascripts = []
73
+ bundle.dependencies.each do |asset|
73
74
  next if asset.logical_path =~ /^config\/high_five/ #don't copy manifest files
74
75
  copy_file asset.logical_path
75
- asset.logical_path
76
+ @javascripts << asset.logical_path
76
77
  end
77
78
  end
78
79
 
@@ -1,3 +1,3 @@
1
1
  module HighFive
2
- VERSION = "0.0.4"
3
- end
2
+ VERSION = "0.0.5"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: high_five
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-12 00:00:00.000000000 Z
12
+ date: 2013-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor