-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jney-master' into new-api
- Loading branch information
Showing
7 changed files
with
48 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
#!/usr/bin/env ruby | ||
|
||
conn_hash = { :hosts => [ | ||
conn_hash = { hosts: [ | ||
|
||
{:login => login, :passcode => passcode, :host => host, :port => port}, | ||
], | ||
:reliable => false, # Override default | ||
:connect_headers => conn_hdrs, | ||
{ login: login, passcode: passcode, host: host, port: port } | ||
], | ||
reliable: false, # Override default | ||
connect_headers: conn_hdrs | ||
|
||
} | ||
} | ||
|
||
hash = { hosts: [ | ||
|
||
hash = { :hosts => [ | ||
{ login: user, passcode: password, host: 'noonehome', port: 2525 }, | ||
|
||
{:login => user, :passcode => password, :host => 'noonehome', :port => 2525}, | ||
{ login: user, passcode: password, host: host, port: port } | ||
|
||
{:login => user, :passcode => password, :host => host, :port => port}, | ||
], | ||
|
||
], | ||
logger: mylog, # This enables callback logging! | ||
|
||
:logger => mylog, # This enables callback logging! | ||
max_reconnect_attempts: 5 | ||
|
||
:max_reconnect_attempts => 5, | ||
|
||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### | ||
Requires https://github.com/bbatsov/rubocop | ||
### | ||
|
||
"use strict" | ||
Beautifier = require('./beautifier') | ||
|
||
module.exports = class Rubocop extends Beautifier | ||
name: "Rubocop" | ||
|
||
options: { | ||
Ruby: true | ||
} | ||
|
||
beautify: (text, language, options) -> | ||
@run("rubocop", [ | ||
"--auto-correct" | ||
tempFile = @tempFile("temp", text) | ||
]) | ||
.then(=> | ||
console.log('rubocop', arguments, tempFile) | ||
@readFile(tempFile) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add
deprecate
support: #282