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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a314304d580f5b4b1a0e4632fe02ecade86b924240882743a8806185fade30ea
4
- data.tar.gz: f88f45fc724e133331239600e65ceb24e62bf6736d92334f7a16be609b17fbd1
3
+ metadata.gz: af0f5454fad2f6123912ffa40ce321337d72b38a46f416137bff14175ca54afc
4
+ data.tar.gz: 203880ed6ddba42e5e509ceda78561c1bde41b4df2edb5555f74a66f934a8351
5
5
  SHA512:
6
- metadata.gz: 457925f6c08058685388d7413d92fc9545b2519e7ca5f21a37f0bc411bb861b7e5f67e5fb5bc58e12b1766462db8bf0b8e59c3cc9b65f5c07553a020a69f4459
7
- data.tar.gz: 28e164d2746bc88c2d24cb556a3d67dd9ea487483e913ec0af217c59a8b6f6b8a9993fe90d8e824978cd816900e0b11043a2d7a0aa5ab01779ce3589e9a37fa1
6
+ metadata.gz: 4ccc3764f1169131326d8b8d4a1a614526343dc3b9ba4d102ab009fdad3199f00b73a5fab05b282e346bd18a11f2564f257f355dd8a884b32147f80b5faa09ec
7
+ data.tar.gz: 66023c5a4478c9a2ff6a8affd906808cc1a58322c9a09fc3c46031ace2dc26bc97eec3c1a2e4b30d727ce7d88814408c5e4609e8c5d08cb2de16167e0650a6d4
data/.circleci/config.yml CHANGED
@@ -10,6 +10,7 @@ jobs:
10
10
  - type: cache-restore
11
11
  key: v1-main-{{ checksum "Gemfile.lock" }}
12
12
 
13
+ - run: gem install bundler --version `tail -1 Gemfile.lock`
13
14
  - run: bundle install --path vendor/bundle
14
15
 
15
16
  - type: cache-save
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cypress-rails (0.1.5)
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.4.0)
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.6)
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
- ``` ruby
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 "package.json" }}
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 "package.json" }}
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
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- ENV["RAILS_ENV"] = "test"
3
+ ENV["RAILS_ENV"] ||= "test"
4
4
  require "pathname"
5
5
  require "cypress-rails"
6
6
  require Pathname.new(CypressRails::Config.new.dir).join("config/environment")
@@ -1,3 +1,3 @@
1
1
  module CypressRails
2
- VERSION = "0.1.5"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.5
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-01 00:00:00.000000000 Z
11
+ date: 2020-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties