prefetch-rspec 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - ree
data/Gemfile.lock ADDED
@@ -0,0 +1,30 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.3)
5
+ git (1.2.5)
6
+ jeweler (1.6.4)
7
+ bundler (~> 1.0)
8
+ git (>= 1.2.5)
9
+ rake
10
+ rake (0.9.2)
11
+ rcov (0.9.10)
12
+ rspec (2.6.0)
13
+ rspec-core (~> 2.6.0)
14
+ rspec-expectations (~> 2.6.0)
15
+ rspec-mocks (~> 2.6.0)
16
+ rspec-core (2.6.4)
17
+ rspec-expectations (2.6.0)
18
+ diff-lcs (~> 1.1.2)
19
+ rspec-mocks (2.6.0)
20
+ yard (0.7.2)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ bundler (>= 1.0.0)
27
+ jeweler (>= 1.5.1)
28
+ rcov
29
+ rspec (>= 2.0.0)
30
+ yard (>= 0.6.0)
@@ -1,37 +1,42 @@
1
- = prefetch-rspec
1
+ # prefetch-rspec
2
2
 
3
3
  Prefetch RSpec is prefetch initialize phase before run rspec.
4
4
 
5
- = Install
5
+ ## Supported Web Application Framework
6
6
 
7
- $ gem install prefetch-rspec
7
+ * Rails 3.1.x, 3.0.x
8
8
 
9
- = Using with Rails3
9
+ ## Install
10
+
11
+ $ gem install prefetch-rspec
12
+
13
+ ## Using with Rails3
10
14
 
11
15
  Change config/environments/tests.rb cache_classess line.
12
16
 
13
- config.cache_classes = ENV.has_key?('PRSPEC') ? false : true
17
+ config.cache_classes = ENV.has_key?('PRSPEC') ? false : true
14
18
 
15
19
  Execute command Rails.root
16
20
 
17
- $ prspecd --rails
21
+ $ prspecd --rails
18
22
 
19
- or copy examples/rails.prspecd to Rails.root/.rspecd
23
+ or copy examples/rails.prspecd to Rails.root/.rspecd
20
24
 
21
- $ prspecd
25
+ $ prspecd
22
26
 
23
27
  run prspec
24
28
 
25
- $ prspec [rspec arguments]
26
- example..
27
- $ prspec spec/models/example.rb -l 5
29
+ $ prspec [rspec arguments]
30
+ example..
31
+ $ prspec spec/models/example.rb -l 5
28
32
 
29
- = License
33
+ ## License
30
34
 
35
+ <pre>
31
36
  MIT License
32
37
 
33
- Copyright (c) 2010-2011 Asakusa.rb
34
-
38
+ Copyright (c) 2010-2011 Asakusa.rb
39
+
35
40
  Permission is hereby granted, free of charge, to any person obtaining
36
41
  a copy of this software and associated documentation files (the
37
42
  "Software"), to deal in the Software without restriction, including
@@ -39,10 +44,10 @@ MIT License
39
44
  distribute, sublicense, and/or sell copies of the Software, and to
40
45
  permit persons to whom the Software is furnished to do so, subject to
41
46
  the following conditions:
42
-
47
+
43
48
  The above copyright notice and this permission notice shall be
44
49
  included in all copies or substantial portions of the Software.
45
-
50
+
46
51
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
47
52
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
48
53
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -50,4 +55,4 @@ MIT License
50
55
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
51
56
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
52
57
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
53
-
58
+ </pre>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -18,7 +18,7 @@ prefetch {
18
18
  }
19
19
 
20
20
  before_run {
21
- ActionDispatch::Callbacks.new(Proc.new {}, false).call({})
21
+ ActionDispatch::Callbacks.new(Proc.new {}).call({})
22
22
  Rails.application.config.cache_classes = true
23
23
  ActiveSupport::Dependencies.mechanism = :require
24
24
  require Rails.root + 'spec/spec_helper'
@@ -23,7 +23,7 @@ module PrefetchRspec
23
23
  end
24
24
 
25
25
  def drb_uri
26
- drb_uri = "druby://127.0.0.1:#{options[:port] || DEFAULT_PORT }"
26
+ "druby://127.0.0.1:#{options[:port] || DEFAULT_PORT }"
27
27
  end
28
28
 
29
29
  private
@@ -5,25 +5,27 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{prefetch-rspec}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Yuichi Tateno"]
12
- s.date = %q{2011-04-12}
11
+ s.authors = [%q{Yuichi Tateno}]
12
+ s.date = %q{2011-10-19}
13
13
  s.description = %q{ }
14
14
  s.email = %q{hotchpotch@gmail.com}
15
- s.executables = ["prspecd", "prspec"]
15
+ s.executables = [%q{prspec}, %q{prspecd}]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE.txt",
18
- "README.rdoc"
18
+ "README.md"
19
19
  ]
20
20
  s.files = [
21
21
  ".document",
22
22
  ".gemtest",
23
23
  ".rspec",
24
+ ".travis.yml",
24
25
  "Gemfile",
26
+ "Gemfile.lock",
25
27
  "LICENSE.txt",
26
- "README.rdoc",
28
+ "README.md",
27
29
  "Rakefile",
28
30
  "VERSION",
29
31
  "bin/prspec",
@@ -36,17 +38,12 @@ Gem::Specification.new do |s|
36
38
  "specs.watchr"
37
39
  ]
38
40
  s.homepage = %q{http://github.com/asakusarb/prefetch-rspec}
39
- s.licenses = ["MIT"]
40
- s.require_paths = ["lib"]
41
- s.rubygems_version = %q{1.3.7}
41
+ s.licenses = [%q{MIT}]
42
+ s.require_paths = [%q{lib}]
43
+ s.rubygems_version = %q{1.8.6}
42
44
  s.summary = %q{Prefetch initialize phase before run rspec}
43
- s.test_files = [
44
- "spec/prefetch_rspec_spec.rb",
45
- "spec/spec_helper.rb"
46
- ]
47
45
 
48
46
  if s.respond_to? :specification_version then
49
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
47
  s.specification_version = 3
51
48
 
52
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,134 +1,100 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: prefetch-rspec
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 1
9
- - 4
10
- version: 0.1.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.5
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Yuichi Tateno
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-04-12 00:00:00 +09:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- type: :runtime
12
+ date: 2011-10-19 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
24
15
  name: rspec
25
- version_requirements: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2151915360 !ruby/object:Gem::Requirement
26
17
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 15
31
- segments:
32
- - 2
33
- - 0
34
- - 0
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
35
21
  version: 2.0.0
36
- requirement: *id001
37
- - !ruby/object:Gem::Dependency
22
+ type: :runtime
38
23
  prerelease: false
39
- type: :development
24
+ version_requirements: *2151915360
25
+ - !ruby/object:Gem::Dependency
40
26
  name: yard
41
- version_requirements: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &2151914580 !ruby/object:Gem::Requirement
42
28
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 7
47
- segments:
48
- - 0
49
- - 6
50
- - 0
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
51
32
  version: 0.6.0
52
- requirement: *id002
53
- - !ruby/object:Gem::Dependency
54
- prerelease: false
55
33
  type: :development
34
+ prerelease: false
35
+ version_requirements: *2151914580
36
+ - !ruby/object:Gem::Dependency
56
37
  name: bundler
57
- version_requirements: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &2151913660 !ruby/object:Gem::Requirement
58
39
  none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: 23
63
- segments:
64
- - 1
65
- - 0
66
- - 0
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
67
43
  version: 1.0.0
68
- requirement: *id003
69
- - !ruby/object:Gem::Dependency
70
- prerelease: false
71
44
  type: :development
45
+ prerelease: false
46
+ version_requirements: *2151913660
47
+ - !ruby/object:Gem::Dependency
72
48
  name: jeweler
73
- version_requirements: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &2151912900 !ruby/object:Gem::Requirement
74
50
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 1
79
- segments:
80
- - 1
81
- - 5
82
- - 1
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
83
54
  version: 1.5.1
84
- requirement: *id004
85
- - !ruby/object:Gem::Dependency
86
- prerelease: false
87
55
  type: :development
56
+ prerelease: false
57
+ version_requirements: *2151912900
58
+ - !ruby/object:Gem::Dependency
88
59
  name: rcov
89
- version_requirements: &id005 !ruby/object:Gem::Requirement
60
+ requirement: &2151912180 !ruby/object:Gem::Requirement
90
61
  none: false
91
- requirements:
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- hash: 3
95
- segments:
96
- - 0
97
- version: "0"
98
- requirement: *id005
99
- - !ruby/object:Gem::Dependency
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
100
67
  prerelease: false
101
- type: :runtime
68
+ version_requirements: *2151912180
69
+ - !ruby/object:Gem::Dependency
102
70
  name: rspec
103
- version_requirements: &id006 !ruby/object:Gem::Requirement
71
+ requirement: &2151911340 !ruby/object:Gem::Requirement
104
72
  none: false
105
- requirements:
106
- - - ">"
107
- - !ruby/object:Gem::Version
108
- hash: 15
109
- segments:
110
- - 2
111
- - 0
112
- - 0
73
+ requirements:
74
+ - - ! '>'
75
+ - !ruby/object:Gem::Version
113
76
  version: 2.0.0
114
- requirement: *id006
115
- description: " "
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *2151911340
80
+ description: ! ' '
116
81
  email: hotchpotch@gmail.com
117
- executables:
118
- - prspecd
82
+ executables:
119
83
  - prspec
84
+ - prspecd
120
85
  extensions: []
121
-
122
- extra_rdoc_files:
86
+ extra_rdoc_files:
123
87
  - LICENSE.txt
124
- - README.rdoc
125
- files:
88
+ - README.md
89
+ files:
126
90
  - .document
127
91
  - .gemtest
128
92
  - .rspec
93
+ - .travis.yml
129
94
  - Gemfile
95
+ - Gemfile.lock
130
96
  - LICENSE.txt
131
- - README.rdoc
97
+ - README.md
132
98
  - Rakefile
133
99
  - VERSION
134
100
  - bin/prspec
@@ -139,40 +105,29 @@ files:
139
105
  - spec/prefetch_rspec_spec.rb
140
106
  - spec/spec_helper.rb
141
107
  - specs.watchr
142
- has_rdoc: true
143
108
  homepage: http://github.com/asakusarb/prefetch-rspec
144
- licenses:
109
+ licenses:
145
110
  - MIT
146
111
  post_install_message:
147
112
  rdoc_options: []
148
-
149
- require_paths:
113
+ require_paths:
150
114
  - lib
151
- required_ruby_version: !ruby/object:Gem::Requirement
115
+ required_ruby_version: !ruby/object:Gem::Requirement
152
116
  none: false
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- hash: 3
157
- segments:
158
- - 0
159
- version: "0"
160
- required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
122
  none: false
162
- requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- hash: 3
166
- segments:
167
- - 0
168
- version: "0"
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
169
127
  requirements: []
170
-
171
128
  rubyforge_project:
172
- rubygems_version: 1.3.7
129
+ rubygems_version: 1.8.6
173
130
  signing_key:
174
131
  specification_version: 3
175
132
  summary: Prefetch initialize phase before run rspec
176
- test_files:
177
- - spec/prefetch_rspec_spec.rb
178
- - spec/spec_helper.rb
133
+ test_files: []