dry-web-roda 0.7.2 → 0.7.3

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: c91709bcdb1b333720bc1124d6992412b9ef02a8
4
- data.tar.gz: 06a074c7898872e24d2f3864cbfa627e25f915fc
3
+ metadata.gz: '0880eb4f59f005cab77a367955ccfa1714645e9b'
4
+ data.tar.gz: e1f524aed2cbf74a1a1b5d0675ff1a3bda13f39b
5
5
  SHA512:
6
- metadata.gz: a6c63c95d36d2258a85dca1cf262d38cc71417558500cfc18043b97899a53e379c12cc38a70cab2c991de268be894b2ca2ff4a9494ff4dc7119385cc78b2df79
7
- data.tar.gz: a2be1542d793490c4f77c41700a59810d17e7f98ab49e5a6316ea4590a0b661202b27c5395570d8a778dd65950e647a06b88eb99a80cb2f9410504eef28290b6
6
+ metadata.gz: 881d050b55fd571e21fe98e2817dc612432ffd9acb6c672e5fe4c760b6485f481cfb6bc5e74f4bdd8feb474d63d5bc45d4e62a1679d21a77684b69df8b2d48f7
7
+ data.tar.gz: 8a990f3f980914fff124e834a41b50e9ed4f9d4482ff3087a823faa5bbd24d2062b4a94d16e2827128715b0a5ce1e0185e6b80753e8b361bb0494e2c7b99aa64
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # 0.7.3 - 2017-07-10
2
+
3
+ ### Fixed
4
+
5
+ - `#call` matcher blocks work properly when inheriting from `Operation` in generated project (alejandrobabio)
6
+
7
+ ### Changed
8
+
9
+ - In generated project, require `pry-byebug` instead of `byebug` alone (alejandrobabio)
10
+ - In generated project's `web_spec_helper.rb`, use updated `save_path` setting for Capybara (alejandrobabio )
11
+
1
12
  # 0.7.2 - 2017-07-03
2
13
 
3
14
  ### Fixed
@@ -6,3 +6,6 @@
6
6
 
7
7
  # Logs
8
8
  /log/*.log
9
+
10
+ # Temp files
11
+ tmp/*
@@ -4,6 +4,8 @@ require "dry/transaction/operation"
4
4
 
5
5
  module <%= config[:camel_cased_app_name] %>
6
6
  class Operation
7
- include Dry::Transaction::Operation
7
+ def self.inherited(subclass)
8
+ subclass.include Dry::Transaction::Operation
9
+ end
8
10
  end
9
11
  end
@@ -1,6 +1,6 @@
1
1
  ENV["RACK_ENV"] = "test"
2
2
 
3
- require "byebug"
3
+ require "pry-byebug"
4
4
 
5
5
  SPEC_ROOT = Pathname(__FILE__).dirname
6
6
 
@@ -12,7 +12,7 @@ require SPEC_ROOT.join("../system/boot").realpath
12
12
 
13
13
  Capybara.app = Test::WebHelpers.app
14
14
  Capybara.server_port = 3001
15
- Capybara.save_and_open_page_path = "#{File.dirname(__FILE__)}/../tmp/capybara-screenshot"
15
+ Capybara.save_path = "#{File.dirname(__FILE__)}/../tmp/capybara-screenshot"
16
16
  Capybara.javascript_driver = :poltergeist
17
17
  Capybara::Screenshot.prune_strategy = {keep: 10}
18
18
 
@@ -1,7 +1,7 @@
1
1
  module Dry
2
2
  module Web
3
3
  module Roda
4
- VERSION = "0.7.2".freeze
4
+ VERSION = "0.7.3".freeze
5
5
  end
6
6
  end
7
7
  end
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- require "byebug"
1
+ require "pry-byebug"
2
2
 
3
3
  SPEC_ROOT = Pathname(__dir__)
4
4
  TEST_APP_NAME = "test_app".freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-web-roda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-03 00:00:00.000000000 Z
11
+ date: 2017-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable