labofsahil/github-event-dataset-2012 huggingface dataset:
update vendor'd padrino 0.10.5 -> 0.10.6

```
% rake test

[...]

Feature: Built-in macro view helpers
  In order to simplify generating HTML

  Scenario: Using the padrino helpers                    # features/former_padrino_helpers.feature:4
    Given the Server is running at "padrino-helpers-app" # lib/middleman-core/step_definitions/server_steps.rb:50
    When I go to "/former_padrino_test.html"             # lib/middleman-core/step_definitions/server_steps.rb:55
    And I should see 'href="test2.com"'                  # lib/middleman-core/step_definitions/server_steps.rb:67
    And I should see 'src="/images/test2.png"'           # lib/middleman-core/step_definitions/server_steps.rb:67
    And I should see 'src="/javascripts/test1.js"'       # lib/middleman-core/step_definitions/server_steps.rb:67
    And I should see 'href="/stylesheets/test1.css"'     # lib/middleman-core/step_definitions/server_steps.rb:67
    And I should see '1 KB'                              # lib/middleman-core/step_definitions/server_steps.rb:67

[...]

17 scenarios (117 passed)
617 steps (617 passed)
```
Rfk/delegated

I have rebased @kylef's changes from pull request #7 onto the latest master, and done the renamings/fixes I suggested in that discussion.  @ametaireau what do you think?
removed cache.manifest entry from cache.manifest NETWORK clause
Move json object to queryable url.
more plugin fixes and documentation
Step debugger

These are the changes that implement step-through debugging
chinese lang added

chinese lang added
Fixing some coding style

Fixing some coding style
js alert hello
Flush OIndexManager on load to prevent loss of uncommited changes (e.g. during export)

It seems that during export OIndexManager.load is called. This causes loss of uncommited index changes. My idea is to flush OIndexManager before indexes are reloaded. 
Test case attached
Pull request test - ignore

Yep, just a test.
Testing PullRequest
Fix for bug# 849910

Return display_name, description fields in RestCartridge model
Modify Display-name/Description fields for all cartridges
ihc

problemas míos (roddy) 1 y 2 resueltos.
Code review for Puavo release 23-05-2012

[puavo_authentication 0.2.0 release](https://github.com/opinsys/puavo_authentication/compare/909b5926041b191bc3d0785b505e3a162bf16380...master
) should be reviewed too.

This release includes speed optimisations with memory based caches, upgraded Rails 2 version, few bug fixes and some code clean up.
Assorted Improvements

Some improvements I added after porting `opscode-omnibus` to use `omnibus-ctl` for `private-chef-ctl`.
fixed bug wherein negative engine thrust used negative fuel

Hello, good sir. Here is a fix for the bug you mentioned.
Fix to avoid returning the same domainId twice.
Add Robolectric.dump() and Robolectric.innerText() convenience methods.

Include visibility attribute in view dump.
Adding wrapper script

This wrapper script executes the a command and saves in a file the execution time (in secs) and the maximum amount of resident memory (in KB).
Added an icon, Growl support, and support for trusting repos with invalid certs (after a user prompt).

I've made several changes.  Things you might like:

1. I created an icon, based on the standard Jenkins icon.  The change is to make Jenkins hold a menu rather than a towel.
2. I added Growl notifications.
3. I added support for connecting to repositories with invalid certs.  The user is prompted first, and can choose to trust the server or cancel.
4. I changed all strings to use NSLocalizedString, pulling from a strings file.
5. I added a short readme.

Things you might not like:

1. I couldn't get the archived app to run--it immediately crashed complaining it couldn't load the QKit framework.  So I removed the QKit framework; it was only used for logging anyway.
2. I changed the project to use 10.8 as the base SDK--I was unable to resist XCode's siren call!
Don't source stacktach_config.sh since we're no longer using that
Clang 3.0 Compile Fix

Some minor changes to finding struct offsets were needed to get libmapper to compile with clang. The included commits fix this and silence one warning due to a missing include directive.
XMPP Plugin

I´ve just forked the rhq-samples repo, and added the xmpp plugin, as well as the directory struct to hold it.
Merge of Frodo Code
The reshape package is required for the melt function

I have added a dependency on the reshape package, which the 'melt' function is from. Without this, the altmetric functions errored on my clean R install.
Add myTotals endpoint

https://dev.twitter.com/docs/api/1/get/account/totals
Fixed file upload bug

Adding managers and viewers upon file creation didn't work.
added mod_dir_config function

I needed this function for my project so I added it.  I may be adding more.  Hope you find it useful!
Reworked the installer per our discussions.

Sean,

Here's the work I did to re-work the installer.  It doesn't do anything with the manifest.  It prompts for user/pass to the MySQL database, then does the database creation, then it reads/executes nutcrackertables.sql and finally reads/executes nutcrackerdata.sql.

I tested this on my linux dev machines as well as on Windows XP with the latest XAMPP/gnuplot packages available.

Mat
Changes to networking plugin to support biosdevname

With the advent of biosdevname, we can no longer rely on Ethernet interfaces to be named ethX. This set commits changes the networking to support arbitrarily named interfaces. It depends on the link encapsulation as reported by 'ip',

The 'ifconfig' command is now deprecated, and can lead to incomplete data collection if you have IPoIB interfaces. The 'ip' command is also easier to parse the output of.

There are a few additional ethtool commands that we should invoke in order to gather some additional info on the interfaces as well.

One issue with this commit set is that I couldn't figure out how to use the file of 'ip -o addr' that I just created as input to get_interface_name(). Try as I might, it just wouldn't work. Therefore, there is the suboptimal calling of the program twice, once with collectOutputNow() and the second with callExtProg so that I could get the stdout. Suggestions and improvements welcomed.
Minor corrections in spanish translation

I discovered some mistakes, nothing important, but now it's polished.
Add executable

Usage:

```
$ notes // will search for notes in cwd
$ notes lib/ test/ // will search only in lib and test
```

Feel free to add "preferGlobal" and "bin" sections in the package.json file.

Cheers,
Veselin
AS3およびMXMLを追加

Flex系の集計がしたかったのでAS3(Javaと同じパターン)とMXML(XMLと同じパターン)の拡張子を追加しました。
Add xml schema types

I added the following types that are defined in http://www.w3.org/TR/xmlschema-2/

base64Binary
hexBinary

negativeInteger
nonNegativeInteger
nonPositiveInteger

unsignedByte
unsignedInt
unsignedLong
unsignedShort
short

float
webui: 'Missing VLC plugin' panel reactivated + using ExtJS elements instead of plain HTMLElements

some more ExtJS optimizations
Make the htaccess file configurable 

create a sample.htaccess file so that you can customize your rewrite base.
style and increase spacing and size of upload buttons

story: https://mingle.corp.wikimedia.org/projects/wlm_android_app/cards/160
Improving GeoipProvider

Hi,
GeoipProvider returned region as regionCode. I've added a geoip_record_by_name call to return proper region name or fall back to region code.

Moreover, geoip_time_zone_by_country_and_region returns the time zone on success, or FALSE if the country and region code combo cannot be found. I've added a check to return null if $timezone is set to false.
Updated Read write command check for Get,Set,Save and Restore

Updated the configuration read-write-command-check for Get, Set, Save and Restore for telnet.
Updated urls to django15 spec

Updated django-rosetta to adhere to Django 1.5 url specs, which we are using in yolacom.
Some small fixes and additions :)
A couple small fixes for yote

Heya,

While playing with SE, I found a couple small problems. The id was still in some cases not making it up (or into the resulting error message) and there was a case where we'd get an infinite loop in the a_child_of_b if we had a recursive object tree. I think these should handle both of those.
Add support for HTTP proxies

There are so many commits because of my lack of git experience. But finally I think I got it right. Here is the description of the change:

In order to configure forge to use http proxy, you need to do the following things:
1) Open the user configuration in ~/.forge/config.xml
2) Add there this tag:
  <proxy>
    <host>proxy-host-name</host>
    <port>proxy-port</port>
  </proxy>
3) You need to setup your maven settings.xml as well. For that check:
  http://maven.apache.org/guides/mini/guide-proxies.html
After you have done all of the above, you may start Forge in your corporate environment

I also added a page to the forge wiki:
https://docs.jboss.org/author/display/FORGE/Configure+HTTP+Proxy
fixes for weekly.2012-01-15

These were necessary to get doozerd running on the latest weekly. gofix didn't yield anything.
[readme] udpates dev instructions to save us time from always forgetting...

... some of the steps
Hdf prototype

Great work Swarbhanu. I think the encoder decoder is ready for action.
Adding a "show" command.

Basically just a command that will list out the current xfile.
[Trey] Core design integration

This is the initial front-end development and design for the tandem demo.

https://www.pivotaltracker.com/story/show/26893401

You'll have to fill in the areas to get some content to display. There are also some images available to upload for the monster side and for the vacation side: 

/assets/images/monster-dino.jpg
/assets/images/monster-tentacle.jpg
/assets/images/hero.jpg
Add java bindings

Поскольку пользователей пока нет, неизвестно, насколько они рабочие.
Если вы хотите что бы этот функционал был в основной ветке разработки - напишите какое-нибудь
приложение, которое им пользуется. Иначе нет возможности проверить, что они сделаны нормально.
Document search

Looked to Sublime Text 2 for functionality. CTRL-F brings up the search bar.

Code is a bit of a mess, hopefully it works.

Issue:
Floating toolbar commands aren't enabled when the focus is on the search textbox. InvalidateRequerySuggested doesn't help.
Docs setup

Initial Sphinx setup for Bottles
Session 1

Guard test doesn't work nicely on Windows platform. It's much more efficient to manually just run rake test after every significant changes than waiting and letting guard to run the tests. By the time guard has ran through all of the tests for first time, chances are you've already made a significant amount of changes that backtracking is bit tiresome.

validating the presence for :book was a kind of "gotcha". Seems like the correct attribute was :book_id. This kind of felt unintuitive for me when I wanted to validate an existance of an association ó.ò

Edit: To clarify a bit on Guard. For every single save, Guard will try to run a test. Those who are experienced developing ruby on rails on Windows platform knows how long it takes for the "rake test" to start up. Now imagine saving your changes 3 times in the process, it'll cause the Guard to run test 3 times and you'll have to experience the long wait before every single test. What's even worse is that, the version of test that is being run is only the latest version of test you've got after the startup process and before the test is ran.
Initial package.json for hammer.js

This should be a start for using hammer.js with jam.
Add changelogs from 2.1-stable (#1331)

It's related to issue #1331. When/If that is merged into 2.1-stable, this changelog in develop branch will be updated as well.
Fix GitHub spelling

Changed "Github" to "GitHub".
AI related bug fixes and improvements.

Removed references to AIObjective and aiAvoidThis which are not used.
Made minor improvements to the spawning system in the aiPlayer.cs file.
Work for Issue #141 for Remove Toolbox

Removed the old Toolbox and the Qt libraries, as well as all of the
Templates' game binaries.
Fix for Issue #66 for Skinned mesh crash
Traduzioni

Tradotti alcune stringhe di Buddypress
Add hover icons for Twitter, GitHub, and LinkedIn to follow us section of footer.

...low us section.
Манаенкова Анна, проект 1 "ДНК"
Test Activity bug

Fixed bug in Test Activity where the constructor for sandbox did not have the correct number of arguments. Looked like RESTServerClient was updated and the test activity wasn't.
HTTP + HTTPS is broken in sannzbd

This finally works for me again and allows me to have both http and
https running simulateously.  There's some cleanup that could be done in that plugin as well (but I didn't have time to do it).  I see a few hardcoded paths and references here and there.
[Request for Review] Changes needed to build multiple targets

[Issue]
  In build.json file, user can describe dependency using the 'targets' property in 'resources' section.
  However, we don't have any way to avoid redundancy in the files to build.

[Cause]
  Current implementation performs the 'build' action whenever a 'targets' property is found.
  However, the output of 'build' action is a single file containing 'binary' (minified JS).
  Then, the binary files generated by the targets are concatenated into a single file, there's no concept of removing redundancy.

[Fix]
  Added 'merge' action which outputs a list of files, not a binary.
  And, also added a logic to remove redundancy at the end of the build action.
Font Scaler

added a way to scale text drawing
called by
FontScaler.scaleFont(FontRenderer f, String s, int x, int y, int color, double scale);
yes its a static method
its meant for use with the Pokedex but would work with anything
Add new DVBSky linux drivers

Build-in dvb driver package for DVBSky cards.
From: http://www.dvbsky.eu/Support.html
Supports currently up to kernel 3.5.3
C2800E(DVB-C w CI)
S950-CI(DVB-S/S2 w CI)
S952(DVB-S/S2 Dual)
S950(DVB-S/S2)
S850(DVB-S/S2)
S960(DVB-S/S2 USB)
S860(DVB-S/S2 USB)
This should solve #1140 

This fix should solve #1140.

How can I remove the old commits?

Cheers
Jan
SABnzbd-Suite: service startup fix
xbmc: add patch - linuxrenderer: delete texture targets on reconfigure

This fixes problems with switching between channels on xbmc-pvr. As it is general XBMC fix I included it for both xbmc versions.

Here is also the issue which I created on fernetmenta xbmc repository:
https://github.com/FernetMenta/xbmc/issues/64
Added caching to wp_remote_get requests
hrl, makefile
Functional changes

Functional changes in the library to make compatible with our code.
Expose real tanks from TileTank through ITankContainer

Instead of creating a pseudo-tank representing the full stack of tanks the getTanks function will return the actual tanks.
Does not seem to break any gate conditionals, normal fill/drain mechanics (with pipes) should not be affected.
A couple of hasUpdate lines are probably made redundant by this change
Fix tekkit, version 2
Building

More consistent with naming conventions used till 2.6.0
Make sure submodules are updated during build

Call `git submodule update --init` after pulling new code. This is only done on the brackets repo, since brackets-shell doesn't have any submodules.
Improved header look and feel.
Python 3.2+ compatibility

These changes make redis-py compatible with Python 3.2 and later.
expire() and setex() now accept timedelta objects.

This mimics the datetime support provided by `expireat()`.
More updated in translations

On first commit, I improved the translation process documentation
On second, I added all the missing .pot files for the translations
facebook integration and layout improvements

Upgraded devise and added facebook integration which will work so long as you run Rails as localhost:3000 (the default.)

Moved some of your repeated references to header/footer includes to the application layout file, where it belongs.
Synchronize with Staged Pages
Added persistence for Cordova contacts emulation

Fix for https://github.com/blackberry/Ripple-UI/issues/503
Replaces single quotes with double quotes

You're welcome!
Mooore yummy food.
ARP Table Static Entries from Individual DHCP Static Mappings

Assign individual DHCP static mappings as ARP table static entries.  
Useful / necessary for sending WoL magic packets from external services / sources, and for any other purpose that needs a static ARP table entry.
gateway monitoring, notifications generated tell affected gateway/group

gateway monitoring, make the notifications generated clear to tell which gateway/group they are about
- test new branch and pull request
Make sure all menus start closed

Sometimes when I switched saves, different menus would start opened (usually stash and inventory). This just makes sure that doesn't happen.
FileTransfer - Progress

added support for FileTransfer - progress (Version set to 2.2)
Handle OPTION requests
default vals field 

default vals field
Added integration tests for links and messages
DOC-1894 Nicer display for the short/empty information

Nicer display for the content which is so short for Dev Guide
Wz4: new operator FromVertex, generate particles nodes from vertices mesh

FromVertex a new operator similar to FromMesh to generate particles nodes from a mesh.
The difference is that is based on the vertices intead of the bounding box of the mesh.
Obtain Media ID

Added function and javascript to allow for a hidden field to be displayed that will contain the attachment ID of the added image.
Added function getIdField and getIdFieldClass. 
Parsing url to obtain the ID.
extend gambit-logic to accept file input

Part of issue #48.
GTNPORTAL-2762 Sanitize and improve declaration of dependencies in use
Support loadPages in impl and add equals method to PageState

We're not adding the loadPages method to the interface yet, and export/import will cast to the impl until we have more time to "think" about it.
Hud

Adds basic HUD for score ad player's remaining lives.  Some other random goodies too.
Processor RegEX bugfix
Weird errors here. But compiles cleanly against Cassandra. Most tests work. 1.1

[edward@tablitha hector]$ grep ERROR /home/edward/hect-ed/hector/core/target/surefire-reports/*/home/edward/hect-ed/hector/core/target/surefire-reports/me.prettyprint.hector.api.ApiV2SystemTest.txt:testRangeSuperSlicesQuery(me.prettyprint.hector.api.ApiV2SystemTest)  Time elapsed: 0.017 sec  <<< ERROR!
/home/edward/hect-ed/hector/core/target/surefire-reports/me.prettyprint.hector.api.ApiV2SystemTest.txt:testRangeSuperSlicesQuery_order(me.prettyprint.hector.api.ApiV2SystemTest)  Time elapsed: 0.017 sec  <<< ERROR!
/home/edward/hect-ed/hector/core/target/surefire-reports/me.prettyprint.hector.api.VirtualKeyspaceTest.txt:testRangeSuperSlicesQuery(me.prettyprint.hector.api.VirtualKeyspaceTest)  Time elapsed: 0.018 sec  <<< ERROR!
/home/edward/hect-ed/hector/core/target/surefire-reports/me.prettyprint.hector.api.VirtualKeyspaceTest.txt:testRangeSuperSlicesQuery_order(me.prettyprint.hector.api.VirtualKeyspaceTest)  Time elapsed: 0.019 sec  <<< ERROR!
/home/edward/hect-ed/hector/core/target/surefire-reports/me.prettyprint.hector.api.VirtualKeyspaceTest.txt:testRangeSubSlicesQuery(me.prettyprint.hector.api.VirtualKeyspaceTest)  Time elapsed: 0.017 sec  <<< ERROR!
/home/edward/hect-ed/hector/core/target/surefire-reports/TEST-me.prettyprint.hector.api.VirtualKeyspaceTest.xml:    <system-out>13:05:16,164 ERROR PrefixedSerializer:66 - Unprefixed value received, throwing exception...
/home/edward/hect-ed/hector/core/target/surefire-reports/TEST-me.prettyprint.hector.api.VirtualKeyspaceTest.xml:13:05:16,164 ERROR PrefixedSerializer:66 - Unprefixed value received, throwing exception...
/home/edward/hect-ed/hector/core/target/surefire-reports/TEST-me.prettyprint.hector.api.VirtualKeyspaceTest.xml:13:05:16,165 ERROR PrefixedSerializer:66 - Unprefixed value received, throwing exception...
/home/edward/hect-ed/hector/core/target/surefire-reports/TEST-me.prettyprint.hector.api.VirtualKeyspaceTest.xml:    <system-out>13:05:16,256 ERROR PrefixedSerializer:66 - Unprefixed value received, throwing exception...
[edward@tablitha hector]$
Update documentation in gh-pages

* Documentation still referenced steps to use /auth/local/username/:username endpoint on backend.
* Update build instructions
fixed help so it shows all commands
Express example

Added a new example for using the TwitchTV NodeJS client with ExpressJS to render views.
removed use of static fields to share type mapping info
Use bundle package to manage gems

To share the same development environment between all the developers I think that the best way is to use bundle-package.

Some references:

* http://gembundler.com/bundle_package.html
* http://ryan.mcgeary.org/2011/02/09/vendor-everything-still-applies/
* http://robots.thoughtbot.com/post/15346721484/use-bundlers-binstubs
Ug sections

Here are the remaining header adjustments from chapters 04-20, as of 6/28/2012.
@jhinkey
Update docs after Python 2.6 is supported again
mousehandler 3.1

mousehandler nu zoals in windows
Fixes #4227 - Button+data-iconpos="notext" in listview

Cause: The css to position the arrow indicator in a list was also
being applied to the button icon if it appeared in the list.

How fixed: Used '>' css to target only direct children
Issue 3984: jumping fixed header IOS & Android RC2

Fix for
https://github.com/jquery/jquery-mobile/issues/3984

I've done some searching and the problem appears to be a Safari bug; however it's hard to say that for sure . The fix is to do scrollTop(0) between page transitions which probably resets Safari viewport and prevents nasty jumps/blinks/etc when Safari tries to settle down the newly loaded position:fixed header/footer.

I'd appreciate if someone with more JQM experience could review the fix and confirm that it doesn't break anything. I am new to this framework and don't have a clear picture of every JQM feature so I could have easily broken something.
template typo fix

"build you first" => "build your first"
Add a setTimeout() round updatePagePadding() for fixedToolbar

In certain cases, the updatePagePadding() function (used
to reposition elements when a page has a fixed toolbar) doesn't
reposition other page elements at the correct stage of the
page render. This can result in elements further down the ```<body>```
being partially covered by the fixed toolbar. (This usually resolves
itself if another page is navigated to, followed by a return to the
page with the obscured content.)

To remedy this, put a setTimeout() around updatePagePadding()
so that it is applied after rendering completes successfully.

NB The environment where I spotted this was Chrome (20.0.1132.3 dev)
on Linux.
Docs: Add a clarification for the two different ways to create a checkbox (checkboxes/index.html)
Update to select menu placeholder logic

... option. Also remove getAttribute('value') in favor of $this.val()
* Avoid ArrayAdapter.addAll since it is not available in Android 2.2
Enable thread affinity for life of Repository

See https://github.com/libgit2/libgit2/issues/624#issuecomment-7815470

One caveat: [`Thread.BeginThreadAffinity()`](http://msdn.microsoft.com/en-us/library/system.threading.thread.beginthreadaffinity.aspx) is decorated with [`SecurityCriticalAttribute`](http://msdn.microsoft.com/en-us/library/system.security.securitycriticalattribute.aspx):
> Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
README.md precisions

Added some text into the README.md file in order to help people understand how to deal with themes directory structure with a Bundle. I gave an example of how to integrate TwigBundle custom error pages.
Correct display of new packages toi be installed or removed

Basically, use of low level apt_pkg class instead of apt.cache class
merge me XD
various fixes and improvements

Please merge.
Support for VG_QUAD_TO

Implemented support for VG_QUAD_TO in glPath.cpp, which will be used by MonkSVG to support SVG's quadratic bezier drawing command (i.e. 'Q' and 'q')
Add support for smtp encryption protocol
Fix misspelled "absolute" and "successful"
ENH/WIP: Creating new Raw instances from existing and processed data

Merges existing raw attributes with externally processed data into new instance.

- use case #1 mixing of ica denoised data
- use case #2 other filtering operations
- use case #3 'ABC' for reading in externally processed data

I added assert statement that makes sure the dimensionality of the external data and the original fiff is compatible.

What do you think on this?
Add one api test spec
Agregada Capa de Negocio
Test package code added

Running:

import CPAC
CPAC.test()

now possible.
small changes

Made gisti.py executable so it can be in PATH

Fixed a small syntax error (probably a typo) for copying the resulting URL to the clipboard in OSX

made some error messages more explicit
Add fix tests

tests are mostly complete and everything in working order. will fix wunderground functionality in a new branch
Remove devise/schema from autoloads
Add Netty SPDY support

You can close this if you want.  It's not high priority for me.  However, it looks like upgrades are starting to get checked in and this would be necessary for Play to support SPDY.
Improvements for fake requests

* Get Helpers.route to extract the fake request body and use that
* Provide implicit writables for all AnyContent implementations
* Also fixed issue with csrf checks not checking text/plain

Basically this is to fix the confusion caused by Helpers.routes() ignoring the fake request body.
fixes for the ticket #194

fixes for the failure on installing play2 into Mac OS X with homebrew
https://play.lighthouseapp.com/projects/82401-play-20/tickets/194
ERPDFMerge.concatPDFs with flexible page size and margin definition

com.lowagie.text.Document passed in rather than the default Document
constructed with no args.

This allows you to specific page sizes other than A4 with the default
margins. This is helpful (at least to me) because many of the pdfs that
I want to concatenate already have margins set so the default margin in
the new Document shifts everything down and to the right. 

This is a minor change that should not break anything because the same 
signature is still available and behaves exactly the same as it did 
before this change.
proper shebang for setup.py
Moved page preview functionality behind the protection of /refinery.

Fixes #2012
added finishes controller plus gotadd/edit finish to work ( links on /admin page )
modified for korean word separator.

'n분전' to 'n분 전'.
Add carousel margin left
[#38162815] API forces ordering by ID

There is a problem with directly calling Model#paginate in that it does
not enforce an ordering, so plate purposes were going missing because
MySQL was effectively randomly ordering the results between calls.  The
API now forces ordering by at least ID so that this should not occur.
Add support for changing the ruby version for erb

This is using the same global as the main ruby syntax checker.
Cofactor calculator for square matrices Rel: #59

**Added**

- `isSquare()` to `Matrix`
- `cofactor()` to `SquareMatrix` (#59)
- Tests
Covariance calculator 

**Added:**

- Covariance calulator to `statistics.js`
- Array sum function to `basic.js`
- Corresponding tests
Prevent E_NOTICE in the liveInfo and weekInfo methods of ApiController when a callback is not given

This only wraps `json_encode($request)` in a callback when `$_GET['callback']` is set. Returns just the JSON otherwise. On installs where E_NOTICEs are shown this used to break JSON parsers.
Bad phone number for one of the Tim Johnsons

We had Sen. Tim Johnson (SD)'s phone number used for both Sen. Tim Johnson, and Rep. Timothy Johnson (IL).
Cookbook override default dirs

This PR adds a new cookbook article which explains how to override the default directory structure. This closes 2 of the 3 issues, mentioned by @fabpot in #1519

If this is correct I will go further with an article about setting the charset and at some text about composer (changing the web directory needs some setting in composer.json) for the master branch.
Adding another page to the console section with info on general usage

As per #1645
play-airbrake with play java

This is what I whipped up to at least get me working.  I am sure it could be cleaned up a bit but it is a start for those that want to use play-airbrake with play java
App vs Webapp

Wie gewünscht reiche ich hiermit einen Themenvorschlag zu einer möglichen Technikwürze Folge ein.
Structs

Let's convert the internal nested hash structures into real Structs.
Fix SSL for TempoDB

We need to set use_ssl when initializing the HTTP object otherwise an
exception is throw.

Also added basic rspec structure with webmock gem and examples for this fix.
Chat storage w/Github and CI commands + tests
Clarify that compose makes a new fn. This one is for danieldk
Add bukkit repository

Useful if you use jenkins as an integration server and don't want to add a new job for bukkit.
modified zsh completion to work with OS X

Due to difference in the home file path the zsh completion was breaking on OS X.  I've modified it to work with both OS X (tested on 10.8.1) and Linux (Arch Linux). This is my first pull request so let me know if you need more info.  Thanks.  -dm
fix to support korganizer 

Hi,


I encountered some problems concerning korganizer and EXDATE:
My korganizer (version 4.4.11) recognizes EXDATE only if it is explicit typed, eg
  EXDATE;VALUE=DATE:20120223
instead of
EXDATE:20120223T000000Z

I don't know how far this is related to Pull-Request #11.

I understand horde as some kind of middleware to glue different components together, so I left the original property in place to achieve maximum compatibility (without violating the rfc as far as I know). I'd be glad if you put this upstream.


Thanks,
Manuel
dgram bind fix

fix for #2867
Crypto: support of loading certificate and key from .pfx or .p12

issue #2845
Cluster 2.0 - step 6 : Add disconnect methods to graceful shutdown

It is important that a worker can die graceful so no connected clients are interrupted. This patch adds:

* `worker.disconnect()` stop server from accepting new connections, and close the IPC channel when all connection are ended. The documentation include an example on how to make a timeout.
* `cluster.disconnect()` run `worker.disconnect()` and all living workers and then close the handlers create in master allowing the cluster to die graceful.
* `worker.on('disconnect')` emits when IPC channel is closed.
* `cluster.on('disconnect')` same as `worker.on('disconnect')` just global this follow the existing pattern.

There was an related issue to this: #2088

_This is about the merging in the good parts from the `cluster 2.0` ( see #2038 ) pull request_
Fix environment clearing in child_process.fork

Currently, if no env object is passed as part of options to child_process.fork, the environment is cleared. This is in contrast to both the typical Unix behavior of fork and child_process.spawn (from the docs for fork: This is a special case of the spawn() functionality for spawning Node processes.). I believe fork would better follow the principle of least surprise if it were implemented as I have changed it in this PR.
Add a trace when a empty response is send

Add a trace so we can track down where the empty response occurred in our applications.

As seeing this

    26 Apr 21:38:06 - Client 9508768464438617 connected
    26 Apr 21:43:24 - Initializing client with transport "websocket"
    26 Apr 21:43:24 - Client 8368203134741634 connected
    This type of response MUST NOT have a body. Ignoring write() calls.
    This type of response MUST NOT have a body. Ignoring write() calls.
    26 Apr 21:45:08 - Initializing client with transport "websocket"

in your log doesn't really help. Having a trace back to our application or even where the error occurs does help allot when debugging such issues.
child_process: emit 'channel closed' error instead of throwing

This change how the 'channel closed' error message is thrown. It will emit in 'error' instead of using `throw` directly.
netbsd patches from pkgsrc

This should get netbsd working on 0.4
Test for issue #2515, clearTimeout appears to clear timers it shouldn't

Created test for issue #2515 where clearTimeout is clearing timers other than the one specified.

Also created a test to ensure minimum timer ticks are being met. Currently the expectation is at least one timer tick per 4ms. This test case will pass in Firefox v9.0.1, Opera v11.61, Safari v5.1.2, and Chrome v16.0.912.77 on windows.

This test currently fails on Linux for clearing timers it should not be.

This test currently fails on Windows, with only one timer tick per 7.8ms.

If you want me to split this into two commits, please let me know.
Support startup of embedded node better

This patch adds a callback to the node::Start and node::Load function to allow an embedding module to add things to the global scope.

Node's great to attach libraries to, where the node binary is the entry point -- not quite so smooth embedding libnode into an existing app. This helps.
core: Make errno message a part of errno exceptions

To people like me there don't use enough time with errno codes it can be difficult to remember what `EBADF` means. This add a text message to all errno exceptions, like `bad file descriptor`.

The messages are from `get_uv_errno_message`, to use this it was necessary to change the `SetError` so it set errno to a number and not `get_uv_errno_string`.

I'm hoping we later could abstract `ErrnoException` from `node.cc` to use `Errno::ErrnoException`.

It would also be nice to have binding functions return an `uv_errno` number instead of `1` or `0`. This way we won't pollute `global` scope with `errno`. Example of this:

```JavaScript
var Pipe = process.binding('pipe_wrap').Pipe;
var errnoException = process.binding('errno').errnoException;

var stream = new Pipe(true);
    stream.close();

var buffer = new Buffer("test");
var errno = stream.write(buffer, 0, buffer.length);
if (errno !== 0) {
  throw errnoException(errno, 'write');
}
```

@piscisaureus told me that you did not want any `errno` changes now, but since I had made the patch why not allow you to reconsider.
better jruby.home detection on IBM WAS

currently `config.getJRubyHome()` on WAS ends up being the fall-back */tmp* dir (e.g. when deploying a .war)
this is probably due to a slightly non-standard `getResource()` IBM Java behavior - it seems to always return `null` for jar "dirs" but works if you ask for a jar "file" entry. 

sample return values :

     getResource("/META-INF/jruby.home") returns a null

     getResource("/META-INF/jruby.home/bin/jrubyc") returns :
     wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/debianNode01Cell/rails31_war.ear/rails31.war/WEB-INF/lib/jruby-stdlib-1.6.7.dev.jar!/META-INF/jruby.home/bin/jrubyc

     getResource("/META-INF/jruby.home/bin/jrubyc").getProtocol() would return "wsjar"
     
     and the location (if it passed the if) would have been :
     file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/debianNode01Cell/rails31_war.ear/rails31.war/WEB-INF/lib/jruby-stdlib-1.6.7.dev.jar!/META-INF/jruby.home/bin/jrubyc

I think it's fine that we do not pass `resource.getProtocol().equals("jar")` since than the `location` would not have been set to `location = "classpath:/META-INF/jruby.home";` but end up as a `file:/...` path (that would need to be stripped from "/bin/jrubyc") but since we can not walk URLs as a FS anyway `classpath:/META-INF/jruby.home` seems fine and is working fine (with the LoadService).

we've been using a "hack" (if `JRuby.runtime.instance_config.jruby_home == tmpdir`) in **jruby-rack** to fix the `$LOAD_PATH` but if **jruby** correctly detected it's home it would not have been necessary ...


tested environment :

    WebSphere Application Server 8.0.0.1
    Host Operating System is Linux, version 2.6.32-5-686
    Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM
additional colour space for d3

Here is a patch for adding CIE Lab colourspace to d3.

There is a gist up http://bl.ocks.org/1958838 showing the improved perceptual colours for brighter and darker, will add some more for the hues.
#557542-175 adding module_implements() cache.

Patch from http://drupal.org/node/557542
Fixed DataMapper namings in symbols and constants.

The correct constant naming is `DataMapper`. Applied that to symbol and constant-namings throughout the source.
Autosave association doesn't save all records on a new record for a collection association if there are records marked for destruction

The issue seems to be that, if the record is a new record, the internal collection array is being iterated when autosaving associated records.

Since association destroy/delete now removes records from the internal array via Array#delete (https://github.com/rails/rails/blob/3-1-stable/activerecord/lib/active_record/associations/collection_association.rb#L449), this has side-effects on the iteration within `save_collection_association` in autosave. Namely, the record after the record removed from the collection is skipped during the autosave.
Updated ActiveRecord::Base.find_or_create_by for 2 attributes when 1 is n

Updated ActiveRecord::Base.find_or_create_by for 2 attributes when 1 is nil

Updated the find_or_create_by_foo_and_bar('hello') to process the find portion
similar to find_by_foo_and_bar('hello').  In the original
find_by_foo_and_bar('hello'), the resulting query was something like
"foo = 'hello' AND bar IS NULL".  In the original
find_or_create_by_foo_and_bar('hello'), the resulting query was something like
"foo = 'hello'"

This patch aligns those two methods expected behaviors on the "find" portion
of the method call.
Issue 2802

Added default number values to avoid precision/separator/delimiter bug when locale != :en

With default_locale different from :en and no region locale file, precision, separator and delimiter where not defaulted, resulting in errors such as :

    wrong argument type nil (expected Fixnum)

    actionpack (3.1.0) lib/action_view/helpers/number_helper.rb:281:in `round'
    actionpack (3.1.0) lib/action_view/helpers/number_helper.rb:281:in `number_with_precision'
    actionpack (3.1.0) lib/action_view/helpers/number_helper.rb:362:in `number_to_human_size'
Fixing issue #2492. ActionView::Base.field_error_proc doesn't call for la

Fixing issue #2492. ActionView::Base.field_error_proc doesn't call for label.

objectify_options method should be applied to the proper options arg.
fixes composed_of for delegated attributes and methods

composed_of wasnt working for delegated attributes and methods again.

this is my first contribution, can any1 check if its valid?

thanks
use content_tag in button_to helper
Notify A User they Have Pending Migrations On Specific Exceptions

After a member of a team adds commits new code and a migration to go along with it, other developers might not notice the migration and will get `NoMethodError` or `UnknownAttributeError` raised. 

Rather than chase down the line of code only to figure out later that migrations need to be run, we can intelligently add the information to `try running 'rake db:migrate'`  to the error message. 

Once the coder runs the migration then the current_version and last_version will match and any subsequent `NoMethodError` or `UnknownAttributeError` messages will not have the additional text.


`UnknownAttributeError` with pending migrations: http://cl.ly/2r0e403r2r381B2G161Q
`NoMethodError` with pending migrations: http://cl.ly/3F2E0d2A0K1h101N3H1F
`NoMethodError` with **NO** pending migrations: http://cl.ly/353k0S2f1M2D2o123z2l


ATP for ActiveRecord:

Happy Holidays to the Rails Team!
Allow extending ActiveResource models by assigning custom connection

APIs aren't always easy, sometimes they want you to do something very special, something there is no hook in ActiveResource::Connection for. Extending connections isn't very slick at the moment, it requires you to overload `ActiveResource::Base.connection` in your models or some dirty patching. 

The solution above allows users to assign a connection class in their models, allowing a new dimension of API customisations. I could also think of opportunities for new gems, with Connection classes that use other HTTP libraries, e.g. `activeresource-excon-connection`, etc. These would then be applicable on a model-by-model basis.

dim

PS: Original pull request - https://github.com/rails/rails/pull/4421
Add possibility to render partial from subfolder with inheritance

The new feature named "template inheritance" don't allow to render partial inside subfolders. Partials with slash in path name can be found only from views root folder. 

My pull request extends behavior of template inheritance, and allow to render partial inside subfolders with inheritance feature. I suggest to use ```./``` at the start, and this partial will be found with relative path (from current directory). So, 

```
  render :partial => "./head/menu"
```

can be found in several folders, as template inheritance means:

```
 - views
    - application
      - head
        - menu.html.erb
    - controller_name
      - head
        - menu.html.erb
```
ActiveResource::Base#create data is not loaded if the transfer-encoding is chunked

Fixing bug in ActiveResource::Base#create where returned data is not loaded if the transfer-encoding is chunked.  Includes tests & all ActiveResource tests pass.

Commit 154081f0f74988bdb8979f0447ff5816ab83d8fd created this bug, with the goal of fixing 204 responses.  There were no tests with this patch, so I added new tests to cover this & my own issue.  Refactored the ```load_attributes_from_response``` method to make the logic around when to load attributes more obvious.
Use uglifier-rails to set default js compressor for Rails

uglifier-rails: https://github.com/guilleiguaran/uglifier-rails

It can be moved to Rails Github account if you want
Validate :on option on after_commit and after_rollback callbacks

the :on option on after_commit and after_rollback is just a shortcut for :if => "transaction_include_action?...", because of that the valid actions are very well known. unfortunately it doesn't do any validation on the :on condition. If, for example, somebody uses :on => :save, active record will happily setup a transaction_include_action?(:save) (or :whatever) which will never be true.

This patch adds a check if the on condition is one of Transactions::ACTIONS and raises a meaningful ArgumentError if the check fails.

In case you wonder, I've moved the check to a private module method to avoid pollution of the including classes namespaces.
Support a context for update_attributes / update_attributes! methods.

Currently, the update_attributes / update_attributes! method can't specify a validation context.
This patch allow above methods to specify the context.
Bug fix: Updating Time columns by String with no timezone doesn't work correctly

When updating Time/Datetime with time represented by a String with no timezone (e.g. "Wed, 21 Dec 2011 6:00:00"). 

Example (assume timezone = +02:00)

What should happen:
  Since Rails claims to assume all provided String times are in local timezone, 
    User.time = "Wed, 21 Dec 2011 6:00:00"  
  should really mean
    User.time = "Wed, 21 Dec 2011 6:00:00 +02:00"
  and be saved to @attributes as
    User.time = "Wed, 21 Dec 2011 4:00:00 +00:00"

What happens now:
    User.time = "Wed, 21 Dec 2011 6:00:00"  
  cached as
    User.time = "Wed, 21 Dec 2011 6:00:00 +02:00"
  saved to @attributes as
    User.time = "Wed, 21 Dec 2011 6:00:00 +00:00"  <------ WRONG !

The above change makes sure that the value provided to the attribute_setter is parsed with current timezone and saved as UTC.
Possibly clearer way of getting rid of ` and "

hi,

You may find String#tr clearer than String#gsub in this case (YMMV)

Incidentally it's also faster...
    >> a = 'hello "id` world'; Benchmark.realtime { 500_000.times { a.tr('`"', "") } }
    => 0.7388770580291748 
    >> a = 'hello "id` world'; Benchmark.realtime { 500_000.times { a.gsub(/[`"]/, "") } }
    => 1.7843739986419678 

Best,
Seamus
Setting the RakeFileUtils.verbose_flag default to false

Running rake assets:precompile produces the following

<pre>
rake assets:precompile
/Users/artem/.rvm/rubies/ruby-1.9.3-p0/bin/ruby /Users/artem/.rvm/gems/ruby-1.9.3-p0@rails-edge/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
</pre>

There is an extra line showing a command that I did not ask for. Looks harmless.

However, when running from Capistrano the result is the following:

<pre>
cap deploy
[snip]

  * 21:16:28 == Currently executing `deploy:assets:precompile'
  * executing "cd /home/rails/captest/releases/20120203051625 &amp; &amp; bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile"
    servers: ["192.168.147.17"]
    [192.168.147.17] executing command
*** [err :: 192.168.147.17] /usr/bin/ruby /home/rails/captest/shared/bundle/ruby/1.9.1/bin/rake assets:precompile:nondigest RAILS_ENV=production RAILS_GROUPS=assets
*** [err :: 192.168.147.17] 

[snip]
</pre>

The output comes out on stderr and Capistrano and automations built on Capistrano treat it as an error.

This small annoyance was big enough for me to actually find out why rake assets:precompile produces stderr output in a deployment mode.

The cause of this is the following commit to rake:
https://github.com/jimweirich/rake/commit/d383d953e1fe791422052dd1236dcf29255c09a6

By default FileUtilsExt.verbose_flag = DEFAULT = Object.new (not true/false/nil etc) which has the same effect as the default true.

Arguable, Rake's FileUtilsExt default verbose = on setting is there by design and it may be a reasonable default for Rake. However, verbose = on is not a reasonable default for Rails because of deployment tools that treat output on stderr as errors.

With the attached fix the behavior changes to the following:

<pre>
$ rake assets:precompile
$ rake assets:precompile -v
/Users/artem/.rvm/rubies/ruby-1.9.3-p0/bin/ruby /Users/artem/.rvm/gems/ruby-1.9.3-p0@rails-edge/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
$
</pre>
Fixing a schema:load when using a prefix and suffix on the tables

In the cases where one wants to work with schemas in their databases, they would want to load the schema file on each schema to keep it up to date.  Since the ConnectionAdapter#table_exists? method disregards the schema_search_path, we must alter ActiveRecord::Base#table_name_prefix to include the proper scoping.  Doing this works up until the point of updating the schema_migrations table when assuming the new version.  

This bug occurs because when assume_migration_upto_version goes through Migration's method_missing, it appends the table_name_prefix to the version number. Eg, when arriving at the assume_migration_upto_version, the version number is "schema.#####".  The next step in the line is to turn that number into an integer, which is always 0 since it is a string.  This makes the version in the schema_migrations table on that schema equal to 0 and not the correct value in the schema file.

This fix patches that in the method missing so that we do not munge the number.

cbarton
[minor] Modify #xml_http_request? to return true instead of 0

Modified `#xml_http_request?` to return a boolean. It used to be `false` or `0` (which evaluates to `true`).

*When inspecting, or aggregating request data `true` makes more sense then `0`.*
add humans.txt

I'm a big fan of the idea of http://humanstxt.org and I noticed during the week that Google have a pretty nice humans.txt http://www.google.com/humans.txt

As DHH said at RailsConf, the best thing that Rails provides is empty files, so adding humans.txt to the base rails generator would hopefully encourage the adoption of humans.txt.

Including the Rails Core team by default seems obvious and, I think, appropriate.

What do you think?