capybara-angular 0.2.6 → 0.3.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
- SHA1:
3
- metadata.gz: 07bb2276413ff6990ca7a585e2466bbbaeac3f55
4
- data.tar.gz: 46be6bbca846bd8e3724a601b996fc02838c6d35
2
+ SHA256:
3
+ metadata.gz: bcb03c75ee5122b2ac0feb6410f7592a00a7058539fa4d1a1c0911108a2024bf
4
+ data.tar.gz: 62b1d29e8b1561694249b40efce0804d827814fdf6c468349536ea84135f7b0f
5
5
  SHA512:
6
- metadata.gz: f8141edfd0b75ff1256cc2236dc4547dbc66bd8747434ff3aebc701e40c26aa68047b88ebb0c03aaa2503570ec26444d61fe91f427aa4894845026df0feafd49
7
- data.tar.gz: a31a4525de002d97cd9402c28dc2314d50bf6f0cabe96b85780bf7d2a98952a5df11afe8567df5cc1a45404390c407de77062aea08e79653e153bdb6cf8a583f
6
+ metadata.gz: 1a230af009fe1cc36312d9ac5877549cc5377ec7f2eccb03355ef34c00bc862b75353ff6a5c4d2b74dc30681309ef2806605c034fd53b7c8a57f9f85bb35cecc
7
+ data.tar.gz: d8bb3cbfcfea3594475f67d1a5dab917a0c452b349a5cf4af213c7006fbef20ee338254d86bb94d7d261275032b84756794d3be50cf947f31a96e4638c951f87
@@ -0,0 +1,46 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: test-suite
9
+
10
+ on: [push, pull_request]
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-20.04
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ gemfile: ["rails-7.0.x"]
19
+ ruby: [3.2]
20
+ include:
21
+ - gemfile: rails-7.0.x
22
+ ruby: '3.1'
23
+ - gemfile: rails-7.0.x
24
+ ruby: '3.0'
25
+ - gemfile: rails-7.0.x
26
+ ruby: '2.7'
27
+ - gemfile: rails-6.1.x
28
+ ruby: '3.1'
29
+ - gemfile: rails-6.1.x
30
+ ruby: '3.0'
31
+ - gemfile: rails-6.1.x
32
+ ruby: 2.7
33
+ - gemfile: rails-6.0.x
34
+ ruby: 2.7
35
+ - gemfile: rails-5.2.x
36
+ ruby: 2.7
37
+
38
+ env:
39
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.${{ matrix.gemfile }}
40
+ steps:
41
+ - uses: actions/checkout@v2
42
+ - uses: ruby/setup-ruby@v1
43
+ with:
44
+ ruby-version: ${{ matrix.ruby }}
45
+ bundler-cache: true
46
+ - run: bundle exec rspec
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  .yardoc
6
6
  .rvmrc
7
7
  Gemfile.lock
8
+ gemfiles/*.lock
8
9
  InstalledFiles
9
10
  _yardoc
10
11
  coverage
@@ -17,12 +17,14 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
+ spec.required_ruby_version = ">= 2.7"
20
21
 
21
22
  spec.add_dependency 'capybara', '>= 2.5.0'
22
23
 
23
- spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "bundler", "> 1.17", "< 3"
25
+ spec.add_development_dependency "rails", "> 5.2", "< 7.1"
24
26
  spec.add_development_dependency "rake"
25
27
  spec.add_development_dependency "rspec"
26
28
  spec.add_development_dependency "poltergeist"
27
- spec.add_development_dependency "puma"
29
+ spec.add_development_dependency "puma", "< 6"
28
30
  end
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activerecord', '~> 5.2.0'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activerecord', '~> 6.0.0'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activerecord', '~> 6.1.0'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activerecord', '~> 7.0.0'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activerecord', github: 'rails/rails'
@@ -4,8 +4,8 @@ module Capybara
4
4
  include Capybara::DSL
5
5
 
6
6
  Capybara::Session::DSL_METHODS.each do |method|
7
- define_method(method) do |*args, &block|
8
- page.send(method, *args, &block)
7
+ define_method(method) do |*args, **kwargs, &block|
8
+ page.send(method, *args, **kwargs, &block)
9
9
  end
10
10
  end
11
11
 
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Angular
3
- VERSION = "0.2.6"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -1,4 +1,6 @@
1
1
  require 'rack'
2
+ require 'puma'
3
+ require 'rack/handler/puma'
2
4
  require 'capybara'
3
5
  require 'capybara/rspec'
4
6
  require 'capybara/poltergeist'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-angular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Pierzchala
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-18 00:00:00.000000000 Z
11
+ date: 2022-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -28,16 +28,42 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.3'
33
+ version: '1.17'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '3'
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">"
42
+ - !ruby/object:Gem::Version
43
+ version: '1.17'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '3'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rails
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">"
52
+ - !ruby/object:Gem::Version
53
+ version: '5.2'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '7.1'
34
57
  type: :development
35
58
  prerelease: false
36
59
  version_requirements: !ruby/object:Gem::Requirement
37
60
  requirements:
38
- - - "~>"
61
+ - - ">"
39
62
  - !ruby/object:Gem::Version
40
- version: '1.3'
63
+ version: '5.2'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '7.1'
41
67
  - !ruby/object:Gem::Dependency
42
68
  name: rake
43
69
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +110,16 @@ dependencies:
84
110
  name: puma
85
111
  requirement: !ruby/object:Gem::Requirement
86
112
  requirements:
87
- - - ">="
113
+ - - "<"
88
114
  - !ruby/object:Gem::Version
89
- version: '0'
115
+ version: '6'
90
116
  type: :development
91
117
  prerelease: false
92
118
  version_requirements: !ruby/object:Gem::Requirement
93
119
  requirements:
94
- - - ">="
120
+ - - "<"
95
121
  - !ruby/object:Gem::Version
96
- version: '0'
122
+ version: '6'
97
123
  description: Capybara API that knows how to wait for Angular in end to end specs
98
124
  email:
99
125
  - pawelpierzchala@gmail.com
@@ -101,6 +127,7 @@ executables: []
101
127
  extensions: []
102
128
  extra_rdoc_files: []
103
129
  files:
130
+ - ".github/workflows/test-suite.yml"
104
131
  - ".gitignore"
105
132
  - ".travis.yml"
106
133
  - Gemfile
@@ -108,6 +135,11 @@ files:
108
135
  - README.md
109
136
  - Rakefile
110
137
  - capybara-angular.gemspec
138
+ - gemfiles/Gemfile.rails-5.2.x
139
+ - gemfiles/Gemfile.rails-6.0.x
140
+ - gemfiles/Gemfile.rails-6.1.x
141
+ - gemfiles/Gemfile.rails-7.0.x
142
+ - gemfiles/Gemfile.rails-edge
111
143
  - lib/capybara/angular.rb
112
144
  - lib/capybara/angular/dsl.rb
113
145
  - lib/capybara/angular/version.rb
@@ -125,7 +157,7 @@ homepage: ''
125
157
  licenses:
126
158
  - MIT
127
159
  metadata: {}
128
- post_install_message:
160
+ post_install_message:
129
161
  rdoc_options: []
130
162
  require_paths:
131
163
  - lib
@@ -133,16 +165,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
165
  requirements:
134
166
  - - ">="
135
167
  - !ruby/object:Gem::Version
136
- version: '0'
168
+ version: '2.7'
137
169
  required_rubygems_version: !ruby/object:Gem::Requirement
138
170
  requirements:
139
171
  - - ">="
140
172
  - !ruby/object:Gem::Version
141
173
  version: '0'
142
174
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.6.12
145
- signing_key:
175
+ rubygems_version: 3.1.6
176
+ signing_key:
146
177
  specification_version: 4
147
178
  summary: Stable Capybara API for AngularJS applications
148
179
  test_files: