cypress-on-rails 0.2.0 → 0.2.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: 5043512be34402217f8e93420dafe69700bab374
4
- data.tar.gz: 645216c886a702ea0713a890967965d8043fa480
3
+ metadata.gz: 8762cf84e20062be632dd2afb9daa9a18f8dc135
4
+ data.tar.gz: 984e4fc9d4e57d37d8bcb0c178d7300f3238466c
5
5
  SHA512:
6
- metadata.gz: 408182ff3eab4bb571cc2c7f969c564968d7f7e4bf96e7e179fd4bec4c6c27380d75586522c1dc59990b5dae0549481e67c1dcbff888148fa1d6fef1ca3c09eb
7
- data.tar.gz: 39588bdf7da33febdd7184c290ecb062d9ee9402ab3a67f06f9ad4947cc236db3a63abaf9886514202cd36c05c8ad5971f0b0c1a83a5dbf712724ce63c961921
6
+ metadata.gz: ba4089f43f7a9ee705afff94f497ec97e4af84fef58a272b9187179483374917a3e3c152a0c2f1affeb887b50151c9ab7839d368cf6460be4521ffb8f6f4f309
7
+ data.tar.gz: 231b22c495f603891792094c6dad9b858b2be1ea654dc168c19712e80771ada697ea07ac829c02ea56ffea3d0cbe9be37779b0503da13164dc8096699fc90f17
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.1 (2017-11-05)
2
+ ### Fixed
3
+ * fix failure in api tests
4
+
1
5
  ## 0.2.0 (2017-11-05)
2
6
  ### Changed
3
7
  * remove the need for a seperate port for the setup calls. Requires rerunning `cypress:install` generator
@@ -7,7 +7,7 @@ module Cypress
7
7
  end
8
8
 
9
9
  def call(env)
10
- if env['REQUEST_PATH'].starts_with?('/__cypress__/')
10
+ if env['REQUEST_PATH'].to_s.starts_with?('/__cypress__/')
11
11
  path = env['REQUEST_PATH'].sub('/__cypress__/', '')
12
12
  cmd = path.split('/').first
13
13
  if respond_to?("handle_#{cmd}", true)
@@ -1,3 +1,3 @@
1
1
  module Cypress
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - miceportal team