rwilcox-utility_belt 1.0.7 → 1.0.9

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.
@@ -0,0 +1,13 @@
1
+ begin
2
+ require 'jeweler'
3
+ Jeweler::Tasks.new do |gemspec|
4
+ gemspec.name = "utility-belt"
5
+ gemspec.summary = "Utility Belt is a grab-bag of tricks, tools, techniques, trifles, and toys for IRB."
6
+ gemspec.email = "rwilcox@wilcoxd.com"
7
+ gemspec.homepage = "http://github.com/rwilcox/utility_belt"
8
+ gemspec.description = "TODO"
9
+ gemspec.authors = ["Ryan Wilcox", "Giles Bowkett"]
10
+ end
11
+ rescue LoadError
12
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
13
+ end
@@ -20,3 +20,5 @@ if Object.const_defined? :IRB
20
20
  # default: dark background
21
21
  UtilityBelt::Themes.background(:dark) if defined? UtilityBelt::Themes
22
22
  end
23
+
24
+ puts "Utility Belt Loaded -- Go Be Batman!"
@@ -1,6 +1,13 @@
1
1
  # In addition to the normal ~/.irbrc, we look for (and load) a .irbrc file
2
2
 
3
- puts `cwd`
3
+ pwd = "#{`pwd`.chomp}"
4
4
 
5
- irbrc_name = "#{`cwd`}/.#{`who`}_irbrc"
6
- puts "going to look for #irbrc_name"
5
+ irbrc_name = "#{pwd}/.#{ENV['USER']}_irbrc"
6
+ puts "Looking for #{irbrc_name}..."
7
+
8
+ if File.exists? irbrc_name
9
+ puts "Loaded"
10
+ load(irbrc_name)
11
+ else
12
+ puts "Does not exist"
13
+ end
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "utility_belt"
3
- s.version = "1.0.7"
4
- s.author = "Giles Bowkett"
5
- s.email = "gilesb@gmail.com"
6
- s.homepage = "http://utilitybelt.rubyforge.org"
3
+ s.version = "1.0.9"
4
+ s.author = "Ryan Wilcox"
5
+ s.email = "rwilcox@wilcoxd.com"
6
+ s.homepage = "http://github.com/rwilcox/utility-belt"
7
7
  s.rubyforge_project = "utility_belt"
8
8
  s.platform = Gem::Platform::RUBY
9
- s.summary = "A grab-bag of IRB power user madness."
10
- s.files = ["bin", "bin/amazon", "bin/google", "bin/pastie", "History.txt", "html", "html/andreas00.css", "html/authorship.html", "html/bg.gif", "html/front.jpg", "html/index.html", "html/menubg.gif", "html/menubg2.gif", "html/test.jpg", "html/usage.html", "lib", "lib/utility_belt", "lib/utility_belt/amazon_upload_shortcut.rb", "lib/utility_belt/clipboard.rb", "lib/utility_belt/command_history.rb", "lib/utility_belt/convertable_to_file.rb", "lib/utility_belt/equipper.rb", "lib/utility_belt/google.rb", "lib/utility_belt/hash_math.rb", "lib/utility_belt/interactive_editor.rb", "lib/utility_belt/irb_options.rb", "lib/utility_belt/irb_verbosity_control.rb", "lib/utility_belt/is_an.rb", "lib/utility_belt/language_greps.rb", "lib/utility_belt/not.rb", "lib/utility_belt/pastie.rb", "lib/utility_belt/pipe.rb", "lib/utility_belt/rails_finder_shortcut.rb", "lib/utility_belt/rails_verbosity_control.rb", "lib/utility_belt/string_to_proc.rb", "lib/utility_belt/symbol_to_proc.rb", "lib/utility_belt/wirble.rb", "lib/utility_belt/with.rb", "lib/utility_belt.rb", "lib/utility_belt/cwd_irbrc.rb", "Manifest.txt", "README", "spec", "spec/convertable_to_file_spec.rb", "spec/equipper_spec.rb", "spec/hash_math_spec.rb", "spec/interactive_editor_spec.rb", "spec/language_greps_spec.rb", "spec/pastie_spec.rb", "spec/pipe_spec.rb", "spec/spec_helper.rb", "spec/string_to_proc_spec.rb", "spec/utility_belt_spec.rb", "utility-belt.gemspec"]
9
+ s.summary = "A grab-bag of IRB power user madness. (fork of http://utilitybelt.rubyforge.org by Giles Bowkett)"
10
+ s.files = ["bin", "bin/amazon", "bin/google", "bin/pastie", "History.txt", "html", "html/andreas00.css", "html/authorship.html", "html/bg.gif", "html/front.jpg", "html/index.html", "html/menubg.gif", "html/menubg2.gif", "html/test.jpg", "html/usage.html", "lib", "lib/utility_belt", "lib/utility_belt/amazon_upload_shortcut.rb", "lib/utility_belt/clipboard.rb", "lib/utility_belt/command_history.rb", "lib/utility_belt/convertable_to_file.rb", "lib/utility_belt/equipper.rb", "lib/utility_belt/google.rb", "lib/utility_belt/hash_math.rb", "lib/utility_belt/interactive_editor.rb", "lib/utility_belt/irb_options.rb", "lib/utility_belt/irb_verbosity_control.rb", "lib/utility_belt/is_an.rb", "lib/utility_belt/language_greps.rb", "lib/utility_belt/not.rb", "lib/utility_belt/pastie.rb", "lib/utility_belt/pipe.rb", "lib/utility_belt/rails_finder_shortcut.rb", "lib/utility_belt/rails_verbosity_control.rb", "lib/utility_belt/string_to_proc.rb", "lib/utility_belt/symbol_to_proc.rb", "lib/utility_belt/wirble.rb", "lib/utility_belt/with.rb", "lib/utility_belt.rb", "lib/utility_belt/cwd_irbrc.rb", "Manifest.txt", "README", "spec", "spec/convertable_to_file_spec.rb", "spec/equipper_spec.rb", "spec/hash_math_spec.rb", "spec/interactive_editor_spec.rb", "spec/language_greps_spec.rb", "spec/pastie_spec.rb", "spec/pipe_spec.rb", "spec/spec_helper.rb", "spec/string_to_proc_spec.rb", "spec/utility_belt_spec.rb", "utility-belt.gemspec", "Rakefile"]
11
11
  %w{amazon google pastie}.each do |command_line_utility|
12
12
  s.executables << command_line_utility
13
13
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rwilcox-utility_belt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
- - Giles Bowkett
7
+ - Ryan Wilcox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -53,7 +53,7 @@ dependencies:
53
53
  version: 0.4.0
54
54
  version:
55
55
  description:
56
- email: gilesb@gmail.com
56
+ email: rwilcox@wilcoxd.com
57
57
  executables:
58
58
  - amazon
59
59
  - google
@@ -117,8 +117,9 @@ files:
117
117
  - spec/string_to_proc_spec.rb
118
118
  - spec/utility_belt_spec.rb
119
119
  - utility-belt.gemspec
120
+ - Rakefile
120
121
  has_rdoc: true
121
- homepage: http://utilitybelt.rubyforge.org
122
+ homepage: http://github.com/rwilcox/utility-belt
122
123
  post_install_message:
123
124
  rdoc_options: []
124
125
 
@@ -142,6 +143,6 @@ rubyforge_project: utility_belt
142
143
  rubygems_version: 1.2.0
143
144
  signing_key:
144
145
  specification_version: 2
145
- summary: A grab-bag of IRB power user madness.
146
+ summary: A grab-bag of IRB power user madness. (fork of http://utilitybelt.rubyforge.org by Giles Bowkett)
146
147
  test_files:
147
148
  - spec/utility_belt_spec.rb