test_frame 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +52 -41
- data/{README.rdoc → README.md} +13 -11
- data/VERSION +1 -1
- data/test_frame.gemspec +8 -7
- metadata +22 -8
- data/test/helper.rb +0 -18
- data/test/test_test_frame.rb +0 -7
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,60 +1,62 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionpack (3.2.
|
5
|
-
activemodel (= 3.2.
|
6
|
-
activesupport (= 3.2.
|
4
|
+
actionpack (3.2.9)
|
5
|
+
activemodel (= 3.2.9)
|
6
|
+
activesupport (= 3.2.9)
|
7
7
|
builder (~> 3.0.0)
|
8
8
|
erubis (~> 2.7.0)
|
9
9
|
journey (~> 1.0.4)
|
10
10
|
rack (~> 1.4.0)
|
11
11
|
rack-cache (~> 1.2)
|
12
12
|
rack-test (~> 0.6.1)
|
13
|
-
sprockets (~> 2.1
|
14
|
-
activemodel (3.2.
|
15
|
-
activesupport (= 3.2.
|
13
|
+
sprockets (~> 2.2.1)
|
14
|
+
activemodel (3.2.9)
|
15
|
+
activesupport (= 3.2.9)
|
16
16
|
builder (~> 3.0.0)
|
17
|
-
activesupport (3.2.
|
17
|
+
activesupport (3.2.9)
|
18
18
|
i18n (~> 0.6)
|
19
19
|
multi_json (~> 1.0)
|
20
20
|
addressable (2.3.2)
|
21
|
+
awesome_print (1.1.0)
|
22
|
+
bourne (1.1.2)
|
23
|
+
mocha (= 0.10.5)
|
21
24
|
builder (3.0.4)
|
22
|
-
capybara (
|
25
|
+
capybara (2.0.1)
|
23
26
|
mime-types (>= 1.16)
|
24
27
|
nokogiri (>= 1.3.3)
|
25
28
|
rack (>= 1.0.0)
|
26
29
|
rack-test (>= 0.5.4)
|
27
30
|
selenium-webdriver (~> 2.0)
|
28
|
-
xpath (~> 0.
|
31
|
+
xpath (~> 1.0.0)
|
29
32
|
childprocess (0.3.6)
|
30
33
|
ffi (~> 1.0, >= 1.0.6)
|
31
34
|
coderay (1.0.8)
|
32
35
|
database_cleaner (0.9.1)
|
33
36
|
diff-lcs (1.1.3)
|
34
|
-
email_spec (1.
|
37
|
+
email_spec (1.4.0)
|
38
|
+
launchy (~> 2.1)
|
35
39
|
mail (~> 2.2)
|
36
|
-
rspec (~> 2.0)
|
37
40
|
erubis (2.7.0)
|
38
41
|
factory_girl (4.1.0)
|
39
42
|
activesupport (>= 3.0.0)
|
40
43
|
factory_girl_rails (4.1.0)
|
41
44
|
factory_girl (~> 4.1.0)
|
42
45
|
railties (>= 3.0.0)
|
43
|
-
ffi (1.
|
46
|
+
ffi (1.2.0)
|
44
47
|
git (1.2.5)
|
45
|
-
guard (1.
|
46
|
-
listen (>= 0.
|
48
|
+
guard (1.6.0)
|
49
|
+
listen (>= 0.6.0)
|
47
50
|
lumberjack (>= 1.0.2)
|
48
51
|
pry (>= 0.9.10)
|
49
52
|
thor (>= 0.14.6)
|
50
|
-
guard-rspec (2.
|
53
|
+
guard-rspec (2.3.3)
|
51
54
|
guard (>= 1.1)
|
52
55
|
rspec (~> 2.11)
|
53
|
-
guard-spork (1.
|
56
|
+
guard-spork (1.4.0)
|
54
57
|
childprocess (>= 0.2.3)
|
55
58
|
guard (>= 1.1)
|
56
59
|
spork (>= 0.8.4)
|
57
|
-
sys-proctable
|
58
60
|
hike (1.2.1)
|
59
61
|
i18n (0.6.1)
|
60
62
|
jeweler (1.8.4)
|
@@ -66,18 +68,22 @@ GEM
|
|
66
68
|
json (1.7.5)
|
67
69
|
launchy (2.1.2)
|
68
70
|
addressable (~> 2.3)
|
69
|
-
libwebsocket (0.1.
|
71
|
+
libwebsocket (0.1.7.1)
|
70
72
|
addressable
|
71
|
-
|
73
|
+
websocket
|
74
|
+
listen (0.6.0)
|
72
75
|
lumberjack (1.0.2)
|
73
|
-
mail (2.
|
76
|
+
mail (2.5.3)
|
74
77
|
i18n (>= 0.4.0)
|
75
78
|
mime-types (~> 1.16)
|
76
79
|
treetop (~> 1.4.8)
|
80
|
+
metaclass (0.0.1)
|
77
81
|
method_source (0.8.1)
|
78
82
|
mime-types (1.19)
|
79
|
-
|
80
|
-
|
83
|
+
mocha (0.10.5)
|
84
|
+
metaclass (~> 0.0.1)
|
85
|
+
multi_json (1.5.0)
|
86
|
+
nokogiri (1.5.6)
|
81
87
|
polyglot (0.3.3)
|
82
88
|
pry (0.9.10)
|
83
89
|
coderay (~> 1.0.5)
|
@@ -90,14 +96,14 @@ GEM
|
|
90
96
|
rack
|
91
97
|
rack-test (0.6.2)
|
92
98
|
rack (>= 1.0)
|
93
|
-
railties (3.2.
|
94
|
-
actionpack (= 3.2.
|
95
|
-
activesupport (= 3.2.
|
99
|
+
railties (3.2.9)
|
100
|
+
actionpack (= 3.2.9)
|
101
|
+
activesupport (= 3.2.9)
|
96
102
|
rack-ssl (~> 1.3.2)
|
97
103
|
rake (>= 0.8.7)
|
98
104
|
rdoc (~> 3.4)
|
99
105
|
thor (>= 0.14.6, < 2.0)
|
100
|
-
rake (10.0.
|
106
|
+
rake (10.0.3)
|
101
107
|
rb-fchange (0.0.6)
|
102
108
|
ffi
|
103
109
|
rb-fsevent (0.9.2)
|
@@ -105,50 +111,55 @@ GEM
|
|
105
111
|
ffi (>= 0.5.0)
|
106
112
|
rdoc (3.12)
|
107
113
|
json (~> 1.4)
|
108
|
-
rspec (2.
|
109
|
-
rspec-core (~> 2.
|
110
|
-
rspec-expectations (~> 2.
|
111
|
-
rspec-mocks (~> 2.
|
112
|
-
rspec-core (2.
|
113
|
-
rspec-expectations (2.
|
114
|
+
rspec (2.12.0)
|
115
|
+
rspec-core (~> 2.12.0)
|
116
|
+
rspec-expectations (~> 2.12.0)
|
117
|
+
rspec-mocks (~> 2.12.0)
|
118
|
+
rspec-core (2.12.2)
|
119
|
+
rspec-expectations (2.12.1)
|
114
120
|
diff-lcs (~> 1.1.3)
|
115
|
-
rspec-mocks (2.
|
116
|
-
rspec-rails (2.
|
121
|
+
rspec-mocks (2.12.1)
|
122
|
+
rspec-rails (2.12.0)
|
117
123
|
actionpack (>= 3.0)
|
118
124
|
activesupport (>= 3.0)
|
119
125
|
railties (>= 3.0)
|
120
|
-
rspec (~> 2.
|
126
|
+
rspec-core (~> 2.12.0)
|
127
|
+
rspec-expectations (~> 2.12.0)
|
128
|
+
rspec-mocks (~> 2.12.0)
|
121
129
|
rubyzip (0.9.9)
|
122
|
-
selenium-webdriver (2.
|
130
|
+
selenium-webdriver (2.27.2)
|
123
131
|
childprocess (>= 0.2.5)
|
124
132
|
libwebsocket (~> 0.1.3)
|
125
133
|
multi_json (~> 1.0)
|
126
134
|
rubyzip
|
127
|
-
shoulda-matchers (1.4.
|
135
|
+
shoulda-matchers (1.4.2)
|
128
136
|
activesupport (>= 3.0.0)
|
137
|
+
bourne (~> 1.1.2)
|
129
138
|
simplecov (0.7.1)
|
130
139
|
multi_json (~> 1.0)
|
131
140
|
simplecov-html (~> 0.7.1)
|
132
141
|
simplecov-html (0.7.1)
|
133
142
|
slop (3.3.3)
|
134
143
|
spork (0.9.2)
|
135
|
-
sprockets (2.
|
144
|
+
sprockets (2.2.2)
|
136
145
|
hike (~> 1.2)
|
146
|
+
multi_json (~> 1.0)
|
137
147
|
rack (~> 1.0)
|
138
148
|
tilt (~> 1.1, != 1.3.0)
|
139
|
-
sys-proctable (0.9.2)
|
140
149
|
thor (0.16.0)
|
141
150
|
tilt (1.3.3)
|
142
|
-
treetop (1.4.
|
151
|
+
treetop (1.4.12)
|
143
152
|
polyglot
|
144
153
|
polyglot (>= 0.3.1)
|
145
|
-
|
154
|
+
websocket (1.0.6)
|
155
|
+
xpath (1.0.0)
|
146
156
|
nokogiri (~> 1.3)
|
147
157
|
|
148
158
|
PLATFORMS
|
149
159
|
ruby
|
150
160
|
|
151
161
|
DEPENDENCIES
|
162
|
+
awesome_print
|
152
163
|
bundler
|
153
164
|
capybara
|
154
165
|
database_cleaner
|
data/{README.rdoc → README.md}
RENAMED
@@ -1,24 +1,26 @@
|
|
1
|
-
|
1
|
+
# test_frame
|
2
|
+
|
3
|
+
[![Dependency Status](https://gemnasium.com/mateomurphy/test_frame.png)](https://gemnasium.com/mateomurphy/test_frame)
|
2
4
|
|
3
5
|
Easily install all the gems needed to test your app!
|
4
6
|
|
5
7
|
Based on http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html
|
6
8
|
|
7
|
-
|
9
|
+
## install
|
8
10
|
|
9
11
|
Add the gems to your app Gemfile
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
|
13
|
+
group :development, :test do
|
14
|
+
gem 'test_frame'
|
15
|
+
end
|
14
16
|
|
15
17
|
then
|
16
18
|
|
17
|
-
* rake test_frame:install
|
18
|
-
* open spec/spec_helper.rb and follow the
|
19
|
-
* open .rspec and add
|
19
|
+
* `rake test_frame:install`
|
20
|
+
* open `spec/spec_helper.rb` and follow the instructions to configure spork
|
21
|
+
* open .rspec and add `--drb` to have the rspec command use spork
|
20
22
|
|
21
|
-
|
23
|
+
## Contributing to test_frame
|
22
24
|
|
23
25
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
24
26
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
@@ -28,8 +30,8 @@ then
|
|
28
30
|
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
29
31
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
30
32
|
|
31
|
-
|
33
|
+
## Copyright
|
32
34
|
|
33
|
-
Copyright (c) 2011 Mateo Murphy. See LICENSE.txt for
|
35
|
+
Copyright (c) 2011-2013 Mateo Murphy. See LICENSE.txt for
|
34
36
|
further details.
|
35
37
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/test_frame.gemspec
CHANGED
@@ -5,42 +5,41 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "test_frame"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mateo Murphy"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-12-22"
|
13
13
|
s.description = "A set of gems for testing rails apps"
|
14
14
|
s.email = "mateo.murphy@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
|
-
"README.
|
17
|
+
"README.md"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
21
|
"Gemfile",
|
22
22
|
"Gemfile.lock",
|
23
23
|
"LICENSE.txt",
|
24
|
-
"README.
|
24
|
+
"README.md",
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
27
|
"lib/tasks/test_frame.rake",
|
28
28
|
"lib/test_frame.rb",
|
29
29
|
"lib/test_frame/railtie.rb",
|
30
|
-
"test/helper.rb",
|
31
|
-
"test/test_test_frame.rb",
|
32
30
|
"test_frame.gemspec"
|
33
31
|
]
|
34
32
|
s.homepage = "http://github.com/mateomurphy/test_frame"
|
35
33
|
s.licenses = ["MIT"]
|
36
34
|
s.require_paths = ["lib"]
|
37
|
-
s.rubygems_version = "1.8.
|
35
|
+
s.rubygems_version = "1.8.23"
|
38
36
|
s.summary = "A set of gems for testing rails apps"
|
39
37
|
|
40
38
|
if s.respond_to? :specification_version then
|
41
39
|
s.specification_version = 3
|
42
40
|
|
43
41
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
|
+
s.add_runtime_dependency(%q<awesome_print>, [">= 0"])
|
44
43
|
s.add_runtime_dependency(%q<capybara>, [">= 0"])
|
45
44
|
s.add_runtime_dependency(%q<database_cleaner>, [">= 0"])
|
46
45
|
s.add_runtime_dependency(%q<email_spec>, [">= 0"])
|
@@ -60,6 +59,7 @@ Gem::Specification.new do |s|
|
|
60
59
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
61
60
|
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
62
61
|
else
|
62
|
+
s.add_dependency(%q<awesome_print>, [">= 0"])
|
63
63
|
s.add_dependency(%q<capybara>, [">= 0"])
|
64
64
|
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
65
65
|
s.add_dependency(%q<email_spec>, [">= 0"])
|
@@ -80,6 +80,7 @@ Gem::Specification.new do |s|
|
|
80
80
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
81
81
|
end
|
82
82
|
else
|
83
|
+
s.add_dependency(%q<awesome_print>, [">= 0"])
|
83
84
|
s.add_dependency(%q<capybara>, [">= 0"])
|
84
85
|
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
85
86
|
s.add_dependency(%q<email_spec>, [">= 0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_frame
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: awesome_print
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: capybara
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -305,20 +321,18 @@ executables: []
|
|
305
321
|
extensions: []
|
306
322
|
extra_rdoc_files:
|
307
323
|
- LICENSE.txt
|
308
|
-
- README.
|
324
|
+
- README.md
|
309
325
|
files:
|
310
326
|
- .document
|
311
327
|
- Gemfile
|
312
328
|
- Gemfile.lock
|
313
329
|
- LICENSE.txt
|
314
|
-
- README.
|
330
|
+
- README.md
|
315
331
|
- Rakefile
|
316
332
|
- VERSION
|
317
333
|
- lib/tasks/test_frame.rake
|
318
334
|
- lib/test_frame.rb
|
319
335
|
- lib/test_frame/railtie.rb
|
320
|
-
- test/helper.rb
|
321
|
-
- test/test_test_frame.rb
|
322
336
|
- test_frame.gemspec
|
323
337
|
homepage: http://github.com/mateomurphy/test_frame
|
324
338
|
licenses:
|
@@ -335,7 +349,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
335
349
|
version: '0'
|
336
350
|
segments:
|
337
351
|
- 0
|
338
|
-
hash:
|
352
|
+
hash: 3503258420626683007
|
339
353
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
340
354
|
none: false
|
341
355
|
requirements:
|
@@ -344,7 +358,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
344
358
|
version: '0'
|
345
359
|
requirements: []
|
346
360
|
rubyforge_project:
|
347
|
-
rubygems_version: 1.8.
|
361
|
+
rubygems_version: 1.8.23
|
348
362
|
signing_key:
|
349
363
|
specification_version: 3
|
350
364
|
summary: A set of gems for testing rails apps
|
data/test/helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'test/unit'
|
11
|
-
require 'shoulda'
|
12
|
-
|
13
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
-
require 'test_frame'
|
16
|
-
|
17
|
-
class Test::Unit::TestCase
|
18
|
-
end
|