This file contains hidden or 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
| require 'spec_helper' | |
| describe Feeds::EntryBuilder do | |
| let(:entry_xml){FixtureHelper.read_fixture('entry.xml')} | |
| let(:entries_xml){FixtureHelper.read_fixture('entries.xml')} | |
| describe 'when creating from superfeedr XML' do | |
| describe 'single entry xml' do | |
| subject{Feeds::EntryBuilder.normalize_superfeedr(entry_xml).entries.first} |
This file contains hidden or 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
| namespace = @model.contructor.name.toLowerCase() | |
| attributes = @model.toJSON() | |
| for field, value of attributes | |
| do (field, value)-> | |
| $(@el).find("##{namespace}_#{field}").val @model.get(value) |
This file contains hidden or 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
| SessionsController = function() { | |
| function SessionsController() { | |
| this.x = 1; | |
| } | |
| SessionsController.prototype.init = function(req, res, next) { | |
| return console.log(this); | |
| }; | |
| return SessionsController; | |
| }(); |
This file contains hidden or 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
| class RootView extends ApplicationView | |
| constructor: -> | |
| super | |
| $(document).ready ()=> | |
| # Logging | |
| window.logger = $.log | |
| window.logger.init('DEBUG', true) | |
| # Helpers |
This file contains hidden or 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
| rvm install 1.8.7 --debug | |
| /usr/local/rvm/rubies/ruby-1.8.7-p302, this may take a while depending on your cpu(s)... | |
| ruby-1.8.7-p302 - #fetching | |
| ruby-1.8.7-p302 - #extracted to /usr/local/rvm/src/ruby-1.8.7-p302 (already extracted) | |
| ruby-1.8.7-p302 - #configuring | |
| Executing: ./configure --prefix=/usr/local/rvm/rubies/ruby-1.8.7-p302 --enable-shared | |
| ruby-1.8.7-p302 - #compiling | |
| Executing: make | |
| ruby-1.8.7-p302 - #installing |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Copyright (c) 2007 Bradley Taylor, bradley@railsmachine.com | |
| # | |
| # mongrel_cluster Startup script for Mongrel clusters. | |
| # | |
| # chkconfig: - 85 15 | |
| # description: mongrel_cluster manages multiple Mongrel processes for use \ | |
| # behind a load balancer. | |
| # |
This file contains hidden or 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
| [staging-job ~]$ rvm use 1.8.7 | |
| Using /usr/local/rvm/gems/ruby-1.8.7-p302 | |
| [staging-job ~]$ ruby -v | |
| ruby 1.8.5 (2006-08-25) [x86_64-linux] |
This file contains hidden or 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
| [2010-10-04 13:37:43] make | |
| dln.c: In function ‘dln_load’: | |
| dln.c:1463: warning: ‘NSCreateObjectFileImageFromFile’ is deprecated (declared at /usr/include/mach-o/dyld.h:145) | |
| dln.c:1469: warning: ‘NSLinkModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:161) | |
| dln.c:1472: warning: ‘NSIsSymbolNameDefined’ is deprecated (declared at /usr/include/mach-o/dyld.h:176) | |
| dln.c:1475: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188) | |
| dln.c:1475: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:179) | |
| file.c: In function ‘lchmod_internal’: | |
| file.c:1791: warning: cast from pointer to integer of different size | |
| regex.c: In function ‘ruby_re_compile_pattern’: |
NewerOlder