Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hanami/view

Views, templates and presenters for Ruby web applications
https://github.com/hanami/view

Update travis config (add 2.5.0)

0ec127e27bd5fb957d614d49c56c824620fd8884 authored almost 7 years ago by Piotr Solnica <[email protected]>
Bump to 0.5.0

a8e7d1722160824ce8487e90894e70844ff5b96b authored almost 7 years ago by Piotr Solnica <[email protected]>
Update CHANGELOG [ci skip]

991c6889a21cac37794b42e92e692fbc0979b2cf authored almost 7 years ago by Piotr Solnica <[email protected]>
Merge pull request #56 from dry-rb/parts-with-decorated-attributes

Parts with decorated attributes

ab0a6820c0318bf7550c274ffa4695fa84d22b6c authored almost 7 years ago by Tim Riley <[email protected]>
Decorate part attributes lazily

180765f970b7bddf11fc0dcc01fc862ba6e9b2fe authored almost 7 years ago by Tim Riley <[email protected]>
Support multiple names passed to Part.decorate

da336535b96090e4496920e37d22afc5adde35b2 authored almost 7 years ago by Tim Riley <[email protected]>
Preserve decorator through Part#new

61260dfb2f181400708a367c3b24830957ebb42a authored almost 7 years ago by Tim Riley <[email protected]>
Pass decorator around part attributes as they’re decorated

This allows a custom decorator to be provided to the part at the top of the “tree” and have it u...

7681ba6f6b9bbc5cc28c1cb4e35ab0240408d464 authored almost 7 years ago by Tim Riley <[email protected]>
Test for attribute decoration with provided part classes

3c8147cfb5f54f6c486f49280d4fa7d3e71549aa authored almost 7 years ago by Tim Riley <[email protected]>
Check array elements are decorated

830cd1239fabb0616301d07a7ed918494989aecd authored almost 7 years ago by Tim Riley <[email protected]>
Provide custom-defined classes so test works on all version of Ruby

6d08dbec7455f9a7486c9a7054dfba499a30782f authored almost 7 years ago by Tim Riley <[email protected]>
Add initial basic support for parts with decorated attributes

72fbb0edc52a154c8926c61979407d0f5bcec9e5 authored almost 7 years ago by Tim Riley <[email protected]>
Merge pull request #55 from dry-rb/add-part-new-method

Add Part#new

69da84f9fc3928aa5cbe8b4118e861a89fd0e3ed authored almost 7 years ago by Piotr Solnica <[email protected]>
Test that part render correctly instead of checking that render is

different from original

912687167d5591003a382a9d77a55af829fa65ca authored almost 7 years ago by GustavoCaso <[email protected]>
Add Part#new

946e08cf7300558d3802a2c878b33906a22f3d25 authored almost 7 years ago by GustavoCaso <[email protected]>
modify .travis.yml

e4f6b7a8a3a3205e7a298deba0a99d593c78ca5e authored about 7 years ago by GustavoCaso <[email protected]>
Bump to version 0.4.0

7143ec954d6c66996fee3be46050913ede34b816 authored about 7 years ago by Tim Riley <[email protected]>
Merge pull request #52 from dry-rb/specialized-partial-rendering

Make partial rendering a dedicated role of the renderer

81e1871a5a04c2966a7f235ead12895943c2b18b authored about 7 years ago by Tim Riley <[email protected]>
Raise a meaningful error if a template path is not configured

4f6b8560111ff467259070cb51f4b1d827476c59 authored about 7 years ago by Tim Riley <[email protected]>
Tidy up specialized partial handling in Renderer

98f22dbe3ff705d680392ab8950c793bce806bbe authored about 7 years ago by Tim Riley <[email protected]>
Make partial rendering a dedicated role of the renderer

Do this by adding a Renderer#partial method and centralizing the logic around handling partials ...

4fe6dbd01bb743898bdfb1741eebf9d77990e28e authored about 7 years ago by Tim Riley <[email protected]>
Allow default values for pass-through exposures (#42)

2bd7e1d77d29e70a059f1d1a73add05d9387c209 authored about 7 years ago by Gustavo Caso <[email protected]>
Use US english

a5433cee677aee284d302a87a0daa49510193754 authored about 7 years ago by Tim Riley <[email protected]>
Move missing renderer error up a namespace and provide default message

bd7a78501f42e2009280976ac486a0d3cf4d9084 authored about 7 years ago by Tim Riley <[email protected]>
Merge pull request #49 from dNitza/master

Make view part renderer arg optional and provide helpful default

65161544cd30430bd125a5266156734d85dcbe96 authored about 7 years ago by Tim Riley <[email protected]>
Rename DefaultRenderer to MissingRenderer and raise custom exception

ea67261cb87cbbede21b246766bbd5c3183628de authored about 7 years ago by Daniel Nitsikopoulos <[email protected]>
Allow for renderer to be optional and provide friendly default

7fade88d712002425d79edc3e45b58345bb517ef authored about 7 years ago by Daniel Nitsikopoulos <[email protected]>
Merge pull request #46 from dry-rb/support-required-input-keys-via-exposure

Allow keyword arguments to be passed in exposure block arguments

7fdb71e0b7ebe62d5deb24cbea7c9a039bd62691 authored over 7 years ago by Tim Riley <[email protected]>
Require Ruby 2.2

07e5869bb097d38e1bc2ecce49d41d8b94ced3c2 authored over 7 years ago by Tim Riley <[email protected]>
Remove Ruby 2.1 from Travis

7d17fb79e0b19154b51249c1cad1a61bee9c0b25 authored over 7 years ago by Tim Riley <[email protected]>
Tidy up exposure proc args preparation

0a8c8755aa2ce222d8d39e0ca27507664ef0a8ac authored over 7 years ago by Tim Riley <[email protected]>
Remove spurious splat

1524b779fb5c522ac8d780a2a1fedc5c7eb69121 authored over 7 years ago by Tim Riley <[email protected]>
Move byebug to tools

805174e6db835f0c59345f90a2c1ce05e7fa2259 authored over 7 years ago by Nikita Shilnikov <[email protected]>
Merge pull request #48 from jekuta/update-links-in-contributing-doc

Update discussion links

bbb54859b273feb9642f7eb5b4dd24387cc9017e authored over 7 years ago by Nikita Shilnikov <[email protected]>
Update discussion links

6891cd28fbede6a9f1c1fc72388762fb5e4774ae authored over 7 years ago by Laura Paakkinen <[email protected]>
Build a hash of input arguments insetad of looping

451a0cf83849306f39ee59227564a4a4e11cd614 authored over 7 years ago by GustavoCaso <[email protected]>
Update test with new arguments api

1f687e3715d11ab2eebffe0ebcc4c325e49b9e3a authored over 7 years ago by GustavoCaso <[email protected]>
Only pass the arguments specify in the exposure proc

811a59addbb8a0d246344a8c8d81048b7dd9d2bc authored over 7 years ago by GustavoCaso <[email protected]>
Be explicit about passing input keyword args to exposure procs

33b4f8889a8d456bf42c30e5999c4c56313826bc authored over 7 years ago by Tim Riley <[email protected]>
Rename Exposure#dependencies to #dependency_names

This feels a bit clearer

fa30ecf2fcfb3742fe326105a989c4eb98c94096 authored over 7 years ago by Tim Riley <[email protected]>
Allow keyword arguments to be passed in exposure block arguments

a1b42aa8a5a0131b354f50135a00b3db67c9e608 authored over 7 years ago by GustavoCaso <[email protected]>
Merge pull request #41 from dry-rb/fix-keyword-usage

Fix keywords usage

37c464227d6e813140c590db7b9db64cc32fe809 authored over 7 years ago by Tim Riley <[email protected]>
Fix keywords usage

8a4dd3e67cdc33a66683f9cc2a6dfa6e005e6d45 authored over 7 years ago by Nikita Shilnikov <[email protected]>
Merge pull request #40 from dry-rb/display-useful-error-msg-when-partial-not-found

Display useful error message when partial is not found

Fixes #39

7b1341692f36e2517f35e94d745c4e025ee2c48e authored over 7 years ago by Piotr Solnica <[email protected]>
Display useful error message when partial is not found

8ea82795b8f95066ea4312bf37277a41ed84d8e4 authored over 7 years ago by GustavoCaso <[email protected]>
Add CONTRIBUTING.md [ci skip]

8e983e11c35b3e8aa8e19cbf099b81178d6030e4 authored over 7 years ago by Piotr Solnica <[email protected]>
Bump version to 0.3.0

9edca2cc3e12caea209ea9f66c85a718107e7e9b authored over 7 years ago by Tim Riley <[email protected]>
Add CHANGELOG notes for 0.3.0

037f4fb89a3c6da0ef15258dd7287a18c9be0d53 authored over 7 years ago by Tim Riley <[email protected]>
Merge pull request #37 from dry-rb/exposure-each-option-work-with-arrays

Replace :each_as exposure option with hash argument form for :as option

9f1d3ac205c65d3981fd3bb994b9a74497f535d4 authored over 7 years ago by Tim Riley <[email protected]>
Replace :each_as exposure option with hash argument form for :as option

47ed1a5c82bd59d7deb687058de1cc1a5eaf3326 authored over 7 years ago by Tim Riley <[email protected]>
Remove unnecessary hash dup

795e2f7fb9df72faeb17d00989e74dc3a5adace4 authored over 7 years ago by Tim Riley <[email protected]>
Merge pull request #36 from dry-rb/each_as-decroator-option-for-exposures

Support :each_as option for specifying part class for array members

5db8885349e4d085998f719a7ebe1b1b264efab8 authored over 7 years ago by Tim Riley <[email protected]>
Support :each_as option for specifying part class for array members

bfb85dd7bd9575fbbc172b8e717b8d8ff63be8e0 authored over 7 years ago by Tim Riley <[email protected]>
Merge pull request #35 from dry-rb/decorators-and-parts

Encapsulated template behavior via decorator and view parts

01942a7228de23201b4e08779014d652d28c7822 authored over 7 years ago by Tim Riley <[email protected]>
Make `_context` in view parts also accessible as `context`

4f62604387e7593df78bf4d33068bf45a616b891 authored over 7 years ago by Tim Riley <[email protected]>
Set version for dry-core dependency

5c7fad4f1bca4447a12c5ba7091dbc8aff0f9fff authored over 7 years ago by Tim Riley <[email protected]>
Call the decorator again for decorating any nested parts

This makes it easier for custom logic in decorator subclasses to be applied to all the elements ...

5ea962b8a9119ca3da93e40b7f7dc392a57f01ee authored over 7 years ago by Tim Riley <[email protected]>
Use dry-core’s inflector

4d96eeeb68c35ad5520d6be88f4decf348e0c5ae authored over 7 years ago by Tim Riley <[email protected]>
Update args for part_class in spec

55fad439eb7e11d98db07bf74e2698892b9a3aba authored over 7 years ago by Tim Riley <[email protected]>
Don’t override value’s methods with convenience methods from Part

99333a74b766450b4fe6edd1026b394366085332 authored over 7 years ago by Tim Riley <[email protected]>
Use single underscores for Part’s local methods

This makes them consistent with the accessor naming

c70e90e3c1ca1ba04882e7b154ac382acf3e0439 authored over 7 years ago by Tim Riley <[email protected]>
Pass options to Decorator#part_class as a splat

Since this is a method we support overriding in subclasses, the splat makes it possible for over...

7c511ea79f014250d0e9207f6b6d785d29a569c7 authored over 7 years ago by Tim Riley <[email protected]>
Convert another hash map over to use each_with_object

d4fc0c9c349ab0891b255d529313a154bbca30be authored over 7 years ago by Tim Riley <[email protected]>
Remove unused spec helper method

91a37233428054436bb9e3052f0c424f052bf611 authored over 7 years ago by Tim Riley <[email protected]>
Remove spurious newlines

0df74e71f8a9a3e9baedda636f29a30d2876f5fc authored over 7 years ago by Tim Riley <[email protected]>
Stop returning values from hash keys in Part’s method_missing

Given Part no longer has to act as a template scope, we can make its method_missing behaviour mo...

7496584e9093a881e875030931985e1710f7a8a5 authored over 7 years ago by Tim Riley <[email protected]>
Add unit specs for Scope

f1f8f216ff545183e1d4f25a1073cb5a881cbe45 authored over 7 years ago by Tim Riley <[email protected]>
Use each_with_object to build decorated locals

Just a micro-optimization

5a616b39a596f6b0bb7ed0280b9b9983fdb99320 authored over 7 years ago by Tim Riley <[email protected]>
Add Scope to act as root template scope and clarify partial rendering behavior

Make the part available to a partial by its own name, rather than the part _becoming_ the scope ...

5e9bce87e797bc53bd03f0fd103955e65035bbb7 authored over 7 years ago by Tim Riley <[email protected]>
Rename object to value

0e99967984e21c38903e3779242d35a962c3d43e authored over 7 years ago by Tim Riley <[email protected]>
Add complete unit specs for Decorator and Part

81324e57986f1f68caf0c856029763e7d006dd83 authored almost 8 years ago by Tim Riley <[email protected]>
Don’t re-wrap existing parts passed as a partial rendering scope

7c0d3499f5572a870d7d5a664d70c27d0434e5bf authored almost 8 years ago by Tim Riley <[email protected]>
Wrap arrays in parts as well as their children

b72c98132ca7791292df61b15e0bbd22a410d3d4 authored almost 8 years ago by Tim Riley <[email protected]>
Tidy order of attrs in Part

7333255c96a749ffa3caa905eed440137f672b05 authored almost 8 years ago by Tim Riley <[email protected]>
Remove TODO for custom inspect

What we have is fine, and it’s helpful to see all the ivars

eeb78137f45c0a655e186bebee445f66226731f5 authored almost 8 years ago by Tim Riley <[email protected]>
Add extra integration specs around as: behaviour for part wrapping

39fd8362ed48f73a3e13dbf1beabbaa0b3b8a594 authored almost 8 years ago by Tim Riley <[email protected]>
Show both plain and custom wrapped parts in integration spec

aafdcbc110d112f29ea5a12821a31a5003d2c533 authored almost 8 years ago by Tim Riley <[email protected]>
Avoid lonely operator for greater compatibility

5c7268e2f3820847c104b5528dc941388241c067 authored almost 8 years ago by Tim Riley <[email protected]>
Add initial integration spec demonstrating custom parts

80d5fde369eb9d08d72bee3ef7a81d690f0d0811 authored almost 8 years ago by Tim Riley <[email protected]>
Remove comment

fe3017943517f75724a9646248290fc567a2988a authored almost 8 years ago by Tim Riley <[email protected]>
Add Decorator#part_class to make it easy to provide custom part classes

1c15fe5b931ce061e88ce12afb9c61536a971b7e authored almost 8 years ago by Tim Riley <[email protected]>
Pass exposure name and options to decorator

9dcbfe4df9c64fabdb1adf11105d79e659099468 authored almost 8 years ago by Tim Riley <[email protected]>
Refactor exposure to hold all options, rename to_view? to private?

4fa281d20efdf93401714c07319647da0666255f authored almost 8 years ago by Tim Riley <[email protected]>
Make args passed to Controller’s private methods more consistent

- Use `renderer, context, locals` as the order wherever possible
- Resolve a context at the boun...

f051fe9700fec7f87608bdeb43bcef100123af4d authored almost 8 years ago by Tim Riley <[email protected]>
First pass at decorators for all view objects

- Add a default Decorator, whose job it is to wrap objects in Parts
- Add Part back, make it wor...

5dd5259783bb5c23dffd6cf247922d73a0b06640 authored almost 8 years ago by Tim Riley <[email protected]>
Bump version

567dff51c294dced2f344e607b7539a8b2e7ac55 authored almost 8 years ago by Tim Riley <[email protected]>
Make passthrough exposures allow missing keys

Return nil instead of raising an error.

aa43aff8c79a2e5482b1eefab4af6e3f6b54db87 authored almost 8 years ago by Tim Riley <[email protected]>
Bump version

ffaf2f7959b5ec8c667dcd6e05dd7f0eef1bfcc1 authored almost 8 years ago by Tim Riley <[email protected]>
Update CHANGELOG [ci skip]

92d0653c087dd1c446281e21b38ee5564d9fa5c8 authored almost 8 years ago by Tim Riley <[email protected]>
Merge pull request #33 from dry-rb/make-instance-available-to-exposure-blocks

Make the view controller instance available to exposure blocks

2ebd73338610af8bf3c0d64faba7777a3ac36002 authored almost 8 years ago by Tim Riley <[email protected]>
Make the view controller instance available to exposure blocks

1befa6ad98857d20591e19ba799017359b47ec4d authored almost 8 years ago by Tim Riley <[email protected]>
Bump version

0020e06cd125fff12546c92e868d8bb990a7c812 authored almost 8 years ago by Tim Riley <[email protected]>
Add better intro and documentation link in README

61c16038d39aa0580f3e80b84d0bbf1b85afb8a7 authored almost 8 years ago by Tim Riley <[email protected]>
Add CHANGELOG notes for 0.2.0 release

41e46f84ecbb79d4fff89612717c79a60a50f3f9 authored almost 8 years ago by Tim Riley <[email protected]>
Merge pull request #32 from dry-rb/pass-through-input-with-exposures

Pass through input data for exposure with no block or matching method

915bad31d1b40857108361de5e9a7a421abff12d authored almost 8 years ago by Tim Riley <[email protected]>
Pass through input data for exposure with no block or matching method

66782ef1d37dca7612a141bfb4c52a49ef136e4b authored almost 8 years ago by Tim Riley <[email protected]>
Allow json to be installed under JRuby on Travis

Copied from Hanami's fix at https://github.com/hanami/helpers/pull/97/commits/13f30e287c315f9314...

62dde8fc94a71b366e13658ed75bf86139e2c1a6 authored almost 8 years ago by Tim Riley <[email protected]>
Update gemspec details and remove inflecto dependency

33d523a20960f8971b4ad4ff61ba7e3c1c1fc9d1 authored almost 8 years ago by Tim Riley <[email protected]>
Merge pull request #30 from dry-rb/kwargs-for-input

Use keyword args for accepting input

199eb7637fffa0b89ec8547ad3ece454a93db2b1 authored almost 8 years ago by Tim Riley <[email protected]>
Allow JRuby to fail on Travis (it’s having trouble with installing json)

9ac3938852402640511e2fa980621c1c671dd5d7 authored almost 8 years ago by Tim Riley <[email protected]>