Commit Graph

17 Commits

Author SHA1 Message Date
Robert Gleeson 7e6f9e3ec3 alias clear as 'refresh'. 2014-03-15 03:05:19 +01:00
Robert Gleeson 98a418bec7 add 'default' to the list of reserved keys & improve err msg. 2014-03-14 09:15:58 +01:00
Robert Gleeson d0faf8b2d0 add Pry::Config::Behavior#default. 2014-03-14 05:41:14 +01:00
Robert Gleeson 74135c1890 allow for tests to be run with ease.
'bacon spec/config_spec.rb' instead of 'bacon -I spec spec/config_spec.rb'
2014-03-14 05:31:24 +01:00
Robert Gleeson 76d4f03934 add Behavior#keys. 2014-02-02 23:23:23 +01:00
Robert Gleeson 41a90bd93b forgot to set an explicit default of `nil`. 2014-02-02 15:58:10 +01:00
Robert Gleeson 8e723512dd duplicate Hash returned by Behavior#to_hash (prevents outside-mutation) 2014-02-02 15:34:35 +01:00
Robert Gleeson 557cd0fa7b return false when argument does not implement #to_hash. 2014-02-02 15:01:32 +01:00
Robert Gleeson 6591ddd418 add tests. 2014-02-02 14:52:55 +01:00
Robert Gleeson 4d39a53e61 specify 'nil' default in config_spec.rb (don't fallback on Pry.config) 2014-02-01 03:16:12 +01:00
Robert Gleeson 04444b7bb7 add tests for config. 2014-01-31 14:18:32 +01:00
Robert Gleeson a6783e2628 add config test for traversal through chain of parents. 2014-01-31 14:12:04 +01:00
Robert Gleeson 0a25818c6b cleanup in config_spec.rb 2014-01-31 02:43:13 +01:00
Robert Gleeson 929c3f5aaa add spec's for Pry::Config. 2014-01-31 02:39:23 +01:00
Robert Gleeson e3f2475671 extend RESERVED_KEYS tests. 2014-01-30 01:41:56 +01:00
Robert Gleeson 4ba451fef5 guard against the assignment of reserved keys (add Behavior::RESERVED_KEYS). 2014-01-27 10:06:06 +01:00
yui-knk 9da6c98fd6 Add spec for Pry::Config 2014-01-22 00:32:03 +09:00