rao-view_helper 0.0.19.pre → 0.0.20.pre

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
  SHA256:
3
- metadata.gz: 8f41a651613804f334cc68670b5c5c89a9c63cdad0d85235774862a1bf0889d7
4
- data.tar.gz: 26cb3a5fb539b9fa7a29d1f67e0f81db58c260878a98f3aaf85897d3e5543114
3
+ metadata.gz: f0bcfa5a7cbe0482bdd0b4f90abc91612cf273a2dbbafcf5eab3fceb22f2edc0
4
+ data.tar.gz: c8f54d818166025cadfa57f52a46976b9124dffa79475840abe39e16eb9b85ed
5
5
  SHA512:
6
- metadata.gz: 69e90d4dca7a984e7892862ad92cfedcf08c1314ff9361158586d8a53e836826e6291e6cafbb7ec08237cc5deedab4404606f9ed4f07b8085325311a5903d488
7
- data.tar.gz: c10022f62b93f6fdd62d87b2d278818f2c258edc8abb49469cd5a1c0107ef43e7429ff0e70ff6076a2aca479d7c81ca52ef93e6976e0c6e85ff67a82c6e35c92
6
+ metadata.gz: 04b3249f937e8f21dc17126917749f8adea0bed50cd43f9c71095e2d080913ffa07144dc809fe2dfa73c5b7e62a4cb84b28a20a92cfee8c323a561755978ce56
7
+ data.tar.gz: d13e4f9e822d75e90656cf7519552c621bf9af91a7da79baa1071aea7a783f5ffc0d087c8197d1ad45e62747c682553b6748042a14bac1783757b39058202bff
@@ -46,13 +46,14 @@ module Rao
46
46
  mod.let(:default_url_options) { { host: 'localhost:3000' } }
47
47
  mod.let(:rendered) {
48
48
  if respond_to?(:options)
49
- Capybara::Node::Simple.new(subject.send(method_name, options))
49
+ subject.send(method_name, options)
50
50
  elsif respond_to?(:args)
51
- Capybara::Node::Simple.new(subject.send(method_name, *args))
51
+ subject.send(method_name, *args)
52
52
  else
53
- Capybara::Node::Simple.new(subject.send(method_name))
53
+ subject.send(method_name)
54
54
  end
55
55
  }
56
+ mod.let(:html) { Capybara::Node::Simple.new(rendered) }
56
57
 
57
58
  mod.before(:each) { view.class.send(:define_method, :main_app, -> { Rails.application.class.routes.url_helpers }) }
58
59
  mod.around(:each) do |example|
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rao-view_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19.pre
4
+ version: 0.0.20.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-15 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rao
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +38,20 @@ dependencies:
24
38
  - - ">="
25
39
  - !ruby/object:Gem::Version
26
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sqlite3
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.3.6
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.3.6
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: rspec-rails
29
57
  requirement: !ruby/object:Gem::Requirement