cypress-rails 0.1.5 → 0.2.0
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/.circleci/config.yml +1 -0
- data/Gemfile.lock +3 -3
- data/README.md +7 -7
- data/exe/cypress-rails +1 -1
- data/lib/cypress-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af0f5454fad2f6123912ffa40ce321337d72b38a46f416137bff14175ca54afc
|
|
4
|
+
data.tar.gz: 203880ed6ddba42e5e509ceda78561c1bde41b4df2edb5555f74a66f934a8351
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ccc3764f1169131326d8b8d4a1a614526343dc3b9ba4d102ab009fdad3199f00b73a5fab05b282e346bd18a11f2564f257f355dd8a884b32147f80b5faa09ec
|
|
7
|
+
data.tar.gz: 66023c5a4478c9a2ff6a8affd906808cc1a58322c9a09fc3c46031ace2dc26bc97eec3c1a2e4b30d727ce7d88814408c5e4609e8c5d08cb2de16167e0650a6d4
|
data/.circleci/config.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cypress-rails (0.
|
|
4
|
+
cypress-rails (0.2.0)
|
|
5
5
|
puma (>= 3.8.0)
|
|
6
6
|
railties (>= 5.2.0)
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@ GEM
|
|
|
35
35
|
i18n (1.8.2)
|
|
36
36
|
concurrent-ruby (~> 1.0)
|
|
37
37
|
jaro_winkler (1.5.4)
|
|
38
|
-
loofah (2.
|
|
38
|
+
loofah (2.5.0)
|
|
39
39
|
crass (~> 1.0.2)
|
|
40
40
|
nokogiri (>= 1.5.9)
|
|
41
41
|
method_source (1.0.0)
|
|
@@ -80,7 +80,7 @@ GEM
|
|
|
80
80
|
rubocop-performance (~> 1.5.1)
|
|
81
81
|
thor (1.0.1)
|
|
82
82
|
thread_safe (0.3.6)
|
|
83
|
-
tzinfo (1.2.
|
|
83
|
+
tzinfo (1.2.7)
|
|
84
84
|
thread_safe (~> 0.1)
|
|
85
85
|
unicode-display_width (1.6.1)
|
|
86
86
|
zeitwerk (2.3.0)
|
data/README.md
CHANGED
|
@@ -25,7 +25,7 @@ If you're on newer versions of Rails and using
|
|
|
25
25
|
then you're likely already using yarn to manage your JavaScript dependencies. If
|
|
26
26
|
that's the case, you can add Cypress with:
|
|
27
27
|
|
|
28
|
-
```
|
|
28
|
+
```sh
|
|
29
29
|
$ yarn add --dev cypress
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -40,7 +40,7 @@ Now, to install the cypress-rails gem, you'll want to add it to your development
|
|
|
40
40
|
& test gem groups of your Gemfile, so that you have easy access to its rake
|
|
41
41
|
tasks:
|
|
42
42
|
|
|
43
|
-
```
|
|
43
|
+
```ruby
|
|
44
44
|
group :development, :test do
|
|
45
45
|
gem "cypress-rails"
|
|
46
46
|
end
|
|
@@ -48,7 +48,7 @@ end
|
|
|
48
48
|
|
|
49
49
|
Once installed, you'll want to run:
|
|
50
50
|
|
|
51
|
-
```
|
|
51
|
+
```sh
|
|
52
52
|
$ rake cypress:init
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -69,7 +69,7 @@ a wrapper for running `cypress open` with a dedicated Rails test server.
|
|
|
69
69
|
|
|
70
70
|
So, by running:
|
|
71
71
|
|
|
72
|
-
```
|
|
72
|
+
```sh
|
|
73
73
|
$ rake cypress:open
|
|
74
74
|
```
|
|
75
75
|
|
|
@@ -83,7 +83,7 @@ itself.
|
|
|
83
83
|
To run your tests headlessly (e.g. when you're in CI), you'll want the `run`
|
|
84
84
|
command:
|
|
85
85
|
|
|
86
|
-
```
|
|
86
|
+
```sh
|
|
87
87
|
$ rake cypress:run
|
|
88
88
|
```
|
|
89
89
|
|
|
@@ -233,7 +233,7 @@ jobs:
|
|
|
233
233
|
# Yarn dependencies
|
|
234
234
|
- restore_cache:
|
|
235
235
|
keys:
|
|
236
|
-
- v1-yarn-{{ checksum "
|
|
236
|
+
- v1-yarn-{{ checksum "yarn.lock" }}
|
|
237
237
|
# fallback to using the latest cache if no exact match is found
|
|
238
238
|
- v1-yarn-
|
|
239
239
|
|
|
@@ -243,7 +243,7 @@ jobs:
|
|
|
243
243
|
paths:
|
|
244
244
|
- node_modules
|
|
245
245
|
- ~/.cache
|
|
246
|
-
key: v1-yarn-{{ checksum "
|
|
246
|
+
key: v1-yarn-{{ checksum "yarn.lock" }}
|
|
247
247
|
|
|
248
248
|
# Run your cypress tests
|
|
249
249
|
- run: bin/rake cypress:run
|
data/exe/cypress-rails
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cypress-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|