test-unit-capybara 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/README.textile +1 -1
- data/Rakefile +4 -12
- data/doc/text/news.textile +6 -0
- data/lib/test/unit/capybara.rb +4 -3
- data/lib/test/unit/capybara/version.rb +1 -1
- metadata +35 -55
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7cf9eb69b534f72d4a3dad72ce1a9f4cf082da1f
|
4
|
+
data.tar.gz: d2d3e629a0696bcc58ed854ca54117d398ec4fc0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 05a0a4e43abd0a45fd845340d041784f05c99e645c3966f1372158c9a17834bf1ff25ddca401b47ec0d0fe80d9907ba102954abd1db4e6fee3f3e46ebc0ac516
|
7
|
+
data.tar.gz: c6abb4ac9b5119a57091231fa7b2e3c0fdbde9625e45001c19ec13216f3b67c01f088776650e47096b12e1b240ea72adc921e26219ef41331aa780203a496b83
|
data/Gemfile
CHANGED
data/README.textile
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2011-
|
3
|
+
# Copyright (C) 2011-2013 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -38,22 +38,14 @@ Gem::PackageTask.new(spec) do |pkg|
|
|
38
38
|
pkg.need_tar_gz = true
|
39
39
|
end
|
40
40
|
|
41
|
-
document_task = Packnga::DocumentTask.new(spec) do
|
41
|
+
document_task = Packnga::DocumentTask.new(spec) do |task|
|
42
|
+
task.original_language = "en"
|
43
|
+
task.translate_languages = ["ja"]
|
42
44
|
end
|
43
45
|
|
44
46
|
Packnga::ReleaseTask.new(spec) do |task|
|
45
47
|
end
|
46
48
|
|
47
|
-
# XXX: Workaround. This should be fixed in packnga.
|
48
|
-
task :htaccess do
|
49
|
-
htaccess = "doc/html/test-unit-capybara/.htaccess"
|
50
|
-
htaccess_content = File.read(htaccess)
|
51
|
-
File.open(htaccess, "w") do |htaccess_file|
|
52
|
-
htaccess_file.print(htaccess_content.gsub(/#test-unit-capybara/, ""))
|
53
|
-
end
|
54
|
-
end
|
55
|
-
task "release:reference:publish" => :htaccess
|
56
|
-
|
57
49
|
desc "Tag the current revision."
|
58
50
|
task :tag do
|
59
51
|
message = "Released test-unit-capybara #{version}!"
|
data/doc/text/news.textile
CHANGED
data/lib/test/unit/capybara.rb
CHANGED
@@ -18,10 +18,11 @@
|
|
18
18
|
|
19
19
|
require "test/unit/capybara/version"
|
20
20
|
|
21
|
-
require
|
22
|
-
require
|
21
|
+
require "capybara"
|
22
|
+
require "capybara/dsl"
|
23
23
|
require "json"
|
24
|
-
require
|
24
|
+
require "test-unit"
|
25
|
+
require "test/unit/assertions"
|
25
26
|
|
26
27
|
module Test::Unit
|
27
28
|
module Capybara
|
metadata
CHANGED
@@ -1,158 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kouhei Sutou
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-01-17 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: test-unit
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 2.5.3
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 2.5.3
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: capybara
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 2.1.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 2.1.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: json
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: bundler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rake
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: yard
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ">="
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: packnga
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: test-unit-notify
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- -
|
115
|
+
- - ">="
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: '0'
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- -
|
122
|
+
- - ">="
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: '0'
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: RedCloth
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- -
|
129
|
+
- - ">="
|
148
130
|
- !ruby/object:Gem::Version
|
149
131
|
version: '0'
|
150
132
|
type: :development
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
|
-
- -
|
136
|
+
- - ">="
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: '0'
|
158
139
|
description: ''
|
@@ -162,46 +143,45 @@ executables: []
|
|
162
143
|
extensions: []
|
163
144
|
extra_rdoc_files: []
|
164
145
|
files:
|
165
|
-
- lib/test/unit/capybara.rb
|
166
|
-
- lib/test/unit/capybara/version.rb
|
167
|
-
- doc/text/news.textile
|
168
|
-
- README.textile
|
169
146
|
- COPYING
|
170
|
-
- Rakefile
|
171
147
|
- Gemfile
|
172
|
-
-
|
148
|
+
- README.textile
|
149
|
+
- Rakefile
|
150
|
+
- doc/text/news.textile
|
151
|
+
- lib/test/unit/capybara.rb
|
152
|
+
- lib/test/unit/capybara/version.rb
|
173
153
|
- test/run-test.rb
|
174
154
|
- test/test-assertions.rb
|
155
|
+
- test/test-unit-capybara-test-utils.rb
|
175
156
|
- test/test-wrapper.rb
|
176
|
-
homepage:
|
157
|
+
homepage: https://github.com/test-unit/test-unit-capybara
|
177
158
|
licenses:
|
178
159
|
- LGPLv2 or later
|
160
|
+
metadata: {}
|
179
161
|
post_install_message:
|
180
162
|
rdoc_options: []
|
181
163
|
require_paths:
|
182
164
|
- lib
|
183
165
|
required_ruby_version: !ruby/object:Gem::Requirement
|
184
|
-
none: false
|
185
166
|
requirements:
|
186
|
-
- -
|
167
|
+
- - ">="
|
187
168
|
- !ruby/object:Gem::Version
|
188
169
|
version: '0'
|
189
170
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
-
none: false
|
191
171
|
requirements:
|
192
|
-
- -
|
172
|
+
- - ">="
|
193
173
|
- !ruby/object:Gem::Version
|
194
174
|
version: '0'
|
195
175
|
requirements: []
|
196
|
-
rubyforge_project:
|
197
|
-
rubygems_version:
|
176
|
+
rubyforge_project:
|
177
|
+
rubygems_version: 2.4.5.1
|
198
178
|
signing_key:
|
199
|
-
specification_version:
|
179
|
+
specification_version: 4
|
200
180
|
summary: test-unit-capybara is a Capybara adapter for test-unit 2. You can get "Capybara":https://rubygems.org/gems/capybara
|
201
181
|
integrated Test::Unit::TestCase. It also provides useful assertions for Capybara.
|
202
182
|
test_files:
|
203
|
-
- test/test-unit-capybara-test-utils.rb
|
204
|
-
- test/run-test.rb
|
205
183
|
- test/test-assertions.rb
|
184
|
+
- test/run-test.rb
|
185
|
+
- test/test-unit-capybara-test-utils.rb
|
206
186
|
- test/test-wrapper.rb
|
207
187
|
has_rdoc:
|