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
$ irb | |
irb(main):001:0> RUBY_VERSION | |
=> "1.9.2" | |
irb(main):002:0> Module.constants | |
=> [:Object, :Module, :Class, :Kernel, :NilClass, :NIL, :Data, :TrueClass, :TRUE, :FalseClass, :FALSE, :Encoding, :Comparable, :Enumerable, :String, :Symbol, :Exception, :SystemExit, :SignalException, :Interrupt, :StandardError, :TypeError, :ArgumentError, :IndexError, :KeyError, :RangeError, :ScriptError, :SyntaxError, :LoadError, :NotImplementedError, :NameError, :NoMethodError, :RuntimeError, :SecurityError, :NoMemoryError, :EncodingError, :SystemCallError, :Errno, :ZeroDivisionError, :FloatDomainError, :Numeric, :Integer, :Fixnum, :Float, :Bignum, :Array, :Hash, :ENV, :Struct, :RegexpError, :Regexp, :MatchData, :Marshal, :Range, :IOError, :EOFError, :IO, :STDIN, :STDOUT, :STDERR, :ARGF, :FileTest, :File, :Dir, :Time, :Random, :Signal, :Process, :Proc, :LocalJumpError, :SystemStackError, :Method, :UnboundMethod, :Binding, :Math, :GC, :ObjectSpace, :Enumerator, :StopIteration, :RubyVM, :Thread, :TOPLEVEL_BINDING, :ThreadGroup, |
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
overwrite_accessor :date= do |date| | |
# We want to end up with a Time object with one-day resolution. | |
# This is the cleanest, most-readable, faster-than-using-Date | |
# way to do it. | |
case date | |
when String then | |
@date = if /\A(\d{4})-(\d{2})-(\d{2})\Z/ =~ date then | |
Time.local($1.to_i, $2.to_i, $3.to_i) | |
else | |
require 'time' |
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 rbx-head -- --enable-version=19,18 --default-version=19 | |
rvm use rbx-head | |
gem install capistrano -v 2.9.0 | |
gem list |
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
[master¹]$ gem list | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/authlogic-3.1.0.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/capistrano-2.9.0.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/coffee-script-source-1.1.3.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/compass-0.12.alpha.1.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/json-1.6.1.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/libv8-3.3.10.4-x86_64-darwin-11.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/paperclip-2.4.5.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/rack-cache-1.0.3.gemspec]: ArgumentError | |
Invalid gemspec in [/Users/epall/.rvm/gems/rbx-head/specifications/tilt-1.3.3.gemspec]: ArgumentError |
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
cc1plus: warnings being treated as errors | |
vm/capi/object.cpp: In function ‘void rb_error_frozen(const char*)’: | |
vm/capi/object.cpp:18: warning: unused variable ‘env’ | |
Error: gcc -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -ggdb3 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -DHAS_EXECINFO -DHAS_READLINE -mdynamic-no-pic -DNDEBUG -D_GNU_SOURCE -fno-common -Ivendor/llvm/include -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/onig -Ivendor/libtommath -I/usr/local/include -I/opt/local/include -c -o vm/capi/artifacts/object.cpp.o vm/capi/object.cpp |
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
var soda = require('soda'); | |
var browser = soda.createSauceClient({ | |
'url': 'https://saucelabs.com/', | |
'os': 'Windows 2003', | |
'browser': 'firefox', | |
'idle-timeout': 10, | |
'browser-version': '3.6'}); | |
browser |
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
var soda = require('soda'); | |
var browser = soda.createSauceClient({ | |
'url': 'https://saucelabs.com/', | |
'os': 'Windows 2003', | |
'browser': 'firefox', | |
'idle-timeout': 10, | |
'user-extensions-url': ['https://saucelabs.com/ext/test-extension.js'], | |
'browser-version': '3.6'}); |
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 'rubygems' | |
require 'selenium/webdriver' | |
require 'selenium/webdriver/remote' | |
require "watir-webdriver" | |
username = ENV['SAUCE_USERNAME'] | |
access_key = ENV['SAUCE_ACCESS_KEY'] | |
capabilities = { | |
:name => "Watir in the cloud!" |
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
import org.openqa.selenium.*; | |
import org.openqa.selenium.remote.*; | |
import org.openqa.selenium.firefox.*; | |
public class CustomFirefoxProfile { | |
public static void main(String[] args) throws Exception { | |
DesiredCapabilities capabillities = new DesiredCapabilities("firefox", "3.6.", Platform.WINDOWS); | |
capabillities.setCapability("job-name", "Fancy Firefox profile"); | |
FirefoxProfile profile = new FirefoxProfile(); | |
profile.setPreference("network.http.phishy-userpass-length", 255); |
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
commit f43bcc04f81013927cf1acf8a9435fe54469afca | |
Author: theautomatedtester <theautomatedtester@07704840-8298-11de-bf8c-fd130f914ac9> | |
Date: Thu Jan 27 13:35:59 2011 +0000 | |
DavidBurns, on behalf of Eric Allen, adding HTTP Basic Auth support for issue 1096 | |
git-svn-id: http://selenium.googlecode.com/svn/trunk@11164 07704840-8298-11de-bf8c-fd130f914ac9 | |
diff --git a/py/CHANGES b/py/CHANGES | |
index 9678943..509ae86 100644 |