lensflare 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "rspec", "~> 2.3.0"
10
+ gem "bundler", "~> 1.0.0"
11
+ gem "jeweler", "~> 1.6.4"
12
+ gem "rcov", ">= 0"
13
+ gem "reek", "~> 1.2.8"
14
+ gem "roodi", "~> 2.1.0"
15
+ gem "autotest"
16
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ ZenTest (4.5.0)
5
+ autotest (4.4.6)
6
+ ZenTest (>= 4.4.1)
7
+ diff-lcs (1.1.2)
8
+ git (1.2.5)
9
+ jeweler (1.6.4)
10
+ bundler (~> 1.0)
11
+ git (>= 1.2.5)
12
+ rake
13
+ rake (0.9.2)
14
+ rcov (0.9.9)
15
+ reek (1.2.8)
16
+ ruby2ruby (~> 1.2)
17
+ ruby_parser (~> 2.0)
18
+ sexp_processor (~> 3.0)
19
+ roodi (2.1.0)
20
+ ruby_parser
21
+ rspec (2.3.0)
22
+ rspec-core (~> 2.3.0)
23
+ rspec-expectations (~> 2.3.0)
24
+ rspec-mocks (~> 2.3.0)
25
+ rspec-core (2.3.1)
26
+ rspec-expectations (2.3.0)
27
+ diff-lcs (~> 1.1.2)
28
+ rspec-mocks (2.3.0)
29
+ ruby2ruby (1.2.5)
30
+ ruby_parser (~> 2.0)
31
+ sexp_processor (~> 3.0)
32
+ ruby_parser (2.0.6)
33
+ sexp_processor (~> 3.0)
34
+ sexp_processor (3.0.5)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ autotest
41
+ bundler (~> 1.0.0)
42
+ jeweler (~> 1.6.4)
43
+ rcov
44
+ reek (~> 1.2.8)
45
+ roodi (~> 2.1.0)
46
+ rspec (~> 2.3.0)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Simon Mellor
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = lensflare
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to lensflare
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 Simon Mellor. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,62 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "lensflare"
18
+ gem.homepage = "http://github.com/simonmellor/lensflare"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{a photography gem}
21
+ gem.description = %Q{some photography stuff ;)}
22
+ gem.email = "sfusion@gmail.com"
23
+ gem.authors = ["Simon Mellor"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ require 'reek/rake/task'
40
+ Reek::Rake::Task.new do |t|
41
+ t.fail_on_error = true
42
+ t.verbose = false
43
+ t.source_files = 'lib/**/*.rb'
44
+ end
45
+
46
+ require 'roodi'
47
+ require 'roodi_task'
48
+ RoodiTask.new do |t|
49
+ t.verbose = false
50
+ end
51
+
52
+ task :default => :spec
53
+
54
+ require 'rake/rdoctask'
55
+ Rake::RDocTask.new do |rdoc|
56
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
57
+
58
+ rdoc.rdoc_dir = 'rdoc'
59
+ rdoc.title = "lensflare #{version}"
60
+ rdoc.rdoc_files.include('README*')
61
+ rdoc.rdoc_files.include('lib/**/*.rb')
62
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0
data/lensflare.gemspec ADDED
@@ -0,0 +1,75 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{lensflare}
8
+ s.version = "0.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Simon Mellor"]
12
+ s.date = %q{2011-07-08}
13
+ s.description = %q{some photography stuff ;)}
14
+ s.email = %q{sfusion@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lensflare.gemspec",
29
+ "lib/lensflare.rb",
30
+ "lib/lensflare/error.rb",
31
+ "lib/lensflare/frame.rb",
32
+ "lib/lensflare/lens.rb",
33
+ "spec/lensflare/error_spec.rb",
34
+ "spec/lensflare/frame_spec.rb",
35
+ "spec/lensflare/lens_spec.rb",
36
+ "spec/lensflare_spec.rb",
37
+ "spec/spec_helper.rb"
38
+ ]
39
+ s.homepage = %q{http://github.com/simonmellor/lensflare}
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = %q{1.4.2}
43
+ s.summary = %q{a photography gem}
44
+
45
+ if s.respond_to? :specification_version then
46
+ s.specification_version = 3
47
+
48
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
50
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
51
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
52
+ s.add_development_dependency(%q<rcov>, [">= 0"])
53
+ s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
54
+ s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
55
+ s.add_development_dependency(%q<autotest>, [">= 0"])
56
+ else
57
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
58
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
59
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
60
+ s.add_dependency(%q<rcov>, [">= 0"])
61
+ s.add_dependency(%q<reek>, ["~> 1.2.8"])
62
+ s.add_dependency(%q<roodi>, ["~> 2.1.0"])
63
+ s.add_dependency(%q<autotest>, [">= 0"])
64
+ end
65
+ else
66
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
67
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
68
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
69
+ s.add_dependency(%q<rcov>, [">= 0"])
70
+ s.add_dependency(%q<reek>, ["~> 1.2.8"])
71
+ s.add_dependency(%q<roodi>, ["~> 2.1.0"])
72
+ s.add_dependency(%q<autotest>, [">= 0"])
73
+ end
74
+ end
75
+
@@ -0,0 +1,29 @@
1
+ module Lensflare
2
+ # generic error
3
+ class Error < Exception
4
+ def message
5
+ "unknown error"
6
+ end
7
+
8
+ # thrown when a frame object is expected
9
+ class NotAFrame < Error
10
+ def message
11
+ "not a frame"
12
+ end
13
+ end
14
+
15
+ # thrown when a lens object is expected
16
+ class NotALens < Error
17
+ def message
18
+ "not a lens"
19
+ end
20
+ end
21
+
22
+ # thrown when a numeric object is expected
23
+ class NotANumeric < Error
24
+ def message
25
+ "not a numeric"
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,52 @@
1
+ module Lensflare
2
+ # class describing frame
3
+ class Frame
4
+ attr_reader :lens
5
+
6
+ def initialize(width, height)
7
+ self.width = width
8
+ self.height = height
9
+ end
10
+
11
+ def width=(numeric)
12
+ raise Lensflare::Error::NotANumeric unless numeric.is_a?(Numeric)
13
+ @width = numeric
14
+ end
15
+
16
+ def height=(numeric)
17
+ raise Lensflare::Error::NotANumeric unless numeric.is_a?(Numeric)
18
+ @height = numeric
19
+ end
20
+
21
+ def lens=(lens)
22
+ raise Lensflare::Error::NotALens unless lens.is_a?(Lensflare::Lens)
23
+ unless @lens == lens
24
+ @lens = lens
25
+ @lens.frame = self
26
+ end
27
+ end
28
+
29
+ def width
30
+ @width.to_f
31
+ end
32
+
33
+ def height
34
+ @height.to_f
35
+ end
36
+
37
+ def area
38
+ width * height
39
+ end
40
+
41
+ def diagonal
42
+ Math.sqrt(width**2 + height**2)
43
+ end
44
+
45
+ def to_s
46
+ units = Lensflare::UNITS.to_s
47
+ "width:\n" + width.to_s + units + "\n" +
48
+ "height:\n" + height.to_s + units + "\n"
49
+ end
50
+
51
+ end
52
+ end
@@ -0,0 +1,37 @@
1
+ module Lensflare
2
+ # class describing lens
3
+ class Lens
4
+ attr_reader :focal_lengths
5
+ attr_reader :frame
6
+ attr_reader :f_numbers
7
+
8
+ def initialize(focal_lengths, f_numbers)
9
+ self.focal_lengths = focal_lengths
10
+ self.f_numbers = f_numbers
11
+ end
12
+
13
+ def f_numbers=(array)
14
+ raise Lensflare::Error::NotANumeric if array.any? { |element| !element.is_a?(Numeric) }
15
+ @f_numbers = array
16
+ end
17
+
18
+ def focal_lengths=(array)
19
+ raise Lensflare::Error::NotANumeric if array.any? { |element| !element.is_a?(Numeric) }
20
+ @focal_lengths = array
21
+ end
22
+
23
+ def frame=(frame)
24
+ raise Lensflare::Error::NotAFrame unless frame.is_a?(Lensflare::Frame)
25
+ unless @frame == frame
26
+ @frame = frame
27
+ @frame.lens = self
28
+ end
29
+ end
30
+
31
+ def to_s
32
+ "f_numbers:\n" + f_numbers.join("\n") + "\n" +
33
+ "focal_lengths:\n" + focal_lengths.join("\n") + "\n"
34
+ end
35
+
36
+ end
37
+ end
data/lib/lensflare.rb ADDED
@@ -0,0 +1,6 @@
1
+ module Lensflare
2
+ UNITS = :mm
3
+ end
4
+ require 'lensflare/error'
5
+ require 'lensflare/frame'
6
+ require 'lensflare/lens'
@@ -0,0 +1,17 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+
3
+ describe Lensflare::Error do
4
+ its(:message) { should == "unknown error"}
5
+ end
6
+
7
+ describe Lensflare::Error::NotAFrame do
8
+ its(:message) { should == "not a frame"}
9
+ end
10
+
11
+ describe Lensflare::Error::NotALens do
12
+ its(:message) { should == "not a lens"}
13
+ end
14
+
15
+ describe Lensflare::Error::NotANumeric do
16
+ its(:message) { should == "not a numeric"}
17
+ end
@@ -0,0 +1,95 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+
3
+ describe Lensflare::Frame do
4
+ describe "#new" do
5
+ it "should take a width and height argument" do
6
+ frame = Lensflare::Frame.new 1, 2
7
+ frame.width.should == 1
8
+ frame.height.should == 2
9
+ end
10
+ end
11
+
12
+ describe "#width" do
13
+ it "should return the width as a float" do
14
+ frame = Lensflare::Frame.new 1, 2
15
+ frame.width.should eql(1.0)
16
+ end
17
+ end
18
+
19
+ describe "width=" do
20
+ it "should assign a width" do
21
+ frame = Lensflare::Frame.new 1, 2
22
+ frame.width = 10
23
+ frame.width.should == 10
24
+ end
25
+
26
+ it "should not accept non numerics" do
27
+ frame = Lensflare::Frame.new 1, 2
28
+ expect { frame.width = "" }.to raise_error(Lensflare::Error::NotANumeric)
29
+ end
30
+ end
31
+
32
+ describe "#height" do
33
+ it "should return the height as a float" do
34
+ frame = Lensflare::Frame.new 1, 2
35
+ frame.height.should eql(2.0)
36
+ end
37
+ end
38
+
39
+ describe "#height=" do
40
+ it "should assign a height" do
41
+ frame = Lensflare::Frame.new 1, 2
42
+ frame.height = 20
43
+ frame.height.should == 20
44
+ end
45
+
46
+ it "should not accept non numerics" do
47
+ frame = Lensflare::Frame.new 1, 2
48
+ expect { frame.height = "" }.to raise_error(Lensflare::Error::NotANumeric)
49
+ end
50
+ end
51
+
52
+ describe "#lens=" do
53
+ it "should assign a lens to the frame" do
54
+ frame = Lensflare::Frame.new 1, 2
55
+ lens = Lensflare::Lens.new [], []
56
+ frame.lens = lens
57
+ frame.lens.should eql(lens)
58
+ end
59
+
60
+ it "should assign the frame to the lens" do
61
+ frame = Lensflare::Frame.new 1, 2
62
+ lens = Lensflare::Lens.new [], []
63
+ frame.lens = lens
64
+ lens.frame.should eql(frame)
65
+ end
66
+
67
+ it "should not accept non lens objects" do
68
+ frame = Lensflare::Frame.new 1, 2
69
+ expect { frame.lens = "" }.to raise_error(Lensflare::Error::NotALens)
70
+ end
71
+ end
72
+
73
+ describe "#area" do
74
+ it "should return the area of the frame" do
75
+ # 2 * 2 = 4
76
+ frame = Lensflare::Frame.new 2, 2
77
+ frame.area.should == 4
78
+ end
79
+ end
80
+
81
+ describe "#diagonal" do
82
+ it "should return the hypotenuse of the frame" do
83
+ # a**2 + b**2 = c**2
84
+ frame = Lensflare::Frame.new 2, 2
85
+ frame.diagonal.should be_within(0.000000000000001).of(2.82842712474619)
86
+ end
87
+ end
88
+
89
+ describe "#to_s" do
90
+ it "should output a string summary" do
91
+ frame = Lensflare::Frame.new 1, 2
92
+ frame.to_s.should eql("width:\n1.0mm\nheight:\n2.0mm\n")
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,66 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+
3
+ describe Lensflare::Lens do
4
+ describe "#new" do
5
+ it "should take an array of focal lengths and an array of f_numbers" do
6
+ lens = Lensflare::Lens.new [1], [2]
7
+ lens.focal_lengths.should == [1]
8
+ lens.f_numbers.should == [2]
9
+ end
10
+ end
11
+
12
+ describe "#f_numbers=" do
13
+ it "should assign f_numbers" do
14
+ lens = Lensflare::Lens.new [1], [2]
15
+ lens.f_numbers = [1,2,3]
16
+ lens.f_numbers.should eql([1,2,3])
17
+ end
18
+
19
+ it "should not accept non numeric elements" do
20
+ lens = Lensflare::Lens.new [1], [2]
21
+ expect { lens.f_numbers = [1, "", nil] }.to raise_exception(Lensflare::Error::NotANumeric)
22
+ end
23
+ end
24
+
25
+ describe "#focal_lengths=" do
26
+ it "should assign focal_lengths" do
27
+ lens = Lensflare::Lens.new [1], [2]
28
+ lens.focal_lengths = [1,2,3]
29
+ lens.focal_lengths.should eql([1,2,3])
30
+ end
31
+
32
+ it "should not accept non numeric elements" do
33
+ lens = Lensflare::Lens.new [1], [2]
34
+ expect { lens.focal_lengths = [1, "", nil] }.to raise_exception(Lensflare::Error::NotANumeric)
35
+ end
36
+ end
37
+
38
+
39
+ describe "#frame=" do
40
+ it "should assign a frame to the lens" do
41
+ lens = Lensflare::Lens.new [], []
42
+ frame = Lensflare::Frame.new 1, 2
43
+ lens.frame = frame
44
+ lens.frame.should eql(frame)
45
+ end
46
+
47
+ it "should assign the lens to the frame" do
48
+ lens = Lensflare::Lens.new [], []
49
+ frame = Lensflare::Frame.new 1, 2
50
+ lens.frame = frame
51
+ frame.lens.should eql(lens)
52
+ end
53
+
54
+ it "should not accept non frame objects" do
55
+ lens = Lensflare::Lens.new [], []
56
+ expect { lens.frame = "" }.to raise_error(Lensflare::Error::NotAFrame)
57
+ end
58
+ end
59
+
60
+ describe "#to_s" do
61
+ it "should output a string summary" do
62
+ lens = Lensflare::Lens.new [1], [2]
63
+ lens.to_s.should eql("f_numbers:\n2\nfocal_lengths:\n1\n")
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe Lensflare do
4
+ it "should declare a constant for units" do
5
+ subject::UNITS.should == :mm
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'lensflare'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,192 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lensflare
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 0
10
+ version: 0.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Simon Mellor
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-07-08 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rspec
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 2
32
+ - 3
33
+ - 0
34
+ version: 2.3.0
35
+ type: :development
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: bundler
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 23
46
+ segments:
47
+ - 1
48
+ - 0
49
+ - 0
50
+ version: 1.0.0
51
+ type: :development
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: jeweler
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ hash: 7
62
+ segments:
63
+ - 1
64
+ - 6
65
+ - 4
66
+ version: 1.6.4
67
+ type: :development
68
+ version_requirements: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ name: rcov
71
+ prerelease: false
72
+ requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ hash: 3
78
+ segments:
79
+ - 0
80
+ version: "0"
81
+ type: :development
82
+ version_requirements: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ name: reek
85
+ prerelease: false
86
+ requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ~>
90
+ - !ruby/object:Gem::Version
91
+ hash: 15
92
+ segments:
93
+ - 1
94
+ - 2
95
+ - 8
96
+ version: 1.2.8
97
+ type: :development
98
+ version_requirements: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ name: roodi
101
+ prerelease: false
102
+ requirement: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ~>
106
+ - !ruby/object:Gem::Version
107
+ hash: 11
108
+ segments:
109
+ - 2
110
+ - 1
111
+ - 0
112
+ version: 2.1.0
113
+ type: :development
114
+ version_requirements: *id006
115
+ - !ruby/object:Gem::Dependency
116
+ name: autotest
117
+ prerelease: false
118
+ requirement: &id007 !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ hash: 3
124
+ segments:
125
+ - 0
126
+ version: "0"
127
+ type: :development
128
+ version_requirements: *id007
129
+ description: some photography stuff ;)
130
+ email: sfusion@gmail.com
131
+ executables: []
132
+
133
+ extensions: []
134
+
135
+ extra_rdoc_files:
136
+ - LICENSE.txt
137
+ - README.rdoc
138
+ files:
139
+ - .document
140
+ - .rspec
141
+ - Gemfile
142
+ - Gemfile.lock
143
+ - LICENSE.txt
144
+ - README.rdoc
145
+ - Rakefile
146
+ - VERSION
147
+ - lensflare.gemspec
148
+ - lib/lensflare.rb
149
+ - lib/lensflare/error.rb
150
+ - lib/lensflare/frame.rb
151
+ - lib/lensflare/lens.rb
152
+ - spec/lensflare/error_spec.rb
153
+ - spec/lensflare/frame_spec.rb
154
+ - spec/lensflare/lens_spec.rb
155
+ - spec/lensflare_spec.rb
156
+ - spec/spec_helper.rb
157
+ has_rdoc: true
158
+ homepage: http://github.com/simonmellor/lensflare
159
+ licenses:
160
+ - MIT
161
+ post_install_message:
162
+ rdoc_options: []
163
+
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ none: false
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ hash: 3
172
+ segments:
173
+ - 0
174
+ version: "0"
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ hash: 3
181
+ segments:
182
+ - 0
183
+ version: "0"
184
+ requirements: []
185
+
186
+ rubyforge_project:
187
+ rubygems_version: 1.4.2
188
+ signing_key:
189
+ specification_version: 3
190
+ summary: a photography gem
191
+ test_files: []
192
+