cypress-on-rails 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdfc04b2cd587e4d0e67879f830117416b679968
4
- data.tar.gz: '0784e1cd91281ed2f668ee5ea9dc3b89560a4ef3'
3
+ metadata.gz: 8fa8284b76499413239b719fe098a673359eae92
4
+ data.tar.gz: 6883f365850dc8ff14f71ffb3ceec2e59cc2e737
5
5
  SHA512:
6
- metadata.gz: 6c186111c70d54b2610ff0b18fee74f6fc14c90376c0bb1bb0cc0fd2af998595035b5c7201d85a0e35f3045cf67f9cf8f3374a1988b8637d108a254ad4da852a
7
- data.tar.gz: 1e4c83231e310fada2ad93aa480ae5b1571f55077ce5b57edd90e4bac749fe204efaacf3b21b689b19d6f9f4038a447f1107e1cd394c75474950d07aa727d33f
6
+ metadata.gz: f4f850d9e382356e122be4a794131cad2c745640170b8cf014f013f9ae9e2e19fac87c44890c3fd04b80deee2812b192615c83d0d2620dfd8c0f7fbb65f0d8e0
7
+ data.tar.gz: 72f9ecba621d3a6eeaa53dee71ae4db7bd639b3bfff92601176a475dd61690ebeb2ce8ed36ebeb5236ff94b4981547cd67f1396c69d90c3b7773cb95c9e25c7d
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -17,3 +17,7 @@ module Cypress
17
17
  yield configuration if block_given?
18
18
  end
19
19
  end
20
+
21
+ if defined?(Rails)
22
+ require_relative './cypress/railtie'
23
+ end
@@ -0,0 +1,7 @@
1
+ module Cypress
2
+ class Railtie < Rails::Railtie
3
+ generators do
4
+ require_relative '../generators/install_generator'
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Cypress
2
- VERSION = "0.1".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
@@ -48,5 +48,6 @@ Cypress.Commands.add('setupScenario', function(name) {
48
48
  cy.request('POST', Cypress.env("CALLBACK"), JSON.stringify({ scenario: name }))
49
49
  });
50
50
  FILE
51
+ end
51
52
  end
52
53
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cypress-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - miceportal team
@@ -63,12 +63,14 @@ files:
63
63
  - Gemfile
64
64
  - Gemfile.lock
65
65
  - README.md
66
+ - Rakefile
66
67
  - bin/cypress
67
68
  - cypress-on-rails.gemspec
68
69
  - lib/cypress-on-rails.rb
69
70
  - lib/cypress.rb
70
71
  - lib/cypress/callback_server.rb
71
72
  - lib/cypress/configuration.rb
73
+ - lib/cypress/railtie.rb
72
74
  - lib/cypress/runner.rb
73
75
  - lib/cypress/scenario_bank.rb
74
76
  - lib/cypress/server.rb