microformats 4.3.1 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 164ed0ee2ccec83b3a6a60ace37c3215fc272d3c66d30ff669ec575d3ad72327
4
- data.tar.gz: 8ba66533eae4e8eecfa8f0284527b3a10962c211f576511562bdf2763e66a77e
3
+ metadata.gz: 661a3d39e79ff3c73908a9e997e52e16562ca3f6bd3a7827eb5c6af00be0ddb3
4
+ data.tar.gz: c16938062a211bde3bcb3e8109de73ca54901cfd1a86c377c776c31d7529138e
5
5
  SHA512:
6
- metadata.gz: e0ea4b71ded3e9edb8090c3f26cae2eb5e5b6ccd4c862a529a064c56141c1966520a68caa09968de00e06b646fe7ea024f386415593c11496f877d81a653cd6c
7
- data.tar.gz: 2080027cd9086e1ee5ea084fef2c8cf9dfbc7e47cde5a1c65179f96297be9043d0ede6baabcc63eb3d68021e1584a25b2364f417699865afabf7c9ecebf9c642
6
+ metadata.gz: b9c61cdf0cee8ff3ec04fb94df4c20bb2cb25e185907e5a5928672a4e508f79e174cb2f8d2bddfeb9f546b3b7baf21297410dfe9f33f2725752776a8c3f7459d
7
+ data.tar.gz: 9fae3c80f0f06689b5d39b69248edfc0327929a91748a42ee9f4ae5bdd1f9350e1263d7c151a6d578d34efed9bc9a6d5b81402ca51dac5e14a705d96d1c9a70e
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ assignees:
8
+ - "dissolve"
@@ -0,0 +1,33 @@
1
+ name: CI
2
+ on: [push, pull_request]
3
+ jobs:
4
+ analyze:
5
+ name: Analyze
6
+ permissions:
7
+ contents: read
8
+ security-events: write
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: github/codeql-action/init@v2
13
+ with:
14
+ languages: ruby
15
+ - uses: github/codeql-action/analyze@v2
16
+ test:
17
+ name: Test
18
+ runs-on: ubuntu-latest
19
+ env:
20
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
21
+ strategy:
22
+ fail-fast: false
23
+ matrix:
24
+ # See: https://github.com/actions/runner/issues/849
25
+ ruby: [2.4, 2.5, 2.6, 2.7, "3.0", 3.1]
26
+ steps:
27
+ - uses: actions/checkout@v2
28
+ - uses: ruby/setup-ruby@v1
29
+ with:
30
+ bundler-cache: true
31
+ ruby-version: ${{ matrix.ruby }}
32
+ - run: bundle exec rspec
33
+ - uses: paambaati/codeclimate-action@v3.0.0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.0
1
+ 3.1.2
data/CONTRIBUTING.md CHANGED
@@ -47,7 +47,7 @@ bundle console
47
47
  First, check out the latest code from GitHub:
48
48
 
49
49
  ```sh
50
- git pull origin master
50
+ git pull origin main
51
51
  ```
52
52
 
53
53
  Following the [Semantic Versioning](https://semver.org) conventions, update the gem version throughout the project (but most importantly in `lib/microformats/version.rb`).
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # ![Microformats Logo](https://raw.githubusercontent.com/microformats/microformats-ruby/master/logo.svg?sanitize=true) Microformats Ruby
1
+ # ![Microformats Logo](https://raw.githubusercontent.com/microformats/microformats-ruby/main/logo.svg?sanitize=true) Microformats Ruby
2
2
 
3
3
  **A Ruby gem for parsing HTML documents containing microformats.**
4
4
 
5
5
  [![Gem](https://img.shields.io/gem/v/microformats.svg?style=for-the-badge)](https://rubygems.org/gems/microformats)
6
6
  [![Downloads](https://img.shields.io/gem/dt/microformats.svg?style=for-the-badge)](https://rubygems.org/gems/microformats)
7
- [![Build](https://img.shields.io/travis/microformats/microformats-ruby/master.svg?style=for-the-badge)](https://travis-ci.org/microformats/microformats-ruby)
7
+ [![Build](https://img.shields.io/github/workflow/status/microformats/microformats-ruby/CI?logo=github&style=for-the-badge)](https://github.com/microformats/microformats-ruby/actions/workflows/ci.yml)
8
8
  [![Maintainability](https://img.shields.io/codeclimate/maintainability/microformats/microformats-ruby.svg?style=for-the-badge)](https://codeclimate.com/github/microformats/microformats-ruby)
9
9
  [![Coverage](https://img.shields.io/codeclimate/c/microformats/microformats-ruby.svg?style=for-the-badge)](https://codeclimate.com/github/microformats/microformats-ruby/code)
10
10
 
@@ -15,9 +15,9 @@
15
15
 
16
16
  ## Getting Started
17
17
 
18
- Before installing and using microformats-ruby, you'll want to have Ruby 2.4.10 (or newer) installed. It's recommended that you use a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm).
18
+ Before installing and using microformats-ruby, you'll want to have Ruby 2.4.10 (or newer) installed. It's recommended that you use a Ruby version management tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm).
19
19
 
20
- microformats-ruby is developed using Ruby 2.7.1 and is additionally tested against versions 2.4.10, 2.5.8, and 2.6.6 using [Travis CI](https://travis-ci.org/microformats/microformats-ruby).
20
+ microformats-ruby is developed using Ruby 2.7.1 and is additionally tested against versions 2.4, 2.5, 2.6, 2.7, 3.0, and 3.1 using [github Actions](https://github.com/microformats/microformats-ruby/actions).
21
21
 
22
22
  ## Installation
23
23
 
@@ -148,7 +148,7 @@ curl http://tantek.com | microformats
148
148
 
149
149
  Have questions about using microformats-ruby? Found a bug? Have ideas for new or improved features? Want to pitch in and write some code?
150
150
 
151
- Check out [CONTRIBUTING.md](https://github.com/microformats/microformats-ruby/blob/master/CONTRIBUTING.md) for more on how you can help!
151
+ Check out [CONTRIBUTING.md](https://github.com/microformats/microformats-ruby/blob/main/CONTRIBUTING.md) for more on how you can help!
152
152
 
153
153
  ## Acknowledgments
154
154
 
@@ -180,4 +180,4 @@ microformats-ruby is dedicated to the public domain using the [Creative Commons
180
180
 
181
181
  The authors waive all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, and distribute the work, even for commercial purposes, all without asking permission.
182
182
 
183
- See [LICENSE](https://github.com/microformats/microformats-ruby/blob/master/LICENSE) for more details.
183
+ See [LICENSE](https://github.com/microformats/microformats-ruby/blob/main/LICENSE) for more details.
@@ -1,3 +1,3 @@
1
1
  module Microformats
2
- VERSION = '4.3.1'.freeze
2
+ VERSION = '4.4.1'.freeze
3
3
  end
data/microformats.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'microformats/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.required_ruby_version = ['>= 2.4', '< 3.1']
7
+ spec.required_ruby_version = ['>= 2.4', '< 3.2']
8
8
 
9
9
  spec.name = 'microformats'
10
10
  spec.version = Microformats::VERSION
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.post_install_message = 'Prior to version 4.0.0, the microformats gem was named "microformats2."'
25
25
 
26
- spec.add_development_dependency 'bundler', '>= 1.16.2', '< 2.3'
26
+ spec.add_development_dependency 'bundler', '>= 1.16.2', '< 2.4'
27
27
  spec.add_development_dependency 'guard-rspec', '~> 4.7'
28
28
  spec.add_development_dependency 'rake', '~> 12.3'
29
29
  spec.add_development_dependency 'rb-fsevent', '~> 0.10.3'
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microformats
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker
8
8
  - Jessica Lynn Suttles
9
9
  - Ben Roberts
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-05-03 00:00:00.000000000 Z
13
+ date: 2022-05-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 1.16.2
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '2.3'
24
+ version: '2.4'
25
25
  type: :development
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: 1.16.2
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '2.3'
34
+ version: '2.4'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: guard-rspec
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -199,13 +199,14 @@ extensions: []
199
199
  extra_rdoc_files: []
200
200
  files:
201
201
  - ".editorconfig"
202
+ - ".github/dependabot.yml"
203
+ - ".github/workflows/ci.yml"
202
204
  - ".gitignore"
203
205
  - ".rspec"
204
206
  - ".rubocop"
205
207
  - ".rubocop.yml"
206
208
  - ".ruby-version"
207
209
  - ".simplecov"
208
- - ".travis.yml"
209
210
  - CONTRIBUTING.md
210
211
  - Gemfile
211
212
  - Guardfile
@@ -241,15 +242,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
241
242
  version: '2.4'
242
243
  - - "<"
243
244
  - !ruby/object:Gem::Version
244
- version: '3.1'
245
+ version: '3.2'
245
246
  required_rubygems_version: !ruby/object:Gem::Requirement
246
247
  requirements:
247
248
  - - ">="
248
249
  - !ruby/object:Gem::Version
249
250
  version: '0'
250
251
  requirements: []
251
- rubygems_version: 3.2.16
252
- signing_key:
252
+ rubygems_version: 3.3.7
253
+ signing_key:
253
254
  specification_version: 4
254
255
  summary: Microformats2 and classic microformats parser
255
256
  test_files: []
data/.travis.yml DELETED
@@ -1,19 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- rvm:
4
- - 2.4.10
5
- - 2.5.8
6
- - 2.6.6
7
- - 2.7.2
8
- - 3.0.0
9
- before_install:
10
- - gem update --system
11
- - gem update bundler
12
- before_script:
13
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
14
- - chmod +x ./cc-test-reporter
15
- - ./cc-test-reporter before-build
16
- script:
17
- - bundle exec rspec
18
- after_script:
19
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT