padrino-gen 0.10.6.b → 0.10.6.c

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- COMPASS_INIT = (<<-COMPASS).gsub(/^ {10}/, '') unless defined?(COMPASS_INIT)
1
+ COMPASS_INIT = <<-COMPASS unless defined?(COMPASS_INIT)
2
2
  # Enables support for Compass, a stylesheet authoring framework based on SASS.
3
3
  # See http://compass-style.org/ for more details.
4
4
  # Store Compass/SASS files (by default) within 'app/stylesheets'
@@ -26,7 +26,7 @@ module CompassInitializer
26
26
  end
27
27
  COMPASS
28
28
 
29
- COMPASS_REGISTER = (<<-COMPASSR).gsub(/^ {10}/, '') unless defined?(COMPASS_REGISTER)
29
+ COMPASS_REGISTER = <<-COMPASSR unless defined?(COMPASS_REGISTER)
30
30
  register CompassInitializer\n
31
31
  COMPASSR
32
32
 
@@ -1,18 +1,18 @@
1
- LESS_INIT = (<<-LESS).gsub(/^ {6}/, '')
2
- # Enables support for Less template reloading for rack.
3
- # Store Less files by default within 'app/stylesheets/'
4
- # See http://github.com/kelredd/rack-less for more details.
5
- require 'rack/less'
6
- # optional - use as necessary
7
- Rack::Less.configure do |config|
8
- config.compress = true
9
- # other configs ...
10
- end
11
- app.use Rack::Less,
12
- :root => app.root,
13
- :source => 'stylesheets/',
14
- :public => 'public/',
15
- :hosted_at => '/stylesheets'
1
+ LESS_INIT = <<-LESS unless defined?(LESS_INIT)
2
+ # Enables support for Less template reloading for rack.
3
+ # Store Less files by default within 'app/stylesheets/'
4
+ # See http://github.com/kelredd/rack-less for more details.
5
+ require 'rack/less'
6
+ # optional - use as necessary
7
+ Rack::Less.configure do |config|
8
+ config.compress = true
9
+ # other configs ...
10
+ end
11
+ app.use Rack::Less,
12
+ :root => app.root,
13
+ :source => 'stylesheets/',
14
+ :public => 'public/',
15
+ :hosted_at => '/stylesheets'
16
16
  LESS
17
17
 
18
18
  def setup_stylesheet
@@ -1,11 +1,11 @@
1
- SASS_INIT = (<<-SASS).gsub(/^/, ' ')
2
- # Enables support for SASS template reloading in rack applications.
3
- # See http://nex-3.com/posts/88-sass-supports-rack for more details.
4
- # Store SASS files (by default) within 'app/stylesheets'
5
- require 'sass/plugin/rack'
6
- Sass::Plugin.options[:template_location] = Padrino.root("app/stylesheets")
7
- Sass::Plugin.options[:css_location] = Padrino.root("public/stylesheets")
8
- app.use Sass::Plugin::Rack
1
+ SASS_INIT = <<-SASS unless defined?(SASS_INIT)
2
+ # Enables support for SASS template reloading in rack applications.
3
+ # See http://nex-3.com/posts/88-sass-supports-rack for more details.
4
+ # Store SASS files (by default) within 'app/stylesheets'
5
+ require 'sass/plugin/rack'
6
+ Sass::Plugin.options[:template_location] = Padrino.root("app/stylesheets")
7
+ Sass::Plugin.options[:css_location] = Padrino.root("public/stylesheets")
8
+ app.use Sass::Plugin::Rack
9
9
  SASS
10
10
 
11
11
  def setup_stylesheet
@@ -1,12 +1,12 @@
1
- SCSS_INIT = (<<-SCSS).gsub(/^/, ' ')
2
- # Enables support for SCSS template reloading in rack applications.
3
- # See http://nex-3.com/posts/88-sass-supports-rack for more details.
4
- # Store SCSS files (by default) within 'app/stylesheets'
5
- require 'sass/plugin/rack'
6
- Sass::Plugin.options[:syntax] = :scss
7
- Sass::Plugin.options[:template_location] = Padrino.root("app/stylesheets")
8
- Sass::Plugin.options[:css_location] = Padrino.root("public/stylesheets")
9
- app.use Sass::Plugin::Rack
1
+ SCSS_INIT = <<-SCSS unless defined?(SCSS_INIT)
2
+ # Enables support for SCSS template reloading in rack applications.
3
+ # See http://nex-3.com/posts/88-sass-supports-rack for more details.
4
+ # Store SCSS files (by default) within 'app/stylesheets'
5
+ require 'sass/plugin/rack'
6
+ Sass::Plugin.options[:syntax] = :scss
7
+ Sass::Plugin.options[:template_location] = Padrino.root("app/stylesheets")
8
+ Sass::Plugin.options[:css_location] = Padrino.root("public/stylesheets")
9
+ app.use Sass::Plugin::Rack
10
10
  SCSS
11
11
 
12
12
  def setup_stylesheet
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-gen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 99
4
+ hash: 96
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
9
  - 6
10
- - b
11
- version: 0.10.6.b
10
+ - c
11
+ version: 0.10.6.c
12
12
  platform: ruby
13
13
  authors:
14
14
  - Padrino Team
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2012-01-23 00:00:00 -08:00
22
+ date: 2012-01-25 00:00:00 -08:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -30,13 +30,13 @@ dependencies:
30
30
  requirements:
31
31
  - - "="
32
32
  - !ruby/object:Gem::Version
33
- hash: 99
33
+ hash: 96
34
34
  segments:
35
35
  - 0
36
36
  - 10
37
37
  - 6
38
- - b
39
- version: 0.10.6.b
38
+ - c
39
+ version: 0.10.6.c
40
40
  type: :runtime
41
41
  version_requirements: *id001
42
42
  - !ruby/object:Gem::Dependency