blackwinter-wirble 0.1.3.2 → 0.1.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -4,7 +4,7 @@
4
4
  require 'rake/rdoctask'
5
5
  require 'rake/packagetask'
6
6
  require 'rake/gempackagetask'
7
- require 'lib/wirble.rb'
7
+ require 'lib/wirble.rb'
8
8
 
9
9
  def package_info
10
10
  require 'ostruct'
@@ -31,10 +31,10 @@ def package_info
31
31
 
32
32
  # requirements and files
33
33
  ret.reqs = ['none']
34
- ret.include_files = Dir['**/*'].delete_if { |path|
35
- %w{CVS .svn .hg}.any? { |chunk| path.include?(chunk) }
36
- }
37
-
34
+ ret.include_files = Dir['lib/**/*'] + Dir['[A-Z]*'] + %w[
35
+ sample.irbrc setup.rb
36
+ ]
37
+
38
38
  # rdoc info
39
39
  ret.rdoc_title = "#{ret.name} #{ret.version} API Documentation"
40
40
  ret.rdoc_options = %w{--webcvs http://hg.pablotron.org/wirble}
@@ -103,7 +103,6 @@ Rake::GemPackageTask.new(gem_spec) do |p|
103
103
  p.package_dir = pkg.pkg_dir if pkg.pkg_dir
104
104
  end
105
105
 
106
-
107
106
  Rake::RDocTask.new do |rd|
108
107
  rd.title = pkg.rdoc_title
109
108
  rd.rdoc_dir = pkg.rdoc_dir
data/lib/wirble.rb CHANGED
@@ -19,7 +19,7 @@ require 'ostruct'
19
19
  # hair out sifting through the code below.
20
20
  #
21
21
  module Wirble
22
- VERSION = '0.1.3.2'
22
+ VERSION = '0.1.3.3'
23
23
 
24
24
  #
25
25
  # Load internal Ruby features, including pp, tab-completion,
@@ -89,15 +89,9 @@ module Wirble
89
89
  # read lines from history, and truncate the list (if necessary)
90
90
  lines = Readline::HISTORY.to_a
91
91
 
92
- if uniq
93
- if uniq.to_s == 'reverse'
94
- lines.reverse!
95
- lines.uniq!
96
- lines.reverse!
97
- else
98
- lines.uniq!
99
- end
100
- end
92
+ lines.reverse! if reverse = uniq.to_s == 'reverse'
93
+ lines.uniq! if uniq
94
+ lines.reverse! if reverse
101
95
 
102
96
  lines.slice!(0, lines.size - max_size) if lines.size > max_size
103
97
 
@@ -449,7 +443,7 @@ module Wirble
449
443
  end
450
444
  end
451
445
 
452
- colors = custom_colors if custom_colors
446
+ self.colors = custom_colors if custom_colors
453
447
  end
454
448
 
455
449
  #
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackwinter-wirble
3
3
  version: !ruby/object:Gem::Version
4
- hash: 79
4
+ hash: 77
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
9
  - 3
10
- - 2
11
- version: 0.1.3.2
10
+ - 3
11
+ version: 0.1.3.3
12
12
  platform: ruby
13
13
  authors:
14
14
  - Paul Duncan
@@ -32,16 +32,13 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
 
34
34
  files:
35
+ - lib/wirble.rb
35
36
  - README
36
37
  - ChangeLog
37
38
  - Rakefile
38
- - wirble.gemspec
39
- - MANIFEST
40
- - setup.rb
41
- - _irbrc
42
- - lib/wirble.rb
43
- - pkg/blackwinter-wirble-0.1.3.3.gem
44
39
  - COPYING
40
+ - sample.irbrc
41
+ - setup.rb
45
42
  has_rdoc: true
46
43
  homepage: http://pablotron.org/software/wirble/
47
44
  licenses: []
@@ -49,7 +46,7 @@ licenses: []
49
46
  post_install_message:
50
47
  rdoc_options:
51
48
  - --title
52
- - Wirble 0.1.3.2 API Documentation
49
+ - Wirble 0.1.3.3 API Documentation
53
50
  - --webcvs
54
51
  - http://hg.pablotron.org/wirble
55
52
  - lib/wirble.rb
data/MANIFEST DELETED
@@ -1,5 +0,0 @@
1
- ./ChangeLog
2
- ./COPYING
3
- ./wirble.rb
4
- ./README
5
- ./wirble.gemspec
Binary file
data/wirble.gemspec DELETED
@@ -1,74 +0,0 @@
1
- --- !ruby/object:Gem::Specification
2
- name: wirble
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.3.2
5
- platform: ruby
6
- authors:
7
- - Paul Duncan
8
- - Jens Wille
9
- autorequire: wirble
10
- bindir: bin
11
- cert_chain: []
12
-
13
- date: 2009-10-30 00:00:00 +01:00
14
- default_executable:
15
- dependencies: []
16
-
17
- description: Handful of common Irb features, made easy.
18
- email:
19
- - pabs@pablotron.org
20
- - jens.wille@gmail.com
21
- executables: []
22
-
23
- extensions: []
24
-
25
- extra_rdoc_files: []
26
-
27
- files:
28
- - MANIFEST
29
- - Rakefile
30
- - _irbrc
31
- - setup.rb
32
- - COPYING
33
- - ChangeLog
34
- - github-test.rb
35
- - lib/wirble.rb
36
- - wirble.gemspec
37
- - README
38
- - wirble-0.1.2.gem
39
- has_rdoc: true
40
- homepage: http://pablotron.org/software/wirble/
41
- licenses: []
42
-
43
- post_install_message:
44
- rdoc_options:
45
- - --title
46
- - Wirble 0.1.3.2 API Documentation
47
- - --webcvs
48
- - http://hg.pablotron.org/wirble
49
- - lib/wirble.rb
50
- - README
51
- require_paths:
52
- - lib
53
- required_ruby_version: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
58
- version:
59
- required_rubygems_version: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: "0"
64
- version:
65
- requirements:
66
- - none
67
- rubyforge_project: pablotron
68
- rubygems_version: 1.3.5
69
- signing_key:
70
- specification_version: 3
71
- summary: Handful of common Irb features, made easy.
72
- test_files: []
73
-
74
-