Chris Eppstein
5138d5a187
Support for new versions of sass where the callback name changed.
2011-12-23 17:00:59 -08:00
Chris Eppstein
ca59adfa12
Add a new helper function to reject values from a list.
2011-12-23 16:53:48 -08:00
Chris Eppstein
fc46730b36
Fix broken tests.
2011-12-23 16:53:23 -08:00
Chris Eppstein
3110fc5d9e
Support for new versions of sass where the callback name changed.
2011-12-23 16:23:14 -08:00
Scott Davis
16fff73ed7
removed rails tests and total rails itegration
2011-12-20 22:25:30 -05:00
Scott Davis
829d44f581
removed rails integration files
2011-12-20 21:54:07 -05:00
tka
b263bfdcaf
if manifest_file not exists, discover :all
2011-12-20 02:28:00 +08:00
Scott Davis
57dcbad3ae
Revert "bump sprite version for next release"
...
This reverts commit 03f648d5c4
.
2011-12-13 18:17:24 -05:00
Scott Davis
1e74425e9b
merge from stable
2011-12-13 18:16:12 -05:00
Scott Davis
03f648d5c4
bump sprite version for next release
2011-12-13 18:14:20 -05:00
Robert Vock
570ce43d96
remove less files, when cleaning up old sprites (fixes deleting to many generated sprites in some cases)
2011-12-13 22:56:54 +01:00
Scott Davis
7d22d3668c
detecting rails was breaking features on traivis ci will investigate
2011-12-11 01:38:11 -05:00
Scott Davis
684ad8754a
compass will now detect if your in a rails app and attempt to load its configuration from the application.rb if you are not using a compass configuration file
2011-12-10 15:13:29 -05:00
Scott Davis
073c04cde8
1.8.7 fix
2011-12-10 12:55:54 -05:00
Scott Davis
6194cb478a
fixed repeat-x issues closes #633 "
2011-12-10 12:49:34 -05:00
Scott Davis
f8377d15ac
refactoring and code cleanup
2011-12-10 00:55:16 -05:00
Scott Davis
70ee152f79
fixed typo via #634
2011-12-01 15:04:50 -05:00
Scott Davis
701c8d33c7
fixed sass deprication error of Sass::Compiler#on_updating_stylesheet closes #635
2011-12-01 14:54:39 -05:00
Chris Eppstein
2dbf44c263
Fix for the default path of generated images in rails 2.x
2011-11-28 09:09:08 -08:00
Chris Eppstein
37de6efc24
Fix an issue with rails 2.x due to the image_url changing modules.
2011-11-28 09:09:08 -08:00
Scott Davis
b96789ce5b
fixed cucumber features
2011-11-17 18:40:42 -05:00
Scott Davis
32b6c7fe25
fixed sorting issues with jruby and rbx
2011-11-17 15:53:20 -05:00
Scott Davis
d33585581e
closes #600 fixed to_path issue caused by sprokets
2011-11-17 15:07:03 -05:00
Chris Eppstein
ebd758a799
Merge branch 'stable'
...
Conflicts:
bin/compass
2011-11-06 18:02:41 -08:00
Chris Eppstein
4183a60e31
Handle frameworks without a templates directory.
2011-11-06 18:01:27 -08:00
Chris Eppstein
9888efdbc2
We actually count css selectors, not rules in compass stats
2011-11-06 18:01:27 -08:00
Scott Davis
bc3334bec9
you can now inline sprite images using $<map>-inline:true; before calling the @import closes #611
2011-11-04 10:47:31 -04:00
Scott Davis
f458519e01
fixes issue #602
2011-11-04 09:19:37 -04:00
Scott Davis
eb10566e02
fixed and issue with Sprokets trying to the the supreme ruler of the file paths!
2011-11-03 15:45:32 -04:00
Scott Davis
044855e04d
Merge pull request #610 from coderanger/fix/inheritance
...
Handle Rails adding methods to nil that it really shouldn't.
2011-11-01 17:59:41 -07:00
Noah Kantrowitz
ca4af48b7d
Handle Rails adding methods to nil that it really shouldn't.
2011-11-01 17:45:00 -07:00
Scott Davis
724a5dcc7d
Merge pull request #603 from jdelStrother/precompile
...
Fix Railtie initialization when initialize_on_precompile is disabled
2011-11-01 11:05:35 -07:00
Scott Davis
fa49a6b933
i cant spell =(
2011-10-25 16:33:51 -04:00
Scott Davis
ab20a7b9d1
added sass functions to allow getting the unit value demensions of a sprite image
2011-10-25 16:14:46 -04:00
Scott Davis
16ff623732
desmelled the binding class
2011-10-25 15:55:06 -04:00
Scott Davis
98775ea1ec
sprite importer will now use erb to generate scss to its easyer to manage
2011-10-25 15:47:58 -04:00
Scott Davis
e8becc7fee
working on sprite importer with erb templates
2011-10-25 13:49:34 -04:00
Jonathan del Strother
87d3bdc09d
Fix Railtie initialization when initialize_on_precompile is disabled
2011-10-12 15:27:00 +01:00
Scott Davis
dd75f7241e
micro optimization via @brainopia
2011-10-09 09:19:27 -04:00
brainopia
93ff7b31ec
merge
2011-10-09 09:15:57 -04:00
Chris Eppstein
fecc98219d
Refactor loggin within sprites
...
Handle missing logger instance more elegantly and centralize
relativizing and quiet mode checking.
Closes GH-84.
2011-09-26 09:00:51 -07:00
Scott Davis
9b56dc6169
updated for image_size monkey patch for api change
2011-09-24 01:21:41 -04:00
Chris Eppstein
d03d529909
Add a new compass-env() helper that returns the compass environment.
2011-09-20 09:36:40 -07:00
Chris Eppstein
972c53ecb5
Respect the --force option with sprite generation.
2011-09-19 18:19:42 -07:00
Chris Eppstein
38e4b3a3d9
Run a callback when a sprite is removed.
2011-09-19 18:19:04 -07:00
Chris Eppstein
71e5d28a29
Respect the --quiet option with sprite logging
2011-09-19 18:18:38 -07:00
Chris Eppstein
28daff6771
Assert that sprite offsets are numbers.
2011-09-19 17:59:37 -07:00
Chris Eppstein
6b3b71ab37
Merge pull request #560 from johnbintz/rbx-sort-fix
...
Rubinius/JRuby sort fix
2011-09-19 12:31:39 -07:00
Chris Eppstein
bfcff75c32
Handle the case where the there is not relative path to the images directory.
2011-09-19 09:03:02 -07:00
Chris Eppstein
b5ca89425d
code cleanup
2011-09-19 07:41:32 -07:00
Chris Eppstein
de029babb5
Slightly prettier output during sprite file generation.
2011-09-19 07:41:32 -07:00
Chris Eppstein
ce853df6bf
In some cases changing the layout doesn't force the sprite hash to change, so we have to make the layout part of the hash.
2011-09-19 07:41:32 -07:00
Chris Eppstein
8b33471229
Bump sprite version for this release.
2011-09-19 07:41:32 -07:00
Chris Eppstein
cd907d17a7
Log the creation or unchanged status of sprites during compilation.
2011-09-19 07:41:31 -07:00
Chris Eppstein
5fd2c14d06
A better setting to check if we are precompiling
2011-09-18 08:57:05 -07:00
John Bintz
c9593794bd
better sorting of images coming into sprites, fixes one rbx error
2011-09-17 12:02:51 -04:00
Chris Eppstein
fe4edff7d4
Workaround for the deprecated static_root
2011-09-17 07:44:20 -07:00
Scott Davis
88ee68de5d
Merge branch 'master' of github.com:chriseppstein/compass
2011-09-17 00:46:07 -04:00
Scott Davis
6cba5520aa
fixed issue with showing positions and made the internal api consistant with the documentation
2011-09-17 00:45:35 -04:00
Chris Eppstein
155834b341
Merge remote branch 'botandrose/patch-4'
...
* botandrose/patch-4:
add test for inline_font_files()
Inline fonts weren't being base64 encoded.
2011-09-16 15:49:49 -07:00
Chris Eppstein
49ea916c58
Merge pull request #549 from ravinggenius/master
...
Test and refactoring of font_files (issues #543 and #544 ) on master branch
2011-09-16 14:57:02 -07:00
Scott Davis
660c5697db
image_size was causing issue with rails and the sass evaluation context
2011-09-15 11:25:57 -04:00
Scott Davis
e52184b6fe
fixes #551 with failing test
2011-09-14 12:47:20 -04:00
Scott Davis
35b9b60c7c
Sprite importer now passes the correct filename to the sass engine which was causeing unexpected uris to get returned
...
This fixes the 'to_tree' error that wasn't really a sass bug it was an error on the sprite importers part
2011-09-12 20:44:12 -04:00
Scott Davis
3e5b3cfbf6
dont cache in custom
2011-09-10 16:47:10 -04:00
Scott Davis
ec90cf515f
fixed typo =(
2011-09-10 16:44:49 -04:00
Scott Davis
45b19df315
cache the image dimensions in sass options
2011-09-10 16:42:12 -04:00
Scott Davis
2367b9b9be
dont cache
2011-09-10 16:38:36 -04:00
Scott Davis
2792ea3be4
prefix with :: just incase
2011-09-10 16:31:31 -04:00
Scott Davis
91aaa29df8
monkey patch to rails 3.1 image functions
2011-09-10 16:30:23 -04:00
Scott Davis
7f8b6c29e0
moved to private
2011-09-10 16:29:57 -04:00
Scott Davis
abace68275
some internal refactoring im image_functions
2011-09-10 16:22:43 -04:00
Raving Genius
3514898ea1
Stop requiring font type when type can be guessed from URL (issue #544 )
2011-09-08 23:12:11 -04:00
Micah Geisel
bced277049
Inline fonts weren't being base64 encoded.
2011-09-06 14:57:34 -07:00
Scott Davis
8ccdab41cc
refactored for cleanliness
2011-09-06 15:48:10 -04:00
Scott Davis
09dd9456e1
diagonal layout now goes i nthe correct direction and refactored some internals
2011-09-03 15:56:57 -04:00
Lloyd Kupchanko
375c08b60e
Fix for issue #522
2011-08-30 21:39:02 -06:00
Chris Eppstein
7147147e24
Make sprites work with the asset pipeline.
2011-08-29 08:52:14 -07:00
Chris Eppstein
e2960d81b0
Move callbacks to the configuration base class and make them work correctly with inherited data.
2011-08-28 12:58:08 -07:00
Chris Eppstein
5896711c8a
Set a default value for the default_http_generated_images_path in rails 3.1
2011-08-28 12:55:57 -07:00
Chris Eppstein
d0bbb66e73
Add a generated-image-url helper for rails31 specifically
2011-08-28 12:54:52 -07:00
Chris Eppstein
02f268f1b1
Properly detect minimum rails31 version.
2011-08-28 10:47:09 -07:00
Chris Eppstein
7d743941d1
fix error message
2011-08-28 09:22:13 -07:00
Chris Eppstein
210a1d4771
only define the compass url helpers if they are not already defined.
2011-08-28 09:22:13 -07:00
Chris Eppstein
f23bf58e8d
Add support for a separate output location for generated images. This is necessary for rails 3.1 support of sprites.
2011-08-20 17:24:03 -07:00
Scott Davis
8a407a6df7
Merge branch 'master' of github.com:chriseppstein/compass into rails31
2011-08-19 19:58:00 -04:00
Scott Davis
4187f88970
fixed a bug that was causeing compass to remove non sprite images
2011-08-19 19:55:55 -04:00
Chris Eppstein
000e4e1ed7
Merge branch 'master' into rails31
...
* master: (23 commits)
updated change log
fixed horizontal height and width calculation
horizontal layout now respects positions and spacing correctly
Changed the descriptions of the sin, cos, and tan to be more descriptive.
derp double require
smart pack docs - forgot something
smart pack docs
smart packing implimentation thanks @johnbintz
tests for smart packing
smart packing helper classes
new tests
docs for diagonal layout
layout for diagonal sprite
added test for diagonal layout
fixed trig functions closes #498
patched image functions to accept a real path
Fix failing test for change to http_path in rails
Failing test for changing http_path with rails
reverted sorting back to one liner
more importer tests
...
Conflicts:
Gemfile.lock
2011-08-19 14:42:42 -07:00
Scott Davis
1cdfab7c03
fixed horizontal height and width calculation
2011-08-12 15:34:04 -04:00
Scott Davis
4aa052d9e4
horizontal layout now respects positions and spacing correctly
2011-08-12 15:12:31 -04:00
Scott Davis
6a166d0145
derp double require
2011-08-02 23:46:03 -04:00
Scott Davis
59722ef4ad
smart packing implimentation thanks @johnbintz
2011-08-02 23:36:20 -04:00
Scott Davis
87240723e7
smart packing helper classes
2011-08-02 23:35:27 -04:00
Scott Davis
08e92fadb2
layout for diagonal sprite
2011-08-02 22:08:27 -04:00
Scott Davis
acfd1e43a2
fixed trig functions closes #498
2011-08-02 18:49:06 -04:00
Scott Davis
289c452d64
patched image functions to accept a real path
2011-07-27 21:31:56 -04:00
Joeri Samson
ec7c4b2e9c
Fix failing test for change to http_path in rails
2011-07-27 19:47:43 +02:00
Scott Davis
3a4d1e07b7
reverted sorting back to one liner
2011-07-27 03:01:28 -04:00
Scott Davis
8c48248a72
more importer tests
2011-07-27 02:39:24 -04:00
Scott Davis
0984b48b24
adjust spritmap class to usr load path to get relative sprite names
2011-07-27 02:11:45 -04:00