prefetch-rspec 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -6,9 +6,9 @@ source "http://rubygems.org"
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
- gem "rspec", "~> 2.0.0"
10
- gem "yard", "~> 0.6.0"
11
- gem "bundler", "~> 1.0.0"
12
- gem "jeweler", "~> 1.5.1"
9
+ gem "rspec", ">= 2.0.0"
10
+ gem "yard", ">= 0.6.0"
11
+ gem "bundler", ">= 1.0.0"
12
+ gem "jeweler", ">= 1.5.1"
13
13
  gem "rcov", ">= 0"
14
14
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -19,13 +19,11 @@ prefetch {
19
19
 
20
20
  before_run {
21
21
  ActionDispatch::Callbacks.new(Proc.new {}, false).call({})
22
- ActiveSupport::DescendantsTracker.clear
23
- ActiveSupport::Dependencies.clear
24
22
  Rails.application.config.cache_classes = true
25
23
  ActiveSupport::Dependencies.mechanism = :require
26
- require 'spec/spec_helper'
24
+ require Rails.root + 'spec/spec_helper'
27
25
  }
28
26
 
29
- # after_run {
30
- # }
31
-
27
+ after_run {
28
+ ActiveRecord::Base.connection_pool.disconnect!
29
+ }
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{prefetch-rspec}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yuichi Tateno"]
12
- s.date = %q{2010-12-13}
12
+ s.date = %q{2011-04-12}
13
13
  s.description = %q{ }
14
14
  s.email = %q{hotchpotch@gmail.com}
15
15
  s.executables = ["prspecd", "prspec"]
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
21
21
  ".document",
22
22
  ".rspec",
23
23
  "Gemfile",
24
- "Gemfile.lock",
25
24
  "LICENSE.txt",
26
25
  "README.rdoc",
27
26
  "Rakefile",
@@ -50,25 +49,25 @@ Gem::Specification.new do |s|
50
49
  s.specification_version = 3
51
50
 
52
51
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
- s.add_development_dependency(%q<rspec>, ["~> 2.0.0"])
54
- s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
55
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
56
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
52
+ s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
53
+ s.add_development_dependency(%q<yard>, [">= 0.6.0"])
54
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
55
+ s.add_development_dependency(%q<jeweler>, [">= 1.5.1"])
57
56
  s.add_development_dependency(%q<rcov>, [">= 0"])
58
57
  s.add_runtime_dependency(%q<rspec>, ["~> 2.0.0"])
59
58
  else
60
- s.add_dependency(%q<rspec>, ["~> 2.0.0"])
61
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
62
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
63
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
59
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
60
+ s.add_dependency(%q<yard>, [">= 0.6.0"])
61
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
62
+ s.add_dependency(%q<jeweler>, [">= 1.5.1"])
64
63
  s.add_dependency(%q<rcov>, [">= 0"])
65
64
  s.add_dependency(%q<rspec>, ["~> 2.0.0"])
66
65
  end
67
66
  else
68
- s.add_dependency(%q<rspec>, ["~> 2.0.0"])
69
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
70
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
71
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
67
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
68
+ s.add_dependency(%q<yard>, [">= 0.6.0"])
69
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
70
+ s.add_dependency(%q<jeweler>, [">= 1.5.1"])
72
71
  s.add_dependency(%q<rcov>, [">= 0"])
73
72
  s.add_dependency(%q<rspec>, ["~> 2.0.0"])
74
73
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prefetch-rspec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yuichi Tateno
@@ -15,16 +15,17 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-13 00:00:00 +09:00
18
+ date: 2011-04-12 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: rspec
23
22
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
23
+ type: :development
24
+ name: rspec
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
26
  none: false
26
27
  requirements:
27
- - - ~>
28
+ - - ">="
28
29
  - !ruby/object:Gem::Version
29
30
  hash: 15
30
31
  segments:
@@ -32,15 +33,15 @@ dependencies:
32
33
  - 0
33
34
  - 0
34
35
  version: 2.0.0
35
- type: :development
36
- version_requirements: *id001
36
+ requirement: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: yard
39
38
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
39
+ type: :development
40
+ name: yard
41
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
42
  none: false
42
43
  requirements:
43
- - - ~>
44
+ - - ">="
44
45
  - !ruby/object:Gem::Version
45
46
  hash: 7
46
47
  segments:
@@ -48,15 +49,15 @@ dependencies:
48
49
  - 6
49
50
  - 0
50
51
  version: 0.6.0
51
- type: :development
52
- version_requirements: *id002
52
+ requirement: *id002
53
53
  - !ruby/object:Gem::Dependency
54
- name: bundler
55
54
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
55
+ type: :development
56
+ name: bundler
57
+ version_requirements: &id003 !ruby/object:Gem::Requirement
57
58
  none: false
58
59
  requirements:
59
- - - ~>
60
+ - - ">="
60
61
  - !ruby/object:Gem::Version
61
62
  hash: 23
62
63
  segments:
@@ -64,15 +65,15 @@ dependencies:
64
65
  - 0
65
66
  - 0
66
67
  version: 1.0.0
67
- type: :development
68
- version_requirements: *id003
68
+ requirement: *id003
69
69
  - !ruby/object:Gem::Dependency
70
- name: jeweler
71
70
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
71
+ type: :development
72
+ name: jeweler
73
+ version_requirements: &id004 !ruby/object:Gem::Requirement
73
74
  none: false
74
75
  requirements:
75
- - - ~>
76
+ - - ">="
76
77
  - !ruby/object:Gem::Version
77
78
  hash: 1
78
79
  segments:
@@ -80,12 +81,12 @@ dependencies:
80
81
  - 5
81
82
  - 1
82
83
  version: 1.5.1
83
- type: :development
84
- version_requirements: *id004
84
+ requirement: *id004
85
85
  - !ruby/object:Gem::Dependency
86
- name: rcov
87
86
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
87
+ type: :development
88
+ name: rcov
89
+ version_requirements: &id005 !ruby/object:Gem::Requirement
89
90
  none: false
90
91
  requirements:
91
92
  - - ">="
@@ -94,12 +95,12 @@ dependencies:
94
95
  segments:
95
96
  - 0
96
97
  version: "0"
97
- type: :development
98
- version_requirements: *id005
98
+ requirement: *id005
99
99
  - !ruby/object:Gem::Dependency
100
- name: rspec
101
100
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
101
+ type: :runtime
102
+ name: rspec
103
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
104
  none: false
104
105
  requirements:
105
106
  - - ~>
@@ -110,8 +111,7 @@ dependencies:
110
111
  - 0
111
112
  - 0
112
113
  version: 2.0.0
113
- type: :runtime
114
- version_requirements: *id006
114
+ requirement: *id006
115
115
  description: " "
116
116
  email: hotchpotch@gmail.com
117
117
  executables:
@@ -126,7 +126,6 @@ files:
126
126
  - .document
127
127
  - .rspec
128
128
  - Gemfile
129
- - Gemfile.lock
130
129
  - LICENSE.txt
131
130
  - README.rdoc
132
131
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,32 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- diff-lcs (1.1.2)
5
- git (1.2.5)
6
- jeweler (1.5.1)
7
- bundler (~> 1.0.0)
8
- git (>= 1.2.5)
9
- rake
10
- rake (0.8.7)
11
- rcov (0.9.9)
12
- rspec (2.0.1)
13
- rspec-core (~> 2.0.1)
14
- rspec-expectations (~> 2.0.1)
15
- rspec-mocks (~> 2.0.1)
16
- rspec-core (2.0.1)
17
- rspec-expectations (2.0.1)
18
- diff-lcs (>= 1.1.2)
19
- rspec-mocks (2.0.1)
20
- rspec-core (~> 2.0.1)
21
- rspec-expectations (~> 2.0.1)
22
- yard (0.6.3)
23
-
24
- PLATFORMS
25
- ruby
26
-
27
- DEPENDENCIES
28
- bundler (~> 1.0.0)
29
- jeweler (~> 1.5.1)
30
- rcov
31
- rspec (~> 2.0.0)
32
- yard (~> 0.6.0)