1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00
Commit graph

20 commits

Author SHA1 Message Date
Mauro George
a4d960f1c8 Rename the option from new_hash_syntax to colonize_symbol_keys 2015-03-19 18:18:19 -03:00
Mauro George
188becfadf Add the new_hash_syntax syntax option 2015-03-18 19:48:00 -03:00
Mauro George
7e6e7c01aa Remove conditional check against old Ruby versions
AwesomePrint supports Ruby 1.9.3 or later.
This remove lot of conditional check against Ruby prior to 1.9.3.
2015-02-12 19:57:41 -02:00
Elliot Shank
f6f3914bae Test Formatter#to_hash. 2015-02-02 17:19:45 -06:00
Mauro George
526f907629 Improves spec runner harness, switches to better env detection.
Does not run rails specs when running mongoid specs

WIP Start of remove BRE to check tests

Remove old helper of active record

Use RSpec skip to skip AR specs

Run ActionView only when needed

Run ActiveSupport only when needed

Run Mongoid only when needed

Create ExtVerifier.require_dependencies

Run MongoMapper only when needed

Always load nokogiri specs

Always load ostruct specs

Run Ripple only when needed

Remove :: when check for defined constants

Require spec_helper directly

Remove 1.8.6 old monkey patch

Add some RSpec configs
2015-01-02 13:20:18 -05:00
Eoin Kelly
52bffc1873 Get specs passing with latest versions of extension gems
* Get specs passing with latest versions of
    * ActiveRecord  4.0.4
    * ActiveSupport 4.0.4
    * MongoMapper   0.13.0
    * Mongoid       4.0.0
    * ActionView    4.0.4
    * Ripple seems to be abandoned so no changes made.
* Clean up ActiveRecord setup:
    * Creating tableless AR objects seems even trickier in Rails 4 so
      simplify testing setup by using an in-memory SQLite DB back-end.

Conflicts:
	spec/ext/active_record_spec.rb
2014-12-29 12:11:08 -05:00
adamjonas
2bc678bba5 update rspec syntax from should to expect via transpec 2014-12-18 12:24:30 -05:00
Mike Dvorkin
fb070acab0 Fixed set formatting spec for Ruby 1.8.x 2013-09-24 12:18:44 -07:00
Michael Dvorkin
7ccf4907ae Added formatting for Ruby set objects (patch by Richard Hall) 2013-09-19 17:00:28 -07:00
Mike Dvorkin
bef11700b5 Make sure Rational specs pass with Ruby 1.8.x 2012-09-03 21:22:05 -07:00
Mike Dvorkin
c7bdcd85e6 Merge branch 'master' of git://github.com/evansenter/awesome_print into evansenter/master 2012-09-03 21:02:12 -07:00
Mike Dvorkin
fa958455ca Moved misc specs to spec/misc_specs.rb 2012-09-03 13:57:10 -07:00
Mike Dvorkin
8a222fb709 Fixed ArgumentError: Can't create Binding from C level Proc 2012-09-03 13:06:16 -07:00
Mike Dvorkin
fcdc3b6320 Tiny spec fix for Ruby 1.8.x 2012-09-03 11:57:16 -07:00
Evan Senter
bd032ca03b Patching awesome_bigdecimal to not have lossy precision. 2012-06-26 12:05:26 -04:00
Mike Dvorkin
b6a02f200b Make specs pass with Ruby 1.8.6 2011-11-23 22:37:25 -08:00
Mike Dvorkin
3849b4a7bd Changed HTML formatting to support pre { display:inline } style 2011-11-23 21:10:56 -08:00
Mike Dvorkin
d2c0a398e2 Fixed nested left alighment; fixed ActiveRecord and MongoMapper object specs 2011-11-08 21:27:02 -08:00
Mike Dvorkin
782e38268b Fixed double indentation for left-aligned hash keys 2011-11-08 18:30:50 -08:00
Mike Dvorkin
8044c29b50 Ported AwesomePrint.force_colors! and its specs 2011-11-08 18:30:50 -08:00
Renamed from spec/awesome_print_spec.rb (Browse further)