compass-aurora 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aurora.rb +2 -2
- data/templates/grunt/manifest.rb +1 -1
- data/templates/shared/Gemfile.txt +1 -0
- data/templates/shared/{Gruntfile.js → Gruntfile.js.erb} +9 -8
- data/templates/shared/aurora.info.erb +7 -3
- data/templates/shared/component.json.erb +1 -2
- data/templates/shared/config.rb.erb +8 -24
- data/templates/shared/package.json.erb +1 -2
- metadata +18 -4
data/lib/aurora.rb
CHANGED
data/templates/grunt/manifest.rb
CHANGED
@@ -2,7 +2,7 @@ description "Aurora Grunt Configuration"
|
|
2
2
|
no_configuration_file!
|
3
3
|
|
4
4
|
# Grunt's for the Boars
|
5
|
-
file '../shared/Gruntfile.js', :to => 'Gruntfile.js'
|
5
|
+
file '../shared/Gruntfile.js.erb', :to => 'Gruntfile.js', :erb => true
|
6
6
|
file '../shared/package.json.erb', :to => 'package.json', :erb => true
|
7
7
|
file '../shared/jshintrc.txt', :to => '.jshintrc'
|
8
8
|
|
@@ -8,5 +8,6 @@ gem 'singularitygs', '~>1.0.7'
|
|
8
8
|
gem 'breakpoint', '~>2.0.2'
|
9
9
|
gem 'sassy-buttons', '~>0.1.4'
|
10
10
|
gem 'compass-normalize', '~>1.4.3'
|
11
|
+
gem 'css_parser', '~>1.3.4'
|
11
12
|
|
12
13
|
# Now that you're using Bundler, you need to run `bundle exec compass watch` instead of simply `compass watch`.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
'use strict';
|
1
|
+
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %><% project_sass = Compass.configuration.sass_dir %><% project_img = Compass.configuration.images_dir %>'use strict';
|
2
2
|
|
3
3
|
module.exports = function (grunt) {
|
4
4
|
|
@@ -8,11 +8,11 @@ module.exports = function (grunt) {
|
|
8
8
|
livereload: 9001
|
9
9
|
},
|
10
10
|
css: {
|
11
|
-
files: ['
|
11
|
+
files: ['<%= project_sass %>/{,**/}*.scss'],
|
12
12
|
tasks: ['compass:dev']
|
13
13
|
},
|
14
14
|
js: {
|
15
|
-
files: ['
|
15
|
+
files: ['<%= project_js %>/{,**/}*.js'],
|
16
16
|
tasks: ['jshint']
|
17
17
|
}
|
18
18
|
},
|
@@ -24,12 +24,13 @@ module.exports = function (grunt) {
|
|
24
24
|
},
|
25
25
|
dev: {
|
26
26
|
options: {
|
27
|
-
|
27
|
+
environment: 'development',
|
28
28
|
}
|
29
29
|
},
|
30
30
|
dist: {
|
31
31
|
options: {
|
32
|
-
|
32
|
+
environment: 'production',
|
33
|
+
imagesDir: '<%= project_img %>-min',
|
33
34
|
force: true
|
34
35
|
}
|
35
36
|
}
|
@@ -39,7 +40,7 @@ module.exports = function (grunt) {
|
|
39
40
|
options: {
|
40
41
|
jshintrc: '.jshintrc'
|
41
42
|
},
|
42
|
-
all: ['
|
43
|
+
all: ['<%= project_js %>/{,**/}*.js']
|
43
44
|
},
|
44
45
|
|
45
46
|
imagemin: {
|
@@ -49,9 +50,9 @@ module.exports = function (grunt) {
|
|
49
50
|
},
|
50
51
|
files: [{
|
51
52
|
expand: true,
|
52
|
-
cwd: '
|
53
|
+
cwd: '<%= project_img %>',
|
53
54
|
src: ['**/*.png', '**/*.jpg'],
|
54
|
-
dest: '
|
55
|
+
dest: '<%= project_img %>-min/'
|
55
56
|
}]
|
56
57
|
}
|
57
58
|
},
|
@@ -17,14 +17,18 @@ regions[footer] = 'Footer'
|
|
17
17
|
; Stylesheets
|
18
18
|
; ========================================
|
19
19
|
|
20
|
-
stylesheets[all][
|
21
|
-
stylesheets[
|
20
|
+
stylesheets[all][] = '<%= project_css %>/style.css'
|
21
|
+
stylesheets[print][] = '<%= project_css %>/print.css'
|
22
|
+
|
23
|
+
; If installed through Bower
|
24
|
+
; stylesheets[all][] = 'components/formalize/assets/css/formalize.css'
|
22
25
|
|
23
26
|
; ========================================
|
24
27
|
; Scripts
|
25
28
|
; ========================================
|
26
29
|
|
27
|
-
|
30
|
+
; If installed through Bower
|
31
|
+
; scripts[] = 'components/formalize/assets/js/jquery.formalize.min.js'
|
28
32
|
|
29
33
|
; ========================================
|
30
34
|
; Modernizr
|
@@ -1,5 +1,4 @@
|
|
1
|
-
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %>
|
2
|
-
{
|
1
|
+
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %>{
|
3
2
|
"name": "<%= project_name%>",
|
4
3
|
"version": "1.0.0",
|
5
4
|
"dependencies": {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %><% project_sass = Compass.configuration.sass_dir %><% project_img = Compass.configuration.images_dir %># Require any additional compass plugins here.
|
1
|
+
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %><% project_sass = Compass.configuration.sass_dir %><% project_img = Compass.configuration.images_dir %><% project_fonts = Compass.configuration.fonts_dir %># Require any additional compass plugins here.
|
2
2
|
require 'aurora'
|
3
3
|
|
4
4
|
# Set this to the root of your project when deployed:
|
@@ -7,39 +7,23 @@ css_dir = "<%= project_css %>"
|
|
7
7
|
sass_dir = "<%= project_sass %>"
|
8
8
|
images_dir = "<%= project_img %>"
|
9
9
|
javascripts_dir = "<%= project_js %>"
|
10
|
-
fonts_dir = "
|
10
|
+
fonts_dir = "<%= project_fonts %>"
|
11
11
|
|
12
|
-
# To enable relative paths to assets via compass helper functions. Since Drupal
|
13
|
-
# themes can be installed in multiple locations, we don't need to worry about
|
14
|
-
# the absolute path to the theme from the server root.
|
12
|
+
# To enable relative paths to assets via compass helper functions. Since Drupal themes can be installed in multiple locations, we shouldn't need to worry about the absolute path to the theme from the server root.
|
15
13
|
relative_assets = true
|
16
14
|
|
17
|
-
# To
|
15
|
+
# To enable debugging comments that display the original location of your selectors. Comment:
|
18
16
|
line_comments = false
|
19
17
|
|
20
|
-
# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials
|
21
|
-
# included with a module by uncommenting and modifying one of the lines below:
|
22
|
-
#add_import_path "../../../default/modules/FOO"
|
23
|
-
#add_import_path "../../../all/modules/FOO"
|
24
|
-
#add_import_path "../../../../modules/FOO"
|
25
|
-
|
26
|
-
# If you prefer the indented syntax, you might want to regenerate this
|
27
|
-
# project again passing --syntax sass, or you can uncomment this:
|
28
|
-
# preferred_syntax = :sass
|
29
|
-
# and then run:
|
30
|
-
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
|
31
|
-
|
32
18
|
# Change this to :production when ready to deploy the CSS to the live server.
|
33
19
|
environment = :development
|
34
|
-
#environment = :production
|
35
20
|
|
36
|
-
# In development, we can turn on the debug_info to use with FireSass or Chrome Web Inspector.
|
37
|
-
debug =
|
38
|
-
#debug = true
|
21
|
+
# In development, we can turn on the debug_info to use with FireSass or Chrome Web Inspector. Uncomment:
|
22
|
+
# debug = true
|
39
23
|
|
40
|
-
|
24
|
+
##############################
|
41
25
|
## You probably don't need to edit anything below this.
|
42
|
-
|
26
|
+
##############################
|
43
27
|
|
44
28
|
# Disable cache busting on image assets
|
45
29
|
asset_cache_buster :none
|
@@ -1,5 +1,4 @@
|
|
1
|
-
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %>
|
2
|
-
{
|
1
|
+
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %>{
|
3
2
|
"name": "<%= project_name%>",
|
4
3
|
"version": "1.0.0",
|
5
4
|
"dependencies": {},
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 3
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 3.0.
|
8
|
+
- 1
|
9
|
+
version: 3.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sam Richard
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-05-
|
18
|
+
date: 2013-05-05 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -88,6 +88,20 @@ dependencies:
|
|
88
88
|
version: 1.3.5
|
89
89
|
type: :runtime
|
90
90
|
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: css_parser
|
93
|
+
prerelease: false
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
segments:
|
99
|
+
- 1
|
100
|
+
- 3
|
101
|
+
- 4
|
102
|
+
version: 1.3.4
|
103
|
+
type: :runtime
|
104
|
+
version_requirements: *id006
|
91
105
|
description: Aurora Subthemes!
|
92
106
|
email:
|
93
107
|
- snugug@gmail.com
|
@@ -147,7 +161,7 @@ files:
|
|
147
161
|
- templates/shared/editorconfig.txt
|
148
162
|
- templates/shared/Gemfile.txt
|
149
163
|
- templates/shared/gitignore.txt
|
150
|
-
- templates/shared/Gruntfile.js
|
164
|
+
- templates/shared/Gruntfile.js.erb
|
151
165
|
- templates/shared/jshintrc.txt
|
152
166
|
- templates/shared/package.json.erb
|
153
167
|
- templates/shared/README-Partials.md
|