Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 15:03
    aristotelesbr2014 starred dry-rb/dry-matcher
  • Jun 17 05:05
    Gokul595 starred dry-rb/dry-monads
  • Jun 15 22:18
    mathias7777 starred dry-rb/dry-types
  • Jun 15 22:17
    an-lee starred dry-rb/dry-types
  • Jun 15 14:11
    davydovanton assigned #94
  • Jun 14 21:27
    denjamio starred dry-rb/dry-types
  • Jun 13 13:53
    otmosina starred dry-rb/dry-initializer
  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:55

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:41

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:41

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:41

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:41

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:41

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

  • Jun 12 18:41

    action-hero[bot] on master

    Update .rubocop.yml from dry-rb… (compare)

Benjamin Klotz
@tak1n
Any help needed to make progress?
Tim Cooper
@coop
I also think it was a good read :)
Tim Riley
@timriley
I’ll make a release this week, just so it’s out on rubygems. There’s plenty we could do with it, I think it might be good if we could get a bunch of things listed out into GH issues. Might need to wait for solnic to get back for some of that to happen. But I might start noting down some things when I get a chance :)
Benjamin Klotz
@tak1n
Okay, cool just ping me if you have smth I can help with :)
Tim Riley
@timriley
Awesome, will do.
dan-klasson
@dan-klasson
```
    def key(name, &block)
      ::Kernel.warn 'key is deprecated - use required instead.'

      required(name, &block)
    end
docs are not updated?
Tim Riley
@timriley
@dan-klasson this isn’t released as a gem version yet
We have doc updates waiting on the releases.
dan-klasson
@dan-klasson
@timriley cool, thx
Tim Riley
@timriley
No probs!
dan-klasson
@dan-klasson
@timriley is master stable? is it safe to use?
Tim Riley
@timriley
I reckon so
Of course, you take a risk whenever you use master of anything, but AFAIK it’s fine here :)
panigrah
@panigrah

@timriley the following doesn't work on master any more. fails with a NoMethodError for 'key'

 require 'dry-validation'
 class Schema < Dry::Validation::Schema::Form
      key(:email) { |email| email.filled? }
  end

did the API change?

Tim Riley
@timriley
Yeah, it did.
required(:email).filled is whart you want now
dry-rb/dry-validation#99 is a decent summary
David Strauß
@stravid
@timriley upboated! Please keep writing them :)
Benjamin Klotz
@tak1n
ugh dry-rb/dry-types#78 :(
panigrah
@panigrah
@timriley In master - I also cannot extend Dry::Validation::Schema::Form as described in documentation - is that intentional? See my excerpt above. Thanks
Hannes Nevalainen
@kwando
@panigrah
Dry::Validation.Form{
  key(:email) { |email| email.filled? }
}
New syntax
panigrah
@panigrah
Thanks @kwando I wanted to know if the old syntax is supported or retired. Guessing it is retired
Hannes Nevalainen
@kwando
Yeah, it is retired =)
Tim Cooper
@coop
I wonder if it is worth adding a caluse to the README explaining that these docs are for master - checkout the appropiate release for the relevant docs.
I’m sure I’ve seen other projects do that.
Hannes Nevalainen
@kwando
:thumbsup: for that
dan-klasson
@dan-klasson
@coop actually the docs is for the latest release, not master
Tim Cooper
@coop
@dan-klasson the docs on the website are but I said README.md.
dan-klasson
@dan-klasson
@coop but there is nothing in the README
Tim Cooper
@coop

@dan-klasson

I wonder if it is worth adding a caluse to the README explaining ...

dan-klasson
@dan-klasson
... that these docs are for maste
r
Tim Cooper
@coop
Right, I feel like I wasn’t clear, I meant the docs in the README.
dan-klasson
@dan-klasson
hehe, but there are no docs in the README. that's why i'm totally confused right now :)
Fran Worley
@fran-worley
What would be amazing is to be able to view the docs on the website by release
Tim Cooper
@coop
That makes sense becauase the docs will only reference the current released version.
@fran-worley I believe Bundler does that.
Fran Worley
@fran-worley
I mean the dry-rb.org site
Tim Cooper
@coop
I know - I’m saying that bundler does something similar.
Fran Worley
@fran-worley
Ah didn't know that.
It might solve a lot of the syntax changing queries if people could view the docs on the site by version vs Master. e.g. http://dry-rb.org/gems/dry-validation/v-0.7.4
Tim Cooper
@coop
I like it.
Bundler just copy over the docs for each release - https://github.com/bundler/bundler-site/tree/master/source
Fran Worley
@fran-worley
Yeah, I'm talking about taking what is on the dry-rb site rather than the readme/docs for the repo itself
that way when versions get bumped and the docs/ examples on the site are changed those running old versions don't miss out
Tim Cooper
@coop
I totally get what you mean, I’m just linking to how bundler is doing it. Their docs site is generated from https://github.com/bundler/bundler-site. The dry-rb.org docs site is generated from https://github.com/dry-rb/dry-rb.org/.