pry-moves 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: c2844477b6ebf360fce390c440ac602b73dc287c
4
- data.tar.gz: 102a4fee351cb6dcbc078b2d22fe6b6829ba314d
3
+ metadata.gz: 865b754b7e85a2e8b60145cb14a0aeba95e52df5
4
+ data.tar.gz: 301d981dd3ea346e5e14960b9650420ef2f9ddd0
5
5
  SHA512:
6
- metadata.gz: aa98bf11ad2de420aa25795cc53cab6be2d8ff13401a2d0dad69c96932ea613002b04f0f64303c1b6e520ddabd897d3d095791a52dba021319745435e4ffa0af
7
- data.tar.gz: fcabf21cb1742f44406cbd9d5391959d4a24eca3ff99e745b9298ba76dd7d98282992aaa9674f0963845c01b6059663e981797655b4cee203232d0658b0dd151
6
+ metadata.gz: bf64352700349221aaaf7bf9aba3236b93dbe72e49c3d048e8e9e2107eba36e95530d9f652d436d3ebe3d05f7a218bac8523581d26d80347fbfb9e5a073e2bd1
7
+ data.tar.gz: '08ecca33672712a66b9bf9bb5c6632e4678c51392de9804ab8b8342cfec97b540493d8130f2aeb433f385fe247f2034bfdcdd621f6ec7b3ff32169ad981ae4d9'
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # pry-moves
2
2
 
3
+ ![](https://ruby-gem-downloads-badge.herokuapp.com/pry-moves?type=total)
4
+
3
5
  _An execution control add-on for [Pry][pry]._
4
6
 
5
7
  * Install: `gem 'pry-moves'`
@@ -9,7 +11,7 @@ _An execution control add-on for [Pry][pry]._
9
11
 
10
12
  * `n` - **next** line in current frame, including block lines (moving to next line goes as naturally expected)
11
13
  * `s` - **step** into function execution
12
- * `s func_name` - step into first method called by name `func_name`
14
+ * `s method_name` - step into method `method_name` (For example from `User.new.method_name`). Partial name match supported.
13
15
  * `f` - **finish** execution of current frame (block or method) and stop at next line on higher level
14
16
  * `c` - **continue**
15
17
  * `bt` - show latest 5 lines from backtrace
@@ -104,7 +104,7 @@ class PryMoves::Backtrace
104
104
 
105
105
  def write_to_file(lines, file_suffix)
106
106
  log_path = log_path file_suffix
107
- File.write log_path, lines
107
+ File.write log_path, lines.join("\n")
108
108
  puts "Backtrace logged to #{log_path}"
109
109
  end
110
110
 
@@ -1,3 +1,3 @@
1
1
  module PryMoves
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-moves
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - garmoshka-mo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-01 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry