compass-rails 1.0.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/.gitignore +18 -0
  2. data/.travis.yml +5 -0
  3. data/Appraisals +17 -0
  4. data/Gemfile +22 -0
  5. data/Guardfile +9 -0
  6. data/LICENSE +22 -0
  7. data/README.md +191 -0
  8. data/Rakefile +34 -0
  9. data/compass-rails.gemspec +21 -0
  10. data/gemfiles/rails2.gemfile +21 -0
  11. data/gemfiles/rails2.gemfile.lock +87 -0
  12. data/gemfiles/rails3.gemfile +21 -0
  13. data/gemfiles/rails3.gemfile.lock +134 -0
  14. data/gemfiles/rails31.gemfile +22 -0
  15. data/gemfiles/rails31.gemfile.lock +151 -0
  16. data/gemfiles/rails32.gemfile +22 -0
  17. data/gemfiles/rails32.gemfile.lock +148 -0
  18. data/lib/compass-rails.rb +207 -0
  19. data/lib/compass-rails/configuration.rb +1 -0
  20. data/lib/compass-rails/configuration/3_1.rb +51 -0
  21. data/lib/compass-rails/configuration/default.rb +75 -0
  22. data/lib/compass-rails/installer.rb +30 -0
  23. data/lib/compass-rails/patches.rb +6 -0
  24. data/lib/compass-rails/patches/3_1.rb +28 -0
  25. data/lib/compass-rails/patches/importer.rb +26 -0
  26. data/lib/compass-rails/patches/sprite_importer.rb +38 -0
  27. data/lib/compass-rails/railties.rb +11 -0
  28. data/lib/compass-rails/railties/2_3.rb +56 -0
  29. data/lib/compass-rails/railties/3_0.rb +48 -0
  30. data/lib/compass-rails/railties/3_1.rb +90 -0
  31. data/lib/compass-rails/version.rb +5 -0
  32. data/lib/compass/app_integration/rails.rb +10 -0
  33. data/test/fixtures/.gitkeep +0 -0
  34. data/test/helpers/command_helper.rb +120 -0
  35. data/test/helpers/debug_helper.rb +12 -0
  36. data/test/helpers/file_helper.rb +53 -0
  37. data/test/helpers/rails_helper.rb +65 -0
  38. data/test/helpers/rails_project.rb +186 -0
  39. data/test/integrations/.gitkeep +0 -0
  40. data/test/integrations/rails3_test.rb +37 -0
  41. data/test/integrations/rails_23_test.rb +28 -0
  42. data/test/integrations/rails_31_test.rb +47 -0
  43. data/test/integrations/rails_32_test.rb +46 -0
  44. data/test/test_helper.rb +15 -0
  45. data/test/units/.gitkeep +0 -0
  46. metadata +160 -0
@@ -0,0 +1,21 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rb-fsevent", :require=>false
6
+ gem "ruby_gntp", :require=>false
7
+ gem "guard"
8
+ gem "guard-test"
9
+ gem "rails", "3.0.11"
10
+
11
+ group :assets do
12
+ gem "compass", :git=>"git://github.com/chriseppstein/compass.git", :branch=>:master
13
+ gem "compass-rails", :path=>".."
14
+ end
15
+ group :test do
16
+ gem "mocha"
17
+ gem "appraisal", :git=>"git://github.com/scottdavis/appraisal.git"
18
+ gem "rainbow"
19
+ end
20
+
21
+ gemspec :path=>"../"
@@ -0,0 +1,134 @@
1
+ GIT
2
+ remote: git://github.com/chriseppstein/compass.git
3
+ revision: addbc94716e95a7e6f200baa980b48c7e7a1a568
4
+ branch: master
5
+ specs:
6
+ compass (0.12.rc.4.addbc94)
7
+ chunky_png (~> 1.2)
8
+ fssm (>= 0.2.7)
9
+ sass (~> 3.1)
10
+
11
+ GIT
12
+ remote: git://github.com/scottdavis/appraisal.git
13
+ revision: b39ce49f69e330ccd5a1cb48e690f00e800a45d3
14
+ specs:
15
+ appraisal (0.4.0)
16
+ bundler
17
+ rake
18
+
19
+ PATH
20
+ remote: ..
21
+ specs:
22
+ compass-rails (1.0.0.rc.0)
23
+ compass (~> 0.12.rc.0)
24
+ rails
25
+
26
+ PATH
27
+ remote: ..
28
+ specs:
29
+ compass-rails (1.0.0.rc.0)
30
+ compass (~> 0.12.rc.0)
31
+ rails
32
+
33
+ GEM
34
+ remote: https://rubygems.org/
35
+ specs:
36
+ abstract (1.0.0)
37
+ actionmailer (3.0.11)
38
+ actionpack (= 3.0.11)
39
+ mail (~> 2.2.19)
40
+ actionpack (3.0.11)
41
+ activemodel (= 3.0.11)
42
+ activesupport (= 3.0.11)
43
+ builder (~> 2.1.2)
44
+ erubis (~> 2.6.6)
45
+ i18n (~> 0.5.0)
46
+ rack (~> 1.2.1)
47
+ rack-mount (~> 0.6.14)
48
+ rack-test (~> 0.5.7)
49
+ tzinfo (~> 0.3.23)
50
+ activemodel (3.0.11)
51
+ activesupport (= 3.0.11)
52
+ builder (~> 2.1.2)
53
+ i18n (~> 0.5.0)
54
+ activerecord (3.0.11)
55
+ activemodel (= 3.0.11)
56
+ activesupport (= 3.0.11)
57
+ arel (~> 2.0.10)
58
+ tzinfo (~> 0.3.23)
59
+ activeresource (3.0.11)
60
+ activemodel (= 3.0.11)
61
+ activesupport (= 3.0.11)
62
+ activesupport (3.0.11)
63
+ arel (2.0.10)
64
+ builder (2.1.2)
65
+ chunky_png (1.2.5)
66
+ erubis (2.6.6)
67
+ abstract (>= 1.0.0)
68
+ ffi (1.0.11)
69
+ fssm (0.2.8.1)
70
+ guard (1.0.0)
71
+ ffi (>= 0.5.0)
72
+ thor (~> 0.14.6)
73
+ guard-test (0.4.3)
74
+ guard (>= 0.4)
75
+ test-unit (~> 2.2)
76
+ i18n (0.5.0)
77
+ json (1.6.5)
78
+ mail (2.2.19)
79
+ activesupport (>= 2.3.6)
80
+ i18n (>= 0.4.0)
81
+ mime-types (~> 1.16)
82
+ treetop (~> 1.4.8)
83
+ metaclass (0.0.1)
84
+ mime-types (1.17.2)
85
+ mocha (0.10.3)
86
+ metaclass (~> 0.0.1)
87
+ polyglot (0.3.3)
88
+ rack (1.2.5)
89
+ rack-mount (0.6.14)
90
+ rack (>= 1.0.0)
91
+ rack-test (0.5.7)
92
+ rack (>= 1.0)
93
+ rails (3.0.11)
94
+ actionmailer (= 3.0.11)
95
+ actionpack (= 3.0.11)
96
+ activerecord (= 3.0.11)
97
+ activeresource (= 3.0.11)
98
+ activesupport (= 3.0.11)
99
+ bundler (~> 1.0)
100
+ railties (= 3.0.11)
101
+ railties (3.0.11)
102
+ actionpack (= 3.0.11)
103
+ activesupport (= 3.0.11)
104
+ rake (>= 0.8.7)
105
+ rdoc (~> 3.4)
106
+ thor (~> 0.14.4)
107
+ rainbow (1.1.3)
108
+ rake (0.9.2.2)
109
+ rb-fsevent (0.9.0)
110
+ rdoc (3.12)
111
+ json (~> 1.4)
112
+ ruby_gntp (0.3.4)
113
+ sass (3.1.12)
114
+ test-unit (2.4.5)
115
+ thor (0.14.6)
116
+ treetop (1.4.10)
117
+ polyglot
118
+ polyglot (>= 0.3.1)
119
+ tzinfo (0.3.31)
120
+
121
+ PLATFORMS
122
+ ruby
123
+
124
+ DEPENDENCIES
125
+ appraisal!
126
+ compass!
127
+ compass-rails!
128
+ guard
129
+ guard-test
130
+ mocha
131
+ rails (= 3.0.11)
132
+ rainbow
133
+ rb-fsevent
134
+ ruby_gntp
@@ -0,0 +1,22 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rb-fsevent", :require=>false
6
+ gem "ruby_gntp", :require=>false
7
+ gem "guard"
8
+ gem "guard-test"
9
+ gem "rails", "3.1.3"
10
+ gem "sass-rails"
11
+
12
+ group :assets do
13
+ gem "compass", :git=>"git://github.com/chriseppstein/compass.git", :branch=>:master
14
+ gem "compass-rails", :path=>".."
15
+ end
16
+ group :test do
17
+ gem "mocha"
18
+ gem "appraisal", :git=>"git://github.com/scottdavis/appraisal.git"
19
+ gem "rainbow"
20
+ end
21
+
22
+ gemspec :path=>"../"
@@ -0,0 +1,151 @@
1
+ GIT
2
+ remote: git://github.com/chriseppstein/compass.git
3
+ revision: addbc94716e95a7e6f200baa980b48c7e7a1a568
4
+ branch: master
5
+ specs:
6
+ compass (0.12.rc.4.addbc94)
7
+ chunky_png (~> 1.2)
8
+ fssm (>= 0.2.7)
9
+ sass (~> 3.1)
10
+
11
+ GIT
12
+ remote: git://github.com/scottdavis/appraisal.git
13
+ revision: b39ce49f69e330ccd5a1cb48e690f00e800a45d3
14
+ specs:
15
+ appraisal (0.4.0)
16
+ bundler
17
+ rake
18
+
19
+ PATH
20
+ remote: ..
21
+ specs:
22
+ compass-rails (1.0.0.rc.0)
23
+ compass (~> 0.12.rc.0)
24
+ rails
25
+
26
+ PATH
27
+ remote: ..
28
+ specs:
29
+ compass-rails (1.0.0.rc.0)
30
+ compass (~> 0.12.rc.0)
31
+ rails
32
+
33
+ GEM
34
+ remote: https://rubygems.org/
35
+ specs:
36
+ actionmailer (3.1.3)
37
+ actionpack (= 3.1.3)
38
+ mail (~> 2.3.0)
39
+ actionpack (3.1.3)
40
+ activemodel (= 3.1.3)
41
+ activesupport (= 3.1.3)
42
+ builder (~> 3.0.0)
43
+ erubis (~> 2.7.0)
44
+ i18n (~> 0.6)
45
+ rack (~> 1.3.5)
46
+ rack-cache (~> 1.1)
47
+ rack-mount (~> 0.8.2)
48
+ rack-test (~> 0.6.1)
49
+ sprockets (~> 2.0.3)
50
+ activemodel (3.1.3)
51
+ activesupport (= 3.1.3)
52
+ builder (~> 3.0.0)
53
+ i18n (~> 0.6)
54
+ activerecord (3.1.3)
55
+ activemodel (= 3.1.3)
56
+ activesupport (= 3.1.3)
57
+ arel (~> 2.2.1)
58
+ tzinfo (~> 0.3.29)
59
+ activeresource (3.1.3)
60
+ activemodel (= 3.1.3)
61
+ activesupport (= 3.1.3)
62
+ activesupport (3.1.3)
63
+ multi_json (~> 1.0)
64
+ arel (2.2.1)
65
+ builder (3.0.0)
66
+ chunky_png (1.2.5)
67
+ erubis (2.7.0)
68
+ ffi (1.0.11)
69
+ fssm (0.2.8.1)
70
+ guard (1.0.0)
71
+ ffi (>= 0.5.0)
72
+ thor (~> 0.14.6)
73
+ guard-test (0.4.3)
74
+ guard (>= 0.4)
75
+ test-unit (~> 2.2)
76
+ hike (1.2.1)
77
+ i18n (0.6.0)
78
+ json (1.6.5)
79
+ mail (2.3.0)
80
+ i18n (>= 0.4.0)
81
+ mime-types (~> 1.16)
82
+ treetop (~> 1.4.8)
83
+ metaclass (0.0.1)
84
+ mime-types (1.17.2)
85
+ mocha (0.10.3)
86
+ metaclass (~> 0.0.1)
87
+ multi_json (1.0.4)
88
+ polyglot (0.3.3)
89
+ rack (1.3.6)
90
+ rack-cache (1.1)
91
+ rack (>= 0.4)
92
+ rack-mount (0.8.3)
93
+ rack (>= 1.0.0)
94
+ rack-ssl (1.3.2)
95
+ rack
96
+ rack-test (0.6.1)
97
+ rack (>= 1.0)
98
+ rails (3.1.3)
99
+ actionmailer (= 3.1.3)
100
+ actionpack (= 3.1.3)
101
+ activerecord (= 3.1.3)
102
+ activeresource (= 3.1.3)
103
+ activesupport (= 3.1.3)
104
+ bundler (~> 1.0)
105
+ railties (= 3.1.3)
106
+ railties (3.1.3)
107
+ actionpack (= 3.1.3)
108
+ activesupport (= 3.1.3)
109
+ rack-ssl (~> 1.3.2)
110
+ rake (>= 0.8.7)
111
+ rdoc (~> 3.4)
112
+ thor (~> 0.14.6)
113
+ rainbow (1.1.3)
114
+ rake (0.9.2.2)
115
+ rb-fsevent (0.9.0)
116
+ rdoc (3.12)
117
+ json (~> 1.4)
118
+ ruby_gntp (0.3.4)
119
+ sass (3.1.12)
120
+ sass-rails (3.1.5)
121
+ actionpack (~> 3.1.0)
122
+ railties (~> 3.1.0)
123
+ sass (~> 3.1.10)
124
+ tilt (~> 1.3.2)
125
+ sprockets (2.0.3)
126
+ hike (~> 1.2)
127
+ rack (~> 1.0)
128
+ tilt (~> 1.1, != 1.3.0)
129
+ test-unit (2.4.5)
130
+ thor (0.14.6)
131
+ tilt (1.3.3)
132
+ treetop (1.4.10)
133
+ polyglot
134
+ polyglot (>= 0.3.1)
135
+ tzinfo (0.3.31)
136
+
137
+ PLATFORMS
138
+ ruby
139
+
140
+ DEPENDENCIES
141
+ appraisal!
142
+ compass!
143
+ compass-rails!
144
+ guard
145
+ guard-test
146
+ mocha
147
+ rails (= 3.1.3)
148
+ rainbow
149
+ rb-fsevent
150
+ ruby_gntp
151
+ sass-rails
@@ -0,0 +1,22 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rb-fsevent", :require=>false
6
+ gem "ruby_gntp", :require=>false
7
+ gem "guard"
8
+ gem "guard-test"
9
+ gem "rails", "~> 3.2"
10
+ gem "sass-rails"
11
+
12
+ group :assets do
13
+ gem "compass", :git=>"git://github.com/chriseppstein/compass.git", :branch=>:master
14
+ gem "compass-rails", :path=>".."
15
+ end
16
+ group :test do
17
+ gem "mocha"
18
+ gem "appraisal", :git=>"git://github.com/scottdavis/appraisal.git"
19
+ gem "rainbow"
20
+ end
21
+
22
+ gemspec :path=>"../"
@@ -0,0 +1,148 @@
1
+ GIT
2
+ remote: git://github.com/chriseppstein/compass.git
3
+ revision: addbc94716e95a7e6f200baa980b48c7e7a1a568
4
+ branch: master
5
+ specs:
6
+ compass (0.12.rc.4.addbc94)
7
+ chunky_png (~> 1.2)
8
+ fssm (>= 0.2.7)
9
+ sass (~> 3.1)
10
+
11
+ GIT
12
+ remote: git://github.com/scottdavis/appraisal.git
13
+ revision: b39ce49f69e330ccd5a1cb48e690f00e800a45d3
14
+ specs:
15
+ appraisal (0.4.0)
16
+ bundler
17
+ rake
18
+
19
+ PATH
20
+ remote: ..
21
+ specs:
22
+ compass-rails (1.0.0.rc.0)
23
+ compass (~> 0.12.rc.0)
24
+ rails
25
+
26
+ PATH
27
+ remote: ..
28
+ specs:
29
+ compass-rails (1.0.0.rc.0)
30
+ compass (~> 0.12.rc.0)
31
+ rails
32
+
33
+ GEM
34
+ remote: https://rubygems.org/
35
+ specs:
36
+ actionmailer (3.2.1)
37
+ actionpack (= 3.2.1)
38
+ mail (~> 2.4.0)
39
+ actionpack (3.2.1)
40
+ activemodel (= 3.2.1)
41
+ activesupport (= 3.2.1)
42
+ builder (~> 3.0.0)
43
+ erubis (~> 2.7.0)
44
+ journey (~> 1.0.1)
45
+ rack (~> 1.4.0)
46
+ rack-cache (~> 1.1)
47
+ rack-test (~> 0.6.1)
48
+ sprockets (~> 2.1.2)
49
+ activemodel (3.2.1)
50
+ activesupport (= 3.2.1)
51
+ builder (~> 3.0.0)
52
+ activerecord (3.2.1)
53
+ activemodel (= 3.2.1)
54
+ activesupport (= 3.2.1)
55
+ arel (~> 3.0.0)
56
+ tzinfo (~> 0.3.29)
57
+ activeresource (3.2.1)
58
+ activemodel (= 3.2.1)
59
+ activesupport (= 3.2.1)
60
+ activesupport (3.2.1)
61
+ i18n (~> 0.6)
62
+ multi_json (~> 1.0)
63
+ arel (3.0.0)
64
+ builder (3.0.0)
65
+ chunky_png (1.2.5)
66
+ erubis (2.7.0)
67
+ ffi (1.0.11)
68
+ fssm (0.2.8.1)
69
+ guard (1.0.0)
70
+ ffi (>= 0.5.0)
71
+ thor (~> 0.14.6)
72
+ guard-test (0.4.3)
73
+ guard (>= 0.4)
74
+ test-unit (~> 2.2)
75
+ hike (1.2.1)
76
+ i18n (0.6.0)
77
+ journey (1.0.1)
78
+ json (1.6.5)
79
+ mail (2.4.1)
80
+ i18n (>= 0.4.0)
81
+ mime-types (~> 1.16)
82
+ treetop (~> 1.4.8)
83
+ metaclass (0.0.1)
84
+ mime-types (1.17.2)
85
+ mocha (0.10.3)
86
+ metaclass (~> 0.0.1)
87
+ multi_json (1.0.4)
88
+ polyglot (0.3.3)
89
+ rack (1.4.1)
90
+ rack-cache (1.1)
91
+ rack (>= 0.4)
92
+ rack-ssl (1.3.2)
93
+ rack
94
+ rack-test (0.6.1)
95
+ rack (>= 1.0)
96
+ rails (3.2.1)
97
+ actionmailer (= 3.2.1)
98
+ actionpack (= 3.2.1)
99
+ activerecord (= 3.2.1)
100
+ activeresource (= 3.2.1)
101
+ activesupport (= 3.2.1)
102
+ bundler (~> 1.0)
103
+ railties (= 3.2.1)
104
+ railties (3.2.1)
105
+ actionpack (= 3.2.1)
106
+ activesupport (= 3.2.1)
107
+ rack-ssl (~> 1.3.2)
108
+ rake (>= 0.8.7)
109
+ rdoc (~> 3.4)
110
+ thor (~> 0.14.6)
111
+ rainbow (1.1.3)
112
+ rake (0.9.2.2)
113
+ rb-fsevent (0.9.0)
114
+ rdoc (3.12)
115
+ json (~> 1.4)
116
+ ruby_gntp (0.3.4)
117
+ sass (3.1.12)
118
+ sass-rails (3.2.4)
119
+ railties (~> 3.2.0)
120
+ sass (>= 3.1.10)
121
+ tilt (~> 1.3)
122
+ sprockets (2.1.2)
123
+ hike (~> 1.2)
124
+ rack (~> 1.0)
125
+ tilt (~> 1.1, != 1.3.0)
126
+ test-unit (2.4.5)
127
+ thor (0.14.6)
128
+ tilt (1.3.3)
129
+ treetop (1.4.10)
130
+ polyglot
131
+ polyglot (>= 0.3.1)
132
+ tzinfo (0.3.31)
133
+
134
+ PLATFORMS
135
+ ruby
136
+
137
+ DEPENDENCIES
138
+ appraisal!
139
+ compass!
140
+ compass-rails!
141
+ guard
142
+ guard-test
143
+ mocha
144
+ rails (~> 3.2)
145
+ rainbow
146
+ rb-fsevent
147
+ ruby_gntp
148
+ sass-rails