d 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/.gitignore +1 -0
  2. data/Rakefile +14 -25
  3. data/VERSION +1 -0
  4. data/lib/d.rb +4 -1
  5. data/lib/d/d.rb +2 -0
  6. metadata +30 -18
@@ -0,0 +1 @@
1
+ *.gemspec
data/Rakefile CHANGED
@@ -1,28 +1,17 @@
1
- $:.unshift File.dirname(__FILE__) + '/lib/'
1
+ require 'rubygems'
2
+ require 'rake'
2
3
 
3
- desc 'Generate gemspec'
4
- task :gemspec do |t|
5
- open('d.gemspec', "wb" ) do |file|
6
- file << <<-EOS
7
- Gem::Specification.new do |s|
8
- s.name = 'd'
9
- s.version = '1.1.0'
10
- s.summary = "Kernel.d"
11
- s.description = "module Kernel; def d; require 'ruby-debug'; debugger; end; end"
12
- s.files = %w( lib/d.rb README.markdown Rakefile )
13
- s.add_dependency("ruby-debug", ">= 0.10.3")
14
- s.author = 'jugyo'
15
- s.email = 'jugyo.org@gmail.com'
16
- s.homepage = 'http://github.com/jugyo/d'
17
- s.rubyforge_project = 'kernelg'
18
- s.has_rdoc = false
19
- end
20
- EOS
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "d"
8
+ gem.summary = %Q{Kernel.d'}
9
+ gem.description = %Q{Kernel.d that is an alias of Kernel.debugger.}
10
+ gem.email = "jugyo.org@gmail.com"
11
+ gem.homepage = "http://github.com/jugyo/d"
12
+ gem.authors = ["jugyo"]
13
+ gem.add_dependency "ruby-debug"
21
14
  end
22
- puts "Generate gemspec"
23
- end
24
-
25
- desc 'Generate gem'
26
- task :gem => :gemspec do |t|
27
- system 'gem', 'build', 'd.gemspec'
15
+ rescue LoadError
16
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
28
17
  end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.2.0
data/lib/d.rb CHANGED
@@ -1 +1,4 @@
1
- module Kernel; def d; require 'ruby-debug'; debugger; end; end
1
+ require 'ruby-debug'
2
+ module Kernel
3
+ alias_method :d, :debugger
4
+ end
@@ -0,0 +1,2 @@
1
+ require 'd'
2
+ d
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: d
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 2
8
+ - 0
9
+ version: 1.2.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - jugyo
@@ -9,58 +14,65 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-09 00:00:00 +09:00
17
+ date: 2010-05-24 00:00:00 +09:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: ruby-debug
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
23
- version: 0.10.3
24
- version:
25
- description: module Kernel; def d; require 'ruby-debug'; debugger; end; end
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ description: Kernel.d that is an alias of Kernel.debugger.
26
33
  email: jugyo.org@gmail.com
27
34
  executables: []
28
35
 
29
36
  extensions: []
30
37
 
31
- extra_rdoc_files: []
32
-
38
+ extra_rdoc_files:
39
+ - README.markdown
33
40
  files:
34
- - lib/d.rb
41
+ - .gitignore
35
42
  - README.markdown
36
43
  - Rakefile
44
+ - VERSION
45
+ - lib/d.rb
46
+ - lib/d/d.rb
37
47
  has_rdoc: true
38
48
  homepage: http://github.com/jugyo/d
39
49
  licenses: []
40
50
 
41
51
  post_install_message:
42
- rdoc_options: []
43
-
52
+ rdoc_options:
53
+ - --charset=UTF-8
44
54
  require_paths:
45
55
  - lib
46
56
  required_ruby_version: !ruby/object:Gem::Requirement
47
57
  requirements:
48
58
  - - ">="
49
59
  - !ruby/object:Gem::Version
60
+ segments:
61
+ - 0
50
62
  version: "0"
51
- version:
52
63
  required_rubygems_version: !ruby/object:Gem::Requirement
53
64
  requirements:
54
65
  - - ">="
55
66
  - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
56
69
  version: "0"
57
- version:
58
70
  requirements: []
59
71
 
60
- rubyforge_project: kernelg
61
- rubygems_version: 1.3.5
72
+ rubyforge_project:
73
+ rubygems_version: 1.3.6
62
74
  signing_key:
63
75
  specification_version: 3
64
- summary: Kernel.d
76
+ summary: Kernel.d'
65
77
  test_files: []
66
78