cute_print 1.1.4 → 1.2.0

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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile +1 -17
  4. data/README.md +3 -3
  5. data/cute_print.gemspec +63 -77
  6. data/lib/cute_print/release.rb +13 -0
  7. metadata +98 -62
  8. data/.config/cucumber.yml +0 -1
  9. data/.rspec +0 -1
  10. data/.travis.yml +0 -6
  11. data/.yardopts +0 -7
  12. data/Gemfile.lock +0 -110
  13. data/VERSION +0 -1
  14. data/features/.nav +0 -10
  15. data/features/call_chain.feature +0 -96
  16. data/features/configuring/configure_output.feature +0 -21
  17. data/features/configuring/configure_position_format.feature +0 -39
  18. data/features/configuring/readme.md +0 -1
  19. data/features/configuring/reset_configuration.feature +0 -24
  20. data/features/inspect/core.feature +0 -18
  21. data/features/inspect/inspect.feature +0 -29
  22. data/features/inspect/inspect_with_location.feature +0 -54
  23. data/features/inspect/inspect_with_source.feature +0 -16
  24. data/features/inspect/readme.md +0 -1
  25. data/features/pretty_print/pretty_print.feature +0 -41
  26. data/features/pretty_print/pretty_print_with_location.feature +0 -73
  27. data/features/pretty_print/pretty_print_with_source.feature +0 -27
  28. data/features/readme.md +0 -1
  29. data/features/support/env.rb +0 -9
  30. data/features/support/helpers/example.rb +0 -52
  31. data/features/support/helpers/example_runner.rb +0 -24
  32. data/features/support/helpers/fork_example_runner.rb +0 -37
  33. data/features/support/helpers/lib_path.rb +0 -7
  34. data/features/support/helpers/shell_example_runner.rb +0 -26
  35. data/features/support/helpers/temp_dir.rb +0 -15
  36. data/features/support/step_definitions.rb +0 -49
  37. data/spec/cute_print_spec.rb +0 -54
  38. data/spec/format/inspect_spec.rb +0 -20
  39. data/spec/format/pretty_print_spec.rb +0 -36
  40. data/spec/inline_labeler_spec.rb +0 -39
  41. data/spec/irb_spec.rb +0 -25
  42. data/spec/labeler_spec.rb +0 -97
  43. data/spec/outline_labeler_spec.rb +0 -37
  44. data/spec/printer_spec.rb +0 -79
  45. data/spec/silence_warnings.rb +0 -24
  46. data/spec/spec_helper.rb +0 -21
  47. data/spec/support/captures_stderr.rb +0 -3
  48. data/tasks/cucumber.rake +0 -8
  49. data/tasks/default.rake +0 -1
  50. data/tasks/jeweler.rake +0 -39
  51. data/tasks/spec.rake +0 -5
  52. data/tasks/test.rake +0 -2
  53. data/tasks/yard.rake +0 -3
  54. data/test_support/captures_stderr.rb +0 -16
  55. data/test_support/captures_stdout.rb +0 -16
  56. data/test_support/thread_unsafe_string_io.rb +0 -13
data/tasks/spec.rake DELETED
@@ -1,5 +0,0 @@
1
- require 'rspec/core'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new 'test:spec'
5
- task :spec => ['test:spec']
data/tasks/test.rake DELETED
@@ -1,2 +0,0 @@
1
- desc "Run all tests"
2
- task :test => ["test:spec", "test:cucumber"]
data/tasks/yard.rake DELETED
@@ -1,3 +0,0 @@
1
- require 'yard'
2
- YARD::Rake::YardocTask.new do |t|
3
- end
@@ -1,16 +0,0 @@
1
- require "stringio"
2
-
3
- module CapturesStderr
4
-
5
- def capture_stderr
6
- orig_stderr = $stderr
7
- $stderr = StringIO.new
8
- begin
9
- yield
10
- $stderr.string
11
- ensure
12
- $stderr = orig_stderr
13
- end
14
- end
15
-
16
- end
@@ -1,16 +0,0 @@
1
- require "stringio"
2
-
3
- module CapturesStdout
4
-
5
- def capture_stdout
6
- orig_stdout = $stdout
7
- $stdout = StringIO.new
8
- begin
9
- yield
10
- $stdout.string
11
- ensure
12
- $stdout = orig_stdout
13
- end
14
- end
15
-
16
- end
@@ -1,13 +0,0 @@
1
- # Ruby may implement #puts with two calls to #print: One for the
2
- # value, and one for the new-line. Do that, in order to flush
3
- # out thread-safety bugs.
4
-
5
- class ThreadUnsafeStringIO < StringIO
6
- def puts(*args)
7
- args.each do |arg|
8
- print arg
9
- Thread.pass
10
- print "\n"
11
- end
12
- end
13
- end