andhapp-decoct 1.9.8 → 1.9.9

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -19,3 +19,13 @@ begin
19
19
  rescue LoadError
20
20
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
21
21
  end
22
+
23
+ desc "rake task to run all the tests"
24
+ Rake::TestTask.new do |t|
25
+ t.libs << "lib"
26
+ t.test_files = FileList['test/**/ts_*.rb']
27
+ t.verbose = true
28
+ t.ruby_opts = ['-rubygems']
29
+ end
30
+
31
+ task :default => [:test]
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 8
2
+ :patch: 9
3
3
  :major: 1
4
4
  :minor: 9
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{decoct}
8
- s.version = "1.9.8"
8
+ s.version = "1.9.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Anuj Dutta"]
12
- s.date = %q{2009-09-03}
12
+ s.date = %q{2009-09-10}
13
13
  s.default_executable = %q{decoct}
14
14
  s.description = %q{Sinatra Rspec project generator}
15
15
  s.email = %q{anuj@andhapp.com}
@@ -1,15 +1,6 @@
1
1
  %w{spec spec/interop/test rack/test}.each {|x| require x}
2
2
 
3
- set :environment, :test
4
-
5
- describe 'App' do
6
-
7
- include Rack::Test::Methods
8
-
9
- def app
10
- Sinatra::Application
11
- end
12
-
3
+ describe 'App' do
13
4
  it "should pick the spec files for autotest and display error messages with growl" do
14
5
  get '/'
15
6
  last_response.should be_ok
@@ -1,35 +1,13 @@
1
1
  require 'spec/autorun'
2
2
 
3
- Spec::Runner.configure do |config|
4
- # == Fixtures
5
- #
6
- # You can declare fixtures for each example_group like this:
7
- # describe "...." do
8
- # fixtures :table_a, :table_b
9
- #
10
- # Alternatively, if you prefer to declare them only once, you can
11
- # do so right here. Just uncomment the next line and replace the fixture
12
- # names with your fixtures.
13
- #
14
- # config.global_fixtures = :table_a, :table_b
15
- #
16
- # If you declare global fixtures, be aware that they will be declared
17
- # for all of your examples, even those that don't use them.
18
- #
19
- # You can also declare which fixtures to use (for example fixtures for test/fixtures):
20
- #
21
- # config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
22
- #
23
- # == Mock Framework
24
- #
25
- # RSpec uses it's own mocking framework by default. If you prefer to
26
- # use mocha, flexmock or RR, uncomment the appropriate line:
27
- #
28
- # config.mock_with :mocha
29
- # config.mock_with :flexmock
30
- # config.mock_with :rr
31
- #
32
- # == Notes
33
- #
34
- # For more information take a look at Spec::Runner::Configuration and Spec::Runner
3
+ set :environment, :test
4
+
5
+ module AppHelper
6
+ def app; Sinatra::Application end
35
7
  end
8
+
9
+ include Rack::Test::Methods
10
+ include AppeHelper
11
+
12
+ Spec::Runner.configure do |config|
13
+ 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.9.8
4
+ version: 1.9.9
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-09-03 00:00:00 -07:00
12
+ date: 2009-09-10 00:00:00 -07:00
13
13
  default_executable: decoct
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency