cypress-on-rails 1.6.0 → 1.7.0

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: c704c33fe50fb989eaf131934d0210c112005e96
4
- data.tar.gz: b53f4ce2fea91a67744f0432a736dd1021fb3c7d
3
+ metadata.gz: fdceb59a86819c5367bbdcf74e91a29a61a5b716
4
+ data.tar.gz: e900005562f5a7b6d921da8851dd78e8d8efbc80
5
5
  SHA512:
6
- metadata.gz: 9f5bff901ec22f23d785eb19597b07fce18ecd87bea209464ce4bc9de4f6ce2238bd5f760f02d98443aa540e32147be1b06cc2dbc33e105d31364c8cfb4c7d91
7
- data.tar.gz: 01c2e5fb7d24cac595e56e1ed24e4b0ed0643715dd4f51b11056806f456867bd2d72dd1cf15c5e583f1d3543ca131eda5783faa15fb9f6be0060134fdb15ae65
6
+ metadata.gz: eaf7e9782d23916147a28f8c83943143b688f3421a1f8985045255054898100abca0ec840b54b95744a0ead8f3fc0a980ebe38f6ab54f92f3cd48e44118ebb1d
7
+ data.tar.gz: 2266629a6a23dd8280123cf1f6f56660764ea1894f482603016e0e560afa094079086863809f5f3931da87d3efcb442aaba87ff0563c8f969cc48cd18721145a
@@ -0,0 +1 @@
1
+ github: [shakacode]
@@ -1,3 +1,12 @@
1
+ ## [1.7.0]
2
+ [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.6.0...v1.7.0
3
+
4
+ ### Changed
5
+ * Improve eval() in command executor [PR 46](https://github.com/shakacode/cypress-on-rails/pull/46) by [Systho](https://github.com/Systho)
6
+
7
+ ### Fixed
8
+ * Add middleware after load_config_initializers [PR 62](https://github.com/shakacode/cypress-on-rails/pull/62) by [duytd](https://github.com/duytd)
9
+
1
10
  ## [1.6.0]
2
11
  [Compare]: https://github.com/shakacode/cypress-on-rails/compare/v1.5.1...v1.6.0
3
12
 
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = CypressOnRails::VERSION
8
8
  s.author = ["miceportal team", 'Grant Petersen-Speelman']
9
9
  s.email = ["info@miceportal.de", 'grantspeelman@gmail.com']
10
- s.homepage = "http://github.com/grantspeelman/cypress-on-rails"
10
+ s.homepage = "http://github.com/shakacode/cypress-on-rails"
11
11
  s.summary = "Integrates cypress with rails or rack applications"
12
12
  s.description = "Integrates cypress with rails or rack applications"
13
13
  s.post_install_message = 'The CypressDev constant is being deprecated and will be completely removed and replaced with CypressOnRails.'
@@ -19,4 +19,11 @@ Gem::Specification.new do |s|
19
19
  s.add_development_dependency 'rake'
20
20
  s.add_development_dependency 'rspec'
21
21
  s.add_development_dependency 'railties', '>= 3.2'
22
+ s.metadata = {
23
+ "bug_tracker_uri" => "https://github.com/shakacode/cypress-on-rails/issues",
24
+ "changelog_uri" => "https://github.com/shakacode/cypress-on-rails/blob/master/CHANGELOG.md",
25
+ "documentation_uri" => "https://github.com/shakacode/cypress-on-rails/blob/master/README.md",
26
+ "homepage_uri" => "http://github.com/shakacode/cypress-on-rails",
27
+ "source_code_uri" => "http://github.com/shakacode/cypress-on-rails"
28
+ }
22
29
  end
@@ -6,7 +6,7 @@ module CypressOnRails
6
6
  def self.load(file,command_options = nil)
7
7
  load_cypress_helper
8
8
  file_data = File.read(file)
9
- eval file_data
9
+ eval file_data, binding, file
10
10
  rescue => e
11
11
  logger.error("fail to execute #{file}: #{e.message}")
12
12
  logger.error(e.backtrace.join("\n"))
@@ -4,7 +4,7 @@ require 'cypress_on_rails/middleware'
4
4
 
5
5
  module CypressOnRails
6
6
  class Railtie < Rails::Railtie
7
- initializer :setup_cypress_middleware do |app|
7
+ initializer :setup_cypress_middleware, after: :load_config_initializers do |app|
8
8
  if CypressOnRails.configuration.use_middleware?
9
9
  app.middleware.use Middleware
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module CypressOnRails
2
- VERSION = '1.6.0'
2
+ VERSION = '1.7.0'
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: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - miceportal team
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-14 00:00:00.000000000 Z
12
+ date: 2020-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -75,6 +75,7 @@ executables: []
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
+ - ".github/FUNDING.yml"
78
79
  - ".gitignore"
79
80
  - ".rspec"
80
81
  - ".travis.yml"
@@ -284,9 +285,14 @@ files:
284
285
  - spec/integrations/rails_5_2/tmp/.keep
285
286
  - spec/integrations/rails_5_2/vendor/.keep
286
287
  - spec/spec_helper.rb
287
- homepage: http://github.com/grantspeelman/cypress-on-rails
288
+ homepage: http://github.com/shakacode/cypress-on-rails
288
289
  licenses: []
289
- metadata: {}
290
+ metadata:
291
+ bug_tracker_uri: https://github.com/shakacode/cypress-on-rails/issues
292
+ changelog_uri: https://github.com/shakacode/cypress-on-rails/blob/master/CHANGELOG.md
293
+ documentation_uri: https://github.com/shakacode/cypress-on-rails/blob/master/README.md
294
+ homepage_uri: http://github.com/shakacode/cypress-on-rails
295
+ source_code_uri: http://github.com/shakacode/cypress-on-rails
290
296
  post_install_message: The CypressDev constant is being deprecated and will be completely
291
297
  removed and replaced with CypressOnRails.
292
298
  rdoc_options: []