kt-paperclip-mozjpeg 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54fb888dcb82bca77a493443cd9fdbdd53396416a58fc94f242ef41c06f3e7db
4
- data.tar.gz: 5b111ae746be0847e51c1855934ce40115d18b6cfb8015bd36692dcb703fd0c7
3
+ metadata.gz: fef6da8edece9374b38f1e39426d2320369abee25c625af3cad48fe43c3490ee
4
+ data.tar.gz: 9edbb9927ff6ed73c75d50b76fcc6f53ae4795c7f73a181e03857a3d4a220e55
5
5
  SHA512:
6
- metadata.gz: 63aa878a623b7990ed3d1a2ce624dc32bafe6b35bc11199aac34de001b9ec11607ff73a564717b706888775e734c4c994f856db71f4f6bd629811a5f9e4394dd
7
- data.tar.gz: 4b655615ccee1b3601e954d945a2998768095b7fb4c8d7b1608b947826af16bb78714ea55f9c3909e8705f5935c1beac88a5ce73d9f87c602a53f3c92d29f961
6
+ metadata.gz: 0ba7164dd5ce4e295debaf67c49f70d1e1d232f8aff68d5a05b6241de03b1d6a52794ee06ba74e0ac6712fef5f673c1a1b223a311d4118dbd4ed094a139ed345
7
+ data.tar.gz: 8d18daa247430133304b838411de546eb089a14e44fcbd2ef3dda188fe54f3cfe353d581fd69bee3eae9630b09eb5811e89b1651f5cd7ba97361ebf2431710a5
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in paperclip-mozjpeg.gemspec
4
3
  gemspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # About
2
2
 
3
- This repository contains the ruby library which adds file processor to compress JPEG images uploaded using the [paperclip](https://github.com/thoughtbot/paperclip) gem.
3
+ This repository contains the ruby library which adds file processor to compress JPEG images uploaded using the [paperclip](https://github.com/thoughtbot/paperclip) and [kt-paperclip](https://github.com/kreeti/kt-paperclip) gem.
4
4
 
5
5
  ## Installation
6
6
 
@@ -8,6 +8,8 @@ Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
10
  gem 'paperclip-mozjpeg'
11
+ # or
12
+ gem 'kt-paperclip-mozjpeg'
11
13
 
12
14
  # To use bundled binaries of MozJPEG 3.0 for Mac OS X, Linux and Windows add:
13
15
  gem 'mozjpeg'
@@ -20,6 +22,8 @@ And then execute:
20
22
  Or install it yourself as:
21
23
 
22
24
  $ gem install paperclip-mozjpeg
25
+ # or
26
+ $ gem install kt-paperclip-mozjpeg
23
27
 
24
28
  To install bundled binaries (must `require 'mozjpeg'` if not using bundler):
25
29
 
@@ -0,0 +1 @@
1
+ require_relative "paperclip-mozjpeg"
@@ -1,3 +1,3 @@
1
1
  module PaperclipMozjpeg
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,5 +1,5 @@
1
- require "paperclip-mozjpeg/version"
2
- require 'paperclip'
1
+ require_relative "paperclip-mozjpeg/version"
2
+ require "paperclip"
3
3
 
4
4
  module Paperclip
5
5
 
@@ -1,16 +1,13 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'paperclip-mozjpeg/version'
1
+ require_relative "lib/paperclip-mozjpeg/version"
5
2
 
6
3
  Gem::Specification.new do |spec|
7
4
  spec.name = "#{ENV["GEM_NAME_PREFIX"]+"-" if ENV["GEM_NAME_PREFIX"]}paperclip-mozjpeg"
8
5
  spec.version = PaperclipMozjpeg::VERSION
9
- spec.authors = ["Jan Svoboda"]
10
- spec.email = ["jan@mluv.cz"]
6
+ spec.authors = [ "Jan Svoboda" ]
7
+ spec.email = [ "jan@mluv.cz" ]
11
8
 
12
- spec.summary = %q{JPEG and PNG compression processor for paperclip using MozJPEG.}
13
- spec.description = %q{JPEG and PNG compression processor for paperclip using MozJPEG.}
9
+ spec.summary = %Q[JPEG and PNG compression processor for paperclip using MozJPEG.]
10
+ spec.description = %Q[JPEG and PNG compression processor for paperclip using MozJPEG.]
14
11
  spec.homepage = "https://github.com/svoboda-jan/paperclip-mozjpeg"
15
12
 
16
13
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kt-paperclip-mozjpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Svoboda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-08 00:00:00.000000000 Z
11
+ date: 2022-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,8 +78,7 @@ files:
78
78
  - Gemfile
79
79
  - README.md
80
80
  - Rakefile
81
- - bin/console
82
- - bin/setup
81
+ - lib/kt-paperclip-mozjpeg.rb
83
82
  - lib/paperclip-mozjpeg.rb
84
83
  - lib/paperclip-mozjpeg/version.rb
85
84
  - paperclip-mozjpeg.gemspec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "paperclip/mozjpeg"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here