Code Monkey home page Code Monkey logo

rubychanges's People

Contributors

benoittgt avatar byroot avatar calvinhughes avatar chocolateboy avatar connorshea avatar dependabot[bot] avatar dgollahon avatar evaniainbrooks avatar fargelus avatar janko avatar keithrbennett avatar marcotc avatar mattnoakes avatar neanias avatar nertzy avatar phrogz avatar pjg avatar presidentbeef avatar rakvium avatar shunwen avatar smaximov avatar xrxr avatar zverok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rubychanges's Issues

Broken HTML around the Dir changes

screenshot 2018-12-29 at 13 35 56

I would send a PR, but I'm not sure exactly what is the relationship between 2.6.0.md and _src/2.6.0.md. I'm guessing the former is generated from the latter? In that case this might be a bug in Kramdown.

Move to database (YAML?) for source data?

I'd love to be able to consume this fantastic information you've created and provide an alternative visualization for it. For that, it would be far easier to consume a database that has discrete change entries with fields like: version, category, title, class, method, summary, overview, reason, discussion, documentation, example_code, notes, and so on.

The contents of many of these fields could/would be Markdown, and the full Markdown or HTML as present today could be generated from them.

Pros

  1. People (like me) could consume the core data programmatically more easily
  2. I think it would be more clear how to add new features in a consistent manner.
  3. Would allow slicing the data different manners, e.g. creating a view that covers only the String class across all versions, or only the changes from 3.0 to 3.1.
  4. (maybe not a pro?) The visual presentation would be forced to be consistent. For example, Notes: vs. Note:

Cons

  1. A fair bit of scraping work (or manual conversion) would be need to convert the existing data
  2. Removes the ability for custom presentation for a specific item, if desired. For example, if there was only one notes value per entry, or one example_code section, but you wanted two separate notes labeled separately.
  3. Hand-editing Markdown-in-YAML does not have nice Markdown syntax highlighting.

Function composition does not work

https://github.com/rubyreferences/rubychanges/blob/master/_src/2.6.md?plain=1#L247

I tested it on
irb(main):117:0> RUBY_VERSION
=> "2.6.9"

I had to wrap additionally all compositions with &( function1 >> function2 )

Side Note: Faraday is weird and does not have method get, but it respond to it when send ...

Worked for me:

res = URLS.map(& (->(url) { Faraday.get url } >> :body.to_proc >> JSON.method(:parse) >> ->(data) { data.fetch('urls').map { |u| u['id'] } } ) )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.