page_magic 2.0.6 → 2.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -7
  3. data/lib/page_magic/session.rb +0 -6
  4. data/lib/page_magic/version.rb +3 -0
  5. metadata +81 -88
  6. data/.codeclimate.yml +0 -4
  7. data/.pullreview.yml +0 -14
  8. data/.rspec +0 -1
  9. data/.rubocop.yml +0 -39
  10. data/.simplecov +0 -10
  11. data/.zsh_config +0 -6
  12. data/Dockerfile +0 -11
  13. data/Gemfile +0 -24
  14. data/Gemfile.lock +0 -175
  15. data/Makefile +0 -17
  16. data/Rakefile +0 -32
  17. data/VERSION +0 -1
  18. data/circle.yml +0 -8
  19. data/page_magic.gemspec +0 -128
  20. data/spec/lib/active_support/core_ext/object/to_query_test.rb +0 -78
  21. data/spec/page_magic/class_methods_spec.rb +0 -92
  22. data/spec/page_magic/comparator/fuzzy_spec.rb +0 -44
  23. data/spec/page_magic/comparator/literal_spec.rb +0 -41
  24. data/spec/page_magic/comparator/null_spec.rb +0 -35
  25. data/spec/page_magic/comparator/parameter_map_spec.rb +0 -75
  26. data/spec/page_magic/driver_spec.rb +0 -40
  27. data/spec/page_magic/drivers/poltergeist_spec.rb +0 -8
  28. data/spec/page_magic/drivers/rack_test_spec.rb +0 -8
  29. data/spec/page_magic/drivers/selenium_spec.rb +0 -15
  30. data/spec/page_magic/drivers_spec.rb +0 -48
  31. data/spec/page_magic/element/locators_spec.rb +0 -36
  32. data/spec/page_magic/element/not_found_spec.rb +0 -24
  33. data/spec/page_magic/element/query/multiple_results_spec.rb +0 -14
  34. data/spec/page_magic/element/query/single_result_spec.rb +0 -21
  35. data/spec/page_magic/element/query_spec.rb +0 -38
  36. data/spec/page_magic/element/selector_spec.rb +0 -166
  37. data/spec/page_magic/element_context_spec.rb +0 -72
  38. data/spec/page_magic/element_definition_builder_spec.rb +0 -19
  39. data/spec/page_magic/element_spec.rb +0 -256
  40. data/spec/page_magic/elements/config_spec.rb +0 -203
  41. data/spec/page_magic/elements_spec.rb +0 -125
  42. data/spec/page_magic/instance_methods_spec.rb +0 -90
  43. data/spec/page_magic/mapping_spec.rb +0 -181
  44. data/spec/page_magic/session_methods_spec.rb +0 -40
  45. data/spec/page_magic/session_spec.rb +0 -164
  46. data/spec/page_magic/transitions_spec.rb +0 -43
  47. data/spec/page_magic/utils/string_spec.rb +0 -29
  48. data/spec/page_magic/utils/url_spec.rb +0 -9
  49. data/spec/page_magic/wait_methods_spec.rb +0 -35
  50. data/spec/page_magic/watcher_spec.rb +0 -22
  51. data/spec/page_magic/watchers_spec.rb +0 -80
  52. data/spec/page_magic_spec.rb +0 -115
  53. data/spec/spec_helper.rb +0 -15
  54. data/spec/support/shared_contexts.rb +0 -5
  55. data/spec/support/shared_examples.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7b8858f26d2ad1707e6794203ff6baa033d1dea8b37bb4e0eb157dd55a26acb
4
- data.tar.gz: bfa7c58212c4b386157937d71938cd77d5ba3d44eb9efdd0d8aea386c1ce6da4
3
+ metadata.gz: 4a1779f02c5e51ae2a16f1ca45f77e43b6d891a5e413eae0b416a1dba041dbed
4
+ data.tar.gz: cbc433701925d894a528fbd85a27d2f2a7724f8227eb14df397dc5b51cfe67f3
5
5
  SHA512:
6
- metadata.gz: 433e06325664275b12409149f505e9efa4d8fe92d6adf1d8bed0143ec01b40c55125f9b1bdf540500e235d907e8dabb27f2909151706c23517a8ee7ca5b33f99
7
- data.tar.gz: 204bfd306301d0ab197206cac155a95bf7d9ac1442639f35c3570deb827b0b2259127f504477e06a0646a562d98d7eeba883441b328d6289c22331490bdceb2f
6
+ metadata.gz: 7b0577fa8a5b173bb7cdbba3801db3023fb38885eec2db35b817668509700c1e21ed3baeffbeb21ee3d6a92233d1cede7893b89fad68059ebeca0509ea3d280d
7
+ data.tar.gz: 535333b36e9bb19ab152fe7f39ead3c3da30c26f4ad0a717d32daccc728c137131fe2677b8ec3e44188b93d37e5d249f113fc20df95fc26e14453fd542f8b5fc
data/README.md CHANGED
@@ -1,10 +1,5 @@
1
- [![Gem Version](https://badge.fury.io/rb/page_magic.svg)](https://badge.fury.io/rb/page_magic)
2
- [![Dependency Status](https://gemnasium.com/lvl-up/page_magic.svg)](https://gemnasium.com/Ladtech/page_magic)
3
- [![CircleCI](https://circleci.com/gh/lvl-up/page_magic.svg?style=shield&circle-token=49c8f6869c1e0dc6f3b368e6e22a11fcea3aab8a)](https://circleci.com/gh/lvl-up/page_magic)
4
- [![Code Climate](https://codeclimate.com/github/Ladtech/page_magic/badges/gpa.svg)](https://codeclimate.com/github/Ladtech/page_magic)
5
- [![Test Coverage](https://codeclimate.com/github/Ladtech/page_magic/badges/coverage.svg)](https://codeclimate.com/github/Ladtech/page_magic/coverage)
6
- [![PullReview stats](https://www.pullreview.com/github/lvl-up/page_magic/badges/master.svg?)](https://www.pullreview.com/github/lvl-up/page_magic/reviews/master)
7
- #PageMagic
1
+ # PageMagic
2
+
8
3
  PageMagic is an API for testing web applications.
9
4
 
10
5
  It has a simple but powerful DSL which makes modelling and interacting with your pages easy.
@@ -70,12 +70,6 @@ module PageMagic
70
70
  super || current_page.respond_to?(*args) || raw_session.respond_to?(*args)
71
71
  end
72
72
 
73
- # calls select on directly on `Capybara::Session` this is to stop `Kernel#select` being the method
74
- # called when using `#send` to call this method
75
- def select(...)
76
- raw_session.select(...)
77
- end
78
-
79
73
  # Direct the browser to the given page or url. {Session#current_page} will be set be an instance of the given/mapped
80
74
  # page class
81
75
  # @overload visit(page: page_object)
@@ -0,0 +1,3 @@
1
+ module PageMagic
2
+ VERSION = '2.0.12'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: page_magic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Davis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-07 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,110 +16,152 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: '3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.0'
40
+ version: '3'
41
41
  - !ruby/object:Gem::Dependency
42
- name: github-markup
42
+ name: gem-release
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: poltergeist
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ">="
66
+ - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '0'
68
+ version: '1'
55
69
  - !ruby/object:Gem::Dependency
56
- name: jeweler
70
+ name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ">="
73
+ - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '0'
75
+ version: '13'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ">="
80
+ - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '0'
82
+ version: '13'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: redcarpet
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - ">="
87
+ - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '0'
89
+ version: '3'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - ">="
94
+ - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '0'
96
+ version: '3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3'
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: rubocop
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
- - - ">="
115
+ - - "~>"
88
116
  - !ruby/object:Gem::Version
89
- version: '0'
117
+ version: '1'
90
118
  type: :development
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
- - - ">="
122
+ - - "~>"
95
123
  - !ruby/object:Gem::Version
96
- version: '0'
124
+ version: '1'
97
125
  - !ruby/object:Gem::Dependency
98
126
  name: rubocop-rspec
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
- - - ">="
129
+ - - "~>"
102
130
  - !ruby/object:Gem::Version
103
- version: '0'
131
+ version: '2'
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
- - - ">="
136
+ - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: '0'
138
+ version: '2'
111
139
  - !ruby/object:Gem::Dependency
112
- name: ruby-debug-ide
140
+ name: selenium-webdriver
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - ">="
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '3'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '3'
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
116
158
  - !ruby/object:Gem::Version
117
159
  version: '0'
118
160
  type: :development
119
161
  prerelease: false
120
162
  version_requirements: !ruby/object:Gem::Requirement
121
163
  requirements:
122
- - - ">="
164
+ - - "~>"
123
165
  - !ruby/object:Gem::Version
124
166
  version: '0'
125
167
  - !ruby/object:Gem::Dependency
@@ -128,14 +170,14 @@ dependencies:
128
170
  requirements:
129
171
  - - "~>"
130
172
  - !ruby/object:Gem::Version
131
- version: '0.8'
173
+ version: '0'
132
174
  type: :development
133
175
  prerelease: false
134
176
  version_requirements: !ruby/object:Gem::Requirement
135
177
  requirements:
136
178
  - - "~>"
137
179
  - !ruby/object:Gem::Version
138
- version: '0.8'
180
+ version: '0'
139
181
  description: Framework for modeling and interacting with webpages which wraps capybara
140
182
  email: info@lvl-up.uk
141
183
  executables: []
@@ -143,21 +185,8 @@ extensions: []
143
185
  extra_rdoc_files:
144
186
  - README.md
145
187
  files:
146
- - ".codeclimate.yml"
147
- - ".pullreview.yml"
148
- - ".rspec"
149
- - ".rubocop.yml"
150
- - ".simplecov"
151
188
  - ".yardopts"
152
- - ".zsh_config"
153
- - Dockerfile
154
- - Gemfile
155
- - Gemfile.lock
156
- - Makefile
157
189
  - README.md
158
- - Rakefile
159
- - VERSION
160
- - circle.yml
161
190
  - lib/active_support/core_ext/object/to_query.rb
162
191
  - lib/page_magic.rb
163
192
  - lib/page_magic/class_methods.rb
@@ -195,49 +224,13 @@ files:
195
224
  - lib/page_magic/transitions.rb
196
225
  - lib/page_magic/utils/string.rb
197
226
  - lib/page_magic/utils/url.rb
227
+ - lib/page_magic/version.rb
198
228
  - lib/page_magic/wait_methods.rb
199
229
  - lib/page_magic/watcher.rb
200
230
  - lib/page_magic/watchers.rb
201
- - page_magic.gemspec
202
- - spec/lib/active_support/core_ext/object/to_query_test.rb
203
- - spec/page_magic/class_methods_spec.rb
204
- - spec/page_magic/comparator/fuzzy_spec.rb
205
- - spec/page_magic/comparator/literal_spec.rb
206
- - spec/page_magic/comparator/null_spec.rb
207
- - spec/page_magic/comparator/parameter_map_spec.rb
208
- - spec/page_magic/driver_spec.rb
209
- - spec/page_magic/drivers/poltergeist_spec.rb
210
- - spec/page_magic/drivers/rack_test_spec.rb
211
- - spec/page_magic/drivers/selenium_spec.rb
212
- - spec/page_magic/drivers_spec.rb
213
- - spec/page_magic/element/locators_spec.rb
214
- - spec/page_magic/element/not_found_spec.rb
215
- - spec/page_magic/element/query/multiple_results_spec.rb
216
- - spec/page_magic/element/query/single_result_spec.rb
217
- - spec/page_magic/element/query_spec.rb
218
- - spec/page_magic/element/selector_spec.rb
219
- - spec/page_magic/element_context_spec.rb
220
- - spec/page_magic/element_definition_builder_spec.rb
221
- - spec/page_magic/element_spec.rb
222
- - spec/page_magic/elements/config_spec.rb
223
- - spec/page_magic/elements_spec.rb
224
- - spec/page_magic/instance_methods_spec.rb
225
- - spec/page_magic/mapping_spec.rb
226
- - spec/page_magic/session_methods_spec.rb
227
- - spec/page_magic/session_spec.rb
228
- - spec/page_magic/transitions_spec.rb
229
- - spec/page_magic/utils/string_spec.rb
230
- - spec/page_magic/utils/url_spec.rb
231
- - spec/page_magic/wait_methods_spec.rb
232
- - spec/page_magic/watcher_spec.rb
233
- - spec/page_magic/watchers_spec.rb
234
- - spec/page_magic_spec.rb
235
- - spec/spec_helper.rb
236
- - spec/support/shared_contexts.rb
237
- - spec/support/shared_examples.rb
238
- homepage: https://github.com/ladtech/page_magic
231
+ homepage: https://github.com/lvl-up/page_magic
239
232
  licenses:
240
- - ruby
233
+ - Ruby
241
234
  metadata: {}
242
235
  post_install_message:
243
236
  rdoc_options: []
@@ -247,7 +240,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
247
240
  requirements:
248
241
  - - ">="
249
242
  - !ruby/object:Gem::Version
250
- version: '2.1'
243
+ version: '2.5'
251
244
  required_rubygems_version: !ruby/object:Gem::Requirement
252
245
  requirements:
253
246
  - - ">="
data/.codeclimate.yml DELETED
@@ -1,4 +0,0 @@
1
- languages:
2
- Ruby: true
3
- exclude_paths:
4
- - "spec/*"
data/.pullreview.yml DELETED
@@ -1,14 +0,0 @@
1
- ---
2
- languages:
3
- - ruby
4
- rules:
5
- test_infection:
6
- except:
7
- - 'lib/page_magic/exceptions*'
8
- missing_class_documentation:
9
- except:
10
- - 'lib/page_magic/element/query.rb'
11
- - 'lib/page_magic/element/selector.rb'
12
- - 'lib/page_magic/element/method_observer.rb'
13
- - 'lib/page_magic/element.rb'
14
- - 'lib/page_magic/session.rb'
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --require 'spec_helper'
data/.rubocop.yml DELETED
@@ -1,39 +0,0 @@
1
- require: rubocop-rspec
2
-
3
- Layout/LineLength:
4
- Max: 120
5
-
6
- AllCops:
7
- NewCops: enable
8
- TargetRubyVersion: 2.7
9
- Exclude:
10
- - 'lib/active_support/**/*'
11
- - 'spec/lib/active_support/**/*'
12
- - 'pkg/**/*'
13
- - 'vendor/**/*'
14
- - 'coverage/**/*'
15
- - '.idea/**/*'
16
- - '*.gemspec'
17
-
18
- Metrics/ParameterLists:
19
- CountKeywordArgs: false
20
-
21
- Metrics/MethodLength:
22
- Max: 11
23
-
24
- #Style/MethodMissing:
25
- # Enabled: false
26
-
27
- Metrics/BlockLength:
28
- Enabled: true
29
- Exclude:
30
- - 'spec/**/*'
31
-
32
- Style/PercentLiteralDelimiters:
33
- PreferredDelimiters:
34
- default: ()
35
- '%i': '[]'
36
- '%I': '[]'
37
- '%r': '{}'
38
- '%w': '[]'
39
- '%W': '[]'
data/.simplecov DELETED
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'pullreview/coverage'
4
-
5
- SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, PullReview::Coverage::Formatter]
6
-
7
- SimpleCov.start do
8
- add_filter '/spec/'
9
- add_filter '/lib/active_support/core_ext/object/to_query.rb'
10
- end
data/.zsh_config DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env bash
2
- alias bundle="docker run -v $(pwd):/page_magic -t lvl-up/page-magic bundle"
3
- alias ruby="bundle exec ruby"
4
- alias rake="bundle exec rake"
5
- alias rubocop="bundle exec rubocop"
6
- alias gem="docker run -v $(pwd):/page_magic -t lvl-up/page-magic gem"
data/Dockerfile DELETED
@@ -1,11 +0,0 @@
1
- FROM ruby:2.7.2-alpine
2
-
3
- ENV APP_HOME /page_magic
4
- RUN mkdir $APP_HOME
5
-
6
- COPY . $APP_HOME
7
- WORKDIR $APP_HOME
8
-
9
- RUN apk --update --no-cache add build-base git
10
- RUN bundle install
11
- RUN rm -rf $APP_HOME
data/Gemfile DELETED
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activesupport'
6
- gem 'capybara', '>=3.0'
7
-
8
- group :test do
9
- gem 'poltergeist'
10
- gem 'rspec', require: 'rspec/core/rake_task'
11
- gem 'selenium-webdriver'
12
- gem 'simplecov', require: false
13
- gem 'sinatra'
14
- end
15
-
16
- group :development do
17
- gem 'github-markup'
18
- gem 'jeweler'
19
- gem 'redcarpet'
20
- gem 'rubocop', require: 'rubocop/rake_task'
21
- gem 'rubocop-rspec', require: false
22
- gem 'ruby-debug-ide', require: false
23
- gem 'yard', '~> 0.8'
24
- end
data/Gemfile.lock DELETED
@@ -1,175 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- activesupport (6.1.3.1)
5
- concurrent-ruby (~> 1.0, >= 1.0.2)
6
- i18n (>= 1.6, < 2)
7
- minitest (>= 5.1)
8
- tzinfo (~> 2.0)
9
- zeitwerk (~> 2.3)
10
- addressable (2.4.0)
11
- ast (2.4.2)
12
- builder (3.2.4)
13
- capybara (3.35.3)
14
- addressable
15
- mini_mime (>= 0.1.3)
16
- nokogiri (~> 1.8)
17
- rack (>= 1.6.0)
18
- rack-test (>= 0.6.3)
19
- regexp_parser (>= 1.5, < 3.0)
20
- xpath (~> 3.2)
21
- childprocess (3.0.0)
22
- cliver (0.3.2)
23
- concurrent-ruby (1.1.8)
24
- descendants_tracker (0.0.4)
25
- thread_safe (~> 0.3, >= 0.3.1)
26
- diff-lcs (1.4.4)
27
- docile (1.3.5)
28
- faraday (0.9.2)
29
- multipart-post (>= 1.2, < 3)
30
- git (1.8.1)
31
- rchardet (~> 1.8)
32
- github-markup (4.0.0)
33
- github_api (0.16.0)
34
- addressable (~> 2.4.0)
35
- descendants_tracker (~> 0.0.4)
36
- faraday (~> 0.8, < 0.10)
37
- hashie (>= 3.4)
38
- mime-types (>= 1.16, < 3.0)
39
- oauth2 (~> 1.0)
40
- hashie (4.1.0)
41
- highline (2.0.3)
42
- i18n (1.8.10)
43
- concurrent-ruby (~> 1.0)
44
- jeweler (2.3.9)
45
- builder
46
- bundler
47
- git (>= 1.2.5)
48
- github_api (~> 0.16.0)
49
- highline (>= 1.6.15)
50
- nokogiri (>= 1.5.10)
51
- psych
52
- rake
53
- rdoc
54
- semver2
55
- jwt (2.2.2)
56
- mime-types (2.99.3)
57
- mini_mime (1.1.0)
58
- mini_portile2 (2.5.0)
59
- minitest (5.14.4)
60
- multi_json (1.15.0)
61
- multi_xml (0.6.0)
62
- multipart-post (2.1.1)
63
- mustermann (1.1.1)
64
- ruby2_keywords (~> 0.0.1)
65
- nokogiri (1.11.3)
66
- mini_portile2 (~> 2.5.0)
67
- racc (~> 1.4)
68
- oauth2 (1.4.7)
69
- faraday (>= 0.8, < 2.0)
70
- jwt (>= 1.0, < 3.0)
71
- multi_json (~> 1.3)
72
- multi_xml (~> 0.5)
73
- rack (>= 1.2, < 3)
74
- parallel (1.20.1)
75
- parser (3.0.1.1)
76
- ast (~> 2.4.1)
77
- poltergeist (1.18.1)
78
- capybara (>= 2.1, < 4)
79
- cliver (~> 0.3.1)
80
- websocket-driver (>= 0.2.0)
81
- psych (3.3.1)
82
- racc (1.5.2)
83
- rack (2.2.3)
84
- rack-protection (2.1.0)
85
- rack
86
- rack-test (1.1.0)
87
- rack (>= 1.0, < 3)
88
- rainbow (3.0.0)
89
- rake (13.0.3)
90
- rchardet (1.8.0)
91
- rdoc (6.3.0)
92
- redcarpet (3.5.1)
93
- regexp_parser (2.1.1)
94
- rexml (3.2.5)
95
- rspec (3.10.0)
96
- rspec-core (~> 3.10.0)
97
- rspec-expectations (~> 3.10.0)
98
- rspec-mocks (~> 3.10.0)
99
- rspec-core (3.10.1)
100
- rspec-support (~> 3.10.0)
101
- rspec-expectations (3.10.1)
102
- diff-lcs (>= 1.2.0, < 2.0)
103
- rspec-support (~> 3.10.0)
104
- rspec-mocks (3.10.2)
105
- diff-lcs (>= 1.2.0, < 2.0)
106
- rspec-support (~> 3.10.0)
107
- rspec-support (3.10.2)
108
- rubocop (1.15.0)
109
- parallel (~> 1.10)
110
- parser (>= 3.0.0.0)
111
- rainbow (>= 2.2.2, < 4.0)
112
- regexp_parser (>= 1.8, < 3.0)
113
- rexml
114
- rubocop-ast (>= 1.5.0, < 2.0)
115
- ruby-progressbar (~> 1.7)
116
- unicode-display_width (>= 1.4.0, < 3.0)
117
- rubocop-ast (1.5.0)
118
- parser (>= 3.0.1.1)
119
- rubocop-rspec (2.1.0)
120
- rubocop (~> 1.0)
121
- rubocop-ast (>= 1.1.0)
122
- ruby-debug-ide (0.7.2)
123
- rake (>= 0.8.1)
124
- ruby-progressbar (1.11.0)
125
- ruby2_keywords (0.0.4)
126
- rubyzip (2.3.0)
127
- selenium-webdriver (3.142.7)
128
- childprocess (>= 0.5, < 4.0)
129
- rubyzip (>= 1.2.2)
130
- semver2 (3.4.2)
131
- simplecov (0.21.2)
132
- docile (~> 1.1)
133
- simplecov-html (~> 0.11)
134
- simplecov_json_formatter (~> 0.1)
135
- simplecov-html (0.12.3)
136
- simplecov_json_formatter (0.1.2)
137
- sinatra (2.1.0)
138
- mustermann (~> 1.0)
139
- rack (~> 2.2)
140
- rack-protection (= 2.1.0)
141
- tilt (~> 2.0)
142
- thread_safe (0.3.6)
143
- tilt (2.0.10)
144
- tzinfo (2.0.4)
145
- concurrent-ruby (~> 1.0)
146
- unicode-display_width (2.0.0)
147
- websocket-driver (0.7.3)
148
- websocket-extensions (>= 0.1.0)
149
- websocket-extensions (0.1.5)
150
- xpath (3.2.0)
151
- nokogiri (~> 1.8)
152
- yard (0.9.26)
153
- zeitwerk (2.4.2)
154
-
155
- PLATFORMS
156
- ruby
157
-
158
- DEPENDENCIES
159
- activesupport
160
- capybara (>= 3.0)
161
- github-markup
162
- jeweler
163
- poltergeist
164
- redcarpet
165
- rspec
166
- rubocop
167
- rubocop-rspec
168
- ruby-debug-ide
169
- selenium-webdriver
170
- simplecov
171
- sinatra
172
- yard (~> 0.8)
173
-
174
- BUNDLED WITH
175
- 2.1.4
data/Makefile DELETED
@@ -1,17 +0,0 @@
1
- .PHONY: help
2
- DOCKER_IMAGE = lvl-up/page-magic
3
- MOUNT_DIR = /page_magic
4
-
5
- help:
6
- @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
7
-
8
- docker: ## build project docker image
9
- docker build -t $(DOCKER_IMAGE) .
10
-
11
- test: ## Run tests
12
- docker run -v $(PWD):$(MOUNT_DIR) -w $(MOUNT_DIR) -t $(DOCKER_IMAGE) bundle exec rspec
13
-
14
- build: docker ## build gem
15
- rake build
16
-
17
- all: docker test build ## run all targets before building gem