daddy 0.5.24 → 0.5.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daddy/cucumber.rb +1 -26
- data/lib/daddy/cucumber/hooks/fixtures.rb +0 -3
- data/lib/daddy/version.rb +1 -1
- metadata +15 -44
- data/lib/active_support/cache/null_store.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 805d73698972477ea279d4122ded717d56e5958d
|
4
|
+
data.tar.gz: 2af9be457391c9ee9c93a67043f8ee533f62e3d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 359d9f5007f4958ad1e78cb71ad505cd405301b29b52971b3752b21914e8b9c8ac1c4e1b149b3cf55b37e1dd08d317fb074ea84db2ac75bb0b9596698cf59d65
|
7
|
+
data.tar.gz: b4dc2f2200e13f6b73283d85407e6d75ec23c64f304e3f4696340031348cb6de9683a276539dc6d7f60b19fa81fb9bf313a32e51c023849aaef709e5d011b99d
|
data/lib/daddy/cucumber.rb
CHANGED
@@ -1,33 +1,8 @@
|
|
1
1
|
require 'capybara/cucumber'
|
2
|
+
require_relative 'cucumber/helpers'
|
2
3
|
|
3
|
-
case ENV['DRIVER']
|
4
|
-
when 'poltergeist'
|
5
|
-
require 'capybara/poltergeist'
|
6
|
-
when 'webkit'
|
7
|
-
require 'capybara/webkit'
|
8
|
-
end
|
9
|
-
|
10
|
-
Capybara.default_driver = (ENV['DRIVER'] || :selenium).to_sym
|
11
4
|
Capybara.default_selector = :css
|
12
5
|
|
13
|
-
def override_method(obj, method_name, &block)
|
14
|
-
klass = class <<obj; self; end
|
15
|
-
klass.send(:undef_method, method_name)
|
16
|
-
klass.send(:define_method, method_name, block)
|
17
|
-
end
|
18
|
-
|
19
|
-
AfterConfiguration do |configuration|
|
20
|
-
feature_files = configuration.feature_files
|
21
|
-
|
22
|
-
override_method(configuration, :feature_files) {
|
23
|
-
sorted_files = feature_files.sort do |x, y|
|
24
|
-
x <=> y
|
25
|
-
end
|
26
|
-
}
|
27
|
-
end
|
28
|
-
|
29
|
-
require_relative 'cucumber/helpers'
|
30
|
-
|
31
6
|
Before do
|
32
7
|
resize_window(1280, 720)
|
33
8
|
end
|
@@ -6,9 +6,6 @@ end
|
|
6
6
|
|
7
7
|
fixtures_folder = File.join('test', 'fixtures')
|
8
8
|
fixtures = Dir[File.join(fixtures_folder, '*.yml')].map {|f| File.basename(f, '.yml') }
|
9
|
-
if defined? RailsCsvFixtures
|
10
|
-
fixtures += Dir[File.join(fixtures_folder, '*.csv')].map {|f| File.basename(f, '.csv') }
|
11
|
-
end
|
12
9
|
|
13
10
|
Before do
|
14
11
|
fixture_class.create_fixtures(fixtures_folder, fixtures)
|
data/lib/daddy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.7'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: closer
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.3'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.3'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: ci_reporter
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +84,14 @@ dependencies:
|
|
98
84
|
name: itamae
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- - "
|
87
|
+
- - ">="
|
102
88
|
- !ruby/object:Gem::Version
|
103
89
|
version: '1.9'
|
104
90
|
type: :runtime
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- - "
|
94
|
+
- - ">="
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '1.9'
|
111
97
|
- !ruby/object:Gem::Dependency
|
@@ -122,20 +108,6 @@ dependencies:
|
|
122
108
|
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '8.10'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: poltergeist
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '1.9'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '1.9'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
112
|
name: rails
|
141
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,47 +143,47 @@ dependencies:
|
|
171
143
|
- !ruby/object:Gem::Version
|
172
144
|
version: '1.5'
|
173
145
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
146
|
+
name: closer
|
175
147
|
requirement: !ruby/object:Gem::Requirement
|
176
148
|
requirements:
|
177
|
-
- - "
|
149
|
+
- - ">="
|
178
150
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
151
|
+
version: '0.5'
|
180
152
|
type: :development
|
181
153
|
prerelease: false
|
182
154
|
version_requirements: !ruby/object:Gem::Requirement
|
183
155
|
requirements:
|
184
|
-
- - "
|
156
|
+
- - ">="
|
185
157
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
158
|
+
version: '0.5'
|
187
159
|
- !ruby/object:Gem::Dependency
|
188
|
-
name: resque
|
160
|
+
name: resque
|
189
161
|
requirement: !ruby/object:Gem::Requirement
|
190
162
|
requirements:
|
191
163
|
- - "~>"
|
192
164
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
165
|
+
version: '1.26'
|
194
166
|
type: :development
|
195
167
|
prerelease: false
|
196
168
|
version_requirements: !ruby/object:Gem::Requirement
|
197
169
|
requirements:
|
198
170
|
- - "~>"
|
199
171
|
- !ruby/object:Gem::Version
|
200
|
-
version: '
|
172
|
+
version: '1.26'
|
201
173
|
- !ruby/object:Gem::Dependency
|
202
|
-
name:
|
174
|
+
name: resque-scheduler
|
203
175
|
requirement: !ruby/object:Gem::Requirement
|
204
176
|
requirements:
|
205
177
|
- - "~>"
|
206
178
|
- !ruby/object:Gem::Version
|
207
|
-
version: '
|
179
|
+
version: '4.0'
|
208
180
|
type: :development
|
209
181
|
prerelease: false
|
210
182
|
version_requirements: !ruby/object:Gem::Requirement
|
211
183
|
requirements:
|
212
184
|
- - "~>"
|
213
185
|
- !ruby/object:Gem::Version
|
214
|
-
version: '
|
186
|
+
version: '4.0'
|
215
187
|
- !ruby/object:Gem::Dependency
|
216
188
|
name: simplecov
|
217
189
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,7 +267,6 @@ files:
|
|
295
267
|
- itamae/templates/etc/yum.repos.d/docker.repo.erb
|
296
268
|
- itamae/templates/etc/yum.repos.d/nginx.repo.erb
|
297
269
|
- itamae/templates/lib/systemd/system/nginx.service.erb
|
298
|
-
- lib/active_support/cache/null_store.rb
|
299
270
|
- lib/capistrano/daddy.rb
|
300
271
|
- lib/capistrano/tasks/update_linked_files.rake
|
301
272
|
- lib/daddy.rb
|