Skip to content

Commit

Permalink
Add 1190 Domains (#43)
Browse files Browse the repository at this point in the history
Additions:

- https://github.com/PeterDaveHello/url-shorteners - 927
- https://github.com/738/awesome-url-shortener - 18
- Branded bitly domains - 241
- Additional domains: bitlybr.com, ir.uv.es, go.uv.es, link.uv.es - 4

Removals:

- Duplicate: `mz.cm,` (https://github.com/altmetric/embiggen/blob/6b61cbee40209dbec518c35612ce12931cbc742c/shorteners.txt#L4856) 

Other changes:

- Split module_function specification - Solves rubocop violation (failing CI):

    lib/embiggen.rb:5:3: C: [Correctable] Style/AccessModifierDeclarations: module_function should not be inlined in method definitions.
  module_function :URI, :configure
  ^^^^^^^^^^^^^^^
  • Loading branch information
ttr3dp authored Nov 20, 2024
1 parent 6b61cbe commit 194344f
Show file tree
Hide file tree
Showing 5 changed files with 1,202 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).

## [1.6.0] - 2024-11-20
### Changed
- Added 949 new shorteners
- Added 241 new Bitly branded domain shorteners
- Removed 1 duplicate `mz.cm,`

## UNRELEASED - 2024-10-15
### Changed
- Modernise dev dependencies
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

A Ruby library to expand shortened URLs.

**Current version:** 1.5.0
**Current version:** 1.6.0

This comment has been minimized.

Copy link
@mudge

mudge Nov 21, 2024

Contributor

I suspect they were removed automatically but the trailing spaces here are significant: they insert a newline, see https://www.markdownguide.org/basic-syntax/#line-breaks

**Supported Ruby versions:** >= 2.7

## Installation

```
gem install embiggen -v '~> 1.5'
gem install embiggen -v '~> 1.6'
```

Or, in your `Gemfile`:

```ruby
gem 'embiggen', '~> 1.5'
gem 'embiggen', '~> 1.6'
```

## Usage
Expand Down Expand Up @@ -203,6 +203,7 @@ Override the following settings:
* [Bit.do's](http://bit.do/list-of-url-shorteners.php) curated list
* [Hongkiat's](http://www.hongkiat.com/blog/url-shortening-services-the-ultimate-list/)
curated list
* [PeterDaveHello's](https://github.com/PeterDaveHello/url-shorteners) curated list
* A list of branded [Bitly](https://bitly.com/) domains collected by Altmetric

## License
Expand Down
2 changes: 1 addition & 1 deletion embiggen.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'embiggen'
s.version = '1.5.0'
s.version = '1.6.0'
s.summary = 'A library to expand shortened URLs'
s.description = <<-EOF
A library to expand shortened URIs, respecting timeouts, following
Expand Down
3 changes: 2 additions & 1 deletion lib/embiggen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ def configure
yield(Configuration)
end

module_function :URI, :configure
module_function :URI
module_function :configure
end
Loading

0 comments on commit 194344f

Please sign in to comment.