Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep M. Bach committed Nov 10, 2010
0 parents commit 43459cd
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pkg/*
*.gem
.bundle
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--format documentation
1 change: 1 addition & 0 deletions .rvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rvm --create use ruby-1.9.2@colorist > /dev/null
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source :gemcutter

# Specify your gem's dependencies in colorist.gemspec
gemspec
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

task :default => :spec
26 changes: 26 additions & 0 deletions colorist.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# -*- encoding: utf-8 -*-
require File.expand_path("../lib/colorist/version", __FILE__)

Gem::Specification.new do |s|
s.name = "colorist"
s.version = Colorist::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Josep M. Bach', 'Josep Jaume Rey', 'Oriol Gual']
s.email = ['info@codegram.com']
s.homepage = "http://github.com/codegram/colorist"
s.summary = "Easily extract the colors of any image file!"
s.description = "Easily extract the colors of any image file!"

s.required_rubygems_version = ">= 1.3.6"
s.rubyforge_project = "colorist"

s.add_runtime_dependency "color-namer"

s.add_development_dependency "bundler", ">= 1.0.3"
s.add_development_dependency "rspec", ">= 2.1.0"
s.add_development_dependency "simplecov"

s.files = `git ls-files`.split("\n")
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
s.require_path = 'lib'
end
3 changes: 3 additions & 0 deletions lib/colorist.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Colorist
# Your code goes here...
end
3 changes: 3 additions & 0 deletions lib/colorist/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Colorist
VERSION = "0.0.1"
end

0 comments on commit 43459cd

Please sign in to comment.