RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

alexandrov — 21 posts

http://github.com/igor-alexandrov

We have just released Attrio-0.6, here is the list of new features and impovements:

- Improved support of default values. Added ability to check for default values with #default? method.
- Updated support of multiple attribute collections in one class.
- Refactored object initialization.
- Refactored inspection.
- Fixed Issue 6.
By the end of last week we released Attrio-0.5.0.

If you still haven't heard anything about Attrio, then know that it is small library that adds a lot of advantage to attributes handling in plain Ruby objects. The biggest advantage of 0.5 release is support of collections. Now you can easily define attribute as an Array and also specify options for each element of this Array.

https://github.com/jetrockets/attrio
Wiselinks-1.0 has just been released.

I wrote a small post with thanks, changes and facts:
http://igor-alexandrov.github.io/blog/2013/07/11/the-way-to-wiselinks-1-dot-0/
Wiselinks-0.7.0 has just been released.
Here is a list of changes:
– URL variable fix in wiselinks events
– Correctly handle trailing slash
– Added data-include-blank-url-params and data-optimize-url-params params to form processing. Check README for more info.
– Minor changes and fixes (removed most of trailing spaces, replaced attr('data-') with data('')).

GitHub: https://github.com/igor-alexandrov/wiselinks

Thanks for all contributors! Wiselinks community grows fast!
Today we released Attrio-0.4 (attributes manager for plain old Ruby objects).
In this release several issues were fixed but the most significant change is that attributes defined with Attrio are inheritable. Also all class level variables were removed.

Now we can say, that all critical issues that were found and discussed in my blog (http://igor-alexandrov.github.io/blog/2013/05/23/attrio-typed-attributes-for-ruby-objects/) after the first released are fixed.

GitHub page: https://github.com/jetrockets/attrio.
Wiselinks, popular alternative to Turbolinks and Pjax, got new version today.

In Wiselinks-0.6.4 we added standalone version for those who want to use Wiselinks without Rails. You can download compiled JS script directly from Wiselinks repository https://github.com/igor-alexandrov/wiselinks. Also code was polished with CoffeeLint and now is passes it without any warnings.
We have just released Attrio 0.3. Nearly all core extensions after long discusion in my blog were removed. Also we added new specs and updated missing documentation. Here is a link to Attrio GitHub page:

https://github.com/jetrockets/attrio

P.S. If you still don't know what is Attrio.
Attrio is a library that adds typed attributes to plain old Ruby objects. Read more about it in my blog:
http://igor-alexandrov.github.io/blog/2013/05/23/attrio-typed-attributes-for-ruby-objects/.
Wiselinks, a widely used alternative to PJAX and Turbolinks, got 0.6 release on last weekend.

Read more about fixes and new features in my blog:
http://igor-alexandrov.github.io/blog/2013/06/02/wiselinks-0-dot-6-release/
and follow project on GitHub:
https://github.com/igor-alexandrov/wiselinks

P.S.
Live demo application:
http://wiselinks.herokuapp.com/
Attrio reached 0.2.0!  igor-alexandrov.github.io
Attrio reached 0.2.0 version!

Attrio adds attributes for plain Ruby objects. The goal is to provide an ability to define attributes for your models without reinventing the wheel all over again. Attrio doesn't have any third-party dependencies like Virtus or ActiveAttr and does not redefine any methods inside your class, unless you want it to.

With 0.2.0 Attrio got:
– different way to define default values;
- embed values;

Read more, star or fork on GitHub: https://github.com/jetrockets/attrio.
Subscribe to my blog to get information about updates for Attrio and our other projects: http://igor-alexandrov.github.io.
This yet another attempt to reinvent the wheel??? No no no!
This is how typed attributes should be done from the beginning. Attrio is simple, configurable, without ANY dependencies and works with all major versions of Ruby.

GitHub Repository
Blog Post


Yandex::Webmaster gem and some bonus  igor-alexandrov.github.io
I just released Yandex::Webmaster. It is an API wrapper for Yandex.Webmaster tools. Now you can easily integrate information from Yandex into your Ruby application.

Read about it in my blog: http://igor-alexandrov.github.io/blog/2013/05/13/yandex-webmaster-gem-and-something-more/ and don't forget to find bonus at the of the post that will be interesting for developers from all over the world (not only those who use Yandex.Webmaster)
I just wrote about how we used git-subtree to share code between LienLog and LienMarket (both are Rails 3.2 applications) in my blog.

http://igor-alexandrov.github.com/blog/2013/03/28/using-git-subtree-to-share-code-between-rails-applications.
HTTP redirects following, refactored JS events and other fixes.
https://github.com/igor-alexandrov/wiselinks
Yet another Ruby shootout (round 2)  igor-alexandrov.github.com
Yet another Ruby shootout (round 2): http://igor-alexandrov.github.com/blog/2013/02/15/yet-another-ruby-shootout-round-2/

ruby-2.0.0-rc2 VS. ruby-2.0.0-preview1 VS. ruby-1.9.3-p385
Only a couple of days passed since last Wiselinks release, but we have already added new features to our gem and want to share them with you!

Now Wiselinks supports all features from Turbolinks and even more:

assets change detection;
window title handling;
form processing;
form parameters optimization;


https://github.com/igor-alexandrov/wiselinks

Wiselinks are production ready and already used in several projects.
Don't forget that Wiselinks has demo application deployed to Heroku.
While the end of days is coming, we in JetRockets decided that we have to share our latest products with you.

If you are not completely satisfied with Turbolinks, you want more flexibility and some new features, then you should try Wiselinks. Wiselinks work in all major browsers, including browsers that do not support History API natively. Currently Wiselinks is in release candidate status, but it is already used in a couple of production projects.

We are waiting for your comments and reactions.

P.S. hasta la vista rubists...
Yet another ruby shootout  igor-alexandrov.github.com
I just posted a comparison of ruby-2.0.0-preview1, rubinius-2.0-rc1 and ruby-1.9.3-p286 in my blog.

The most interesting for me seems the end of the story.
Waiting for your comments.
Gem for Yandex.Metrika  metrika.yandex.ru
I have just published Gem to work with Yandex.Metrika API.
Yandex.Metrika is a web-analytics tool from Yandex (similar to Google Analytics). With Metrika gem you can authorize with OAuth protocol, work with counters, goals, filters, operations and grants. And of course you can fetch every statistics that is available for your site.

Here is a link to project page on GitHub:
https://github.com/igor-alexandrov/metrika
After a couple of weeks spent with WickedPDF and PDFKit I understood, that I can make something better. And it is called wisepdf!

It works with Rails 2.3 and above, it correctly supports Assets Pipeline, it is well tested and it is optimized to wkhtmltopdf-0.10.0.

https://github.com/igor-alexandrov/wisepdf
https://rubygems.org/gems/wisepdf

-
Just crafted small Gem to make your controllers even more DRYer and extremely easy to understand.

Hope it will be useful.

https://github.com/igor-alexandrov/wiserespond
https://rubygems.org/gems/wiserespond
As you know some days ago Amazon released official AWS SDK for Ruby. I created Paperclip storage module called paperclip-aws that brings 'aws-sdk' to Paperclip. Features include: works perfectly with US, European and Japanese S3 instances; supports both http and https urls; supports expiring urls; can generate urls for read, write и delete operations.