m1key_gallery_generator 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +38 -0
- data/README.md +3 -3
- data/lib/m1key_gallery_generator/template.erb +8 -6
- data/lib/m1key_gallery_generator/version.rb +1 -1
- data/m1key_gallery_generator.gemspec +2 -2
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4644f0cbe852b24f9f7ca262627919cbb72aba5124d27d7f427a5054e15213a
|
|
4
|
+
data.tar.gz: 10752665e6cbbd2728d30057b8f36910c91a285c6f7dcc0a925f7de2c677b2f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 052a11f7312b69fe51761d6d894d627f09b3a3fa4bbe5886b8df7dceb2eeb2eaa5057e6c99c623fcbae36fd25194201194e8eafbe0cf625475320f5b6ffbd784
|
|
7
|
+
data.tar.gz: 7d5ef83d8db0e95dcec80aaad4f625b1001a834f2431f3492ad49751a4b9aec98c902f5f05ab77c5f0a92a9dc350caf321d43a02701265f09722dd7d86714923
|
|
@@ -0,0 +1,38 @@
|
|
|
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: Ruby
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches: [ "master" ]
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [ "master" ]
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
test:
|
|
21
|
+
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
strategy:
|
|
24
|
+
matrix:
|
|
25
|
+
ruby-version: ['3.2.2']
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- name: Set up Ruby
|
|
30
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
31
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
32
|
+
uses: ruby/setup-ruby@v1
|
|
33
|
+
# uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
|
34
|
+
with:
|
|
35
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
36
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
37
|
+
- name: Run tests
|
|
38
|
+
run: bundle exec rake
|
data/README.md
CHANGED
|
@@ -74,11 +74,11 @@ Build the gem.
|
|
|
74
74
|
|
|
75
75
|
Install the gem.
|
|
76
76
|
|
|
77
|
-
> gem install m1key_gallery_generator-0.3.
|
|
77
|
+
> gem install m1key_gallery_generator-0.3.4.gem
|
|
78
78
|
|
|
79
79
|
In your gallery directory, have a file called generate.bat that looks like this:
|
|
80
80
|
|
|
81
|
-
> ruby c:\Ruby34-x64\lib\ruby\gems\3.4.0\gems\m1key_gallery_generator-0.3.
|
|
81
|
+
> ruby c:\Ruby34-x64\lib\ruby\gems\3.4.0\gems\m1key_gallery_generator-0.3.4\bin\console . wait_on_error
|
|
82
82
|
|
|
83
83
|
## Development
|
|
84
84
|
|
|
@@ -95,7 +95,7 @@ To build gem:
|
|
|
95
95
|
> gem build m1key_gallery_generator.gemspec
|
|
96
96
|
|
|
97
97
|
To install gem:
|
|
98
|
-
> gem install m1key_gallery_generator-0.3.
|
|
98
|
+
> gem install m1key_gallery_generator-0.3.4.gem
|
|
99
99
|
|
|
100
100
|
To test gem:
|
|
101
101
|
> irb
|
|
@@ -67,12 +67,6 @@
|
|
|
67
67
|
<section class="information" aria-labelledby="info-heading">
|
|
68
68
|
<h2 id="info-heading" class="visually-hidden">About this shoot</h2>
|
|
69
69
|
<%= description -%>
|
|
70
|
-
|
|
71
|
-
<p class="smallprint">
|
|
72
|
-
<span id="sources">Sources</span>:<% sources.each_with_index do |source, index| %>
|
|
73
|
-
<a href="<%= source %>" class="nav-link">source <%= index + 1 %></a><% if (index + 1) < sources.size %>,<% else %>.<% end -%>
|
|
74
|
-
<% end %>
|
|
75
|
-
</p>
|
|
76
70
|
<% if small_print.to_s != '' %>
|
|
77
71
|
<p><%= small_print -%></p><% end %>
|
|
78
72
|
<p class="smallprint">Uploaded on: <%= upload_date %>.</p>
|
|
@@ -100,6 +94,13 @@
|
|
|
100
94
|
</figure>
|
|
101
95
|
</article>
|
|
102
96
|
<% end %>
|
|
97
|
+
<details class="sources" id="sources">
|
|
98
|
+
<summary> Sources</summary>
|
|
99
|
+
<ul class="smallprint"><% sources.each_with_index do |source, index| %>
|
|
100
|
+
<li><%= index + 1 %>: <a href="<%= source %>" rel="noopener noreferrer" class="nav-link"><%= source %></a></li><% end %>
|
|
101
|
+
</ul>
|
|
102
|
+
</details>
|
|
103
|
+
|
|
103
104
|
<nav class="navigation" aria-label="Gallery navigation bottom">
|
|
104
105
|
<ul>
|
|
105
106
|
<li><a href="../" class="nav-link">< Back to Photography</a></li>
|
|
@@ -111,6 +112,7 @@
|
|
|
111
112
|
|
|
112
113
|
<footer class="site-footer">
|
|
113
114
|
<nav class="footer-nav" aria-label="Site navigation">
|
|
115
|
+
<h2 class="visually-hidden">Footer navigation</h2>
|
|
114
116
|
<ul>
|
|
115
117
|
<li><a href="https://www.m1key.me" class="nav-link">M1key.me</a></li>
|
|
116
118
|
<li><a href="https://www.m1key.me/photography/" class="nav-link">Photography</a></li>
|
|
@@ -5,7 +5,7 @@ require 'm1key_gallery_generator/version'
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'm1key_gallery_generator'
|
|
7
7
|
spec.version = M1keyGalleryGenerator::VERSION
|
|
8
|
-
spec.authors = ['
|
|
8
|
+
spec.authors = ['Michal Huniewicz']
|
|
9
9
|
spec.email = ['REDACTED']
|
|
10
10
|
spec.required_ruby_version = '>= 3.0'
|
|
11
11
|
|
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
|
|
24
24
|
spec.add_runtime_dependency 'exifr', '~> 1.4', '>= 1.4.0'
|
|
25
25
|
|
|
26
|
-
spec.add_development_dependency 'bundler', '
|
|
26
|
+
spec.add_development_dependency 'bundler', '>= 2.4.10'
|
|
27
27
|
spec.add_development_dependency 'rake', '~> 13.0'
|
|
28
28
|
spec.add_development_dependency 'minitest', '~> 5.15'
|
|
29
29
|
spec.add_development_dependency 'rspec', '~> 3.13'
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: m1key_gallery_generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Michal Huniewicz
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
@@ -33,16 +33,16 @@ dependencies:
|
|
|
33
33
|
name: bundler
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
|
35
35
|
requirements:
|
|
36
|
-
- -
|
|
36
|
+
- - ">="
|
|
37
37
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: 2.
|
|
38
|
+
version: 2.4.10
|
|
39
39
|
type: :development
|
|
40
40
|
prerelease: false
|
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
42
42
|
requirements:
|
|
43
|
-
- -
|
|
43
|
+
- - ">="
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: 2.
|
|
45
|
+
version: 2.4.10
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: rake
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -93,6 +93,7 @@ executables: []
|
|
|
93
93
|
extensions: []
|
|
94
94
|
extra_rdoc_files: []
|
|
95
95
|
files:
|
|
96
|
+
- ".github/workflows/ruby.yml"
|
|
96
97
|
- ".gitignore"
|
|
97
98
|
- ".rspec"
|
|
98
99
|
- Gemfile
|