rmagick4j 0.3.9-java → 0.4.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +5 -1
- data/{LICENSE.txt → LICENSE.md} +16 -8
- data/README.md +38 -0
- data/Rakefile +33 -6
- data/lib/magick4j.jar +0 -0
- data/lib/rmagick4j/draw.rb +1 -1
- data/lib/rmagick4j/image.rb +5 -1
- data/lib/rmagick4j/pixel.rb +1 -1
- data/lib/rmagick4j/version.rb +1 -1
- data/test/RMagickTestSuite.rb +1 -1
- data/test/eyetests/bullseye.rb +1 -1
- data/test/eyetests/doc.rb +2 -2
- data/test/eyetests/tests/new_image.rb +10 -9
- data/test/gruff_tests/test/gruff_test_case.rb +45 -20
- data/test/gruff_tests/test/test_accumulator_bar.rb +1 -1
- data/test/gruff_tests/test/test_line.rb +1 -1
- data/test/spec/draw_spec.rb +2 -2
- data/test/spec/features/support/env.rb +1 -1
- data/test/spec/image_spec.rb +2 -2
- data/test/spec/pixel_spec.rb +2 -2
- metadata +72 -13
- data/README.txt +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 261c553cd6da94aab725fd8b796c1c53c5c17ec2
|
4
|
+
data.tar.gz: 9908c2eba3eb500bc6f7b23a27ba53f5cefb5c0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 060645ff73fcc7c1cd4fdac16d06170b14ec39d2d777fa732931800d888ba1186783364f488681e154337a51d2575ff103ab0703e73f4c3d75b4d0bec6fe5be4
|
7
|
+
data.tar.gz: 6f8f55915fb0fd301589187c30c7ca53d546bdfbf6f6bfd9cb7f2ddaa647d815af7f6efaf65035e06562e556678a9b7200d0199b81a8e5c84e551be9e25035e9
|
data/History.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 0.4.0 2016-05-28
|
2
|
+
|
3
|
+
- Added support for Ruby 2.3.1 through JRuby 9.1.x
|
4
|
+
|
1
5
|
== 0.3.5
|
2
6
|
|
3
7
|
- Implemented Draw primitives (affice, arc, pattern, path)
|
@@ -81,4 +85,4 @@ But it's still progress, and I'm actually reading the pick axe (v2 - I'd looked
|
|
81
85
|
|
82
86
|
Maybe by m2 or m3 (or sometime), I could try to find a real app using RMagick and try to make it work with my version. For the next moment, though, I'll probably try tackling page 2 or 3 of the "portfolio" samples at the RMagick web site. And eventually go into class by class and method by method depth. Or something. I'm just trying to work with tracer bullets for now.
|
83
87
|
|
84
|
-
And I might rename the project to "rmagick4j" or "rmagick-jruby" or something at some point. Not sure what's best, so I'm sticking with "jr" for now. And that's an accurate representation for now, anyway.
|
88
|
+
And I might rename the project to "rmagick4j" or "rmagick-jruby" or something at some point. Not sure what's best, so I'm sticking with "jr" for now. And that's an accurate representation for now, anyway.
|
data/{LICENSE.txt → LICENSE.md}
RENAMED
@@ -1,12 +1,7 @@
|
|
1
|
-
|
1
|
+
## The MIT license
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
See these respective projects for the licenses and ownership of these files.
|
6
|
-
|
7
|
-
Other files lies under MIT license.
|
8
|
-
|
9
|
-
Copyright (c) 2010 Tom Palmer, Sergio Arbeo, Patrick Hurley, Karl Palmskog
|
3
|
+
Copyright (c) 2010 Tom Palmer, Sergio Arbeo, Patrick Hurley, Karl Palmskog,
|
4
|
+
Uwe Kubosch
|
10
5
|
|
11
6
|
Permission is hereby granted, free of charge, to any
|
12
7
|
person obtaining a copy of this software and associated
|
@@ -29,3 +24,16 @@ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
29
24
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
30
25
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
31
26
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27
|
+
|
28
|
+
## 3rd party files
|
29
|
+
|
30
|
+
The file observer.rb comes from JRuby's distribution of standard Ruby libraries.
|
31
|
+
The file jruby.jar also comes from the JRuby project.
|
32
|
+
|
33
|
+
RMagick.rb, clown.jpg, and the contents of rvg come from the RMagick project.
|
34
|
+
Much of the content of the test demos (currently in "RMagickTestSuite.rb") come
|
35
|
+
from the RMagick web site.
|
36
|
+
|
37
|
+
See these respective projects for the licenses and ownership of these files.
|
38
|
+
|
39
|
+
Other files lie under the MIT license.
|
data/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/rmagick4j.svg)](https://badge.fury.io/rb/rmagick4j)
|
2
|
+
[![Build Status](https://travis-ci.org/Serabe/RMagick4J.svg?branch=master)](https://travis-ci.org/Serabe/RMagick4J)
|
3
|
+
|
4
|
+
RMagick4J
|
5
|
+
=========
|
6
|
+
|
7
|
+
[RMagick](https://github.com/rmagick/rmagick) is a Ruby binding to ImageMagick
|
8
|
+
and GraphicsMagick. **RMagick4J** implements ImageMagick functionality and the
|
9
|
+
C portions of RMagick for use with JRuby.
|
10
|
+
|
11
|
+
## Authors
|
12
|
+
|
13
|
+
This project was written by Thomas Palmer, Sergio Arbeo, Thomas Enebo, and
|
14
|
+
Uwe Kubosch with lots of help from the JRuby community.
|
15
|
+
|
16
|
+
## API docs
|
17
|
+
|
18
|
+
You can find the generated API documentation here:
|
19
|
+
|
20
|
+
http://www.rubydoc.info/gems/rmagick4j
|
21
|
+
|
22
|
+
|
23
|
+
## License
|
24
|
+
|
25
|
+
See [LICENSE.md](LICENSE.md)
|
26
|
+
|
27
|
+
## Creating
|
28
|
+
|
29
|
+
To create a gem you should run rake.
|
30
|
+
The useful targets are
|
31
|
+
|
32
|
+
:clean, :compile, :gem, :release, :test (hoe has more -- see hoe docs).
|
33
|
+
|
34
|
+
To create a new release, you should:
|
35
|
+
|
36
|
+
* Add new version entry to History.txt
|
37
|
+
* Update lib/rmagick4j/version.rb to contain new version
|
38
|
+
* rake release
|
data/Rakefile
CHANGED
@@ -2,9 +2,32 @@ require 'rake'
|
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'bundler/gem_tasks'
|
4
4
|
|
5
|
-
|
5
|
+
BUILD_FILE = File.join(File.dirname(__FILE__), 'Magick4J', 'build.xml')
|
6
|
+
JAR_SRC_FILE = File.join(File.dirname(__FILE__), 'Magick4J', 'dist', 'Magick4J.jar')
|
7
|
+
JAR_DEST_FILE = File.join(File.dirname(__FILE__), 'lib', 'magick4j.jar')
|
8
|
+
|
9
|
+
task :default => [:compile, :move, :test, :gem, :clean]
|
6
10
|
task :gem => :build
|
7
11
|
|
12
|
+
task :compile do
|
13
|
+
`ant -f #{BUILD_FILE} jar`
|
14
|
+
puts 'Compiled magick4j.jar'
|
15
|
+
end
|
16
|
+
|
17
|
+
task :clean do
|
18
|
+
`ant -f #{BUILD_FILE} clean`
|
19
|
+
end
|
20
|
+
|
21
|
+
task :move do
|
22
|
+
rm_f(JAR_DEST_FILE)
|
23
|
+
mv(JAR_SRC_FILE, JAR_DEST_FILE)
|
24
|
+
puts 'Moved jar file to lib folder.'
|
25
|
+
end
|
26
|
+
|
27
|
+
task :work do
|
28
|
+
puts `git diff --shortstat 538db96f13ba63fc057b81f9f710554d8f48d84b..HEAD`
|
29
|
+
end
|
30
|
+
|
8
31
|
jar_file = File.join(%w(lib magick4j.jar))
|
9
32
|
|
10
33
|
desc 'Clean up any generated file.'
|
@@ -12,12 +35,16 @@ task :clean do
|
|
12
35
|
rm_rf 'pkg'
|
13
36
|
end
|
14
37
|
|
38
|
+
task :test => [:compile, :move, :eyetests, :gruff_test]
|
39
|
+
|
40
|
+
Rake::TestTask.new :eyetests do |t|
|
41
|
+
t.libs << 'test'
|
42
|
+
t.test_files = FileList['test/eyetests/tests/**/*.rb']
|
43
|
+
end
|
44
|
+
|
15
45
|
desc 'Run gruff unit tests.'
|
16
|
-
|
17
|
-
FileList['test/gruff_tests/test/test_*.rb']
|
18
|
-
puts `ruby #{file}`
|
19
|
-
puts ''
|
20
|
-
end
|
46
|
+
Rake::TestTask.new :gruff_test do |t|
|
47
|
+
t.test_files = FileList['test/gruff_tests/test/test_*.rb']
|
21
48
|
end
|
22
49
|
|
23
50
|
desc 'Run a live sample using RMagick4j.'
|
data/lib/magick4j.jar
CHANGED
Binary file
|
data/lib/rmagick4j/draw.rb
CHANGED
data/lib/rmagick4j/image.rb
CHANGED
@@ -282,6 +282,10 @@ module Magick
|
|
282
282
|
@image.storePixels(x,y,columns,rows,pixels.to_java)
|
283
283
|
end
|
284
284
|
|
285
|
+
def thumbnail(scale)
|
286
|
+
resize(scale)
|
287
|
+
end
|
288
|
+
|
285
289
|
def to_blob(&add)
|
286
290
|
info = Info.new(&add)
|
287
291
|
@image.setFormat(info.format) if info.format
|
@@ -334,7 +338,7 @@ module Magick
|
|
334
338
|
|
335
339
|
def initialize(&add)
|
336
340
|
@info = Magick4J.ImageInfo.new
|
337
|
-
instance_eval
|
341
|
+
instance_eval(&add) if add
|
338
342
|
end
|
339
343
|
|
340
344
|
def size= size
|
data/lib/rmagick4j/pixel.rb
CHANGED
data/lib/rmagick4j/version.rb
CHANGED
data/test/RMagickTestSuite.rb
CHANGED
data/test/eyetests/bullseye.rb
CHANGED
data/test/eyetests/doc.rb
CHANGED
@@ -6,11 +6,11 @@ if ARGV.size == 0
|
|
6
6
|
exit
|
7
7
|
end
|
8
8
|
|
9
|
-
|
9
|
+
FileUtils.makedirs(ARGV[0]) unless File.exists?(ARGV[0]) && File.directory?(ARGV[0])
|
10
10
|
|
11
11
|
IMAGE_DIR = File.join(ARGV[0], 'img')
|
12
12
|
|
13
|
-
|
13
|
+
FileUtils.makedirs IMAGE_DIR unless File.exists?(IMAGE_DIR) && File.directory?(IMAGE_DIR)
|
14
14
|
|
15
15
|
TESTS= Dir[File.join(File.dirname(__FILE__),'tests','*.rb')].reject{|x| x=~ /new_image.rb$/ }
|
16
16
|
|
@@ -1,20 +1,21 @@
|
|
1
1
|
if PLATFORM == 'java'
|
2
|
-
require File.join(File.dirname(__FILE__), '..', '..', '..','lib','
|
2
|
+
require File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'rmagick')
|
3
3
|
else
|
4
|
-
require
|
5
|
-
require
|
4
|
+
require 'rubygems'
|
5
|
+
require 'rmagick'
|
6
6
|
end
|
7
7
|
|
8
8
|
class Float
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
end
|
9
|
+
def to_threshold
|
10
|
+
self/255 * Magick::QuantumRange
|
11
|
+
end
|
13
12
|
end
|
14
13
|
|
15
14
|
class Magick::Image
|
15
|
+
OUTPUT_DIR = File.join(File.dirname(File.dirname(__FILE__)), 'examples')
|
16
|
+
FileUtils.makedirs OUTPUT_DIR
|
16
17
|
alias_method :old_write, :write
|
17
|
-
|
18
|
+
|
18
19
|
def self.load(filename, &add)
|
19
20
|
file = File.join(File.expand_path(File.dirname(__FILE__)), '..', '..', 'images', filename)
|
20
21
|
self.read file, &add
|
@@ -26,6 +27,6 @@ class Magick::Image
|
|
26
27
|
change_geometry('300x300') do |columns, rows, image|
|
27
28
|
image.resize!(columns, rows)
|
28
29
|
end
|
29
|
-
old_write File.join(
|
30
|
+
old_write File.join(OUTPUT_DIR, new_filename)
|
30
31
|
end
|
31
32
|
end
|
@@ -1,15 +1,19 @@
|
|
1
1
|
$:.unshift(File.dirname(__FILE__) + "/../lib/")
|
2
2
|
require 'rubygems'
|
3
3
|
|
4
|
-
require '
|
4
|
+
require 'minitest/autorun'
|
5
|
+
require 'minitest/reporters'
|
6
|
+
Minitest::Reporters.use!
|
5
7
|
require 'gruff'
|
6
8
|
require 'fileutils'
|
7
9
|
# require 'test_timer'
|
10
|
+
require 'rmagick'
|
8
11
|
|
9
|
-
|
12
|
+
TEST_ASSETS_DIR = File.expand_path('../assets', File.dirname(__FILE__))
|
13
|
+
TEST_OUTPUT_DIR = File.expand_path('../output', File.dirname(__FILE__))
|
10
14
|
FileUtils.mkdir_p(TEST_OUTPUT_DIR)
|
11
15
|
|
12
|
-
class GruffTestCase < Test
|
16
|
+
class GruffTestCase < Minitest::Test
|
13
17
|
|
14
18
|
def setup
|
15
19
|
@datasets = [
|
@@ -22,15 +26,15 @@ class GruffTestCase < Test::Unit::TestCase
|
|
22
26
|
]
|
23
27
|
|
24
28
|
@labels = {
|
25
|
-
0 => '5/6',
|
26
|
-
1 => '5/15',
|
27
|
-
2 => '5/24',
|
28
|
-
3 => '5/30',
|
29
|
-
4 => '6/4',
|
30
|
-
5 => '6/12',
|
31
|
-
6 => '6/21',
|
32
|
-
7 => '6/28',
|
33
|
-
}
|
29
|
+
0 => '5/6',
|
30
|
+
1 => '5/15',
|
31
|
+
2 => '5/24',
|
32
|
+
3 => '5/30',
|
33
|
+
4 => '6/4',
|
34
|
+
5 => '6/12',
|
35
|
+
6 => '6/21',
|
36
|
+
7 => '6/28',
|
37
|
+
}
|
34
38
|
end
|
35
39
|
|
36
40
|
def setup_single_dataset
|
@@ -39,10 +43,10 @@ class GruffTestCase < Test::Unit::TestCase
|
|
39
43
|
]
|
40
44
|
|
41
45
|
@labels = {
|
42
|
-
0 => 'You',
|
43
|
-
1 => 'Average',
|
44
|
-
2 => 'Lifetime'
|
45
|
-
}
|
46
|
+
0 => 'You',
|
47
|
+
1 => 'Average',
|
48
|
+
2 => 'Lifetime'
|
49
|
+
}
|
46
50
|
end
|
47
51
|
|
48
52
|
def setup_wide_dataset
|
@@ -74,7 +78,7 @@ protected
|
|
74
78
|
Array(sizes).each do |size|
|
75
79
|
g = instance_eval("Gruff::#{class_name}.new #{size}")
|
76
80
|
g.title = "#{class_name} Graph"
|
77
|
-
yield g
|
81
|
+
yield g
|
78
82
|
write_test_file g, "#{filename}_#{size}.png"
|
79
83
|
end
|
80
84
|
end
|
@@ -98,17 +102,17 @@ protected
|
|
98
102
|
case args[0]
|
99
103
|
when Fixnum
|
100
104
|
size = args[0]
|
101
|
-
klass = eval("Gruff::#{self.class.name.gsub(/^TestGruff/, '')}")
|
105
|
+
klass = eval("Gruff::#{self.class.name.gsub(/^TestGruff/, '')}")
|
102
106
|
when String
|
103
107
|
size = args[0]
|
104
|
-
klass = eval("Gruff::#{self.class.name.gsub(/^TestGruff/, '')}")
|
108
|
+
klass = eval("Gruff::#{self.class.name.gsub(/^TestGruff/, '')}")
|
105
109
|
else
|
106
110
|
klass = args[0]
|
107
111
|
end
|
108
112
|
when 2
|
109
113
|
klass, size = args[0], args[1]
|
110
114
|
end
|
111
|
-
|
115
|
+
|
112
116
|
g = klass.new(size)
|
113
117
|
g.title = "My Bar Graph"
|
114
118
|
g.labels = @labels
|
@@ -121,3 +125,24 @@ protected
|
|
121
125
|
end
|
122
126
|
|
123
127
|
end
|
128
|
+
|
129
|
+
class Magick::Image
|
130
|
+
class << self
|
131
|
+
alias_method :old_read, :read
|
132
|
+
|
133
|
+
def read(filename, *args)
|
134
|
+
old_read(filename.sub(/^assets/, TEST_ASSETS_DIR), *args)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
alias_method :old_write, :write
|
139
|
+
|
140
|
+
def write(filename)
|
141
|
+
engine = (PLATFORM == 'java' ? 'jruby' : 'mri')
|
142
|
+
new_filename = filename.sub(/(\.[^\.]*)$/, '.' + engine + '\1')
|
143
|
+
# change_geometry('300x300') do |columns, rows, image|
|
144
|
+
# image.resize!(columns, rows)
|
145
|
+
# end
|
146
|
+
old_write(new_filename.sub(/^test\/output/, TEST_OUTPUT_DIR))
|
147
|
+
end
|
148
|
+
end
|
@@ -39,7 +39,7 @@ class TestGruffAccumulatorBar < GruffTestCase
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def test_too_many_args
|
42
|
-
|
42
|
+
assert_raises(Gruff::IncorrectNumberOfDatasetsException) {
|
43
43
|
g = Gruff::AccumulatorBar.new
|
44
44
|
g.data 'First', [1,1,1]
|
45
45
|
g.data 'Too Many', [1,1,1]
|
data/test/spec/draw_spec.rb
CHANGED
data/test/spec/image_spec.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
if PLATFORM == 'java'
|
2
|
-
require File.join(File.dirname(__FILE__),'..','..','lib','
|
2
|
+
require File.join(File.dirname(__FILE__),'..','..','lib','rmagick')
|
3
3
|
else
|
4
4
|
require 'rubygems'
|
5
|
-
require '
|
5
|
+
require 'rmagick'
|
6
6
|
end
|
7
7
|
require File.join(File.dirname(__FILE__),"image_constants.rb")
|
8
8
|
|
data/test/spec/pixel_spec.rb
CHANGED
metadata
CHANGED
@@ -1,35 +1,91 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmagick4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Thomas Palmer
|
8
8
|
- Sergio Arbeo
|
9
9
|
- Thomas Enebo
|
10
10
|
- Uwe Kubosch
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2016-05-28 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
name: rake
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
18
|
requirements:
|
20
19
|
- - ">="
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: '0'
|
22
|
+
name: ftools
|
23
|
+
prerelease: false
|
24
|
+
type: :development
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
name: gruff
|
37
|
+
prerelease: false
|
38
|
+
type: :development
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
name: minitest-reporters
|
51
|
+
prerelease: false
|
52
|
+
type: :development
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
name: profligacy
|
65
|
+
prerelease: false
|
23
66
|
type: :development
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
name: rake
|
24
79
|
prerelease: false
|
80
|
+
type: :development
|
25
81
|
version_requirements: !ruby/object:Gem::Requirement
|
26
82
|
requirements:
|
27
83
|
- - ">="
|
28
84
|
- !ruby/object:Gem::Version
|
29
85
|
version: '0'
|
30
|
-
description:
|
31
|
-
|
32
|
-
|
86
|
+
description: |-
|
87
|
+
RMagick4J
|
88
|
+
=========
|
33
89
|
email:
|
34
90
|
- serabe@gmail.com
|
35
91
|
- tom.enebo@gmail.com
|
@@ -38,8 +94,8 @@ extensions: []
|
|
38
94
|
extra_rdoc_files: []
|
39
95
|
files:
|
40
96
|
- History.txt
|
41
|
-
- LICENSE.
|
42
|
-
- README.
|
97
|
+
- LICENSE.md
|
98
|
+
- README.md
|
43
99
|
- Rakefile
|
44
100
|
- lib/magick4j.jar
|
45
101
|
- lib/rmagick.rb
|
@@ -203,7 +259,7 @@ homepage: https://github.com/Serabe/RMagick4J
|
|
203
259
|
licenses:
|
204
260
|
- MIT
|
205
261
|
metadata: {}
|
206
|
-
post_install_message:
|
262
|
+
post_install_message:
|
207
263
|
rdoc_options: []
|
208
264
|
require_paths:
|
209
265
|
- lib
|
@@ -211,7 +267,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
211
267
|
requirements:
|
212
268
|
- - ">="
|
213
269
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
270
|
+
version: 1.9.3
|
271
|
+
- - "<"
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: 3.0.0
|
215
274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
275
|
requirements:
|
217
276
|
- - ">="
|
@@ -219,8 +278,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
278
|
version: '0'
|
220
279
|
requirements: []
|
221
280
|
rubyforge_project: jruby-extras
|
222
|
-
rubygems_version: 2.4
|
223
|
-
signing_key:
|
281
|
+
rubygems_version: 2.6.4
|
282
|
+
signing_key:
|
224
283
|
specification_version: 4
|
225
284
|
summary: RMagick for Java
|
226
285
|
test_files:
|
data/README.txt
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
RMagick is a Ruby binding to ImageMagick and GraphicsMagick. RMagick4J implements ImageMagick functionality and the C portions of RMagick for use with JRuby.
|
2
|
-
|
3
|
-
== Authors
|
4
|
-
|
5
|
-
This project was written by Thomas Palmer, Sergio Rodríguez Arbeo, and Thomas Enebo with lots of help from the JRuby community.
|
6
|
-
|
7
|
-
== License
|
8
|
-
|
9
|
-
The file observer.rb comes from JRuby's distribution of standard Ruby libraries. The file jruby.jar also comes from the JRuby project.
|
10
|
-
|
11
|
-
RMagick.rb, clown.jpg, most of rmagick.gemspec, and the contents of rvg come from the RMagick project. Much of the content of the test demos (currently in "RMagickTestSuite.rb") come from the RMagick web site.
|
12
|
-
|
13
|
-
See these respective projects for the licenses and ownership of these files.
|
14
|
-
|
15
|
-
Other files in RMagickJr are hereby placed in the public domain.
|
16
|
-
|
17
|
-
== Creating
|
18
|
-
|
19
|
-
To create a gem you should run rake. The useful targets are :clean, :compile, :gem, :release, :test (hoe has more -- see hoe docs). In order to run rake you must have hoe installed.
|
20
|
-
|
21
|
-
To create a new release, you should:
|
22
|
-
|
23
|
-
* Add new version entry to History.txt
|
24
|
-
* Update lib/rmagick4j/version.rb to contain new version
|
25
|
-
* rake release VERSION={{{{YOUR NEW VERSION (e.g. 1.1.1)}}}}
|