jektify 1.0.6 → 1.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2944a45af6d024772bfa18aa2762fb8bd5d495517aa53be533dc5260e3343beb
4
- data.tar.gz: 5133f2670cac35cd4531f87ea10c429370d334880884c42316c5fad4b0a685cd
3
+ metadata.gz: 6ec1d515592e3aecef4d6615e0a1e7bcbd8d6fbc68e1e0cb74bd5a8a7b9b93e4
4
+ data.tar.gz: 7adacb722b68235e0b060f94e30b778e124a1085ca1d1907d11df299f8b750ed
5
5
  SHA512:
6
- metadata.gz: 0d2ea97a4ddeedb214c1f4c3f60a995dd03da3eab1da6f3db3d19cc812509c0a10d7027ca7f3b2d0713262b93f82b1534a61b6d17dc10809bad897e49c49c2f5
7
- data.tar.gz: 52a8b0ce461874dcb51b3f37a339b1327768498e9a2390d4973df9b94c569b0c4f33e9d36117a7adecec355a4ece89c3cd7b193978cca7a20aad11fab275ead6
6
+ metadata.gz: ea04608ee70e7a8a75c506fd1d946ae9663be5075ab2a5b66e8d61620d79fd2b68d6428d4fe81c16a8f3b2c8a374af155a54912bd837561570107ae0ee00ae08
7
+ data.tar.gz: 30f41fa371f3cb287a59693487f9f28e5465c9bc78cd12b079c3a3ad9d8d9e589b11db09d9b922edf9c8cf90a8512c2296a3e3a79733150218355d4eb9f8eeba
data/.bundle/config ADDED
@@ -0,0 +1,3 @@
1
+ ---
2
+ BUNDLE_PATH: ".bundle-cache/bundle"
3
+ BUNDLE_DISABLE_SHARED_GEMS: "true"
@@ -1,40 +1,29 @@
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
1
  name: Ruby
9
2
 
10
3
  on:
11
4
  push:
12
- branches: [ master ]
5
+ branches: [ main ]
13
6
  pull_request:
14
- branches: [ master ]
7
+ branches: [ main ]
15
8
 
16
9
  jobs:
17
10
  test:
18
-
19
11
  runs-on: ubuntu-latest
20
12
  strategy:
21
13
  matrix:
22
- ruby-version: ['3.0']
14
+ ruby-version: ['3.3']
23
15
 
24
16
  steps:
25
- - uses: actions/checkout@v2
17
+ - uses: actions/checkout@v3
18
+
26
19
  - name: Set up Ruby
27
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
- # uses: ruby/setup-ruby@v1
30
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
20
+ uses: ruby/setup-ruby@v1
31
21
  with:
32
22
  ruby-version: ${{ matrix.ruby-version }}
33
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
23
+ bundler-cache: true # instala e cacheia gems automaticamente
24
+
25
+ - name: Install dependencies and build Gem
26
+ run: bin/setup
27
+
34
28
  - name: Run tests
35
- run: |
36
- gem update --system
37
- gem install bundler -v 2.2.17
38
- bundle install
39
- bin/setup
40
- bin/tests
29
+ run: bin/tests
data/.gitignore CHANGED
@@ -1,28 +1,10 @@
1
- /.bundle/
2
- /node_modules/
3
- /**/.jekyll-cache/
4
- **/*/node_modules
5
- /.yardoc
6
- /_yardoc/
7
- /coverage/
8
- /doc/
9
- /pkg/
10
- /spec/reports/
11
- /tmp/
12
- /gems/
13
- /_gems/
14
- **/*/_gems
15
- /vendor/
16
- /_vendor/
17
- **/*/_vendor/
18
- **/*/_site
19
- /temp/
20
- /.temp/
21
- /.sass-cache/
22
- **/*/.sass-cache
23
- /test/travis/project
24
- /package-lock.json
25
- /Gemfile.lock
26
- **/*/Gemfile.lock
27
- tests/travis/
28
- tests/vm
1
+ .bundle-cache/
2
+ .sass-cache/
3
+ node_modules/
4
+ .jekyll-cache/
5
+ coverage/
6
+ tmp/
7
+ temp/
8
+ pkg/
9
+ spec/reports/
10
+ gems/
data/CHANGELOG.md CHANGED
@@ -32,4 +32,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
32
32
 
33
33
  ## [1.0.6] -
34
34
  ### Change
35
- - Nothing interesting, just updating dependencies and maintaining compatibility Jekyll >= v4.2.0
35
+ - Nothing interesting, just updating dependencies and maintaining compatibility Jekyll = v4.2.0
36
+
37
+ ## [1.0.7] -
38
+ ### Change
39
+ - Bug fix. There was a bug when refreshing the page with the toggle open.
40
+
41
+ ## [1.0.8] -
42
+ ### Change
43
+ - Removing "sassc" dependency and using "sass". Updating compatibility for Jekyll >= 4.4
44
+ - Adding "example" project Jekyll.
data/Gemfile.lock ADDED
@@ -0,0 +1,198 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ jektify (1.0.8)
5
+ jekyll (>= 4.4)
6
+ sass (>= 3.7.4)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.8.7)
12
+ public_suffix (>= 2.0.2, < 7.0)
13
+ base64 (0.3.0)
14
+ bigdecimal (3.0.2)
15
+ coderay (1.1.3)
16
+ colorator (1.1.0)
17
+ concurrent-ruby (1.3.5)
18
+ csv (3.3.5)
19
+ diff-lcs (1.6.2)
20
+ em-websocket (0.5.3)
21
+ eventmachine (>= 0.12.9)
22
+ http_parser.rb (~> 0)
23
+ eventmachine (1.2.7)
24
+ ffi (1.17.2)
25
+ ffi (1.17.2-aarch64-linux-gnu)
26
+ ffi (1.17.2-aarch64-linux-musl)
27
+ ffi (1.17.2-arm-linux-gnu)
28
+ ffi (1.17.2-arm-linux-musl)
29
+ ffi (1.17.2-arm64-darwin)
30
+ ffi (1.17.2-x86-linux-gnu)
31
+ ffi (1.17.2-x86-linux-musl)
32
+ ffi (1.17.2-x86_64-darwin)
33
+ ffi (1.17.2-x86_64-linux-gnu)
34
+ ffi (1.17.2-x86_64-linux-musl)
35
+ forwardable-extended (2.6.0)
36
+ google-protobuf (4.32.1)
37
+ bigdecimal
38
+ rake (>= 13)
39
+ google-protobuf (4.32.1-aarch64-linux-gnu)
40
+ bigdecimal
41
+ rake (>= 13)
42
+ google-protobuf (4.32.1-aarch64-linux-musl)
43
+ bigdecimal
44
+ rake (>= 13)
45
+ google-protobuf (4.32.1-arm64-darwin)
46
+ bigdecimal
47
+ rake (>= 13)
48
+ google-protobuf (4.32.1-x86-linux-gnu)
49
+ bigdecimal
50
+ rake (>= 13)
51
+ google-protobuf (4.32.1-x86-linux-musl)
52
+ bigdecimal
53
+ rake (>= 13)
54
+ google-protobuf (4.32.1-x86_64-darwin)
55
+ bigdecimal
56
+ rake (>= 13)
57
+ google-protobuf (4.32.1-x86_64-linux-gnu)
58
+ bigdecimal
59
+ rake (>= 13)
60
+ google-protobuf (4.32.1-x86_64-linux-musl)
61
+ bigdecimal
62
+ rake (>= 13)
63
+ http_parser.rb (0.8.0)
64
+ i18n (1.14.7)
65
+ concurrent-ruby (~> 1.0)
66
+ jekyll (4.4.1)
67
+ addressable (~> 2.4)
68
+ base64 (~> 0.2)
69
+ colorator (~> 1.0)
70
+ csv (~> 3.0)
71
+ em-websocket (~> 0.5)
72
+ i18n (~> 1.0)
73
+ jekyll-sass-converter (>= 2.0, < 4.0)
74
+ jekyll-watch (~> 2.0)
75
+ json (~> 2.6)
76
+ kramdown (~> 2.3, >= 2.3.1)
77
+ kramdown-parser-gfm (~> 1.0)
78
+ liquid (~> 4.0)
79
+ mercenary (~> 0.3, >= 0.3.6)
80
+ pathutil (~> 0.9)
81
+ rouge (>= 3.0, < 5.0)
82
+ safe_yaml (~> 1.0)
83
+ terminal-table (>= 1.8, < 4.0)
84
+ webrick (~> 1.7)
85
+ jekyll-sass-converter (3.1.0)
86
+ sass-embedded (~> 1.75)
87
+ jekyll-watch (2.2.1)
88
+ listen (~> 3.0)
89
+ json (2.14.1)
90
+ kramdown (2.5.1)
91
+ rexml (>= 3.3.9)
92
+ kramdown-parser-gfm (1.1.0)
93
+ kramdown (~> 2.0)
94
+ liquid (4.0.4)
95
+ listen (3.9.0)
96
+ rb-fsevent (~> 0.10, >= 0.10.3)
97
+ rb-inotify (~> 0.9, >= 0.9.10)
98
+ mercenary (0.4.0)
99
+ method_source (1.1.0)
100
+ minitest (5.25.5)
101
+ pathutil (0.16.2)
102
+ forwardable-extended (~> 2.6)
103
+ pry (0.15.2)
104
+ coderay (~> 1.1)
105
+ method_source (~> 1.0)
106
+ public_suffix (6.0.2)
107
+ rake (13.3.0)
108
+ rb-fsevent (0.11.2)
109
+ rb-inotify (0.11.1)
110
+ ffi (~> 1.0)
111
+ rexml (3.4.4)
112
+ rouge (4.6.0)
113
+ rspec (3.13.1)
114
+ rspec-core (~> 3.13.0)
115
+ rspec-expectations (~> 3.13.0)
116
+ rspec-mocks (~> 3.13.0)
117
+ rspec-core (3.13.5)
118
+ rspec-support (~> 3.13.0)
119
+ rspec-expectations (3.13.5)
120
+ diff-lcs (>= 1.2.0, < 2.0)
121
+ rspec-support (~> 3.13.0)
122
+ rspec-mocks (3.13.5)
123
+ diff-lcs (>= 1.2.0, < 2.0)
124
+ rspec-support (~> 3.13.0)
125
+ rspec-support (3.13.6)
126
+ safe_yaml (1.0.5)
127
+ sass (3.7.4)
128
+ sass-listen (~> 4.0.0)
129
+ sass-embedded (1.92.1)
130
+ google-protobuf (~> 4.31)
131
+ rake (>= 13)
132
+ sass-embedded (1.92.1-aarch64-linux-android)
133
+ google-protobuf (~> 4.31)
134
+ sass-embedded (1.92.1-aarch64-linux-gnu)
135
+ google-protobuf (~> 4.31)
136
+ sass-embedded (1.92.1-aarch64-linux-musl)
137
+ google-protobuf (~> 4.31)
138
+ sass-embedded (1.92.1-arm-linux-androideabi)
139
+ google-protobuf (~> 4.31)
140
+ sass-embedded (1.92.1-arm-linux-gnueabihf)
141
+ google-protobuf (~> 4.31)
142
+ sass-embedded (1.92.1-arm-linux-musleabihf)
143
+ google-protobuf (~> 4.31)
144
+ sass-embedded (1.92.1-arm64-darwin)
145
+ google-protobuf (~> 4.31)
146
+ sass-embedded (1.92.1-riscv64-linux-android)
147
+ google-protobuf (~> 4.31)
148
+ sass-embedded (1.92.1-riscv64-linux-gnu)
149
+ google-protobuf (~> 4.31)
150
+ sass-embedded (1.92.1-riscv64-linux-musl)
151
+ google-protobuf (~> 4.31)
152
+ sass-embedded (1.92.1-x86_64-darwin)
153
+ google-protobuf (~> 4.31)
154
+ sass-embedded (1.92.1-x86_64-linux-android)
155
+ google-protobuf (~> 4.31)
156
+ sass-embedded (1.92.1-x86_64-linux-gnu)
157
+ google-protobuf (~> 4.31)
158
+ sass-embedded (1.92.1-x86_64-linux-musl)
159
+ google-protobuf (~> 4.31)
160
+ sass-listen (4.0.0)
161
+ rb-fsevent (~> 0.9, >= 0.9.4)
162
+ rb-inotify (~> 0.9, >= 0.9.7)
163
+ terminal-table (3.0.2)
164
+ unicode-display_width (>= 1.1.1, < 3)
165
+ unicode-display_width (2.6.0)
166
+ webrick (1.7.0)
167
+
168
+ PLATFORMS
169
+ aarch64-linux-android
170
+ aarch64-linux-gnu
171
+ aarch64-linux-musl
172
+ arm-linux-androideabi
173
+ arm-linux-gnu
174
+ arm-linux-gnueabihf
175
+ arm-linux-musl
176
+ arm-linux-musleabihf
177
+ arm64-darwin
178
+ riscv64-linux-android
179
+ riscv64-linux-gnu
180
+ riscv64-linux-musl
181
+ ruby
182
+ x86-linux-gnu
183
+ x86-linux-musl
184
+ x86_64-darwin
185
+ x86_64-linux-android
186
+ x86_64-linux-gnu
187
+ x86_64-linux-musl
188
+
189
+ DEPENDENCIES
190
+ bundler (>= 2.2.17)
191
+ jektify!
192
+ minitest (>= 5.14.3)
193
+ pry (~> 0.14)
194
+ rake (>= 13.0.3)
195
+ rspec (~> 3.10)
196
+
197
+ BUNDLED WITH
198
+ 2.7.2
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019-2021 William C. Canin
3
+ Copyright (c) 2019-2025 William C. Canin
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Jektify
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/jektify.svg)](https://badge.fury.io/rb/jektify)
4
- [![Build Status](https://travis-ci.org/jektify/jektify.svg?branch=master)](https://travis-ci.org/jektify/jektify)
5
- [![security](https://hakiri.io/github/jektify/jektify/master.svg)](https://hakiri.io/github/jektify/jektify/master)
4
+ [![Ruby](https://github.com/jektify/jektify/actions/workflows/ruby.yml/badge.svg)](https://github.com/jektify/jektify/actions/workflows/ruby.yml)
6
5
 
7
6
  [Jektify](https://github.com/jektify/jektify) is beautiful and Customizable, much more appealing than a simple "iframe"!
8
7
 
@@ -53,19 +52,16 @@ The [Jektify](https://github.com/jektify/jektify) code is stored in the folder "
53
52
  * lib/jektify/version.rb
54
53
  * bin/tests
55
54
  * package.json
56
- * gulpfile.babel.js
57
- * cdn/v[VERSION]
55
+ * gulpfile.js
58
56
 
59
57
  *JavaScript*
60
58
 
61
59
  [Jektify](https://github.com/jektify/jektify) uses javascript, where it is located in the folder "`src/dev/js/jektify.js`". All Javascript code must be written to it, regardless of whether it uses ES6 or not. Gem will use it in the folder "`assets/vendor/jektify/js`", and you need to minify it with [Gulp](https://gulpjs.com/) to play it there. To do this, run on the terminal in the root directory of Jektify:
62
60
 
63
61
  ```shell
64
- $ gulp
62
+ $ npm run build
65
63
  ```
66
64
 
67
- The `cdn` folder should contain the original and mined jektify javascript file. It will have a folder structure with the name of each version of [Jektify](https://github.com/jektify/jektify). The service that makes CDN available is [Jsdelivr](https://www.jsdelivr.com/).
68
-
69
65
  *Sass*
70
66
 
71
67
  The layout of [Jektify](https://github.com/jektify/jektify) is being attributed by the file "`assets/vendor/jektify/sass/_jektify.scss`", in this file you should write everything stylesheets [Jektify](https://github.com/jektify/jektify) using the methodology [BEM](getbem.com).
@@ -74,40 +70,19 @@ The layout of [Jektify](https://github.com/jektify/jektify) is being attributed
74
70
 
75
71
  Now, you can generate the gem of Jektify with the `bundle exec rake build` command, it will be bundled in the directory "`pkg`". To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
76
72
 
77
- *Webpage*
78
-
79
- The development of the [Jektify](https://github.com/jektify/jektify) page is in the folder "`src/dev/page`", it is a Jekyll template. To develop, you need to update the [Jektify](https://github.com/jektify/jektify) version in the `Gemfile` file according to the version of the gem in development of [Jektify](https://github.com/jektify/jektify).
80
-
81
- ```yaml
82
- group :jekyll_plugins do
83
- gem "jektify", "~> [VERSION_DEVELOPMENT]"
84
- end
85
- ```
86
-
87
- After that execute:
88
-
89
- ```shell
90
- $ bundle install
91
- $ ./serve
92
- ```
93
-
94
- If Jektify adds new features and options, you should configure the file "` _config.yml`" in the Jektify block.
95
-
96
- *Travis*
97
-
98
- The [Jektify](https://github.com/jektify/jektify) uses [Travis](travis-ci.org) to do the gem tests, you should configure the Ruby version in `.travis.yml` (hidden) if necessary.
99
-
100
- The "`bin/travis`" file will be the file that [Travis](travis-ci.org) will use to perform the script tests, in this file you must change the Jektify version in the variable "`APP__VERSION`" to the version that the Jekyll test project will use [Jektify](https://github.com/jektify/jektify).
101
-
102
73
  ## Contributing
103
74
 
104
75
  Bug reports and pull requests are welcome on GitHub at https://github.com/jektify/jektify. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
105
76
 
106
77
  ## Donation
107
78
 
108
- If you liked my work, buy me a coffee <3
79
+ Click on the image below to be redirected the donation forms:
109
80
 
110
- [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YBK2HEEYG8V5W&source)
81
+ <div class="donate">
82
+ <a href="https://github.com/williamcanin/donations/blob/master/README.md">
83
+ <img width="160" height="100" src="https://raw.githubusercontent.com/williamcanin/donations/master/svg/donate/donate-hand.svg" alt="Donations"
84
+ </a>
85
+ </div>
111
86
 
112
87
  ## License
113
88