Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdoller committed Dec 27, 2023
1 parent 37e2ffd commit 412912b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- checkout
- run: |
version=$(ruby -I. -rlib/data_uri/version -e 'puts URI::Data::VERSION')
version=$(ruby -I. -rlib/data_uri/uri -e 'puts URI::Data::VERSION')
if ! grep "\- v${version}" CHANGELOG.md > /dev/null; then
echo Version ${version} does not appear to have a CHANGELOG entry. Please add one.
exit 1
Expand Down
4 changes: 3 additions & 1 deletion data_uri.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'data_uri'

Gem::Specification.new do |s|
s.name = 'data_uri'
s.version = '0.0.4'
s.version = URI::Data::VERSION
s.author = 'Donald Ball'
s.email = 'donald.ball@gmail.com'
s.homepage = 'http://github.com/dball/data_uri'
Expand Down
1 change: 0 additions & 1 deletion lib/data_uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
require 'stringio'

require 'data_uri/uri'
require 'data_uri/version'
1 change: 1 addition & 0 deletions lib/data_uri/uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

module URI
class Data < Generic
VERSION = '0.0.4'.freeze
COMPONENT = %i[scheme opaque].freeze
MIME_TYPE_RE = %r{^([-\w.+]+/[-\w.+]*)}.freeze
MIME_PARAM_RE = /^;([-\w.+]+)=([^;,]+)/.freeze
Expand Down
2 changes: 0 additions & 2 deletions lib/data_uri/version.rb

This file was deleted.

0 comments on commit 412912b

Please sign in to comment.