jazz_fingers 5.2.2 → 6.0.0.pre.rc1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23ec179734e2fa4ef28b3352075a7c54557f406907fb287818e5df935865dccf
4
- data.tar.gz: a2d70183f7ab4d41f952d2b325ddab9b1bd4ebf52b398626def3c7d60f3dec69
3
+ metadata.gz: 532d4660c48c061acd71789b37a2192a234ee1a9c758e7a558a6d84f4e9a2e17
4
+ data.tar.gz: 10dda140b0286c7ef7c7639703742d07b11e0e1c27edde9d4f66a4d41d01dd48
5
5
  SHA512:
6
- metadata.gz: 86bd06b63b658828bfcf6f27986a0c89e5419bee9cf31a42b38d8d8c3135e9bdff0e0a224fce62d96da1ff49aff05c2490403228d5953b830e107e9506c83036
7
- data.tar.gz: 2d3e975c8686f6b1936f3501a60a10e429fcee142cb48672797385f5b673039f6dd8edbeb34fe3e490ff4ea8122186844369e3b8fc2dd82485569de736c400f4
6
+ metadata.gz: d1673af4271d78fb52ce3537a09f963af085a5afd1a8382af3664e9f67b7573e1a4e98e1ab60a38ef0c6f57a83aaa877cd79df99a43ed22b795c5d3c0e1a0dd8
7
+ data.tar.gz: a8ffbb30aeb64be2a37955274645e740137a4f404bb68190d05ea8412acd2ade3b145214c1c9ac26f8762dba31dd5605e014644a1a062ac3d3057ce88648317c
data/README.md CHANGED
@@ -9,7 +9,7 @@ hard-working fingers!
9
9
  **jazz_fingers** is an opinionated set of console-related gems and a bit of glue:
10
10
 
11
11
  * [**Pry**][pry] for a powerful shell alternative to IRB.
12
- * [**Awesome Print**][awesome_print] for stylish pretty print.
12
+ * [**Amazing Print**][amazing_print] for stylish pretty print.
13
13
  console.
14
14
  * [**Pry Coolline**][pry-coolline] for syntax highlighting as you type.
15
15
 
@@ -46,7 +46,7 @@ Some configurations can be overwritten:
46
46
  if defined?(JazzFingers)
47
47
  JazzFingers.configure do |config|
48
48
  config.colored_prompt = false
49
- config.awesome_print = false
49
+ config.amazing_print = false
50
50
  config.coolline = false
51
51
  config.application_name = MyAwesomeProject
52
52
  end
@@ -69,7 +69,7 @@ mixed encodings.
69
69
 
70
70
 
71
71
  [pry]: http://pry.github.com
72
- [awesome_print]: https://github.com/michaeldv/awesome_print
72
+ [amazing_print]: https://github.com/amazing-print/amazing_print
73
73
  [hirb]: https://github.com/cldwalker/hirb
74
74
  [pry-doc]: https://github.com/pry/pry-doc
75
75
  [pry-coolline]: https://github.com/pry/pry-coolline
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.summary = 'Exercise those fingers. Pry-based enhancements for the default Ruby console.'
11
11
  description =
12
12
  'Spending hours in the ruby console? Spruce it up and show off those hard-working hands! jazz_fingers'\
13
- 'replaces IRB with Pry, improves output through awesome_print, and has some other goodies up its sleeves.'
13
+ 'replaces IRB with Pry, improves output through amazing_print, and has some other goodies up its sleeves.'
14
14
  gem.description = description
15
15
 
16
16
  gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
20
20
 
21
21
  # Dependencies
22
22
  gem.required_ruby_version = '>= 2.0'
23
- gem.add_runtime_dependency 'awesome_print', '~> 1.6'
23
+ gem.add_runtime_dependency 'amazing_print', '~> 1.2'
24
24
  gem.add_runtime_dependency 'pry', '~> 0.10'
25
25
  gem.add_runtime_dependency 'pry-byebug', '~> 3.4'
26
26
  gem.add_runtime_dependency 'pry-coolline', '~> 0.2'
@@ -6,7 +6,7 @@ require 'readline'
6
6
  require 'forwardable'
7
7
 
8
8
  module JazzFingers
9
- autoload :AWESOME_PRINT, 'jazz_fingers/awesome_print'
9
+ autoload :AMAZING_PRINT, 'jazz_fingers/amazing_print'
10
10
  autoload :CodeRay, 'jazz_fingers/coderay'
11
11
  autoload :Commands, 'jazz_fingers/commands'
12
12
  autoload :Configuration, 'jazz_fingers/configuration'
@@ -18,7 +18,7 @@ module JazzFingers
18
18
  class << self
19
19
  extend Forwardable
20
20
 
21
- def_delegators :config, :awesome_print?, :coolline?
21
+ def_delegators :config, :amazing_print?, :coolline?
22
22
 
23
23
  def print
24
24
  @print ||= Print.config
@@ -66,10 +66,10 @@ module JazzFingers
66
66
  Pry.config.commands.import(command)
67
67
  end
68
68
 
69
- if JazzFingers.awesome_print?
70
- require 'awesome_print'
69
+ if JazzFingers.amazing_print?
70
+ require 'amazing_print'
71
71
 
72
- AwesomePrint.defaults = JazzFingers::AWESOME_PRINT
72
+ AmazingPrint.defaults = JazzFingers::AMAZING_PRINT
73
73
  Pry.print = print
74
74
  end
75
75
 
@@ -1,22 +1,22 @@
1
1
  module JazzFingers
2
- AWESOME_PRINT = {
2
+ AMAZING_PRINT = {
3
3
  indent: 2,
4
4
  sort_keys: true,
5
5
  color: {
6
6
  args: :greenish,
7
- array: :pale,
7
+ array: :whiteish,
8
8
  bigdecimal: :blue,
9
9
  class: :yellow,
10
10
  date: :greenish,
11
11
  falseclass: :red,
12
12
  fixnum: :blue,
13
13
  float: :blue,
14
- hash: :pale,
14
+ hash: :whiteish,
15
15
  keyword: :cyan,
16
16
  method: :purpleish,
17
17
  nilclass: :red,
18
18
  string: :yellowish,
19
- struct: :pale,
19
+ struct: :whiteish,
20
20
  symbol: :cyanish,
21
21
  time: :greenish,
22
22
  trueclass: :green,
@@ -1,6 +1,6 @@
1
1
  module JazzFingers
2
2
  class Configuration
3
- attr_writer :colored_prompt, :prompt_separator, :coolline, :awesome_print,
3
+ attr_writer :colored_prompt, :prompt_separator, :coolline, :amazing_print,
4
4
  :application_name
5
5
 
6
6
  # Color the prompt?
@@ -32,10 +32,10 @@ module JazzFingers
32
32
  @coolline
33
33
  end
34
34
 
35
- def awesome_print?
36
- return true if @awesome_print.nil?
35
+ def amazing_print?
36
+ return true if @amazing_print.nil?
37
37
 
38
- @awesome_print
38
+ @amazing_print
39
39
  end
40
40
 
41
41
  def application_name
@@ -1,4 +1,4 @@
1
- require 'awesome_print'
1
+ require 'amazing_print'
2
2
 
3
3
  module JazzFingers
4
4
  class Print
@@ -1,3 +1,3 @@
1
1
  module JazzFingers
2
- VERSION = '5.2.2'.freeze
2
+ VERSION = '6.0.0-rc1'.freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jazz_fingers
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.2
4
+ version: 6.0.0.pre.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Henrique Lopes Ribeiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-22 00:00:00.000000000 Z
11
+ date: 2020-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: awesome_print
14
+ name: amazing_print
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '1.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.6'
26
+ version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Spending hours in the ruby console? Spruce it up and show off those hard-working
84
- hands! jazz_fingersreplaces IRB with Pry, improves output through awesome_print,
84
+ hands! jazz_fingersreplaces IRB with Pry, improves output through amazing_print,
85
85
  and has some other goodies up its sleeves.
86
86
  email: plribeiro3000@gmail.com
87
87
  executables: []
@@ -102,7 +102,7 @@ files:
102
102
  - Rakefile
103
103
  - jazz_fingers.gemspec
104
104
  - lib/jazz_fingers.rb
105
- - lib/jazz_fingers/awesome_print.rb
105
+ - lib/jazz_fingers/amazing_print.rb
106
106
  - lib/jazz_fingers/coderay.rb
107
107
  - lib/jazz_fingers/coderay/escaped_colors.rb
108
108
  - lib/jazz_fingers/coderay/unescaped_colors.rb
@@ -132,9 +132,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
132
  version: '2.0'
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - ">="
135
+ - - ">"
136
136
  - !ruby/object:Gem::Version
137
- version: '0'
137
+ version: 1.3.1
138
138
  requirements: []
139
139
  rubygems_version: 3.1.3
140
140
  signing_key: