solnic on v0.9.0
dry-bot on master
[devtools] sync (compare)
solnic on master
Update changelog.yml Bump dry-matcher to 0.9.0 (compare)
dry-bot on master
[devtools] update changelog.yml… [devtools] sync (compare)
solnic on master
Turn evaluator into an Object d… Merge pull request #32 from dry… (compare)
timriley on add-0-19-0-changelog
Add changelog entry for 0.19.0 (compare)
timriley on add-0-19-0-changelog
Add changelog entry for 0.19.0 (compare)
class Container
class DryContainer
include Dry::Container::Mixin
end
attr_reader :app, :container
class << self
attr_reader :instance
end
def self.configure
container = DryContainer.new
yield(container)
@instance = new(Rails.application, container)
freeze
end
def initialize(app, container)
@app = app
@container = container
end
delegate :[], to: :container
end
roda-opal_assets
that lets you use Sprockets with Roda for asset dependencies. Not sure if you need something that involved or if the assets
plugin is enough, but it's just become my go-to for all assets in Roda apps now (not just Clearwater apps) since Sprockets handles caching and fingerprints for cache invalidation.
quick question
if I have
MODEL = Model::Country
and Model::Country
is a dry-struct entity, which have couple of attributes from Dry-Types
and some how, wrongly, instead of using MODEL.new
for instance in our code we repeated Model::Country
that thrown attributes already initialized error, is this normal ?