andhapp-decoct 1.6.4 → 1.7.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -8,13 +8,6 @@ Installing
8
8
 
9
9
  Install the gem: gem install andhapp-decoct -s http://gems.github.com (on Windows)
10
10
 
11
- Caveat
12
- -------
13
-
14
- The gem has only been tested on Windows and the reason that could be a problem is because it depends upon other
15
- gems to work properly. I have a workaround in my mind but it has not been implemented as yet.
16
-
17
-
18
11
  Dependencies
19
12
  -----------
20
13
 
@@ -22,15 +15,11 @@ The gem depends on the following libraries:
22
15
 
23
16
  * rspec
24
17
  * ZenTest
25
- * ruby-snarl
18
+ * growl
26
19
  * redgreen
27
20
  * rcov
28
21
 
29
- Also, in order to use ruby-snarl you should have [Snarl][snarl] installed on
30
- your machine.
31
- Snarl is a messaging system for windows. This would give you nice visual messages on the status of your tests.
32
- [Here's][here] a nice article if you
33
- would like to incorporate that into rails projects. Hence, the caveat above.
22
+ growl is the Mac OS X messaging system and there are a plethora of articles detailing its installation. Google 'growl Mac OS X' and you would definately encounter some useful results.
34
23
 
35
24
 
36
25
  Usage
@@ -44,19 +33,16 @@ decoct {project-name}
44
33
  This would create a sinatra project with all the rspec dependencies. If a directory with the same name exists it will
45
34
  overwrite it. Just go into the directory on your command line and run the following command:
46
35
 
47
- set RSPEC=true autotest
36
+ RSPEC=true autotest
48
37
 
49
38
  and finally run the following command:
50
39
 
51
40
  autotest
52
41
 
53
-
54
42
  Issues
55
43
  -----
56
44
 
57
45
  I have spotted one existing issue with it and it is documented here:
58
46
  [Decoct - Issue1][issue].
59
47
 
60
- [snarl]: http://www.fullphat.net/index.php
61
- [here]: http://thewebfellas.com/blog/2007/12/10/rspec-autotest-and-snarl-on-windows
62
48
  [issue]: http://github.com/andhapp/decoct/issues
data/Rakefile CHANGED
@@ -11,7 +11,6 @@ begin
11
11
  gem.homepage = "http://github.com/andhapp/decoct"
12
12
  gem.description = "Sinatra Rspec project generator"
13
13
  gem.authors = ["Anuj Dutta"]
14
- gem.files.include %w(lib/icons/*.*)
15
14
  gem.add_dependency 'rspec'
16
15
  gem.add_dependency 'ZenTest'
17
16
  gem.add_dependency 'redgreen'
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :patch: 4
3
3
  :major: 1
4
- :minor: 6
4
+ :minor: 7
data/decoct.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{decoct}
5
- s.version = "1.6.4"
5
+ s.version = "1.7.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Anuj Dutta"]
9
- s.date = %q{2009-07-05}
9
+ s.date = %q{2009-07-09}
10
10
  s.default_executable = %q{decoct}
11
11
  s.description = %q{Sinatra Rspec project generator}
12
12
  s.email = %q{anuj@andhapp.com}
@@ -1,15 +1,15 @@
1
1
  require "spec"
2
2
  require "spec/interop/test"
3
- require "sinatra/test"
3
+ require "rack/test"
4
4
 
5
5
  set :environment, :test
6
6
 
7
7
  describe 'App' do
8
- include Sinatra::Test
8
+ include Rack::Test::Methods
9
9
 
10
- it "should pick the spec files for autotest and display error messages with snarl" do
10
+ it "should pick the spec files for autotest and display error messages with growl" do
11
11
  get '/'
12
- response.should be_ok
13
- response.body.should == 'It works!!!'
12
+ last_response.should be_ok
13
+ last_response.body.should == 'It works!!!'
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: andhapp-decoct
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anuj Dutta
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-05 00:00:00 -07:00
12
+ date: 2009-07-09 00:00:00 -07:00
13
13
  default_executable: decoct
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency