parklife 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/tests.yml +62 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/CHANGELOG.md +9 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +103 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/examples/rack/.gitignore +1 -0
- data/examples/rack/Gemfile +4 -0
- data/examples/rack/Gemfile.lock +47 -0
- data/examples/rack/Parkfile +23 -0
- data/examples/rails/.gitignore +26 -0
- data/examples/rails/Gemfile +5 -0
- data/examples/rails/Gemfile.lock +150 -0
- data/examples/rails/Parkfile +6 -0
- data/examples/rails/Rakefile +6 -0
- data/examples/rails/app/assets/config/manifest.js +2 -0
- data/examples/rails/app/assets/stylesheets/application.css +15 -0
- data/examples/rails/app/assets/stylesheets/global.css +4 -0
- data/examples/rails/app/controllers/application_controller.rb +2 -0
- data/examples/rails/app/controllers/posts_controller.rb +9 -0
- data/examples/rails/app/helpers/application_helper.rb +2 -0
- data/examples/rails/app/jobs/application_job.rb +2 -0
- data/examples/rails/app/models/application_record.rb +3 -0
- data/examples/rails/app/models/post.rb +5 -0
- data/examples/rails/app/views/layouts/application.html.erb +14 -0
- data/examples/rails/app/views/posts/index.html.erb +7 -0
- data/examples/rails/app/views/posts/show.html.erb +3 -0
- data/examples/rails/bin/bundle +3 -0
- data/examples/rails/bin/rails +4 -0
- data/examples/rails/bin/rake +4 -0
- data/examples/rails/bin/setup +33 -0
- data/examples/rails/bin/update +28 -0
- data/examples/rails/config/application.rb +35 -0
- data/examples/rails/config/boot.rb +3 -0
- data/examples/rails/config/database.yml +25 -0
- data/examples/rails/config/environment.rb +5 -0
- data/examples/rails/config/environments/development.rb +53 -0
- data/examples/rails/config/environments/production.rb +79 -0
- data/examples/rails/config/environments/test.rb +36 -0
- data/examples/rails/config/initializers/application_controller_renderer.rb +8 -0
- data/examples/rails/config/initializers/assets.rb +12 -0
- data/examples/rails/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/rails/config/initializers/content_security_policy.rb +25 -0
- data/examples/rails/config/initializers/cookies_serializer.rb +5 -0
- data/examples/rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/rails/config/initializers/inflections.rb +16 -0
- data/examples/rails/config/initializers/mime_types.rb +4 -0
- data/examples/rails/config/initializers/wrap_parameters.rb +14 -0
- data/examples/rails/config/locales/en.yml +33 -0
- data/examples/rails/config/routes.rb +5 -0
- data/examples/rails/config.ru +5 -0
- data/examples/rails/data/1-hello-from-parklife.txt +3 -0
- data/examples/rails/data/2-hello-again.txt +3 -0
- data/examples/rails/data/3-magic-number.txt +3 -0
- data/examples/rails/db/migrate/20190507172823_create_posts.rb +11 -0
- data/examples/rails/db/schema.rb +24 -0
- data/examples/rails/db/seeds.rb +10 -0
- data/examples/rails/parklife-build +24 -0
- data/examples/rails/public/404.html +67 -0
- data/examples/rails/public/422.html +67 -0
- data/examples/rails/public/500.html +66 -0
- data/examples/rails/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/rails/public/apple-touch-icon.png +0 -0
- data/examples/rails/public/favicon.ico +0 -0
- data/examples/rails/public/robots.txt +1 -0
- data/examples/sinatra/.gitignore +1 -0
- data/examples/sinatra/Gemfile +4 -0
- data/examples/sinatra/Gemfile.lock +56 -0
- data/examples/sinatra/Parkfile +21 -0
- data/exe/parklife +3 -0
- data/lib/parklife/application.rb +39 -0
- data/lib/parklife/cli.rb +36 -0
- data/lib/parklife/config.rb +14 -0
- data/lib/parklife/crawler.rb +104 -0
- data/lib/parklife/errors.rb +25 -0
- data/lib/parklife/rails.rb +12 -0
- data/lib/parklife/route.rb +23 -0
- data/lib/parklife/route_set.rb +36 -0
- data/lib/parklife/utils.rb +20 -0
- data/lib/parklife/version.rb +3 -0
- data/lib/parklife.rb +8 -0
- data/parklife.gemspec +38 -0
- metadata +217 -0
metadata
ADDED
@@ -0,0 +1,217 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: parklife
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ben Pickles
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capybara
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: thor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- spideryoung@gmail.com
|
100
|
+
executables:
|
101
|
+
- parklife
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".github/workflows/tests.yml"
|
106
|
+
- ".gitignore"
|
107
|
+
- ".rspec"
|
108
|
+
- CHANGELOG.md
|
109
|
+
- CODE_OF_CONDUCT.md
|
110
|
+
- Gemfile
|
111
|
+
- LICENSE.txt
|
112
|
+
- README.md
|
113
|
+
- Rakefile
|
114
|
+
- bin/console
|
115
|
+
- bin/setup
|
116
|
+
- examples/rack/.gitignore
|
117
|
+
- examples/rack/Gemfile
|
118
|
+
- examples/rack/Gemfile.lock
|
119
|
+
- examples/rack/Parkfile
|
120
|
+
- examples/rails/.gitignore
|
121
|
+
- examples/rails/Gemfile
|
122
|
+
- examples/rails/Gemfile.lock
|
123
|
+
- examples/rails/Parkfile
|
124
|
+
- examples/rails/Rakefile
|
125
|
+
- examples/rails/app/assets/config/manifest.js
|
126
|
+
- examples/rails/app/assets/stylesheets/application.css
|
127
|
+
- examples/rails/app/assets/stylesheets/global.css
|
128
|
+
- examples/rails/app/controllers/application_controller.rb
|
129
|
+
- examples/rails/app/controllers/posts_controller.rb
|
130
|
+
- examples/rails/app/helpers/application_helper.rb
|
131
|
+
- examples/rails/app/jobs/application_job.rb
|
132
|
+
- examples/rails/app/models/application_record.rb
|
133
|
+
- examples/rails/app/models/post.rb
|
134
|
+
- examples/rails/app/views/layouts/application.html.erb
|
135
|
+
- examples/rails/app/views/posts/index.html.erb
|
136
|
+
- examples/rails/app/views/posts/show.html.erb
|
137
|
+
- examples/rails/bin/bundle
|
138
|
+
- examples/rails/bin/rails
|
139
|
+
- examples/rails/bin/rake
|
140
|
+
- examples/rails/bin/setup
|
141
|
+
- examples/rails/bin/update
|
142
|
+
- examples/rails/config.ru
|
143
|
+
- examples/rails/config/application.rb
|
144
|
+
- examples/rails/config/boot.rb
|
145
|
+
- examples/rails/config/database.yml
|
146
|
+
- examples/rails/config/environment.rb
|
147
|
+
- examples/rails/config/environments/development.rb
|
148
|
+
- examples/rails/config/environments/production.rb
|
149
|
+
- examples/rails/config/environments/test.rb
|
150
|
+
- examples/rails/config/initializers/application_controller_renderer.rb
|
151
|
+
- examples/rails/config/initializers/assets.rb
|
152
|
+
- examples/rails/config/initializers/backtrace_silencers.rb
|
153
|
+
- examples/rails/config/initializers/content_security_policy.rb
|
154
|
+
- examples/rails/config/initializers/cookies_serializer.rb
|
155
|
+
- examples/rails/config/initializers/filter_parameter_logging.rb
|
156
|
+
- examples/rails/config/initializers/inflections.rb
|
157
|
+
- examples/rails/config/initializers/mime_types.rb
|
158
|
+
- examples/rails/config/initializers/wrap_parameters.rb
|
159
|
+
- examples/rails/config/locales/en.yml
|
160
|
+
- examples/rails/config/routes.rb
|
161
|
+
- examples/rails/data/1-hello-from-parklife.txt
|
162
|
+
- examples/rails/data/2-hello-again.txt
|
163
|
+
- examples/rails/data/3-magic-number.txt
|
164
|
+
- examples/rails/db/migrate/20190507172823_create_posts.rb
|
165
|
+
- examples/rails/db/schema.rb
|
166
|
+
- examples/rails/db/seeds.rb
|
167
|
+
- examples/rails/parklife-build
|
168
|
+
- examples/rails/public/404.html
|
169
|
+
- examples/rails/public/422.html
|
170
|
+
- examples/rails/public/500.html
|
171
|
+
- examples/rails/public/apple-touch-icon-precomposed.png
|
172
|
+
- examples/rails/public/apple-touch-icon.png
|
173
|
+
- examples/rails/public/favicon.ico
|
174
|
+
- examples/rails/public/robots.txt
|
175
|
+
- examples/sinatra/.gitignore
|
176
|
+
- examples/sinatra/Gemfile
|
177
|
+
- examples/sinatra/Gemfile.lock
|
178
|
+
- examples/sinatra/Parkfile
|
179
|
+
- exe/parklife
|
180
|
+
- lib/parklife.rb
|
181
|
+
- lib/parklife/application.rb
|
182
|
+
- lib/parklife/cli.rb
|
183
|
+
- lib/parklife/config.rb
|
184
|
+
- lib/parklife/crawler.rb
|
185
|
+
- lib/parklife/errors.rb
|
186
|
+
- lib/parklife/rails.rb
|
187
|
+
- lib/parklife/route.rb
|
188
|
+
- lib/parklife/route_set.rb
|
189
|
+
- lib/parklife/utils.rb
|
190
|
+
- lib/parklife/version.rb
|
191
|
+
- parklife.gemspec
|
192
|
+
homepage: https://github.com/benpickles/parklife
|
193
|
+
licenses:
|
194
|
+
- MIT
|
195
|
+
metadata:
|
196
|
+
changelog_uri: https://github.com/benpickles/parklife/blob/main/CHANGELOG.md
|
197
|
+
source_code_uri: https://github.com/benpickles/parklife
|
198
|
+
post_install_message:
|
199
|
+
rdoc_options: []
|
200
|
+
require_paths:
|
201
|
+
- lib
|
202
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
requirements: []
|
213
|
+
rubygems_version: 3.4.6
|
214
|
+
signing_key:
|
215
|
+
specification_version: 4
|
216
|
+
summary: Convert a Rack app into a static HTML site.
|
217
|
+
test_files: []
|