absolutely 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/CONTRIBUTING.md +2 -2
- data/README.md +6 -7
- data/absolutely.gemspec +4 -4
- data/lib/absolutely/version.rb +1 -1
- metadata +7 -18
- data/.editorconfig +0 -14
- data/.gitignore +0 -34
- data/.reek.yml +0 -6
- data/.rspec +0 -2
- data/.rubocop +0 -3
- data/.rubocop.yml +0 -25
- data/.ruby-version +0 -1
- data/.simplecov +0 -13
- data/.travis.yml +0 -18
- data/Gemfile +0 -14
- data/Rakefile +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d71dd15ea98516035ebf50cf2c601e706fffe9ac519bb67b7eee3066c897305
|
4
|
+
data.tar.gz: 18f99fef87e3cf2e9fa0f25e256768b5d3e653563a584cf8b2bcb5b7506d4327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abe899336ce0b333754e344618e7767003e0f543e9bd8fecb9ee67a5d0aacab83ff12a2d9126f84b48c7ae6d6e03a6436892e843c6ecddf61e1ee6a57114e491
|
7
|
+
data.tar.gz: 307b708b9b6ef5ed4c1ae1ba5be470375634f7e884bb0cadca5762dd577e46374f6f84edeccabea82af450707ab831a1820b3211fdd75855450f43e1cdec5a38
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -8,7 +8,7 @@ There are a couple ways you can help improve Absolutely:
|
|
8
8
|
|
9
9
|
## Getting Started
|
10
10
|
|
11
|
-
Absolutely is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6
|
11
|
+
Absolutely is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6, 2.7, and 3.0 using [CircleCI](https://app.circleci.com/pipelines/github/jgarber623/absolutely).
|
12
12
|
|
13
13
|
Before making changes to Absolutely, you'll want to install Ruby 2.5.8. 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). Once you've installed Ruby 2.5.8 using your method of choice, install the project's gems by running:
|
14
14
|
|
@@ -22,7 +22,7 @@ bundle install
|
|
22
22
|
1. Install development dependencies as outlined above.
|
23
23
|
1. Create a feature branch for the code changes you're looking to make: `git checkout -b my-new-feature`.
|
24
24
|
1. _Write some code!_
|
25
|
-
1. If your changes would benefit from testing, add the necessary tests and verify everything passes by running `
|
25
|
+
1. If your changes would benefit from testing, add the necessary tests and verify everything passes by running `bin/ci`.
|
26
26
|
1. Commit your changes: `git commit -am 'Add some new feature or fix some issue'`. _(See [this excellent article](https://chris.beams.io/posts/git-commit/) for tips on writing useful Git commit messages.)_
|
27
27
|
1. Push the branch to your fork: `git push -u origin my-new-feature`.
|
28
28
|
1. Create a new [pull request][pulls] and we'll review your changes.
|
data/README.md
CHANGED
@@ -2,12 +2,11 @@
|
|
2
2
|
|
3
3
|
**A Ruby gem for converting relative paths to absolute URIs.**
|
4
4
|
|
5
|
-
[![Gem](https://img.shields.io/gem/v/absolutely.svg?style=for-the-badge)](https://rubygems.org/gems/absolutely)
|
6
|
-
[![Downloads](https://img.shields.io/gem/dt/absolutely.svg?style=for-the-badge)](https://rubygems.org/gems/absolutely)
|
7
|
-
[![Build](https://img.shields.io/
|
8
|
-
[![
|
9
|
-
[![
|
10
|
-
[![Coverage](https://img.shields.io/codeclimate/c/jgarber623/absolutely.svg?style=for-the-badge)](https://codeclimate.com/github/jgarber623/absolutely/code)
|
5
|
+
[![Gem](https://img.shields.io/gem/v/absolutely.svg?logo=rubygems&style=for-the-badge)](https://rubygems.org/gems/absolutely)
|
6
|
+
[![Downloads](https://img.shields.io/gem/dt/absolutely.svg?logo=rubygems&style=for-the-badge)](https://rubygems.org/gems/absolutely)
|
7
|
+
[![Build](https://img.shields.io/circleci/build/github/jgarber623/absolutely?logo=circleci&style=for-the-badge)](https://app.circleci.com/pipelines/github/jgarber623/absolutely)
|
8
|
+
[![Maintainability](https://img.shields.io/codeclimate/maintainability/jgarber623/absolutely.svg?logo=code-climate&style=for-the-badge)](https://codeclimate.com/github/jgarber623/absolutely)
|
9
|
+
[![Coverage](https://img.shields.io/codeclimate/c/jgarber623/absolutely.svg?logo=code-climate&style=for-the-badge)](https://codeclimate.com/github/jgarber623/absolutely/code)
|
11
10
|
|
12
11
|
## Key Features
|
13
12
|
|
@@ -18,7 +17,7 @@
|
|
18
17
|
|
19
18
|
Before installing and using Absolutely, you'll want to have [Ruby](https://www.ruby-lang.org) 2.5 (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).
|
20
19
|
|
21
|
-
Absolutely is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6
|
20
|
+
Absolutely is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6, 2.7, and 3.0 using [CircleCI](https://app.circleci.com/pipelines/github/jgarber623/absolutely).
|
22
21
|
|
23
22
|
## Installation
|
24
23
|
|
data/absolutely.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require_relative 'lib/absolutely/version'
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '<
|
4
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 4')
|
5
5
|
|
6
6
|
spec.name = 'absolutely'
|
7
7
|
spec.version = Absolutely::VERSION
|
@@ -13,9 +13,9 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/jgarber623/absolutely'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
|
-
spec.files = Dir.
|
17
|
-
|
18
|
-
|
16
|
+
spec.files = Dir['lib/**/*'].reject { |f| File.directory?(f) }
|
17
|
+
spec.files += %w[LICENSE CHANGELOG.md CONTRIBUTING.md README.md]
|
18
|
+
spec.files += %w[absolutely.gemspec]
|
19
19
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
data/lib/absolutely/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: absolutely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Garber
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -31,21 +31,10 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- ".editorconfig"
|
35
|
-
- ".gitignore"
|
36
|
-
- ".reek.yml"
|
37
|
-
- ".rspec"
|
38
|
-
- ".rubocop"
|
39
|
-
- ".rubocop.yml"
|
40
|
-
- ".ruby-version"
|
41
|
-
- ".simplecov"
|
42
|
-
- ".travis.yml"
|
43
34
|
- CHANGELOG.md
|
44
35
|
- CONTRIBUTING.md
|
45
|
-
- Gemfile
|
46
36
|
- LICENSE
|
47
37
|
- README.md
|
48
|
-
- Rakefile
|
49
38
|
- absolutely.gemspec
|
50
39
|
- lib/absolutely.rb
|
51
40
|
- lib/absolutely/exceptions.rb
|
@@ -56,8 +45,8 @@ licenses:
|
|
56
45
|
- MIT
|
57
46
|
metadata:
|
58
47
|
bug_tracker_uri: https://github.com/jgarber623/absolutely/issues
|
59
|
-
changelog_uri: https://github.com/jgarber623/absolutely/blob/v5.
|
60
|
-
post_install_message:
|
48
|
+
changelog_uri: https://github.com/jgarber623/absolutely/blob/v5.1.0/CHANGELOG.md
|
49
|
+
post_install_message:
|
61
50
|
rdoc_options: []
|
62
51
|
require_paths:
|
63
52
|
- lib
|
@@ -68,7 +57,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
57
|
version: '2.5'
|
69
58
|
- - "<"
|
70
59
|
- !ruby/object:Gem::Version
|
71
|
-
version: '
|
60
|
+
version: '4'
|
72
61
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
62
|
requirements:
|
74
63
|
- - ">="
|
@@ -76,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
65
|
version: '0'
|
77
66
|
requirements: []
|
78
67
|
rubygems_version: 3.1.2
|
79
|
-
signing_key:
|
68
|
+
signing_key:
|
80
69
|
specification_version: 4
|
81
70
|
summary: Convert relative paths to absolute URIs.
|
82
71
|
test_files: []
|
data/.editorconfig
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# EditorConfig is awesome: https://EditorConfig.org
|
2
|
-
root = true
|
3
|
-
|
4
|
-
[*]
|
5
|
-
charset = utf-8
|
6
|
-
end_of_line = lf
|
7
|
-
insert_final_newline = true
|
8
|
-
indent_size = 2
|
9
|
-
indent_style = space
|
10
|
-
trim_trailing_whitespace = true
|
11
|
-
|
12
|
-
[*.md]
|
13
|
-
indent_size = 4
|
14
|
-
indent_style = tab
|
data/.gitignore
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
/.config
|
4
|
-
/coverage/
|
5
|
-
/InstalledFiles
|
6
|
-
/pkg/
|
7
|
-
/spec/reports/
|
8
|
-
/spec/examples.txt
|
9
|
-
/test/tmp/
|
10
|
-
/test/version_tmp/
|
11
|
-
/tmp/
|
12
|
-
|
13
|
-
# Used by dotenv library to load environment variables.
|
14
|
-
# .env
|
15
|
-
|
16
|
-
# Documentation cache and generated files:
|
17
|
-
/.yardoc/
|
18
|
-
/_yardoc/
|
19
|
-
/doc/
|
20
|
-
/rdoc/
|
21
|
-
|
22
|
-
# Environment normalization:
|
23
|
-
/.bundle/
|
24
|
-
/vendor/bundle
|
25
|
-
/lib/bundler/man/
|
26
|
-
|
27
|
-
# for a library or gem, you might want to ignore these files since the code is
|
28
|
-
# intended to run in multiple environments; otherwise, check them in:
|
29
|
-
Gemfile.lock
|
30
|
-
# .ruby-version
|
31
|
-
# .ruby-gemset
|
32
|
-
|
33
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
34
|
-
.rvmrc
|
data/.reek.yml
DELETED
data/.rspec
DELETED
data/.rubocop
DELETED
data/.rubocop.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-performance
|
3
|
-
- rubocop-rspec
|
4
|
-
|
5
|
-
AllCops:
|
6
|
-
NewCops: enable
|
7
|
-
|
8
|
-
Layout/LineLength:
|
9
|
-
Enabled: false
|
10
|
-
|
11
|
-
Metrics/BlockLength:
|
12
|
-
Exclude:
|
13
|
-
- spec/**/*.rb
|
14
|
-
|
15
|
-
Naming/RescuedExceptionsVariableName:
|
16
|
-
PreferredName: exception
|
17
|
-
|
18
|
-
Style/Documentation:
|
19
|
-
Enabled: false
|
20
|
-
|
21
|
-
Style/FrozenStringLiteralComment:
|
22
|
-
Enabled: false
|
23
|
-
|
24
|
-
Style/SymbolArray:
|
25
|
-
Enabled: false
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.5.8
|
data/.simplecov
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'simplecov-console'
|
2
|
-
|
3
|
-
formatters = [SimpleCov::Formatter::HTMLFormatter]
|
4
|
-
|
5
|
-
# rubocop:disable Style/IfUnlessModifier
|
6
|
-
if RSpec.configuration.files_to_run.length > 1
|
7
|
-
formatters << SimpleCov::Formatter::Console
|
8
|
-
end
|
9
|
-
# rubocop:enable Style/IfUnlessModifier
|
10
|
-
|
11
|
-
SimpleCov.start do
|
12
|
-
formatter SimpleCov::Formatter::MultiFormatter.new(formatters)
|
13
|
-
end
|
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
dist: bionic
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.5
|
5
|
-
- 2.6
|
6
|
-
- 2.7
|
7
|
-
cache: bundler
|
8
|
-
before_script:
|
9
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
10
|
-
- chmod +x ./cc-test-reporter
|
11
|
-
- ./cc-test-reporter before-build
|
12
|
-
after_script:
|
13
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
14
|
-
notifications:
|
15
|
-
email: false
|
16
|
-
slack:
|
17
|
-
rooms:
|
18
|
-
secure: HoydkS7DVdZ/qnOEZq1IhavrwpHaSMhGAUnWY1Vzrlb7szKukDQC5DVR0VfWfluJay/oNStdaJLeO026rCtUeI7mR+gi6kwWg71Bp/WnqNBpXU1e6NxgtenuYJyStY92lGOXQW8Ikz+FYs5Q48v4N2SjTHWw1F4TliN/MLx9Pw7TE3EOUmH7g75m3/DBsAkNqGPjGN5QaKZhTJS+o1TWkyYAswhwUeByQOPcPgx+QBhcAaCB/N75NkxPXcCWHY17BVYw4I1YZEtx+uyfq/+h1CtxyASZ7UP2uy/ZjVrqLEYbRLRKb+SgFRkt8yOk93BhmdpaizNicnvjZmWdbfKQ9GGYNo7pw5r7PbeqDIbU/dGsR4ZLUuBXrBWFd9XkK+DADt94aUp3WB4meXqwqeB5bHNAVoD8UqXfQ92Iy2UFcQcPIZ8OsQbrtSiFfJSVlbdhsA4MUAOQtbcoR6so7uuPuzvUGQQbq+YAPRAcVqnAtDc3b78hN1vCFn/napXVfa1kPnQdWh5VgYjXIhWaY3bLyg3/oetXz+9ExkBopoTsap37/uYweUqVC4T0gQSonRfpJnGVnqsqnZyqa0XxhUK/QmbcQC27rUx6OuzFLdJa3HEq1+jPW14qq4lsmD2uNG9x9ZWWuTzVpbjpziLZLXIX2nmy3R3Yh+n7Kq9YTIX50B8=
|
data/Gemfile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in absolutely.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
gem 'pry-byebug', '~> 3.9'
|
7
|
-
gem 'rake', '~> 13.0'
|
8
|
-
gem 'reek', '~> 6.0'
|
9
|
-
gem 'rspec', '~> 3.9'
|
10
|
-
gem 'rubocop', '~> 0.89.1'
|
11
|
-
gem 'rubocop-performance', '~> 1.7'
|
12
|
-
gem 'rubocop-rspec', '~> 1.43'
|
13
|
-
gem 'simplecov', '~> 0.19.0'
|
14
|
-
gem 'simplecov-console', '~> 0.7.2'
|
data/Rakefile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'bundler/gem_tasks'
|
2
|
-
|
3
|
-
require 'reek/rake/task'
|
4
|
-
require 'rspec/core/rake_task'
|
5
|
-
require 'rubocop/rake_task'
|
6
|
-
|
7
|
-
Reek::Rake::Task.new do |task|
|
8
|
-
task.fail_on_error = false
|
9
|
-
task.source_files = FileList['**/*.rb'].exclude('vendor/**/*.rb')
|
10
|
-
end
|
11
|
-
|
12
|
-
RSpec::Core::RakeTask.new
|
13
|
-
|
14
|
-
RuboCop::RakeTask.new do |task|
|
15
|
-
task.fail_on_error = false
|
16
|
-
end
|
17
|
-
|
18
|
-
task default: [:rubocop, :reek, :spec]
|