pry-de 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ require 'working/gemspec'
3
+ $:.unshift 'lib'
4
+ require 'pry-de'
5
+ require 'pry-de/version'
6
+
7
+ Working.gemspec(
8
+ :name => 'pry-de',
9
+ :summary => Working.third_line_of_readme,
10
+ :description => Working.third_line_of_readme,
11
+ :version => PryDe::VERSION,
12
+ :authors => %w(☈king Banisterfiend),
13
+ :email => 'pry-de@sharpsaw.org',
14
+ :github => 'rking/pry-de',
15
+ :deps => %w(pry-full pry-fkeys guard),
16
+ )
data/Gemfile CHANGED
@@ -2,8 +2,7 @@ source :rubygems
2
2
  gemspec
3
3
 
4
4
  gem 'pry', github: 'pry'
5
-
6
- case RUBY_PLATFORM
7
- when /linux/i; gem 'rb-inotify'
8
- when /darwin/i; gem 'rb-fsevent'
9
- end
5
+ gem 'guard-minitest'
6
+ gem 'rb-inotify', require: false
7
+ gem 'rb-fsevent', require: false
8
+ gem 'rake'
@@ -1,6 +1,6 @@
1
1
  GIT
2
2
  remote: git://github.com/pry/pry.git
3
- revision: 2eca2e1b7e3ff6b9a7471eacc3db1e910f40e567
3
+ revision: 36635592919293f10f69076a91b6b0e0ae200455
4
4
  specs:
5
5
  pry (0.9.11)
6
6
  coderay (~> 1.0.5)
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- pry-de (0.0.4)
13
+ pry-de (0.1.0)
14
14
  guard
15
15
  pry-full
16
16
 
@@ -19,7 +19,7 @@ GEM
19
19
  specs:
20
20
  awesome_print (1.1.0)
21
21
  binding_of_caller (0.6.8)
22
- bond (0.4.2)
22
+ bond (0.4.3)
23
23
  coderay (1.0.8)
24
24
  columnize (0.3.6)
25
25
  debugger (1.1.4)
@@ -46,7 +46,7 @@ GEM
46
46
  guard (>= 0.4)
47
47
  highline (1.6.15)
48
48
  interception (0.3)
49
- jist (1.2.0)
49
+ jist (1.3.0)
50
50
  json
51
51
  json (1.7.5)
52
52
  listen (0.6.0)
@@ -113,6 +113,8 @@ GEM
113
113
  pry (>= 0.9.8)
114
114
  pry-theme (0.1.3)
115
115
  json
116
+ rake (10.0.3)
117
+ rb-fsevent (0.9.2)
116
118
  rb-inotify (0.8.8)
117
119
  ffi (>= 0.5.0)
118
120
  slop (3.3.3)
@@ -126,4 +128,6 @@ DEPENDENCIES
126
128
  guard-minitest
127
129
  pry!
128
130
  pry-de!
131
+ rake
132
+ rb-fsevent
129
133
  rb-inotify
@@ -0,0 +1,5 @@
1
+ = pry-de
2
+
3
+ Run-time Ruby Development Environment based on Pry. [Maturity: Young]
4
+
5
+ See: https://github.com/pry/pry/wiki/pry-de
data/Rakefile CHANGED
@@ -9,3 +9,7 @@ end
9
9
  task :'pry-de' do
10
10
  sh *%w(bundle exec pry -Ilib -rpry-de) + ARGV[1..-1]
11
11
  end
12
+
13
+ task :readme do
14
+ sh 'erb README.md.erb >| README.md'
15
+ end
@@ -1,3 +1,3 @@
1
1
  module PryDe
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-de
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-06 00:00:00.000000000 Z
13
+ date: 2013-02-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pry-full
@@ -29,7 +29,7 @@ dependencies:
29
29
  - !ruby/object:Gem::Version
30
30
  version: '0'
31
31
  - !ruby/object:Gem::Dependency
32
- name: guard
32
+ name: pry-fkeys
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  none: false
35
35
  requirements:
@@ -45,14 +45,14 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: guard-minitest
48
+ name: guard
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- type: :development
55
+ type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  none: false
@@ -60,7 +60,12 @@ dependencies:
60
60
  - - ! '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
- description: ! 'For the concept, see: https://github.com/pry/pry/wiki/pry-de'
63
+ description: ! 'Run-time Ruby Development Environment based on Pry. [Maturity: Young]
64
+
65
+
66
+ Run-time Ruby Development Environment based on Pry. [Maturity: Young]
67
+
68
+ '
64
69
  email: pry-de@sharpsaw.org
65
70
  executables:
66
71
  - rbacktracedit
@@ -69,13 +74,13 @@ extra_rdoc_files: []
69
74
  files:
70
75
  - ! ',retest'
71
76
  - .document
77
+ - .gemspec
72
78
  - .gitignore
73
79
  - Gemfile
74
80
  - Gemfile.lock
75
81
  - Guardfile
76
82
  - LICENSE.txt
77
- - README.md
78
- - README.md.erb
83
+ - README.rdoc
79
84
  - Rakefile
80
85
  - TODO-Pry
81
86
  - VERSION
@@ -83,14 +88,11 @@ files:
83
88
  - lib/pry-de.rb
84
89
  - lib/pry-de/backtrace_edit.rb
85
90
  - lib/pry-de/version.rb
86
- - pry-de.gemspec
87
91
  - test/test_backtrace_edit.rb
88
92
  - test/test_helper.rb
89
- - test/test_pry_de.rb
90
93
  - vim/ftplugin/ruby_pry-de.vim
91
- homepage: http://github.com/rking/pry-de
92
- licenses:
93
- - CC0
94
+ homepage: https://github.com/rking/pry-de
95
+ licenses: []
94
96
  post_install_message:
95
97
  rdoc_options: []
96
98
  require_paths:
@@ -109,13 +111,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
111
  version: '0'
110
112
  requirements: []
111
113
  rubyforge_project:
112
- rubygems_version: 1.8.24
114
+ rubygems_version: 1.8.23
113
115
  signing_key:
114
116
  specification_version: 3
115
- summary: ! 'Run-time Ruby Development Environment based on Pry. [Maturity: Fœtal.
116
- Only use if you''re adventurous]'
117
+ summary: ! 'Run-time Ruby Development Environment based on Pry. [Maturity: Young]'
117
118
  test_files:
118
119
  - test/test_backtrace_edit.rb
119
120
  - test/test_helper.rb
120
- - test/test_pry_de.rb
121
121
  has_rdoc:
data/README.md DELETED
@@ -1,22 +0,0 @@
1
- # pry-de
2
-
3
- Run-time Ruby Development Environment based on Pry. [Maturity: Infantile]
4
-
5
- See: https://github.com/pry/pry/wiki/pry-de
6
-
7
- - `,,` (toggle ,-prefixes off/on commands, for terse input)
8
- - `,-` (Remove last item from history, in preparation for a `play` command)
9
- - `,b` (Alias for `break`)
10
- - `,c` (Alias for `continue`)
11
- - `,f` (Alias for `finish`)
12
- - `,lib` (edit lib/)
13
- - `,loc` (Show hash of local vars)
14
- - `,m` (play method body only)
15
- - `,n` (Alias for `next`)
16
- - `,refactor` (No description.)
17
- - `,s` (Alias for `step`)
18
- - `,w` (Alias for `whereami`)
19
- - `/[$?]?\s*(.*?)\s*,,e\s*(.*)/` (edit from anywhere on the line)
20
- - `?$` (show-doc + show-source)
21
- - `C$` (Hop to tag in the Ruby C source)
22
- - `cat--EX` (show whole backtrace)
@@ -1,15 +0,0 @@
1
- # pry-de
2
-
3
- Run-time Ruby Development Environment based on Pry. [Maturity: Infantile]
4
-
5
- See: https://github.com/pry/pry/wiki/pry-de
6
-
7
- <%
8
- warn "(Running pry…)"
9
- help_output = `pry -e 'Pry.config.pager = false' -e help -e quit`
10
- help_output.match /pry-de.+?\n(.*?)\n\n/m
11
- pry_de_commands = $1.split(/\n/)
12
- pry_de_commands.each do |e|
13
- /\s*(?<cmd>\S+)\s+(?<desc>.+)/ =~ e
14
- %> - `<%= cmd %>` (<%= desc %>)
15
- <% end %>
@@ -1,23 +0,0 @@
1
- # encoding: utf-8
2
- lib = File.expand_path '../lib', __FILE__
3
- $:.unshift lib unless $:.include? lib
4
- require 'pry-de/version'
5
-
6
- Gem::Specification.new do |gem|
7
- gem.name = 'pry-de'
8
- gem.homepage = 'http://github.com/rking/pry-de'
9
- gem.summary = %Q{Run-time Ruby Development Environment based on Pry. [Maturity: Fœtal. Only use if you're adventurous]}
10
- gem.description = %Q{For the concept, see: https://github.com/pry/pry/wiki/pry-de}
11
- gem.version = PryDe::VERSION
12
- gem.license = 'CC0'
13
- gem.email = 'pry-de@sharpsaw.org'
14
- gem.authors = %w(☈king Banisterfiend)
15
-
16
- gem.files = `git ls-files`.split $/
17
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename f }
18
- gem.test_files = gem.files.grep %r{^(test|spec|features)/}
19
- gem.require_paths = %w(lib)
20
- %w(pry-full guard).each do |dep| gem.add_dependency dep end
21
- %w(guard-minitest).each do |dep|
22
- gem.add_development_dependency dep end
23
- end
@@ -1,16 +0,0 @@
1
- require 'test_helper'
2
- require 'pry-de/backtrace_edit'
3
-
4
- class TestBacktraceEdit < MiniTest::Unit::TestCase
5
- def test_first_line_parse
6
- input = '/blah/src/scrap/foo.rb:4:in `jump\': foo (RuntimeError)'
7
- expected = {
8
- file: '/blah/src/scrap/foo.rb',
9
- line: '4',
10
- method: 'jump',
11
- error: ' foo (RuntimeError)'
12
- }
13
- actual = PryDe::BacktraceEdit.parse_line input
14
- assert_equal expected, actual
15
- end
16
- end