dietrb 0.4.1 → 0.4.2

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.
data/Rakefile CHANGED
@@ -32,8 +32,10 @@ end
32
32
 
33
33
  begin
34
34
  require 'jeweler'
35
+ require File.expand_path('../lib/irb/version', __FILE__)
35
36
  Jeweler::Tasks.new do |gemspec|
36
37
  gemspec.name = "dietrb"
38
+ gemspec.version = IRB::VERSION::STRING
37
39
  gemspec.summary = gemspec.description = "IRB on a diet, for MacRuby / Ruby 1.9"
38
40
  gemspec.email = "eloy.de.enige@gmail.com"
39
41
  gemspec.homepage = "http://github.com/alloy/dietrb"
data/bin/dietrb CHANGED
@@ -14,7 +14,7 @@ unless ARGV.empty?
14
14
  opt.on("--simple-prompt", "Simple prompt mode") { IRB.formatter.prompt = :simple }
15
15
  opt.on("--noprompt", "No prompt mode") { IRB.formatter.prompt = nil }
16
16
  opt.on("-v", "--version", "Print the version of #{bin}") do
17
- puts File.read(File.expand_path('../../VERSION', __FILE__))
17
+ puts IRB::VERSION::DESCRIPTION
18
18
  exit
19
19
  end
20
20
  end.parse!(ARGV)
data/dietrb.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dietrb}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eloy Duran"]
12
- s.date = %q{2010-04-19}
12
+ s.date = %q{2010-05-02}
13
13
  s.default_executable = %q{dietrb}
14
14
  s.description = %q{IRB on a diet, for MacRuby / Ruby 1.9}
15
15
  s.email = %q{eloy.de.enige@gmail.com}
@@ -25,7 +25,6 @@ Gem::Specification.new do |s|
25
25
  "README.rdoc",
26
26
  "Rakefile",
27
27
  "TODO",
28
- "VERSION",
29
28
  "bin/dietrb",
30
29
  "dietrb.gemspec",
31
30
  "lib/irb.rb",
@@ -36,6 +35,7 @@ Gem::Specification.new do |s|
36
35
  "lib/irb/ext/macruby.rb",
37
36
  "lib/irb/formatter.rb",
38
37
  "lib/irb/source.rb",
38
+ "lib/irb/version.rb",
39
39
  "spec/colorize_spec.rb",
40
40
  "spec/completion_spec.rb",
41
41
  "spec/context_spec.rb",
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
48
48
  s.rdoc_options = ["--charset=UTF-8"]
49
49
  s.require_paths = ["lib"]
50
50
  s.required_ruby_version = Gem::Requirement.new("~> 1.9")
51
- s.rubygems_version = %q{1.3.6}
51
+ s.rubygems_version = %q{1.3.5}
52
52
  s.summary = %q{IRB on a diet, for MacRuby / Ruby 1.9}
53
53
  s.test_files = [
54
54
  "spec/colorize_spec.rb",
data/lib/irb.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'irb/context'
2
2
  require 'irb/source'
3
+ require 'irb/version'
3
4
 
4
5
  require 'irb/ext/history'
5
6
 
@@ -0,0 +1,10 @@
1
+ module IRB
2
+ module VERSION #:nodoc:
3
+ MAJOR = 0
4
+ MINOR = 4
5
+ TINY = 2
6
+
7
+ STRING = [MAJOR, MINOR, TINY].join('.')
8
+ DESCRIPTION = "#{STRING} (DietRB)"
9
+ end
10
+ end
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dietrb
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 4
8
- - 1
9
- version: 0.4.1
4
+ version: 0.4.2
10
5
  platform: ruby
11
6
  authors:
12
7
  - Eloy Duran
@@ -14,7 +9,7 @@ autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
11
 
17
- date: 2010-04-19 00:00:00 +02:00
12
+ date: 2010-05-02 00:00:00 +02:00
18
13
  default_executable: dietrb
19
14
  dependencies: []
20
15
 
@@ -34,7 +29,6 @@ files:
34
29
  - README.rdoc
35
30
  - Rakefile
36
31
  - TODO
37
- - VERSION
38
32
  - bin/dietrb
39
33
  - dietrb.gemspec
40
34
  - lib/irb.rb
@@ -45,6 +39,7 @@ files:
45
39
  - lib/irb/ext/macruby.rb
46
40
  - lib/irb/formatter.rb
47
41
  - lib/irb/source.rb
42
+ - lib/irb/version.rb
48
43
  - spec/colorize_spec.rb
49
44
  - spec/completion_spec.rb
50
45
  - spec/context_spec.rb
@@ -65,21 +60,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
60
  requirements:
66
61
  - - ~>
67
62
  - !ruby/object:Gem::Version
68
- segments:
69
- - 1
70
- - 9
71
63
  version: "1.9"
64
+ version:
72
65
  required_rubygems_version: !ruby/object:Gem::Requirement
73
66
  requirements:
74
67
  - - ">="
75
68
  - !ruby/object:Gem::Version
76
- segments:
77
- - 0
78
69
  version: "0"
70
+ version:
79
71
  requirements: []
80
72
 
81
73
  rubyforge_project:
82
- rubygems_version: 1.3.6
74
+ rubygems_version: 1.3.5
83
75
  signing_key:
84
76
  specification_version: 3
85
77
  summary: IRB on a diet, for MacRuby / Ruby 1.9
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.4.1