Permalink
Browse files

. reverting to blankslate - making it ruby18 compat again

  • Loading branch information...
1 parent 8488ca2 commit 91608e165d51b63708b15cdb74cc8fcb5f805cf4 @kschiess committed Sep 28, 2011
Showing with 12 additions and 5 deletions.
  1. +2 −0 Gemfile
  2. +2 −0 Gemfile.lock
  3. +3 −4 HISTORY.txt
  4. +2 −0 floor_manager.gemspec
  5. +3 −1 lib/floor_manager/employee/dsl.rb
View
2 Gemfile
@@ -1,5 +1,7 @@
source "http://rubygems.org"
+gem 'blankslate'
+
group :development do
gem 'rake'
View
2 Gemfile.lock
@@ -1,6 +1,7 @@
GEM
remote: http://rubygems.org/
specs:
+ blankslate (2.1.2.4)
diff-lcs (1.1.3)
flexmock (0.9.0)
json (1.6.1)
@@ -26,6 +27,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ blankslate
flexmock
rake
rdoc
View
7 HISTORY.txt
@@ -1,9 +1,8 @@
-== 0.1.2 / ???
+== 0.1.2 / 2011-09-28
- * Now only works with Ruby 1.9s BasicObject. BlankSlate has outstanding
- bugs that prevent this from working. (see
- https://github.com/masover/blankslate/issues#issue/2)
+ * Lots of small bugfixes and small error reporting improvements. Anniversary
+ release.
== 0.1.1 / 2010-09-21
View
2 floor_manager.gemspec
@@ -12,4 +12,6 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--main", "README"]
s.require_paths = ["lib"]
s.summary = "Allows creation of a whole graph of objects on the fly during testing"
+
+ s.add_dependency 'blankslate', "~> 2.1.2.4"
end
View
4 lib/floor_manager/employee/dsl.rb
@@ -1,5 +1,7 @@
+require 'blankslate'
+
module FloorManager::Employee
- class DSL < BasicObject
+ class DSL < BlankSlate
# A proxy that is the receiver of #set and #append in a construct like this:
#
# one :spy do

0 comments on commit 91608e1

Please sign in to comment.