Skip to content

Commit

Permalink
Merge pull request Sandglaz#2 from thibaultponcelet/master
Browse files Browse the repository at this point in the history
Proc block argument
  • Loading branch information
zawaideh committed Feb 13, 2012
2 parents 1e216e2 + 103da49 commit 511044f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/maktoub.rb
Expand Up @@ -26,7 +26,7 @@ def subscribers
end

def subscribers_extractor (&block)
@subscribers = Proc.new block
@subscribers = Proc.new &block
end

def home_url
Expand Down
2 changes: 1 addition & 1 deletion maktoub.gemspec
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]

s.add_dependency "rails", "~> 3.1.1"
s.add_dependency "rails", ">= 3.1.1"
s.add_dependency "premailer"
s.add_dependency "nokogiri"
# s.add_dependency "jquery-rails"
Expand Down

0 comments on commit 511044f

Please sign in to comment.