acceptance_test 1.11.1 → 1.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.idea/acceptance_test.iml +3 -3
- data/CHANGES +1 -1
- data/Gemfile.lock +2 -2
- data/lib/acceptance_test/acceptance_config.rb +26 -25
- data/lib/acceptance_test/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmI0OTUzNWU4MGI2MjFmMTMwNGQ0OGQ4ZDc5MjAwMjU5MTE4Zjc4NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmQ3N2I1Yzg1ZDFlZWZkN2MzYjNkNzA4Mzk3Mzk2ZWZlNDc5MGNjMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDMzMjRiYWFmOGQzN2FmZWFkNGU2MDBhOWQxNDBmMzBhODNlNzQzOWQwZTRl
|
10
|
+
OGYyMTA4ZTViZTQ3MGMxZmQ4YWQ5OWFkNWI4ZTkxYzU2YjRiYTE4NjNlZDBj
|
11
|
+
NjIzNmY1Y2ZiYzRhMDIwYTAzMDQxYzYzOWI5MDgwOTQ1YmVhNjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTEyNGMwNDMyMTA4ZGNlMGYzN2MwMWMxNmVjMDIzODFkYzZlMzY2MTRlZDQz
|
14
|
+
YjgwZWVjZWE5Yjg2MjAzMDY5OTM5NDJlMzhlYzJmZmU3M2Q1OGE2ZmRiMGVm
|
15
|
+
NTM3YTNjYjJjZDQzMjJiNTJmZmViOTYyMTExY2ViZDAzY2QxMjI=
|
data/.idea/acceptance_test.iml
CHANGED
@@ -297,7 +297,7 @@
|
|
297
297
|
<orderEntry type="sourceFolder" forTests="false" />
|
298
298
|
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.0, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
299
299
|
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
300
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.
|
300
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.6, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
301
301
|
<orderEntry type="library" scope="PROVIDED" name="capybara (v2.4.4, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
302
302
|
<orderEntry type="library" scope="PROVIDED" name="capybara-firebug (v2.1.0, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
303
303
|
<orderEntry type="library" scope="PROVIDED" name="capybara-webkit (v1.4.1, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
@@ -318,7 +318,7 @@
|
|
318
318
|
<orderEntry type="library" scope="PROVIDED" name="mime-types (v2.4.3, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
319
319
|
<orderEntry type="library" scope="PROVIDED" name="mini_portile (v0.6.2, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
320
320
|
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.5.1, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
321
|
-
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.
|
321
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.11.0, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
322
322
|
<orderEntry type="library" scope="PROVIDED" name="multi_test (v0.1.2, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
323
323
|
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.6.2, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
324
324
|
<orderEntry type="library" scope="PROVIDED" name="oily_png (v1.1.2, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
@@ -333,7 +333,7 @@
|
|
333
333
|
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.2.2, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
334
334
|
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.1.7, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
335
335
|
<orderEntry type="library" scope="PROVIDED" name="selenium-webdriver (v2.44.0, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
336
|
-
<orderEntry type="library" scope="PROVIDED" name="slim (v3.0.
|
336
|
+
<orderEntry type="library" scope="PROVIDED" name="slim (v3.0.3, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
337
337
|
<orderEntry type="library" scope="PROVIDED" name="temple (v0.7.5, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
338
338
|
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.4, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
339
339
|
<orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.1, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
data/CHANGES
CHANGED
data/Gemfile.lock
CHANGED
@@ -49,7 +49,7 @@ GEM
|
|
49
49
|
mime-types (2.4.3)
|
50
50
|
mini_portile (0.6.2)
|
51
51
|
minitest (5.5.1)
|
52
|
-
multi_json (1.
|
52
|
+
multi_json (1.11.0)
|
53
53
|
multi_test (0.1.2)
|
54
54
|
nokogiri (1.6.6.2)
|
55
55
|
mini_portile (~> 0.6.0)
|
@@ -84,7 +84,7 @@ GEM
|
|
84
84
|
multi_json (~> 1.0)
|
85
85
|
rubyzip (~> 1.0)
|
86
86
|
websocket (~> 1.0)
|
87
|
-
slim (3.0.
|
87
|
+
slim (3.0.3)
|
88
88
|
temple (~> 0.7.3)
|
89
89
|
tilt (>= 1.3.3, < 2.1)
|
90
90
|
temple (0.7.5)
|
@@ -136,31 +136,6 @@ class AcceptanceConfig
|
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
-
private
|
140
|
-
|
141
|
-
def load_code_from_support basedir
|
142
|
-
support_dirs = []
|
143
|
-
|
144
|
-
Dir["#{basedir}/**/*"].each do |name|
|
145
|
-
if File.exist?(name) && File.basename(name) == 'support'
|
146
|
-
support_dirs << name
|
147
|
-
$LOAD_PATH << name
|
148
|
-
end
|
149
|
-
end
|
150
|
-
|
151
|
-
support_dirs
|
152
|
-
end
|
153
|
-
|
154
|
-
def load_steps support_dirs
|
155
|
-
support_dirs.each do |support_dir|
|
156
|
-
Dir["#{support_dir}/**/steps/*_steps.rb"].each do |name|
|
157
|
-
ext = File.extname(name)
|
158
|
-
|
159
|
-
require name[support_dir.length+1..name.length-ext.length-1]
|
160
|
-
end
|
161
|
-
end
|
162
|
-
end
|
163
|
-
|
164
139
|
def detect_file dir, name
|
165
140
|
ext = File.extname(name)
|
166
141
|
basename = File.basename(name)
|
@@ -188,4 +163,30 @@ class AcceptanceConfig
|
|
188
163
|
(source_path % {acceptance_env: '', format: format})
|
189
164
|
end
|
190
165
|
end
|
166
|
+
|
167
|
+
private
|
168
|
+
|
169
|
+
def load_code_from_support basedir
|
170
|
+
support_dirs = []
|
171
|
+
|
172
|
+
Dir["#{basedir}/**/*"].each do |name|
|
173
|
+
if File.exist?(name) && File.basename(name) == 'support'
|
174
|
+
support_dirs << name
|
175
|
+
$LOAD_PATH << name
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
support_dirs
|
180
|
+
end
|
181
|
+
|
182
|
+
def load_steps support_dirs
|
183
|
+
support_dirs.each do |support_dir|
|
184
|
+
Dir["#{support_dir}/**/steps/*_steps.rb"].each do |name|
|
185
|
+
ext = File.extname(name)
|
186
|
+
|
187
|
+
require name[support_dir.length+1..name.length-ext.length-1]
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
191
192
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acceptance_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -295,7 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
295
|
version: '0'
|
296
296
|
requirements: []
|
297
297
|
rubyforge_project:
|
298
|
-
rubygems_version: 2.4.
|
298
|
+
rubygems_version: 2.4.4
|
299
299
|
signing_key:
|
300
300
|
specification_version: 4
|
301
301
|
summary: Simplifies congiguration and run of acceptance tests.
|