dmc_kanye 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +0 -2
- data/README.md +7 -3
- data/TODO.md +0 -1
- data/dmc_kanye.gemspec +2 -0
- data/lib/dmc_kanye/version.rb +1 -1
- metadata +31 -4
- data/lib/dmc_kanye/duck_punching_insurance.rb +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4af1e66d04b6b8424f5a46d3bcd9eab8d3566ab
|
|
4
|
+
data.tar.gz: 6c10fed3db5ea1777fa717c69af66fc1d5ee4bfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6020db152be03abee79ff7e59396d162384f5b21feb6be60865b8e2867697fe029f6342ded810852cb447029e831ed1494074d6ae95fbd5ed00a0b71dcee6877
|
|
7
|
+
data.tar.gz: 8d89091e36e45f78c2c7787a8ca44c7dd131b0755c6dca3fa01e886a867ce5c620125dfc516768605d1133e39387aac5e0298c411a5172ea5b3d9a9197f9eaf9
|
data/CONTRIBUTING.md
CHANGED
|
@@ -6,5 +6,3 @@ If you want to contribute to Dmc_Kanye, the usual steps apply:
|
|
|
6
6
|
* Start a new branch (we favor branch names with your name or initials, e.g. `pjm/my_feature_branch`)
|
|
7
7
|
* Make your changes (tested changes are much appreciated)
|
|
8
8
|
* Open a pull request
|
|
9
|
-
|
|
10
|
-
Regular contributors may be given "commit bit".
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Kanye
|
|
2
|
-
|
|
3
|
-
Kanye improves Capybara's synchronization algorithm by letting the browser finish before the test keeps going. By doing this, Kanye also helps you tailor the swiftness of your feature specs.
|
|
1
|
+
# DMC Kanye
|
|
4
2
|
|
|
3
|
+
[](https://codeclimate.com/github/dmcouncil/dmc_kanye)
|
|
5
4
|
|
|
5
|
+
Kanye improves Capybara's synchronization algorithm by letting the browser finish before the test keeps going. By doing this, Kanye also helps you tailor the swiftness of your feature specs.
|
|
6
6
|
|
|
7
7
|
## How Kanye Works
|
|
8
8
|
|
|
@@ -113,6 +113,10 @@ However, there are a couple of situations that may confuse Kanye:
|
|
|
113
113
|
|
|
114
114
|
In those (hopefully rare) situations, it is recommended that you write your own code into that test to deal with the timing issue, even if it ends up being a dumb `sleep` statement. Kanye provides some [helper methods](driver_helpers.rb) to make your job easier and help you avoid those `sleep` statements.
|
|
115
115
|
|
|
116
|
+
## Contributors
|
|
117
|
+
|
|
118
|
+
DMC Kanye was originally developed by [Wyatt Greene]() and is maintained by [the District Management Council][1].
|
|
119
|
+
|
|
116
120
|
## A note about the name
|
|
117
121
|
|
|
118
122
|
There are more than a few "Kanye" gems in the world already, but the name was just too good to pass up. For open-source release, Kanye has been "namespaced" with the company where it was originally developed, [The District Management Council][1].
|
data/TODO.md
CHANGED
data/dmc_kanye.gemspec
CHANGED
|
@@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
20
|
spec.require_paths = ["lib"]
|
|
21
21
|
|
|
22
|
+
spec.add_dependency "capybara", "~> 2.4.4"
|
|
23
|
+
spec.add_dependency "poltergeist", "~> 1.5"
|
|
22
24
|
spec.add_development_dependency "bundler", "~> 1.9"
|
|
23
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
24
26
|
end
|
data/lib/dmc_kanye/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dmc_kanye
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wyatt Greene
|
|
@@ -9,8 +9,36 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-
|
|
12
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: capybara
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
requirements:
|
|
18
|
+
- - "~>"
|
|
19
|
+
- !ruby/object:Gem::Version
|
|
20
|
+
version: 2.4.4
|
|
21
|
+
type: :runtime
|
|
22
|
+
prerelease: false
|
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - "~>"
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: 2.4.4
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: poltergeist
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - "~>"
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '1.5'
|
|
35
|
+
type: :runtime
|
|
36
|
+
prerelease: false
|
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - "~>"
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '1.5'
|
|
14
42
|
- !ruby/object:Gem::Dependency
|
|
15
43
|
name: bundler
|
|
16
44
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -61,7 +89,6 @@ files:
|
|
|
61
89
|
- lib/dmc_kanye.rb
|
|
62
90
|
- lib/dmc_kanye/config.rb
|
|
63
91
|
- lib/dmc_kanye/driver_helpers.rb
|
|
64
|
-
- lib/dmc_kanye/duck_punching_insurance.rb
|
|
65
92
|
- lib/dmc_kanye/imma_let_you_finish.rb
|
|
66
93
|
- lib/dmc_kanye/version.rb
|
|
67
94
|
- license.txt
|
|
@@ -85,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
85
112
|
version: '0'
|
|
86
113
|
requirements: []
|
|
87
114
|
rubyforge_project:
|
|
88
|
-
rubygems_version: 2.
|
|
115
|
+
rubygems_version: 2.4.8
|
|
89
116
|
signing_key:
|
|
90
117
|
specification_version: 4
|
|
91
118
|
summary: Imma let your AJAX finish, but these are the best feature tests of ALL TIME.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require 'capybara'
|
|
2
|
-
require 'capybara/poltergeist'
|
|
3
|
-
require 'capybara/poltergeist/version'
|
|
4
|
-
|
|
5
|
-
unless Capybara::VERSION == "2.4.4"
|
|
6
|
-
raise "Kanye specifically monkey-patched version 2.4.4 of Capybara. "\
|
|
7
|
-
"You have version #{Capybara::VERSION}. "\
|
|
8
|
-
"Please upgrade the monkey patches along with the gem."
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
unless Capybara::Poltergeist::VERSION == "1.5.1"
|
|
12
|
-
raise "Kanye specifically monkey-patched version 1.5.1 of Poltergeist. "\
|
|
13
|
-
"You have version #{Capybara::Poltergeist::VERSION}. "\
|
|
14
|
-
"Please upgrade the monkey patches along with the gem."
|
|
15
|
-
end
|