geb 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +56 -12
- data/lib/geb/commands/server.rb +3 -2
- data/lib/geb/config.rb +88 -0
- data/lib/geb/defaults.rb +2 -2
- data/lib/geb/page.rb +35 -3
- data/lib/geb/samples/basic/assets/css/site.css +41 -2
- data/lib/geb/samples/basic/geb.config.yml +19 -3
- data/lib/geb/samples/basic/index.html +24 -1
- data/lib/geb/samples/basic/shared/partials/_footer.html +4 -0
- data/lib/geb/samples/basic/shared/partials/_geb.html +26 -0
- data/lib/geb/samples/basic/shared/partials/_header.html +9 -0
- data/lib/geb/samples/bootstrap_jquery/assets/css/site.css +68 -1
- data/lib/geb/samples/bootstrap_jquery/blog/blog_post_1.html +83 -25
- data/lib/geb/samples/bootstrap_jquery/blog/index.html +39 -6
- data/lib/geb/samples/bootstrap_jquery/geb.config.yml +20 -3
- data/lib/geb/samples/bootstrap_jquery/index.html +252 -2
- data/lib/geb/samples/bootstrap_jquery/page.html +24 -2
- data/lib/geb/samples/bootstrap_jquery/shared/partials/_footer.html +2 -0
- data/lib/geb/samples/bootstrap_jquery/shared/partials/_geb.html +26 -0
- data/lib/geb/samples/bootstrap_jquery/shared/partials/_header.html +25 -0
- data/lib/geb/samples/bootstrap_jquery/shared/partials/_meta_tags.html +1 -1
- data/lib/geb/samples/bootstrap_jquery/shared/templates/_blog_post.html +19 -0
- data/lib/geb/samples/bootstrap_jquery/site.webmanifest +1 -1
- data/lib/geb/samples/geb.config.yml +17 -0
- data/lib/geb/server.rb +12 -6
- data/lib/geb/site/build.rb +73 -61
- data/lib/geb/site/release.rb +23 -28
- data/lib/geb/site/remote.rb +1 -1
- data/lib/geb/site/template.rb +6 -0
- data/lib/geb/site.rb +7 -0
- data/lib/geb/template.rb +1 -0
- data/lib/geb/utilities.rb +1 -1
- data/lib/geb.rb +1 -1
- data/test/api tests/test_cli.rb +1 -1
- data/test/api tests/test_config.rb +132 -0
- data/test/api tests/test_page.rb +88 -4
- data/test/api tests/test_server.rb +96 -32
- data/test/api tests/test_site.rb +131 -31
- data/test/command tests/test_geb_build.rb +2 -2
- data/test/command tests/test_geb_release.rb +6 -8
- data/test/command tests/test_geb_server.rb +21 -0
- metadata +4 -4
- data/lib/geb/samples/bootstrap_jquery/blog/blog_post_2.html +0 -35
- data/lib/geb/samples/bootstrap_jquery/blog/blog_post_3.html +0 -35
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edin Mustajbegovic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|
@@ -181,6 +181,7 @@ files:
|
|
181
181
|
- lib/geb/samples/basic/page.html
|
182
182
|
- lib/geb/samples/basic/shared/partials/_analytics.html
|
183
183
|
- lib/geb/samples/basic/shared/partials/_footer.html
|
184
|
+
- lib/geb/samples/basic/shared/partials/_geb.html
|
184
185
|
- lib/geb/samples/basic/shared/partials/_global_assets.html
|
185
186
|
- lib/geb/samples/basic/shared/partials/_header.html
|
186
187
|
- lib/geb/samples/basic/shared/partials/_meta_tags.html
|
@@ -199,14 +200,13 @@ files:
|
|
199
200
|
- lib/geb/samples/bootstrap_jquery/assets/images/twitter-thumb.png
|
200
201
|
- lib/geb/samples/bootstrap_jquery/assets/js/site.js
|
201
202
|
- lib/geb/samples/bootstrap_jquery/blog/blog_post_1.html
|
202
|
-
- lib/geb/samples/bootstrap_jquery/blog/blog_post_2.html
|
203
|
-
- lib/geb/samples/bootstrap_jquery/blog/blog_post_3.html
|
204
203
|
- lib/geb/samples/bootstrap_jquery/blog/index.html
|
205
204
|
- lib/geb/samples/bootstrap_jquery/geb.config.yml
|
206
205
|
- lib/geb/samples/bootstrap_jquery/index.html
|
207
206
|
- lib/geb/samples/bootstrap_jquery/page.html
|
208
207
|
- lib/geb/samples/bootstrap_jquery/shared/partials/_analytics.html
|
209
208
|
- lib/geb/samples/bootstrap_jquery/shared/partials/_footer.html
|
209
|
+
- lib/geb/samples/bootstrap_jquery/shared/partials/_geb.html
|
210
210
|
- lib/geb/samples/bootstrap_jquery/shared/partials/_global_assets.html
|
211
211
|
- lib/geb/samples/bootstrap_jquery/shared/partials/_header.html
|
212
212
|
- lib/geb/samples/bootstrap_jquery/shared/partials/_meta_tags.html
|
@@ -1,35 +0,0 @@
|
|
1
|
-
<% template: shared/templates/_blog_post.html %>
|
2
|
-
|
3
|
-
<% start: title %>
|
4
|
-
Blog Post 2
|
5
|
-
<% end: title %>
|
6
|
-
|
7
|
-
<% start: content %>
|
8
|
-
|
9
|
-
<h1>Blog Post 2 Title</h1>
|
10
|
-
|
11
|
-
<p class="lead">
|
12
|
-
This is the second blog post. It is very interesting and you should read it.
|
13
|
-
</p>
|
14
|
-
|
15
|
-
<p>
|
16
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac purus nec
|
17
|
-
libero ultrices ultricies. Nullam nec nunc nec nunc ultricies ultricies. Ut
|
18
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
19
|
-
ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc
|
20
|
-
ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc
|
21
|
-
nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut
|
22
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
23
|
-
</p>
|
24
|
-
|
25
|
-
<p>
|
26
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac purus nec
|
27
|
-
libero ultrices ultricies. Nullam nec nunc nec nunc ultricies ultricies. Ut
|
28
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
29
|
-
ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc
|
30
|
-
ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc
|
31
|
-
nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut
|
32
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
33
|
-
</p>
|
34
|
-
|
35
|
-
<% end: content %>
|
@@ -1,35 +0,0 @@
|
|
1
|
-
<% template: shared/templates/_blog_post.html %>
|
2
|
-
|
3
|
-
<% start: title %>
|
4
|
-
Blog Post 3
|
5
|
-
<% end: title %>
|
6
|
-
|
7
|
-
<% start: content %>
|
8
|
-
|
9
|
-
<h1>Blog Post 3 Title</h1>
|
10
|
-
|
11
|
-
<p class="lead">
|
12
|
-
This is the third blog post. It is very interesting and you should read it.
|
13
|
-
</p>
|
14
|
-
|
15
|
-
<p>
|
16
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac purus nec
|
17
|
-
libero ultrices ultricies. Nullam nec nunc nec nunc ultricies ultricies. Ut
|
18
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
19
|
-
ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc
|
20
|
-
ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc
|
21
|
-
nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut
|
22
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
23
|
-
</p>
|
24
|
-
|
25
|
-
<p>
|
26
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac purus nec
|
27
|
-
libero ultrices ultricies. Nullam nec nunc nec nunc ultricies ultricies. Ut
|
28
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
29
|
-
ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc
|
30
|
-
ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut eget nunc
|
31
|
-
nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies ultricies. Ut
|
32
|
-
eget nunc nec nunc ultricies ultricies. Ut eget nunc nec nunc ultricies
|
33
|
-
</p>
|
34
|
-
|
35
|
-
<% end: content %>
|