Permalink
Browse files

bump version 0.5.2

  • Loading branch information...
1 parent 3f5a5d5 commit 5009202d4fb2fc269ea670ec58a0679a1378b648 @achiu committed Apr 22, 2011
Showing with 24 additions and 25 deletions.
  1. +10 −11 Gemfile.lock
  2. +1 −1 lib/terminitor/version.rb
  3. +13 −13 test/dsl_test.rb
View
@@ -1,31 +1,30 @@
PATH
remote: .
specs:
- terminitor (0.4.1)
- github (~> 0.6.0)
- rb-appscript
- text-format (= 1.0.0)
- text-hyphen (= 1.0.0)
+ terminitor (0.5.2)
+ github (~> 0.6.2)
+ rb-appscript (~> 0.6.1)
thor (~> 0.14.0)
GEM
remote: http://rubygems.org/
specs:
configuration (1.2.0)
fakefs (0.3.1)
- github (0.6.0)
+ github (0.6.2)
highline (~> 1.5.1)
- json (~> 1.4.6)
+ json_pure (~> 1.5.1)
launchy (~> 0.3.7)
text-format (= 1.0.0)
+ text-hyphen (= 1.0.0)
highline (1.5.2)
- json (1.4.6)
+ json_pure (1.5.1)
launchy (0.3.7)
configuration (>= 0.0.5)
rake (>= 0.8.1)
rake (0.8.7)
- rb-appscript (0.6.0)
- riot (0.12.2)
+ rb-appscript (0.6.1)
+ riot (0.12.3)
rr
rr (1.0.2)
text-format (1.0.0)
@@ -39,6 +38,6 @@ PLATFORMS
DEPENDENCIES
bundler (~> 1.0.0)
fakefs
- riot (~> 0.12.0)
+ riot (~> 0.12.3)
rr (~> 1.0.0)
terminitor!
@@ -1,3 +1,3 @@
module Terminitor
- VERSION = "0.5.1"
+ VERSION = "0.5.2"
end
View
@@ -8,48 +8,48 @@
context "to_hash" do
setup { topic.to_hash }
- asserts([:[],:setup]).equals ["echo \"setup\""]
+ asserts(:[],:setup).equals ["echo \"setup\""]
context ":windows" do
setup { topic[:windows] }
context "with 'window1' key" do
setup { topic['window1'] }
- asserts([:[],:before]).equals ['cd /path']
- asserts([:[],:options]).equals({ :size => [70,30]})
+ asserts(:[],:before).equals ['cd /path']
+ asserts(:[],:options).equals({ :size => [70,30]})
context "with :tabs" do
setup { topic[:tabs] }
- asserts([:[], 'tab2']).equivalent_to({
+ asserts(:[], 'tab2').equivalent_to({
:commands=>["echo 'named tab'", "ls"],
:options => {
:name => "named tab",
:settings=>"Grass"
}
})
- asserts([:[], 'tab1']).equivalent_to({
+ asserts(:[], 'tab1').equivalent_to({
:commands=>["echo 'first tab'", "motion &", "echo 'than now'"]
})
- asserts([:[],'tab3']).equivalent_to({
+ asserts(:[],'tab3').equivalent_to({
:commands=>["top","(mate &) && (gitx &) && cd /this"],
:options =>{
:name => "a tab",
:settings => "Pro"
}
})
- asserts([:[],'tab4']).equivalent_to({
+ asserts(:[],'tab4').equivalent_to({
:commands=>["ls"],
:options =>{
:name => "another named tab",
:settings => "Grass"
}
})
- asserts([:[],'default']).equivalent_to({
+ asserts(:[],'default').equivalent_to({
:commands=>['whoami && who && ls']
})
end
@@ -59,13 +59,13 @@
context "with 'window2' key" do
setup { topic['window2'] }
- asserts([:[],:before]).equals ['whoami']
+ asserts(:[],:before).equals ['whoami']
context "with :tabs" do
setup { topic[:tabs] }
- asserts([:[], 'tab1']).equals({ :commands => ["uptime"]})
- asserts([:[], 'default']).equals({ :commands => []})
+ asserts(:[], 'tab1').equals({ :commands => ["uptime"]})
+ asserts(:[], 'default').equals({ :commands => []})
end
end
@@ -75,11 +75,11 @@
context "with :tags key" do
setup { topic[:tabs] }
- asserts([:[],'tab1']).equals({
+ asserts(:[],'tab1').equals({
:commands=>["echo 'default'", "echo 'default tab'", "ok", "for real"]
})
- asserts([:[],'default']).equals({
+ asserts(:[],'default').equals({
:commands => []
})
end

0 comments on commit 5009202

Please sign in to comment.