allen 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/allen/project.rb CHANGED
@@ -32,8 +32,8 @@ module Allen
32
32
  def js
33
33
  @js_asset_bundle ||= begin
34
34
  preprocessor = Preprocessors.for(settings.js_preprocessor)
35
- input = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.js_input}"
36
- output = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.js_output}"
35
+ input = "#{settings.webroot}/#{settings.js_input}"
36
+ output = "#{settings.webroot}/#{settings.js_output}"
37
37
  AssetBundle.new(preprocessor, input, output)
38
38
  end
39
39
  end
@@ -41,8 +41,8 @@ module Allen
41
41
  def css
42
42
  @css_asset_bundle ||= begin
43
43
  preprocessor = Preprocessors.for(settings.css_preprocessor)
44
- input = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.css_input}"
45
- output = "#{settings.src_dir}/#{settings.client}.#{name}/#{settings.css_output}"
44
+ input = "#{settings.webroot}/#{settings.css_input}"
45
+ output = "#{settings.webroot}/#{settings.css_output}"
46
46
  AssetBundle.new(preprocessor, input, output)
47
47
  end
48
48
  end
@@ -7,6 +7,7 @@ module Allen
7
7
  pwd = Dir.pwd
8
8
 
9
9
  defaults = Proc.new do
10
+ name "Umbraco"
10
11
  client "Client"
11
12
  type :umbraco
12
13
  css_input "assets/stylesheets/app/application.less"
@@ -20,7 +21,7 @@ module Allen
20
21
  solution { "#{src_dir}/#{client}.sln" }
21
22
  targets [:clean, :build]
22
23
  parameters ""
23
- webroot { "#{src_dir}/#{client}.Umbraco" }
24
+ webroot { "#{src_dir}/#{client}.#{name}" }
24
25
  end
25
26
 
26
27
  configure defaults
data/lib/allen/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Allen
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-03-12 00:00:00.000000000 Z
13
+ date: 2013-04-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor
@@ -249,12 +249,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
249
249
  - - ! '>='
250
250
  - !ruby/object:Gem::Version
251
251
  version: '0'
252
+ segments:
253
+ - 0
254
+ hash: 2739138692409483158
252
255
  required_rubygems_version: !ruby/object:Gem::Requirement
253
256
  none: false
254
257
  requirements:
255
258
  - - ! '>='
256
259
  - !ruby/object:Gem::Version
257
260
  version: '0'
261
+ segments:
262
+ - 0
263
+ hash: 2739138692409483158
258
264
  requirements: []
259
265
  rubyforge_project:
260
266
  rubygems_version: 1.8.23