Skip to content

Commit

Permalink
Bump concord dependency to ~> 0.1.0
Browse files Browse the repository at this point in the history
* concord now creates attr_readers with protected
  visibility by default.
  • Loading branch information
snusnu committed May 15, 2013
1 parent a7599fd commit bdc0464
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions lib/substation/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,36 @@ class Request
include Concord.new(:env, :input)
include Adamantium::Flat

# The application environment
#
# @example
#
# class SomeUseCase
# def self.call(request)
# request.env
# end
# end
#
# @return [Object]
#
# @api public
attr_reader :env

# The input passed to an action
#
# @example
#
# class SomeUseCase
# def self.call(request)
# request.input
# end
# end
#
# @return [Object]
#
# @api public
attr_reader :input

# Create a new successful response
#
# @example
Expand Down
2 changes: 1 addition & 1 deletion substation.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'adamantium', '~> 0.0.7'
gem.add_dependency 'equalizer', '~> 0.0.5'
gem.add_dependency 'abstract_type', '~> 0.0.5'
gem.add_dependency 'concord', '~> 0.0.3'
gem.add_dependency 'concord', '~> 0.1.0'

gem.add_development_dependency 'bundler', '~> 1.3.5'
end

0 comments on commit bdc0464

Please sign in to comment.