Permalink
Browse files

rubygems-test support + rbx spec fix

  • Loading branch information...
1 parent 47053c6 commit e59b367340784ed11a7b094333cfc841bcf9f415 @janlelis janlelis committed Feb 3, 2011
Showing with 30 additions and 11 deletions.
  1. 0 .gemtest
  2. +2 −0 .gitignore
  3. +3 −0 CHANGELOG.rdoc
  4. +7 −5 Gemfile
  5. +6 −0 Gemfile.lock
  6. +1 −0 Rakefile
  7. +1 −1 lib/wirb/version.rb
  8. +4 −2 spec/spec_helper.rb
  9. +2 −2 spec/tokenizer_nested_spec.rb
  10. +4 −1 wirb.gemspec
View
No changes.
View
@@ -1,3 +1,5 @@
+*.rbc
+Rakefile.compiled.rbc
*.swp
*~
pkg
View
@@ -1,3 +1,6 @@
+== 0.2.3 / 0.2.4
+* Support for rubygems-test <gem-testers.org>
+
== 0.2.2
* Always return inspected string (even when errors happen) and endless-loop protection
* Recognize active record class descriptions
View
12 Gemfile
@@ -1,7 +1,9 @@
source :rubygems
-group :dev do
- gem 'rspec'
- gem 'rspec-core'
- gem 'zucker', '>=9'
-end
+gemspec
+
+#group :dev do
+# gem 'rspec'
+# gem 'rspec-core'
+# gem 'zucker', '>=9'
+#end
View
@@ -1,3 +1,8 @@
+PATH
+ remote: .
+ specs:
+ wirb (0.2.4)
+
GEM
remote: http://rubygems.org/
specs:
@@ -19,4 +24,5 @@ PLATFORMS
DEPENDENCIES
rspec
rspec-core
+ wirb!
zucker (>= 9)
View
@@ -3,6 +3,7 @@ require 'rake/rdoctask'
require 'fileutils'
require "rspec/core/rake_task"
task :default => :spec
+task :test => :spec
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = [
View
@@ -1,3 +1,3 @@
module Wirb
- VERSION = '0.2.2'
+ VERSION = '0.2.4'
end
View
@@ -1,5 +1,7 @@
-require File.dirname(__FILE__) + '/../lib/wirb' unless defined? Wirb
-require File.dirname(__FILE__) + '/../lib/wirb/wp'
+#require File.dirname(__FILE__) + '/../lib/wirb' unless defined? Wirb
+#require File.dirname(__FILE__) + '/../lib/wirb/wp'
+require 'wirb'
+require 'wirb/wp'
require 'zucker/engine'
require 'zucker/version'
@@ -3,7 +3,7 @@
describe tokenizer(__FILE__) do
after :each do check_value end
- please do check [2,'sdf',:hallosfe, /34jf3/, [[[[]]]], {{5=> "4"} => {Set.new => binding}}]
+ please do check [2,'sdf',:hallosfe, /34jf3/, [[[[]]]], {{5=> "4"} => {Set.new => Object.new}}]
tokens.should be_like [
[:open_array, "["],
[:number, "2"],
@@ -52,7 +52,7 @@
[:close_object, ">"],
[:refers, "=>"],
[:open_object, "#<"],
- [:object_class, "Binding"],
+ [:object_class, "Object"],
[:object_description_prefix, ":"],
[:object_addr, OBJECT_ID],
[:close_object, ">"],
View
@@ -12,7 +12,10 @@ Gem::Specification.new do |s|
s.description = "Colorizes your irb results. It's based on Wirble but only provides result highlighting. Just call Wirb.start and enjoy the colors ;)."
s.required_rubygems_version = '>= 1.3.6'
s.required_ruby_version = '>= 1.8.7'
- s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile wirb.gemspec}
+ s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile wirb.gemspec .gemtest}
s.extra_rdoc_files = ["README.rdoc", "COPYING"]
s.license = 'MIT'
+ s.add_development_dependency 'rspec'
+ s.add_development_dependency 'rspec-core'
+ s.add_development_dependency 'zucker', '>=9'
end

0 comments on commit e59b367

Please sign in to comment.