sky-debug 0.1.1

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.
Files changed (7) hide show
  1. data/CHANGELOG +1 -0
  2. data/Manifest +5 -0
  3. data/README +7 -0
  4. data/Rakefile +14 -0
  5. data/lib/sky-debug.rb +14 -0
  6. data/sky-debug.gemspec +30 -0
  7. metadata +80 -0
data/CHANGELOG ADDED
@@ -0,0 +1 @@
1
+ v0.1.1. Initial code commit. Everything is working and tested.
data/Manifest ADDED
@@ -0,0 +1,5 @@
1
+ CHANGELOG
2
+ Manifest
3
+ README
4
+ Rakefile
5
+ lib/sky-debug.rb
data/README ADDED
@@ -0,0 +1,7 @@
1
+ Trivial debugger.
2
+
3
+ Just call it anywhere you like like this:
4
+
5
+ breakpoint binding
6
+
7
+ And you'll get IRB prompt anywhere in your program with all the context.
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('sky-debug', '0.1.1') do |p|
6
+ p.description = "Sky Trivial Debugger"
7
+ p.url = "http://uniqsys.ru/"
8
+ p.author = "Uniq Systems"
9
+ p.email = "ivan@uniqsystems.ru"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.runtime_dependencies = p.development_dependencies = [ ]
12
+ end
13
+
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
data/lib/sky-debug.rb ADDED
@@ -0,0 +1,14 @@
1
+ require 'irb'
2
+
3
+ module IRB
4
+ def IRB.start_with_binding binding
5
+ IRB.setup __FILE__
6
+ w = WorkSpace.new binding
7
+ irb = Irb.new w
8
+ @CONF[:MAIN_CONTEXT] = irb.context
9
+ irb.eval_input
10
+ end
11
+ end
12
+
13
+ ## вызывать так: breakpoint binding
14
+ def breakpoint binding; IRB.start_with_binding binding end
data/sky-debug.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{sky-debug}
5
+ s.version = "0.1.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Uniq Systems"]
9
+ s.date = %q{2010-10-24}
10
+ s.description = %q{Sky Trivial Debugger}
11
+ s.email = %q{ivan@uniqsystems.ru}
12
+ s.extra_rdoc_files = ["CHANGELOG", "README", "lib/sky-debug.rb"]
13
+ s.files = ["CHANGELOG", "Manifest", "README", "Rakefile", "lib/sky-debug.rb", "sky-debug.gemspec"]
14
+ s.homepage = %q{http://uniqsys.ru/}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sky-debug", "--main", "README"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{sky-debug}
18
+ s.rubygems_version = %q{1.3.7}
19
+ s.summary = %q{Sky Trivial Debugger}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sky-debug
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
11
+ platform: ruby
12
+ authors:
13
+ - Uniq Systems
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-24 00:00:00 +04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Sky Trivial Debugger
23
+ email: ivan@uniqsystems.ru
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - CHANGELOG
30
+ - README
31
+ - lib/sky-debug.rb
32
+ files:
33
+ - CHANGELOG
34
+ - Manifest
35
+ - README
36
+ - Rakefile
37
+ - lib/sky-debug.rb
38
+ - sky-debug.gemspec
39
+ has_rdoc: true
40
+ homepage: http://uniqsys.ru/
41
+ licenses: []
42
+
43
+ post_install_message:
44
+ rdoc_options:
45
+ - --line-numbers
46
+ - --inline-source
47
+ - --title
48
+ - Sky-debug
49
+ - --main
50
+ - README
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ hash: 11
68
+ segments:
69
+ - 1
70
+ - 2
71
+ version: "1.2"
72
+ requirements: []
73
+
74
+ rubyforge_project: sky-debug
75
+ rubygems_version: 1.3.7
76
+ signing_key:
77
+ specification_version: 3
78
+ summary: Sky Trivial Debugger
79
+ test_files: []
80
+