singem 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ group :test do
7
7
  gem 'rake'
8
8
  gem 'rspec', '~>2.0'
9
9
  gem 'shotgun'
10
+ gem 'webrat'
10
11
  gem 'bundler', '~>1.0'
11
12
  gem 'rack-test', '~>0.5.3', :require => 'rack/test'
12
13
  end
@@ -1,29 +1,19 @@
1
- Bundler.require(:default, :runtime, :test)
1
+ require "bundler/setup"
2
+ Bundler.require(:default, :test)
2
3
 
3
4
  require File.join(File.dirname(__FILE__), '..', 'lib', '<%= name %>')
4
5
 
5
- #require 'dm-core'
6
- #require 'dm-sweatshop'
7
- require 'pp'
8
-
9
- FakeWeb.allow_net_connect = false
10
-
11
- #require File.dirname(__FILE__)+'/fixtures'
12
- #DataMapper.setup(:default, 'sqlite3::memory:')
13
-
14
6
  Webrat.configure do |config|
15
7
  config.mode = :rack
16
8
  config.application_port = 4567
17
9
  end
18
10
 
19
- Spec::Runner.configure do |config|
11
+ RSpec.configure do |config|
20
12
  config.include(Rack::Test::Methods)
21
13
  config.include(Webrat::Methods)
22
14
  config.include(Webrat::Matchers)
23
15
 
24
16
  config.before(:each) do
25
- #DataMapper.auto_migrate!
26
- FakeWeb.clean_registry
27
17
  end
28
18
 
29
19
  def app
@@ -1,4 +1,3 @@
1
1
  module Singem
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
4
-
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: singem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Corey Donohoe