compass-rails 1.0.3 → 1.1.3

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.
Files changed (37) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +1 -0
  3. data/.travis.yml +1 -2
  4. data/Appraisals +6 -5
  5. data/Gemfile +4 -3
  6. data/README.md +50 -63
  7. data/changelog.markdown +11 -0
  8. data/compass-rails.gemspec +6 -5
  9. data/gemfiles/rails3.gemfile +3 -2
  10. data/gemfiles/rails31.gemfile +3 -2
  11. data/gemfiles/rails32.gemfile +3 -2
  12. data/gemfiles/{rails2.gemfile → rails40.gemfile} +5 -3
  13. data/lib/compass-rails/configuration/{3_1.rb → asset_pipeline.rb} +5 -1
  14. data/lib/compass-rails/patches/3_1.rb +1 -14
  15. data/lib/compass-rails/patches/4_0.rb +25 -0
  16. data/lib/compass-rails/patches/compass.rb +12 -0
  17. data/lib/compass-rails/patches/sass_importer.rb +31 -0
  18. data/lib/compass-rails/patches/sprite_importer.rb +15 -23
  19. data/lib/compass-rails/patches/static_compiler.rb +1 -1
  20. data/lib/compass-rails/patches.rb +4 -4
  21. data/lib/compass-rails/railties/3_1.rb +10 -6
  22. data/lib/compass-rails/railties/4_0.rb +102 -0
  23. data/lib/compass-rails/railties.rb +4 -4
  24. data/lib/compass-rails/version.rb +1 -1
  25. data/lib/compass-rails.rb +27 -15
  26. data/test/helpers/file_helper.rb +6 -6
  27. data/test/helpers/rails_helper.rb +15 -16
  28. data/test/helpers/rails_project.rb +9 -73
  29. data/test/integrations/rails3_test.rb +4 -4
  30. data/test/integrations/rails_32_without_pipeline_test.rb +37 -0
  31. data/test/integrations/{rails_23_test.rb → rails_40_test.rb} +21 -3
  32. metadata +30 -32
  33. data/gemfiles/rails2.gemfile.lock +0 -81
  34. data/gemfiles/rails3.gemfile.lock +0 -128
  35. data/gemfiles/rails31.gemfile.lock +0 -145
  36. data/gemfiles/rails32.gemfile.lock +0 -142
  37. data/lib/compass-rails/railties/2_3.rb +0 -56
metadata CHANGED
@@ -1,35 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
5
- prerelease:
4
+ version: 1.1.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Scott Davis
9
8
  - Chris Eppstein
9
+ - Craig McNamara
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-06-26 00:00:00.000000000 Z
13
+ date: 2013-12-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: compass
17
- requirement: &70221156370480 !ruby/object:Gem::Requirement
18
- none: false
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  requirements:
20
18
  - - ! '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: 0.12.2
23
- - - <
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
24
25
  - !ruby/object:Gem::Version
25
- version: '0.14'
26
+ version: 0.12.2
27
+ name: compass
26
28
  type: :runtime
27
- prerelease: false
28
- version_requirements: *70221156370480
29
- description: Integrate Compass into Rails 2.3 and up.
29
+ description: Integrate Compass into Rails 3.0 and up.
30
30
  email:
31
31
  - jetviper21@gmail.com
32
32
  - chris@eppsteins.net
33
+ - craig.mcnamara@gmail.com
33
34
  executables: []
34
35
  extensions: []
35
36
  extra_rdoc_files: []
@@ -42,29 +43,29 @@ files:
42
43
  - LICENSE
43
44
  - README.md
44
45
  - Rakefile
46
+ - changelog.markdown
45
47
  - compass-rails.gemspec
46
- - gemfiles/rails2.gemfile
47
- - gemfiles/rails2.gemfile.lock
48
48
  - gemfiles/rails3.gemfile
49
- - gemfiles/rails3.gemfile.lock
50
49
  - gemfiles/rails31.gemfile
51
- - gemfiles/rails31.gemfile.lock
52
50
  - gemfiles/rails32.gemfile
53
- - gemfiles/rails32.gemfile.lock
51
+ - gemfiles/rails40.gemfile
54
52
  - lib/compass-rails.rb
55
53
  - lib/compass-rails/configuration.rb
56
- - lib/compass-rails/configuration/3_1.rb
54
+ - lib/compass-rails/configuration/asset_pipeline.rb
57
55
  - lib/compass-rails/configuration/default.rb
58
56
  - lib/compass-rails/installer.rb
59
57
  - lib/compass-rails/patches.rb
60
58
  - lib/compass-rails/patches/3_1.rb
59
+ - lib/compass-rails/patches/4_0.rb
60
+ - lib/compass-rails/patches/compass.rb
61
61
  - lib/compass-rails/patches/importer.rb
62
+ - lib/compass-rails/patches/sass_importer.rb
62
63
  - lib/compass-rails/patches/sprite_importer.rb
63
64
  - lib/compass-rails/patches/static_compiler.rb
64
65
  - lib/compass-rails/railties.rb
65
- - lib/compass-rails/railties/2_3.rb
66
66
  - lib/compass-rails/railties/3_0.rb
67
67
  - lib/compass-rails/railties/3_1.rb
68
+ - lib/compass-rails/railties/4_0.rb
68
69
  - lib/compass-rails/version.rb
69
70
  - test/fixtures/.gitkeep
70
71
  - test/helpers/command_helper.rb
@@ -74,41 +75,36 @@ files:
74
75
  - test/helpers/rails_project.rb
75
76
  - test/integrations/.gitkeep
76
77
  - test/integrations/rails3_test.rb
77
- - test/integrations/rails_23_test.rb
78
78
  - test/integrations/rails_31_test.rb
79
79
  - test/integrations/rails_32_test.rb
80
+ - test/integrations/rails_32_without_pipeline_test.rb
81
+ - test/integrations/rails_40_test.rb
80
82
  - test/test_helper.rb
81
83
  - test/units/.gitkeep
82
84
  homepage: https://github.com/Compass/compass-rails
83
- licenses: []
85
+ licenses:
86
+ - MIT
87
+ metadata: {}
84
88
  post_install_message:
85
89
  rdoc_options: []
86
90
  require_paths:
87
91
  - lib
88
92
  required_ruby_version: !ruby/object:Gem::Requirement
89
- none: false
90
93
  requirements:
91
94
  - - ! '>='
92
95
  - !ruby/object:Gem::Version
93
96
  version: '0'
94
- segments:
95
- - 0
96
- hash: -4153052124869045784
97
97
  required_rubygems_version: !ruby/object:Gem::Requirement
98
- none: false
99
98
  requirements:
100
99
  - - ! '>='
101
100
  - !ruby/object:Gem::Version
102
101
  version: '0'
103
- segments:
104
- - 0
105
- hash: -4153052124869045784
106
102
  requirements: []
107
103
  rubyforge_project:
108
- rubygems_version: 1.8.17
104
+ rubygems_version: 2.1.11
109
105
  signing_key:
110
- specification_version: 3
111
- summary: Integrate Compass into Rails 2.3 and up.
106
+ specification_version: 4
107
+ summary: Integrate Compass into Rails 3.0 and up.
112
108
  test_files:
113
109
  - test/fixtures/.gitkeep
114
110
  - test/helpers/command_helper.rb
@@ -118,8 +114,10 @@ test_files:
118
114
  - test/helpers/rails_project.rb
119
115
  - test/integrations/.gitkeep
120
116
  - test/integrations/rails3_test.rb
121
- - test/integrations/rails_23_test.rb
122
117
  - test/integrations/rails_31_test.rb
123
118
  - test/integrations/rails_32_test.rb
119
+ - test/integrations/rails_32_without_pipeline_test.rb
120
+ - test/integrations/rails_40_test.rb
124
121
  - test/test_helper.rb
125
122
  - test/units/.gitkeep
123
+ has_rdoc:
@@ -1,81 +0,0 @@
1
- GIT
2
- remote: git://github.com/scottdavis/appraisal.git
3
- revision: b39ce49f69e330ccd5a1cb48e690f00e800a45d3
4
- specs:
5
- appraisal (0.4.0)
6
- bundler
7
- rake
8
-
9
- PATH
10
- remote: /Users/sdavis/Work/compass-rails
11
- specs:
12
- compass-rails (1.0.2)
13
- compass (>= 0.12.2, < 0.14)
14
-
15
- GEM
16
- remote: https://rubygems.org/
17
- specs:
18
- actionmailer (2.3.14)
19
- actionpack (= 2.3.14)
20
- actionpack (2.3.14)
21
- activesupport (= 2.3.14)
22
- rack (~> 1.1.0)
23
- activerecord (2.3.14)
24
- activesupport (= 2.3.14)
25
- activeresource (2.3.14)
26
- activesupport (= 2.3.14)
27
- activesupport (2.3.14)
28
- chunky_png (1.2.5)
29
- compass (0.12.2)
30
- chunky_png (~> 1.2)
31
- fssm (>= 0.2.7)
32
- sass (~> 3.1)
33
- ffi (1.0.11)
34
- fssm (0.2.9)
35
- guard (1.2.1)
36
- listen (>= 0.4.2)
37
- thor (>= 0.14.6)
38
- guard-test (0.5.0)
39
- guard (>= 1.1.0)
40
- test-unit (~> 2.2)
41
- listen (0.4.6)
42
- rb-fchange (~> 0.0.5)
43
- rb-fsevent (~> 0.9.1)
44
- rb-inotify (~> 0.8.8)
45
- metaclass (0.0.1)
46
- mocha (0.11.4)
47
- metaclass (~> 0.0.1)
48
- rack (1.1.3)
49
- rails (2.3.14)
50
- actionmailer (= 2.3.14)
51
- actionpack (= 2.3.14)
52
- activerecord (= 2.3.14)
53
- activeresource (= 2.3.14)
54
- activesupport (= 2.3.14)
55
- rake (>= 0.8.3)
56
- rainbow (1.1.4)
57
- rake (0.9.2.2)
58
- rb-fchange (0.0.5)
59
- ffi
60
- rb-fsevent (0.9.1)
61
- rb-inotify (0.8.8)
62
- ffi (>= 0.5.0)
63
- ruby_gntp (0.3.4)
64
- sass (3.1.19)
65
- test-unit (2.5.0)
66
- thor (0.15.3)
67
-
68
- PLATFORMS
69
- ruby
70
-
71
- DEPENDENCIES
72
- appraisal!
73
- compass
74
- compass-rails!
75
- guard
76
- guard-test
77
- mocha
78
- rails (= 2.3.14)
79
- rainbow
80
- rb-fsevent
81
- ruby_gntp
@@ -1,128 +0,0 @@
1
- GIT
2
- remote: git://github.com/scottdavis/appraisal.git
3
- revision: b39ce49f69e330ccd5a1cb48e690f00e800a45d3
4
- specs:
5
- appraisal (0.4.0)
6
- bundler
7
- rake
8
-
9
- PATH
10
- remote: /Users/sdavis/Work/compass-rails
11
- specs:
12
- compass-rails (1.0.2)
13
- compass (>= 0.12.2, < 0.14)
14
-
15
- GEM
16
- remote: https://rubygems.org/
17
- specs:
18
- abstract (1.0.0)
19
- actionmailer (3.0.11)
20
- actionpack (= 3.0.11)
21
- mail (~> 2.2.19)
22
- actionpack (3.0.11)
23
- activemodel (= 3.0.11)
24
- activesupport (= 3.0.11)
25
- builder (~> 2.1.2)
26
- erubis (~> 2.6.6)
27
- i18n (~> 0.5.0)
28
- rack (~> 1.2.1)
29
- rack-mount (~> 0.6.14)
30
- rack-test (~> 0.5.7)
31
- tzinfo (~> 0.3.23)
32
- activemodel (3.0.11)
33
- activesupport (= 3.0.11)
34
- builder (~> 2.1.2)
35
- i18n (~> 0.5.0)
36
- activerecord (3.0.11)
37
- activemodel (= 3.0.11)
38
- activesupport (= 3.0.11)
39
- arel (~> 2.0.10)
40
- tzinfo (~> 0.3.23)
41
- activeresource (3.0.11)
42
- activemodel (= 3.0.11)
43
- activesupport (= 3.0.11)
44
- activesupport (3.0.11)
45
- arel (2.0.10)
46
- builder (2.1.2)
47
- chunky_png (1.2.5)
48
- compass (0.12.2)
49
- chunky_png (~> 1.2)
50
- fssm (>= 0.2.7)
51
- sass (~> 3.1)
52
- erubis (2.6.6)
53
- abstract (>= 1.0.0)
54
- ffi (1.0.11)
55
- fssm (0.2.9)
56
- guard (1.2.1)
57
- listen (>= 0.4.2)
58
- thor (>= 0.14.6)
59
- guard-test (0.5.0)
60
- guard (>= 1.1.0)
61
- test-unit (~> 2.2)
62
- i18n (0.5.0)
63
- json (1.7.3)
64
- listen (0.4.6)
65
- rb-fchange (~> 0.0.5)
66
- rb-fsevent (~> 0.9.1)
67
- rb-inotify (~> 0.8.8)
68
- mail (2.2.19)
69
- activesupport (>= 2.3.6)
70
- i18n (>= 0.4.0)
71
- mime-types (~> 1.16)
72
- treetop (~> 1.4.8)
73
- metaclass (0.0.1)
74
- mime-types (1.19)
75
- mocha (0.11.4)
76
- metaclass (~> 0.0.1)
77
- polyglot (0.3.3)
78
- rack (1.2.5)
79
- rack-mount (0.6.14)
80
- rack (>= 1.0.0)
81
- rack-test (0.5.7)
82
- rack (>= 1.0)
83
- rails (3.0.11)
84
- actionmailer (= 3.0.11)
85
- actionpack (= 3.0.11)
86
- activerecord (= 3.0.11)
87
- activeresource (= 3.0.11)
88
- activesupport (= 3.0.11)
89
- bundler (~> 1.0)
90
- railties (= 3.0.11)
91
- railties (3.0.11)
92
- actionpack (= 3.0.11)
93
- activesupport (= 3.0.11)
94
- rake (>= 0.8.7)
95
- rdoc (~> 3.4)
96
- thor (~> 0.14.4)
97
- rainbow (1.1.4)
98
- rake (0.9.2.2)
99
- rb-fchange (0.0.5)
100
- ffi
101
- rb-fsevent (0.9.1)
102
- rb-inotify (0.8.8)
103
- ffi (>= 0.5.0)
104
- rdoc (3.12)
105
- json (~> 1.4)
106
- ruby_gntp (0.3.4)
107
- sass (3.1.19)
108
- test-unit (2.5.0)
109
- thor (0.14.6)
110
- treetop (1.4.10)
111
- polyglot
112
- polyglot (>= 0.3.1)
113
- tzinfo (0.3.33)
114
-
115
- PLATFORMS
116
- ruby
117
-
118
- DEPENDENCIES
119
- appraisal!
120
- compass
121
- compass-rails!
122
- guard
123
- guard-test
124
- mocha
125
- rails (= 3.0.11)
126
- rainbow
127
- rb-fsevent
128
- ruby_gntp
@@ -1,145 +0,0 @@
1
- GIT
2
- remote: git://github.com/scottdavis/appraisal.git
3
- revision: b39ce49f69e330ccd5a1cb48e690f00e800a45d3
4
- specs:
5
- appraisal (0.4.0)
6
- bundler
7
- rake
8
-
9
- PATH
10
- remote: /Users/sdavis/Work/compass-rails
11
- specs:
12
- compass-rails (1.0.2)
13
- compass (>= 0.12.2, < 0.14)
14
-
15
- GEM
16
- remote: https://rubygems.org/
17
- specs:
18
- actionmailer (3.1.3)
19
- actionpack (= 3.1.3)
20
- mail (~> 2.3.0)
21
- actionpack (3.1.3)
22
- activemodel (= 3.1.3)
23
- activesupport (= 3.1.3)
24
- builder (~> 3.0.0)
25
- erubis (~> 2.7.0)
26
- i18n (~> 0.6)
27
- rack (~> 1.3.5)
28
- rack-cache (~> 1.1)
29
- rack-mount (~> 0.8.2)
30
- rack-test (~> 0.6.1)
31
- sprockets (~> 2.0.3)
32
- activemodel (3.1.3)
33
- activesupport (= 3.1.3)
34
- builder (~> 3.0.0)
35
- i18n (~> 0.6)
36
- activerecord (3.1.3)
37
- activemodel (= 3.1.3)
38
- activesupport (= 3.1.3)
39
- arel (~> 2.2.1)
40
- tzinfo (~> 0.3.29)
41
- activeresource (3.1.3)
42
- activemodel (= 3.1.3)
43
- activesupport (= 3.1.3)
44
- activesupport (3.1.3)
45
- multi_json (~> 1.0)
46
- arel (2.2.3)
47
- builder (3.0.0)
48
- chunky_png (1.2.5)
49
- compass (0.12.2)
50
- chunky_png (~> 1.2)
51
- fssm (>= 0.2.7)
52
- sass (~> 3.1)
53
- erubis (2.7.0)
54
- ffi (1.0.11)
55
- fssm (0.2.9)
56
- guard (1.2.1)
57
- listen (>= 0.4.2)
58
- thor (>= 0.14.6)
59
- guard-test (0.5.0)
60
- guard (>= 1.1.0)
61
- test-unit (~> 2.2)
62
- hike (1.2.1)
63
- i18n (0.6.0)
64
- json (1.7.3)
65
- listen (0.4.6)
66
- rb-fchange (~> 0.0.5)
67
- rb-fsevent (~> 0.9.1)
68
- rb-inotify (~> 0.8.8)
69
- mail (2.3.3)
70
- i18n (>= 0.4.0)
71
- mime-types (~> 1.16)
72
- treetop (~> 1.4.8)
73
- metaclass (0.0.1)
74
- mime-types (1.19)
75
- mocha (0.11.4)
76
- metaclass (~> 0.0.1)
77
- multi_json (1.3.6)
78
- polyglot (0.3.3)
79
- rack (1.3.6)
80
- rack-cache (1.2)
81
- rack (>= 0.4)
82
- rack-mount (0.8.3)
83
- rack (>= 1.0.0)
84
- rack-ssl (1.3.2)
85
- rack
86
- rack-test (0.6.1)
87
- rack (>= 1.0)
88
- rails (3.1.3)
89
- actionmailer (= 3.1.3)
90
- actionpack (= 3.1.3)
91
- activerecord (= 3.1.3)
92
- activeresource (= 3.1.3)
93
- activesupport (= 3.1.3)
94
- bundler (~> 1.0)
95
- railties (= 3.1.3)
96
- railties (3.1.3)
97
- actionpack (= 3.1.3)
98
- activesupport (= 3.1.3)
99
- rack-ssl (~> 1.3.2)
100
- rake (>= 0.8.7)
101
- rdoc (~> 3.4)
102
- thor (~> 0.14.6)
103
- rainbow (1.1.4)
104
- rake (0.9.2.2)
105
- rb-fchange (0.0.5)
106
- ffi
107
- rb-fsevent (0.9.1)
108
- rb-inotify (0.8.8)
109
- ffi (>= 0.5.0)
110
- rdoc (3.12)
111
- json (~> 1.4)
112
- ruby_gntp (0.3.4)
113
- sass (3.1.19)
114
- sass-rails (3.1.6)
115
- actionpack (~> 3.1.0)
116
- railties (~> 3.1.0)
117
- sass (>= 3.1.10)
118
- tilt (~> 1.3.2)
119
- sprockets (2.0.4)
120
- hike (~> 1.2)
121
- rack (~> 1.0)
122
- tilt (~> 1.1, != 1.3.0)
123
- test-unit (2.5.0)
124
- thor (0.14.6)
125
- tilt (1.3.3)
126
- treetop (1.4.10)
127
- polyglot
128
- polyglot (>= 0.3.1)
129
- tzinfo (0.3.33)
130
-
131
- PLATFORMS
132
- ruby
133
-
134
- DEPENDENCIES
135
- appraisal!
136
- compass
137
- compass-rails!
138
- guard
139
- guard-test
140
- mocha
141
- rails (= 3.1.3)
142
- rainbow
143
- rb-fsevent
144
- ruby_gntp
145
- sass-rails
@@ -1,142 +0,0 @@
1
- GIT
2
- remote: git://github.com/scottdavis/appraisal.git
3
- revision: b39ce49f69e330ccd5a1cb48e690f00e800a45d3
4
- specs:
5
- appraisal (0.4.0)
6
- bundler
7
- rake
8
-
9
- PATH
10
- remote: /Users/sdavis/Work/compass-rails
11
- specs:
12
- compass-rails (1.0.2)
13
- compass (>= 0.12.2, < 0.14)
14
-
15
- GEM
16
- remote: https://rubygems.org/
17
- specs:
18
- actionmailer (3.2.6)
19
- actionpack (= 3.2.6)
20
- mail (~> 2.4.4)
21
- actionpack (3.2.6)
22
- activemodel (= 3.2.6)
23
- activesupport (= 3.2.6)
24
- builder (~> 3.0.0)
25
- erubis (~> 2.7.0)
26
- journey (~> 1.0.1)
27
- rack (~> 1.4.0)
28
- rack-cache (~> 1.2)
29
- rack-test (~> 0.6.1)
30
- sprockets (~> 2.1.3)
31
- activemodel (3.2.6)
32
- activesupport (= 3.2.6)
33
- builder (~> 3.0.0)
34
- activerecord (3.2.6)
35
- activemodel (= 3.2.6)
36
- activesupport (= 3.2.6)
37
- arel (~> 3.0.2)
38
- tzinfo (~> 0.3.29)
39
- activeresource (3.2.6)
40
- activemodel (= 3.2.6)
41
- activesupport (= 3.2.6)
42
- activesupport (3.2.6)
43
- i18n (~> 0.6)
44
- multi_json (~> 1.0)
45
- arel (3.0.2)
46
- builder (3.0.0)
47
- chunky_png (1.2.5)
48
- compass (0.12.2)
49
- chunky_png (~> 1.2)
50
- fssm (>= 0.2.7)
51
- sass (~> 3.1)
52
- erubis (2.7.0)
53
- ffi (1.0.11)
54
- fssm (0.2.9)
55
- guard (1.2.1)
56
- listen (>= 0.4.2)
57
- thor (>= 0.14.6)
58
- guard-test (0.5.0)
59
- guard (>= 1.1.0)
60
- test-unit (~> 2.2)
61
- hike (1.2.1)
62
- i18n (0.6.0)
63
- journey (1.0.4)
64
- json (1.7.3)
65
- listen (0.4.6)
66
- rb-fchange (~> 0.0.5)
67
- rb-fsevent (~> 0.9.1)
68
- rb-inotify (~> 0.8.8)
69
- mail (2.4.4)
70
- i18n (>= 0.4.0)
71
- mime-types (~> 1.16)
72
- treetop (~> 1.4.8)
73
- metaclass (0.0.1)
74
- mime-types (1.19)
75
- mocha (0.11.4)
76
- metaclass (~> 0.0.1)
77
- multi_json (1.3.6)
78
- polyglot (0.3.3)
79
- rack (1.4.1)
80
- rack-cache (1.2)
81
- rack (>= 0.4)
82
- rack-ssl (1.3.2)
83
- rack
84
- rack-test (0.6.1)
85
- rack (>= 1.0)
86
- rails (3.2.6)
87
- actionmailer (= 3.2.6)
88
- actionpack (= 3.2.6)
89
- activerecord (= 3.2.6)
90
- activeresource (= 3.2.6)
91
- activesupport (= 3.2.6)
92
- bundler (~> 1.0)
93
- railties (= 3.2.6)
94
- railties (3.2.6)
95
- actionpack (= 3.2.6)
96
- activesupport (= 3.2.6)
97
- rack-ssl (~> 1.3.2)
98
- rake (>= 0.8.7)
99
- rdoc (~> 3.4)
100
- thor (>= 0.14.6, < 2.0)
101
- rainbow (1.1.4)
102
- rake (0.9.2.2)
103
- rb-fchange (0.0.5)
104
- ffi
105
- rb-fsevent (0.9.1)
106
- rb-inotify (0.8.8)
107
- ffi (>= 0.5.0)
108
- rdoc (3.12)
109
- json (~> 1.4)
110
- ruby_gntp (0.3.4)
111
- sass (3.1.19)
112
- sass-rails (3.2.5)
113
- railties (~> 3.2.0)
114
- sass (>= 3.1.10)
115
- tilt (~> 1.3)
116
- sprockets (2.1.3)
117
- hike (~> 1.2)
118
- rack (~> 1.0)
119
- tilt (~> 1.1, != 1.3.0)
120
- test-unit (2.5.0)
121
- thor (0.15.3)
122
- tilt (1.3.3)
123
- treetop (1.4.10)
124
- polyglot
125
- polyglot (>= 0.3.1)
126
- tzinfo (0.3.33)
127
-
128
- PLATFORMS
129
- ruby
130
-
131
- DEPENDENCIES
132
- appraisal!
133
- compass
134
- compass-rails!
135
- guard
136
- guard-test
137
- mocha
138
- rails (~> 3.2)
139
- rainbow
140
- rb-fsevent
141
- ruby_gntp
142
- sass-rails
@@ -1,56 +0,0 @@
1
- #rails 2.x doesn't have railties so gona do this the long way
2
- require "sass/plugin/rack" #unless defined?(Sass::Plugin::Rack)
3
-
4
- module ActionController
5
- class Base
6
- def process_with_compass(*args)
7
- Sass::Plugin.rails_controller = self
8
- begin
9
- process_without_compass(*args)
10
- ensure
11
- Sass::Plugin.rails_controller = nil
12
- end
13
- end
14
- alias_method_chain :process, :compass
15
- end
16
- end
17
-
18
-
19
- module Sass::Plugin
20
- class << self
21
- attr_accessor :rails_controller
22
- end
23
- end
24
-
25
- module Compass::SassExtensions::Functions::Urls::ImageUrl
26
- def image_url_with_rails_integration(path, only_path = Sass::Script::Bool.new(false), cache_buster = Sass::Script::Bool.new(true))
27
- if (@controller = Sass::Plugin.rails_controller) && @controller.respond_to?(:request) && @controller.request
28
- begin
29
- if only_path.to_bool
30
- Sass::Script::String.new image_path(path.value)
31
- else
32
- Sass::Script::String.new "url(#{image_path(path.value)})"
33
- end
34
- ensure
35
- @controller = nil
36
- end
37
- else
38
- image_url_without_rails_integration(path, only_path, cache_buster)
39
- end
40
- end
41
- alias_method_chain :image_url, :rails_integration
42
- end
43
-
44
-
45
- class Sass::Script::Functions::EvaluationContext
46
- include Sass::Script::Functions
47
- private
48
- include ActionView::Helpers::AssetTagHelper
49
- end
50
-
51
- unless Compass.detect_configuration_file.nil?
52
- Compass.add_configuration(CompassRails.configuration)
53
- CompassRails.initialize!
54
- else
55
- CompassRails.initialize!(CompassRails.configuration)
56
- end