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
expected: Wed, 11 Sep 2013 11:59:35 UTC +00:00 | |
got: Wed, 11 Sep 2013 11:59:35 UTC +00:00 |
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
ZenTest version 4.9.3 has been released! | |
* home: <https://github.com/seattlerb/zentest> | |
* rdoc: <http://zentest.rubyforge.org/ZenTest> | |
ZenTest provides 4 different tools: zentest, unit_diff, autotest, and | |
multiruby. | |
zentest scans your target and unit-test code and writes your missing | |
code based on simple naming rules, enabling XP at a much quicker pace. |
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
Failures: | |
1) bundle gem gem naming with underscore it should behave like git config is present git config user.{name,email} present sets gemspec author to gi | |
t user.name if available | |
Failure/Error: expect(generated_gem.gemspec.authors.first).to eq("Bundler User") | |
expected: "Bundler User" | |
got: "lolwut" |
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
Gem::Specification.new do |gem| | |
gem.name = "foo" | |
gem.summary = '' | |
gem.authors = '' | |
gem.version = '1' | |
gem.add_dependency 'json', '>= 1.7.7' | |
gem.add_dependency 'bar', '~> 1' | |
gem.authors = "Michael Steger" | |
gem.email = '' | |
gem.files = `git ls-files`.split("\n") |
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
OpenSSL::Cipher::CipherError: unsupported cipher algorithm (aes256) | |
initialize at org/jruby/ext/openssl/Cipher.java:361 | |
Security at /Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/security.rb:371 | |
(root) at /Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/security.rb:331 | |
require at org/jruby/RubyKernel.java:1054 | |
require at /Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:51 | |
(root) at /Users/gnufied/nomads/bundler/lib/bundler/rubygems_integration.rb:1 | |
security_policies at /Users/gnufied/nomads/bundler/lib/bundler/rubygems_integration.rb:179 | |
CLI at /Users/gnufied/nomads/bundler/lib/bundler/cli.rb:173 | |
Bundler at /Users/gnufied/nomads/bundler/lib/bundler/cli.rb: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
NoMethodError: undefined method `started?' for nil:NilClass | |
/Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/remote_fetcher.rb:322:in `connection_for' | |
/Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/remote_fetcher.rb:413:in `request' | |
/Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/remote_fetcher.rb:205:in `fetch_http' | |
org/jruby/RubyBasicObject.java:1730:in `__send__' | |
org/jruby/RubyKernel.java:2221:in `send' | |
/Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/remote_fetcher.rb:238:in `fetch_path' | |
/Users/gnufied/jruby-1.7.4/lib/ruby/shared/rubygems/remote_fetcher.rb:135:in `download' | |
/Users/gnufied/nomads/bundler/lib/bundler/rubygems_integration.rb:174:in `download_gem' | |
/Users/gnufied/nomads/bundler/lib/bundler/fetcher.rb:56:in `download_gem_from_uri' |
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
[1] pry(#<Server>)> params | |
ZeroDivisionError: divided by 0 | |
from /Users/gnufied/foo/bar/vendor/ruby/1.9.1/gems/pry-0.9.9.4/lib/pry/indent.rb:303:in `/' | |
[2] pry(#<Server>)> |
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 Foo | |
def hello &block | |
instance_eval &block | |
end | |
end | |
a = 10 | |
b = Foo.new() |
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 "benchmark" | |
require "prime" | |
class Integer | |
# http://en.wikipedia.org/wiki/Miller-Rabin_primality_test | |
def prime? | |
n = self.abs() | |
return true if n == 2 | |
return false if n == 1 || n & 1 == 0 |
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 Invite | |
add_state :accepted, :after => :accept_job | |
add_event(:accept) do | |
transitions :to => :accepted, :from => :pending | |
end | |
private | |
def accept_job | |
unless job.accept! |