smartimage 0.0.2-java → 0.0.3-java

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -17,5 +17,6 @@ tmtags
17
17
  coverage
18
18
  rdoc
19
19
  pkg
20
+ smartimage.gemspec
20
21
 
21
22
  ## PROJECT::SPECIFIC
data/CHANGES ADDED
@@ -0,0 +1,11 @@
1
+ 0.0.3:
2
+
3
+ * JRuby 1.5.1 compatibility fixes
4
+
5
+ 0.0.2:
6
+
7
+ * Initial release
8
+
9
+ 0.0.1:
10
+
11
+ * Buggy stealth release
data/README.markdown CHANGED
@@ -154,6 +154,17 @@ backend it should implement all methods of SmartImage::BaseCanvas, and if you
154
154
  wish to add a new method to either SmartImage or SmartImage::BaseCanvas it
155
155
  should work across all implementations.
156
156
 
157
+ Mailing List, Author Info
158
+ -------------------------
159
+
160
+ You can subscribe to the SmartImage mailing list by sending email to:
161
+
162
+ smartimage@librelist.com
163
+
164
+ SmartImage was created by Tony Arcieri. You can contact him through
165
+ github or follow him on Twitter at @bascule. He also frequents
166
+ IRC on freenode as tarcieri.
167
+
157
168
  Credits
158
169
  -------
159
170
 
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
 
4
+ def jruby?; !!defined?(JRUBY_VERSION); end
5
+
4
6
  begin
5
7
  require 'jeweler'
6
8
  Jeweler::Tasks.new do |gem|
@@ -16,8 +18,10 @@ begin
16
18
  gem.homepage = "http://github.com/tarcieri/smartimage"
17
19
  gem.authors = ["Tony Arcieri"]
18
20
  gem.add_dependency "imagesize", ">= 0.1.1"
19
- gem.add_dependency "rmagick", ">= 2.12.2"
21
+ gem.add_dependency "rmagick", ">= 2.12.2" unless jruby?
20
22
  gem.add_development_dependency "rspec", ">= 1.2.9"
23
+ gem.platform = "java" if jruby?
24
+
21
25
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
22
26
  end
23
27
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -1,3 +1,4 @@
1
+ require 'java'
1
2
  require 'smart_image/base_canvas'
2
3
 
3
4
  class SmartImage
metadata CHANGED
@@ -1,37 +1,50 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartimage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 3
9
+ version: 0.0.3
5
10
  platform: java
6
11
  authors:
7
- - Tony Arcieri
12
+ - Tony Arcieri
8
13
  autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-30 00:00:00 -06:00
17
+ date: 2010-07-01 00:00:00 -06:00
13
18
  default_executable:
14
19
  dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: imagesize
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 0.1.1
24
- version:
25
- - !ruby/object:Gem::Dependency
26
- name: rspec
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.2.9
34
- version:
20
+ - !ruby/object:Gem::Dependency
21
+ name: imagesize
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 1
30
+ - 1
31
+ version: 0.1.1
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: rspec
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 2
44
+ - 9
45
+ version: 1.2.9
46
+ type: :development
47
+ version_requirements: *id002
35
48
  description: " SmartImage provides a cross-platform solution for image compositing that works on both MRI and JRuby.\n If using RMagick feels like swatting a fly with a nucler missile, and ImageScience just doesn't get \n you there, SmartImage is hopefully at that sweet spot in the middle\n"
36
49
  email: tony@medioh.com
37
50
  executables: []
@@ -39,57 +52,58 @@ executables: []
39
52
  extensions: []
40
53
 
41
54
  extra_rdoc_files:
42
- - LICENSE
43
- - README.markdown
55
+ - LICENSE
56
+ - README.markdown
44
57
  files:
45
- - .document
46
- - .gitignore
47
- - LICENSE
48
- - README.markdown
49
- - Rakefile
50
- - VERSION
51
- - lib/smart_image.rb
52
- - lib/smart_image/base_canvas.rb
53
- - lib/smart_image/java_canvas.rb
54
- - lib/smart_image/ratio_calculator.rb
55
- - lib/smart_image/rmagick_canvas.rb
56
- - lib/smartimage.rb
57
- - smartimage-java.gemspec
58
- - smartimage.gemspec
59
- - spec/fixtures/mask.png
60
- - spec/fixtures/mongoose.jpg
61
- - spec/smart_image_spec.rb
62
- - spec/spec.opts
63
- - spec/spec_helper.rb
64
- - spec/tmp/.gitignore
58
+ - .document
59
+ - .gitignore
60
+ - CHANGES
61
+ - LICENSE
62
+ - README.markdown
63
+ - Rakefile
64
+ - VERSION
65
+ - lib/smart_image.rb
66
+ - lib/smart_image/base_canvas.rb
67
+ - lib/smart_image/java_canvas.rb
68
+ - lib/smart_image/ratio_calculator.rb
69
+ - lib/smart_image/rmagick_canvas.rb
70
+ - lib/smartimage.rb
71
+ - spec/fixtures/mask.png
72
+ - spec/fixtures/mongoose.jpg
73
+ - spec/smart_image_spec.rb
74
+ - spec/spec.opts
75
+ - spec/spec_helper.rb
76
+ - spec/tmp/.gitignore
65
77
  has_rdoc: true
66
78
  homepage: http://github.com/tarcieri/smartimage
67
79
  licenses: []
68
80
 
69
81
  post_install_message:
70
82
  rdoc_options:
71
- - --charset=UTF-8
83
+ - --charset=UTF-8
72
84
  require_paths:
73
- - lib
85
+ - lib
74
86
  required_ruby_version: !ruby/object:Gem::Requirement
75
87
  requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: "0"
79
- version:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ segments:
91
+ - 0
92
+ version: "0"
80
93
  required_rubygems_version: !ruby/object:Gem::Requirement
81
94
  requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: "0"
85
- version:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ segments:
98
+ - 0
99
+ version: "0"
86
100
  requirements: []
87
101
 
88
102
  rubyforge_project:
89
- rubygems_version: 1.3.5
103
+ rubygems_version: 1.3.6
90
104
  signing_key:
91
105
  specification_version: 3
92
106
  summary: It's like a Swiss Army Knife for images, but one of those tiny ones you can keep on your keychain
93
107
  test_files:
94
- - spec/smart_image_spec.rb
95
- - spec/spec_helper.rb
108
+ - spec/smart_image_spec.rb
109
+ - spec/spec_helper.rb
@@ -1,70 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{smartimage}
8
- s.version = "0.0.2"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Tony Arcieri"]
12
- s.date = %q{2010-03-30}
13
- s.description = %q{ SmartImage provides a cross-platform solution for image compositing that works on both MRI and JRuby.
14
- If using RMagick feels like swatting a fly with a nucler missile, and ImageScience just doesn't get
15
- you there, SmartImage is hopefully at that sweet spot in the middle
16
- }
17
- s.email = %q{tony@medioh.com}
18
- s.extra_rdoc_files = [
19
- "LICENSE",
20
- "README.markdown"
21
- ]
22
- s.files = [
23
- ".document",
24
- ".gitignore",
25
- "LICENSE",
26
- "README.markdown",
27
- "Rakefile",
28
- "VERSION",
29
- "lib/smart_image.rb",
30
- "lib/smart_image/base_canvas.rb",
31
- "lib/smart_image/java_canvas.rb",
32
- "lib/smart_image/ratio_calculator.rb",
33
- "lib/smart_image/rmagick_canvas.rb",
34
- "lib/smartimage.rb",
35
- "smartimage-java.gemspec",
36
- "smartimage.gemspec",
37
- "spec/fixtures/mask.png",
38
- "spec/fixtures/mongoose.jpg",
39
- "spec/smart_image_spec.rb",
40
- "spec/spec.opts",
41
- "spec/spec_helper.rb",
42
- "spec/tmp/.gitignore"
43
- ]
44
- s.homepage = %q{http://github.com/tarcieri/smartimage}
45
- s.rdoc_options = ["--charset=UTF-8"]
46
- s.require_paths = ["lib"]
47
- s.rubygems_version = %q{1.3.5}
48
- s.summary = %q{It's like a Swiss Army Knife for images, but one of those tiny ones you can keep on your keychain}
49
- s.test_files = [
50
- "spec/smart_image_spec.rb",
51
- "spec/spec_helper.rb"
52
- ]
53
-
54
- if s.respond_to? :specification_version then
55
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
56
- s.specification_version = 3
57
-
58
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
59
- s.add_runtime_dependency(%q<imagesize>, [">= 0.1.1"])
60
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
61
- else
62
- s.add_dependency(%q<imagesize>, [">= 0.1.1"])
63
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
64
- end
65
- else
66
- s.add_dependency(%q<imagesize>, [">= 0.1.1"])
67
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
68
- end
69
- s.platform = %q{java}
70
- end
data/smartimage.gemspec DELETED
@@ -1,73 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{smartimage}
8
- s.version = "0.0.2"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Tony Arcieri"]
12
- s.date = %q{2010-03-30}
13
- s.description = %q{ SmartImage provides a cross-platform solution for image compositing that works on both MRI and JRuby.
14
- If using RMagick feels like swatting a fly with a nucler missile, and ImageScience just doesn't get
15
- you there, SmartImage is hopefully at that sweet spot in the middle
16
- }
17
- s.email = %q{tony@medioh.com}
18
- s.extra_rdoc_files = [
19
- "LICENSE",
20
- "README.markdown"
21
- ]
22
- s.files = [
23
- ".document",
24
- ".gitignore",
25
- "LICENSE",
26
- "README.markdown",
27
- "Rakefile",
28
- "VERSION",
29
- "lib/smart_image.rb",
30
- "lib/smart_image/base_canvas.rb",
31
- "lib/smart_image/java_canvas.rb",
32
- "lib/smart_image/ratio_calculator.rb",
33
- "lib/smart_image/rmagick_canvas.rb",
34
- "lib/smartimage.rb",
35
- "smartimage-java.gemspec",
36
- "smartimage.gemspec",
37
- "spec/fixtures/mask.png",
38
- "spec/fixtures/mongoose.jpg",
39
- "spec/smart_image_spec.rb",
40
- "spec/spec.opts",
41
- "spec/spec_helper.rb",
42
- "spec/tmp/.gitignore"
43
- ]
44
- s.homepage = %q{http://github.com/tarcieri/smartimage}
45
- s.rdoc_options = ["--charset=UTF-8"]
46
- s.require_paths = ["lib"]
47
- s.rubygems_version = %q{1.3.5}
48
- s.summary = %q{It's like a Swiss Army Knife for images, but one of those tiny ones you can keep on your keychain}
49
- s.test_files = [
50
- "spec/smart_image_spec.rb",
51
- "spec/spec_helper.rb"
52
- ]
53
-
54
- if s.respond_to? :specification_version then
55
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
56
- s.specification_version = 3
57
-
58
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
59
- s.add_runtime_dependency(%q<imagesize>, [">= 0.1.1"])
60
- s.add_runtime_dependency(%q<rmagick>, [">= 2.12.2"])
61
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
62
- else
63
- s.add_dependency(%q<imagesize>, [">= 0.1.1"])
64
- s.add_dependency(%q<rmagick>, [">= 2.12.2"])
65
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
66
- end
67
- else
68
- s.add_dependency(%q<imagesize>, [">= 0.1.1"])
69
- s.add_dependency(%q<rmagick>, [">= 2.12.2"])
70
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
71
- end
72
- end
73
-