fancy_irb 2.1.0 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89cbb2934ed19ad839cdc15eda21b617c01eb2bd6e689a54012c8eeee98098b9
4
- data.tar.gz: dcded533d53ac26e54bce266d2a80eea702c38b22173735b014e50b163f258c8
3
+ metadata.gz: 31089e64daaa7b5bdba8c4788d7dafedb99d651cb81531422d175cd1640e6e4d
4
+ data.tar.gz: f84336b986e78638817163dba53de78bf58aeedc76a5684f247ba1c63a782699
5
5
  SHA512:
6
- metadata.gz: ba416ba54282e7172fcd88035163fa9f809d3465c2f85f3c7fd858456d41988de8df81ec709d26ee32ed254f78d0d4429765aa561edb5cde3cbb90ba5c5ded5a
7
- data.tar.gz: 58d7c084efe90a61fc67857c497279ada9dd739ec732bf235e21a50171624ec2f103bdda48ef33ee31f91a995af9e0969459122910398a10329696575e7d5916
6
+ metadata.gz: 456f3a5851e00099b627a4cc5937c3e1c3bcccd689464d0d38a8d1a0b199d67716b58861d48c68feb146aecf19a9088fa520a1deabc2027e4502cc7e4ff9ab43
7
+ data.tar.gz: 6c1826324f4f21724cbda2ff44861b26642b9efee3488b9f141a54398863746f844a6ffc3eec7824f0cb2b8277d4f6e92a7b8662280800678237b58710fdd285
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.1.2
4
+ * Proper check for IRB version, fixes rocket not used
5
+
6
+ ## 2.1.1
7
+ * Fix assignments (IRB ref: https://github.com/ruby/irb/commit/c5ea79d5cecea9cae6ad0c1f31703a98cd329431)
8
+
3
9
  ## 2.1.0
4
10
  * Refactor IRB extension to accommodate IRB 1.8.2
5
11
 
@@ -1,6 +1,6 @@
1
1
  module FancyIrb
2
2
  module IrbExtCommon
3
- def output_value
3
+ def output_value(_omit = false)
4
4
  FancyIrb.output_value(@context, @scanner)
5
5
  end
6
6
 
@@ -48,7 +48,7 @@ module IRB
48
48
  class Irb
49
49
  prepend FancyIrb::IrbExtCommon
50
50
 
51
- if IRB::VERSION < "1.8.2"
51
+ if Gem::Version.new(IRB::VERSION) < Gem::Version.new("1.8.2")
52
52
  prepend FancyIrb::IrbExtPromptLegacy
53
53
  else
54
54
  prepend FancyIrb::IrbExtPrompt
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FancyIrb
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancy_irb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-22 00:00:00.000000000 Z
11
+ date: 2023-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paint
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.4.21
143
+ rubygems_version: 3.5.3
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Colors and rockets in IRB