middleman-img_loading_attribute 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +43 -0
- data/.github/workflows/{ruby.yml → ubuntu.yml} +1 -1
- data/.github/workflows/windows.yml +34 -0
- data/.gitignore +3 -1
- data/CHANGELOG.md +6 -0
- data/README.md +5 -2
- data/appveyor.yml +24 -0
- data/features/auto.feature +1 -1
- data/features/eager.feature +1 -1
- data/features/lazy.feature +1 -1
- data/middleman-img_loading_attribute.gemspec +2 -1
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69dda6ebf2d580dd1f1566cdaff55e758d3665c62d1a8463cb2994905f7f0ef4
|
4
|
+
data.tar.gz: 206f2cc38298f32ef684806178e3ae7146557f07818600bf32808fcbb8b34437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63153f125e1ddf6509fedf197cfae09ab033dee1ff6677986d4a7fb03099c91a8a69816ae9a478677eebd0dd493d324142bd455073de74d2cfe1d241c9930ea4
|
7
|
+
data.tar.gz: f327ba939d0a3bb840f912dbdd32d80068674e8bae272784a8f65ce2f4742118d3196040dd0e5715f39c6c0460a6f0ad80af14122e019b3fc2c9a09ee200063f
|
@@ -0,0 +1,43 @@
|
|
1
|
+
common_steps: &common_steps
|
2
|
+
working_directory: ~/repo
|
3
|
+
steps:
|
4
|
+
- checkout
|
5
|
+
- run: gem install bundler --force
|
6
|
+
- run:
|
7
|
+
name: install dependencies
|
8
|
+
command: |
|
9
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
10
|
+
- run: bundle exec rake test
|
11
|
+
version: 2
|
12
|
+
jobs:
|
13
|
+
test-ruby2.6:
|
14
|
+
docker:
|
15
|
+
- image: circleci/ruby:2.6-buster
|
16
|
+
<<: *common_steps
|
17
|
+
test-ruby2.5:
|
18
|
+
docker:
|
19
|
+
- image: circleci/ruby:2.5-buster
|
20
|
+
<<: *common_steps
|
21
|
+
test-ruby2.4:
|
22
|
+
docker:
|
23
|
+
- image: circleci/ruby:2.4-buster
|
24
|
+
<<: *common_steps
|
25
|
+
workflows:
|
26
|
+
version: 2
|
27
|
+
test:
|
28
|
+
jobs:
|
29
|
+
- test-ruby2.6
|
30
|
+
- test-ruby2.5
|
31
|
+
- test-ruby2.4
|
32
|
+
cron:
|
33
|
+
jobs:
|
34
|
+
- test-ruby2.6
|
35
|
+
- test-ruby2.5
|
36
|
+
- test-ruby2.4
|
37
|
+
triggers:
|
38
|
+
- schedule:
|
39
|
+
cron: "0 0 * * 0"
|
40
|
+
filters:
|
41
|
+
branches:
|
42
|
+
only:
|
43
|
+
- master
|
@@ -0,0 +1,34 @@
|
|
1
|
+
name: windows
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- '*'
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- '*'
|
9
|
+
schedule:
|
10
|
+
- cron: '0 0 * * 0'
|
11
|
+
jobs:
|
12
|
+
test:
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
ruby: ['2.4.x', '2.5.x', '2.6.x']
|
16
|
+
fail-fast: false
|
17
|
+
runs-on: windows-latest
|
18
|
+
name: Ruby ${{ matrix.ruby }} on Windows
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@master
|
21
|
+
- name: Setup ruby ${{ matrix.ruby }}
|
22
|
+
uses: actions/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
25
|
+
architecture: 'x64'
|
26
|
+
- name: Install latest bundler
|
27
|
+
run: gem install bundler
|
28
|
+
shell: powershell
|
29
|
+
- name: Install dependencies
|
30
|
+
run: bundle install --jobs 4 --retry 3
|
31
|
+
shell: powershell
|
32
|
+
- name: Run rake test
|
33
|
+
run: bundle exec rake test
|
34
|
+
shell: powershell
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Middleman::ImgLoadingAttribute
|
2
|
-
[![Build Status on GitHub Actions](https://github.com/unasuke/middleman-img_loading_attribute/workflows/
|
2
|
+
[![Build Status on GitHub Actions](https://github.com/unasuke/middleman-img_loading_attribute/workflows/ubuntu/badge.svg)](https://github.com/unasuke/middleman-img_loading_attribute/actions)
|
3
|
+
[![Build Status on GitHub Actions](https://github.com/unasuke/middleman-img_loading_attribute/workflows/windows/badge.svg)](https://github.com/unasuke/middleman-img_loading_attribute/actions)
|
4
|
+
[![Build status](https://ci.appveyor.com/api/projects/status/yq5i4m3lcoyko2hs/branch/master?svg=true)](https://ci.appveyor.com/project/unasuke/middleman-img-loading-attribute/branch/master)
|
5
|
+
[![CircleCI](https://circleci.com/gh/unasuke/middleman-img_loading_attribute/tree/master.svg?style=svg)](https://circleci.com/gh/unasuke/middleman-img_loading_attribute/tree/master)
|
3
6
|
![RubyGem version](https://badgen.net/rubygems/v/middleman-img_loading_attribute)
|
4
7
|
![MIT License](https://badgen.net/github/license/unasuke/middleman-img_loading_attribute)
|
5
8
|
|
@@ -61,4 +64,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
61
64
|
|
62
65
|
## Code of Conduct
|
63
66
|
|
64
|
-
Everyone interacting in the
|
67
|
+
Everyone interacting in the Middleman::ImgLoadingAttribute project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/unasuke/middleman-img_loading_attribute/blob/master/CODE_OF_CONDUCT.md).
|
data/appveyor.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
cache:
|
2
|
+
- vendor/bundle
|
3
|
+
|
4
|
+
environment:
|
5
|
+
matrix:
|
6
|
+
- RUBY_VERSION: 26-x64
|
7
|
+
- RUBY_VERSION: 25-x64
|
8
|
+
init:
|
9
|
+
- git config --global core.autocrlf true
|
10
|
+
|
11
|
+
install:
|
12
|
+
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
13
|
+
- bundle config --local path vendor/bundle
|
14
|
+
- bundle install
|
15
|
+
|
16
|
+
build: off
|
17
|
+
|
18
|
+
before_test:
|
19
|
+
- ruby -v
|
20
|
+
- gem -v
|
21
|
+
- bundle -v
|
22
|
+
|
23
|
+
test_script:
|
24
|
+
- bundle exec rake test
|
data/features/auto.feature
CHANGED
data/features/eager.feature
CHANGED
data/features/lazy.feature
CHANGED
@@ -2,13 +2,14 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "middleman-img_loading_attribute"
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.2.0"
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.authors = ["Yusuke Nakamura"]
|
8
8
|
s.email = ['yusuke1994525@gmail.com']
|
9
9
|
s.homepage = 'https://github.com/unasuke/middleman-img_loading_attribute'
|
10
10
|
s.summary = 'Specify "loading" attribute value to generated HTML from middleman'
|
11
11
|
s.description = 'Specify "loading" attribute value to generated HTML from middleman'
|
12
|
+
s.license = 'MIT'
|
12
13
|
|
13
14
|
s.files = `git ls-files`.split("\n")
|
14
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-img_loading_attribute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yusuke Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -45,13 +45,17 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- ".
|
48
|
+
- ".circleci/config.yml"
|
49
|
+
- ".github/workflows/ubuntu.yml"
|
50
|
+
- ".github/workflows/windows.yml"
|
49
51
|
- ".gitignore"
|
52
|
+
- CHANGELOG.md
|
50
53
|
- CODE_OF_CONDUCT.md
|
51
54
|
- Gemfile
|
52
55
|
- LICENSE.txt
|
53
56
|
- README.md
|
54
57
|
- Rakefile
|
58
|
+
- appveyor.yml
|
55
59
|
- features/auto.feature
|
56
60
|
- features/eager.feature
|
57
61
|
- features/lazy.feature
|
@@ -72,7 +76,8 @@ files:
|
|
72
76
|
- lib/middleman-img_loading_attribute/extension.rb
|
73
77
|
- middleman-img_loading_attribute.gemspec
|
74
78
|
homepage: https://github.com/unasuke/middleman-img_loading_attribute
|
75
|
-
licenses:
|
79
|
+
licenses:
|
80
|
+
- MIT
|
76
81
|
metadata: {}
|
77
82
|
post_install_message:
|
78
83
|
rdoc_options: []
|