jazz_fingers 5.0.0 → 5.0.1

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
- SHA1:
3
- metadata.gz: 4999936c5383de2179cf7bc5d77a6fd222d3de26
4
- data.tar.gz: cb9a42ec388dcf1a9350ec07819d884562f5e25e
2
+ SHA256:
3
+ metadata.gz: b393eef001d85320069330c948fdd7236e6e7d7f4de9629d8f840d232fc418ca
4
+ data.tar.gz: e7e153cf459ed83b1d6bcb468b8bfb4034e8b10db6de1bdefd9683960024b8ef
5
5
  SHA512:
6
- metadata.gz: 0e7754ab8b9f32c1219e1841d1c5345f3d2a6956ab6f5ef42a9de2c2e315ae864db7ba95d5894648a52640b1dae63d711814977e95e0f954e26ae0348cbddae0
7
- data.tar.gz: fb570df06f4a74a8d2c93d3773ad883f8a40a1e93a33dd0b761a5b329d3fa3892e753420ce38929bb1f48259dcca2c30a63925830dfb98d6ca01656764801ecb
6
+ metadata.gz: e2516d198ba0e449a6924c08dbb353d267cecb72dba81bb017fab65e9b23cb27fcd56ec8ce75a4dff4e843626139b0626420822dca7570f04017cd2c7bfbad16
7
+ data.tar.gz: 0f8ece831786a3cb2b6a6169f400f0c0b0ebf4822d008889a727d9523e45dee60d2b609092cd2215fa40acf2a23616046d4e3732807901a241ad77c63631f369
data/.hound.yml ADDED
@@ -0,0 +1 @@
1
+ .rubocop.yml
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 5.0.1 (2019-06-02)
4
+ * Remove documentation for removed dependency
5
+ * Use non deprecated method of `pry` if existent
6
+
3
7
  ## 5.0.0 (2018-05-02)
4
8
  * Remove [pry-doc][pry-doc] dependency to reduce memory footprint
5
9
  * Remove [hirb][hirb] dependency since its not being actively maintained
data/README.md CHANGED
@@ -32,8 +32,6 @@ end
32
32
 
33
33
  That's it. Run `pry` as usual.
34
34
 
35
- [Hirb][hirb] isn't enabled by default. To use, run `Hirb.enable` in the console.
36
-
37
35
  Ruby compiled against a proper readline library, ideally GNU readline, is
38
36
  recommended. Alternatively, [`gem install rb-readline`][rb-readline] for an
39
37
  acceptible backup. Using ruby compiled against a `libedit` wrapper (primarily OS
@@ -37,7 +37,11 @@ module JazzFingers
37
37
  end
38
38
 
39
39
  def line_number(pry)
40
- "[#{bold_text(pry.input_array.size)}]"
40
+ if pry.respond_to? :input_ring
41
+ "[#{bold_text(pry.input_ring.size)}]"
42
+ else
43
+ "[#{bold_text(pry.input_array.size)}]"
44
+ end
41
45
  end
42
46
 
43
47
  def text(object, level)
@@ -1,3 +1,3 @@
1
1
  module JazzFingers
2
- VERSION = '5.0.0'.freeze
2
+ VERSION = '5.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jazz_fingers
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
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: 2018-05-02 00:00:00.000000000 Z
11
+ date: 2019-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -126,8 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 2.4.6
129
+ rubygems_version: 3.0.3
131
130
  signing_key:
132
131
  specification_version: 4
133
132
  summary: Exercise those fingers. Pry-based enhancements for the default Ruby console.
data/.hound.yml DELETED
@@ -1,5 +0,0 @@
1
- Metrics/LineLength:
2
- Max: 120
3
-
4
- Style/Documentation:
5
- Enabled: false